Tip: You can list the common parameters:
[System.Management.Automation.Cmdlet]::CommonParameters
Powershell v4
Powershell v5
There are two new common parameters: InformationAction and InformationVariable.
Note: To list the optional parameters: [System.Management.Automation.Cmdlet]::OptionalCommonParameters
Pingback: Don’t do that #17: Silent the errors with $ErrorActionPreference = ‘SilentlyContinue’ | Powershell Guru
Pingback: Powershell Tip #9: Open file in a new tab in Powershell ISE - Powershell Guru