Use common parameters for -Confirm functionality in AzureADPreview
I've downloaded and installed the AzureADPreview-module in version 1.1.147.0 from PowerShellGallery.com and the first thing I notice is that the cmdlet Connect-AzureAD has a parameter named Confirm.
Confirm is one of the common parameters in PowerShell and should not be implemented as a separate parameter. When people see a parameter named confirm they will assume that it is the common parameter Confirm and behaves like the comman parameter Confirm.
There are already built-in functionality in PowerShell to get the Confirm paramter, please use this.

1 comment
-
Kirk Munro commented