< Back

Get-CommonParameterNames

Mon Jan 13, 2020 2:29 am

NAME Get-CommonParameterNames



SYNOPSIS

List common parameters





SYNTAX

Get-CommonParameterNames [<CommonParameters>]





DESCRIPTION

List common parameters.



We create an empty advanced function, list parameters from it.

Because we list these at runtime, this list will always be correct for the PowerShell session you are running in.





PARAMETERS

<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS



OUTPUTS

System.String[]





NOTES





AUTHOR: Cyrus Jamula

LASTEDIT: March 15th, 2018



-------------------------- EXAMPLE 1 --------------------------



PS C:\\>Get-CommonParameter



Verbose

Debug

ErrorAction

WarningAction

ErrorVariable

WarningVariable

OutVariable

OutBuffer

PipelineVariable

#Example output from PowerShell 4









-------------------------- EXAMPLE 2 --------------------------



PS C:\\>Get-CommonParameter



Verbose

Debug

ErrorAction

WarningAction

ErrorVariable

WarningVariable

OutVariable

OutBuffer

#Example output from PowerShell 2











RELATED LINKS