-
Notifications
You must be signed in to change notification settings - Fork 7
Description
Describe the feature request
The legacy UCS Central PowerShell API includes support for the -WhatIf parameter, which has proven to be an invaluable safeguard when implementing changes across our environments. This functionality allows us to preview the effects of commands before execution, significantly reducing the risk of unintended configuration changes.
We would like to request the implementation of PowerShell's standard -WhatIf parameter support in the Intersight PowerShell module, maintaining consistency with PowerShell best practices and providing the same level of operational safety we've come to rely on.
To Reproduce
UCS Central:
PS C:\Users\dreifachm> $UCSCentral = Get-Command -Module Cisco.UCSCentral -ParameterName WhatIf
PS C:\Users\dreifachm> $UCSCentral.count
881
UCS Intersight:
PS C:\Users\dreifachm> $UCSIntersight = Get-Command -Module Intersight.PowerShell -ParameterName WhatIf
Get-Command: No matching commands include a parameter named 'WhatIf'. Check the spelling of the parameter name, and then try again. (Parameter 'WhatIf')