All Downloads are FREE. Search and download functionalities are using the official Maven repository.

powershell.Get-CommonParameters.ps1 Maven / Gradle / Ivy

There is a newer version: 7.8.0
Show newest version
<#
.Synopsis
    Helper function to get common parameters (Verbose, Debug, etc.)
.Example
    Get-CommonParameters
#>
function Get-CommonParameters {
    function tmp {
        [CmdletBinding()]
        Param ()
    }

    (Get-Command -Name tmp -CommandType Function).Parameters.Keys
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy