PowerShell script exchange
Post Reply
jcwuerfl
Enthusiast
Posts: 44
Liked: 4 times
Joined: Jun 29, 2011 8:26 pm
Full Name: James
Contact:

Remove-VBRCopyJob

Post by jcwuerfl »

Is it me or is there no

Code: Select all

Remove-VBRCopyJob
?
jcwuerfl
Enthusiast
Posts: 44
Liked: 4 times
Joined: Jun 29, 2011 8:26 pm
Full Name: James
Contact:

Re: Remove-VBRCopyJob

Post by jcwuerfl »

I think I figured it out:

Code: Select all

Get-VBRJob - Name $JobName | Remove-VBRJob -Confirm:$false
tsightler
VP, Product Management
Posts: 6011
Liked: 2843 times
Joined: Jun 05, 2009 12:57 pm
Full Name: Tom Sightler
Contact:

Re: Remove-VBRCopyJob

Post by tsightler » 1 person likes this post

Yep, that works, or even:

Code: Select all

(Get-VBRJob -Name $JobName).Delete()
Post Reply

Who is online

Users browsing this forum: No registered users and 10 guests