Skip To Content
PowerShell Gallery
Toggle navigation
Packages
Publish
Documentation
Sign in
Search PowerShell packages:
cChocoEx
24.11.16
Private/Test-IsChocoActive.ps1
function
Test-IsChocoActive
{
param
(
)
$Process
=
Get-Process
-Name
choco
-ErrorAction
SilentlyContinue
if
(
$Process
)
{
return
$true
}
else
{
return
$false
}
}