BAM!  Yep that worked.

 

Thanks a lot.

 

Rob

 

From: [email protected] [mailto:[email protected]] On 
Behalf Of Ryan
Sent: Tuesday, July 14, 2015 4:45 PM
To: [email protected]
Subject: Re: [mssms] PowerShell delete Software Update Deployment

 

Who needs cmdlets? 

 

(Get-WMIObject SMS_UpdatesAssignment -Namespace $Namespace -ComputerName 
$Server -Filter "AssignmentUniqueID=$DeploymentID").Delete()

 

On Tue, Jul 14, 2015 at 3:35 PM, Robert Spinelli <[email protected] 
<mailto:[email protected]> > wrote:

I  must be missing something, but I don’t see a cmdlet that will allow me to 
delete a Software Update deployment.  Does anyone have an example they can send 
over?  

 

I basically have a SUG with about 10 deployments, and want to script the 
deletion of the 10 deployments. If it was a onetime thing, manual deletion 
would be fine, but trying to setup a monthly script/process.

 

Thanks

 

Rob

 

 

 




Reply via email to