Jump to content


mutant27

New Members
  • Posts

    1
  • Joined

  • Last visited

Everything posted by mutant27

  1. I have a script that shuts the PcaSvc (Program Compatibility Assistant Service) before installing another program. However, I need a script to detect that it's Stopped so I can use it for SCCM AppModel detection. I have this, but I'm getting erros......yes I'm a Powershell newbie...... $PcaSvc = Get-WmiObject win32_service | where Name -eq "PcaSvc" if ($PcaSvc.State -eq "Stopped") { $true } else { $false } Please assist...thanks!
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.