Quantcast
Channel: Configuration Manager 2007 Software Distribution forum
Viewing all articles
Browse latest Browse all 629

Hi All

$
0
0

I'm need of a script that removes the packages which are in 'Waiting to install package' state from a Distribution point. Am getting error in reading -namespace syntax.

This is my code

$pkg = Get-WMIObject -Namespace Root\SMS\Site_<sitecode> -query "Select * from SMS_DistributionPoint where ServerNALPath like '%<name>%' and InstallStatus like 'Waiting to install package'"

Kindly help.

Thanks

Parameswaran Ramakrishnan


Viewing all articles
Browse latest Browse all 629

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>