PureStorage-OpenConnect / powershell-toolkit-3

PowerShell Toolkit 3.x
Apache License 2.0
6 stars 1 forks source link

Sync-FlashArrayHosts should have -WhatIf and -Confirm:$true/$false switches added #47

Open mikenelson-io opened 1 year ago

mikenelson-io commented 1 year ago

This cmdlet should be able to show what would happen if the user ran this cmdlet against two arrays but not actually do the operation without confirmation. Without confirmation, a user could potentially inadvertently overwrite the target array configuration.

barkz commented 1 year ago

Implement Write-Warning noting destructive operation with confirm.