Jump to content


giggsteve8

Established Members
  • Posts

    1
  • Joined

  • Last visited

giggsteve8's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. Hello everyone! I wrote a simple PowerShell script to uninstall two different versions of a program A, and two different versions of program B. It's a basic "kill related processes, and then run msiexec /x". It works great, and it's packed into an application in SCCM 2012. That being said, my results in the deployment status are confusing. Here is my detection method script: if (!(Test-Path "C:\Program Files (x86)\Microsoft Office\Live Meeting 8")) { write-host "Installed" } else { } This path is "true" on every machine with the installed software. However, I deployed this application to 75 machines, and about 17 came back as successful, while 58 came back as "Successful: Already Compliant". The removal script DID run; the software is gone and some of the directories I cleaned up in the script are also gone. I just don't understand why it's coming back as "already compliant" when it clearly wasn't, and the application appears to have deployed successfully. I'm obviously quite knew to SCCM, so please let me know if I can provide more information, or if I'm making a stupid mistake. Thank you guys!!
×
×
  • 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.