Stop & Disable Service

$Services = Get-Service -DisplayName "*Citrix *"

Foreach ($Service in $Services)
{
    Stop-Service -Name ($Service).Name
    Set-Service -Name ($Service).Name -StartupType Disabled
}

Leave a Reply

Your email address will not be published. Required fields are marked *