PowerShell script exchange
Post Reply
nd39475
Enthusiast
Posts: 58
Liked: 7 times
Joined: May 05, 2016 6:28 pm
Full Name: n d
Contact:

Why is there no -WhatIf on any VBR cmdlets?

Post by nd39475 »

Why is there no -WhatIf on any VBR cmdlets?
veremin
Product Manager
Posts: 20270
Liked: 2252 times
Joined: Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin
Contact:

Re: Why is there no -WhatIf on any VBR cmdlets?

Post by veremin »

On most of cmdlets bringing changes to environment the said switch is there. On "harmless" like cmdlets Get-Something, for instance, it is not present. Thanks.
nd39475
Enthusiast
Posts: 58
Liked: 7 times
Joined: May 05, 2016 6:28 pm
Full Name: n d
Contact:

Re: Why is there no -WhatIf on any VBR cmdlets?

Post by nd39475 »

thank you, Import-VBRBackup does not seem to implement -Whatif
veremin
Product Manager
Posts: 20270
Liked: 2252 times
Joined: Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin
Contact:

Re: Why is there no -WhatIf on any VBR cmdlets?

Post by veremin » 1 person likes this post

Correct, it does not have the said parameter. We'll track this as a requirement for one of the next product versions. Thanks.
Justus
Lurker
Posts: 2
Liked: 1 time
Joined: Mar 29, 2018 2:30 pm
Full Name: Justus Addiss
Contact:

Re: Why is there no -WhatIf on any VBR cmdlets?

Post by Justus » 1 person likes this post

Whatif is missing on some more action oriented cmdlets, like Eject-VBRTapeMedium, Export-VBRTapeMedium, and Import-VBRTapeMedium. I would not call those "harmless" :-) And get-help says they accept the commonparameters.
Any idea when '-WhatIf:" will be implemented for all cmdlets?
Post Reply

Who is online

Users browsing this forum: Max93 and 22 guests