< Back
Get-MethodInfo
Post
NAME Get-MethodInfo
SYNOPSIS
Get information about a method implemented in PowerShell class.
SYNTAX
Get-MethodInfo [[-Path] <String>] [<CommonParameters>]
Get-MethodInfo [-ScriptBlock <ScriptBlock>] [<CommonParameters>]
DESCRIPTION
Get information about a method implemented in PowerShell class.
PARAMETERS
-Path <String>
The path to a file containing one or more functions.
Required? false
Position? 2
Default value
Accept pipeline input? true (ByValue, ByPropertyName)
Accept wildcard characters? false
-ScriptBlock <ScriptBlock>
A script block containing one or more functions.
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
<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
Indented.MemberInfo
-------------------------- EXAMPLE 1 --------------------------
PS C:\\>Get-ChildItem -Filter *.psm1 | Get-MethodInfo
Get all methods declared within all classes in the *.psm1 file.
RELATED LINKS
SYNOPSIS
Get information about a method implemented in PowerShell class.
SYNTAX
Get-MethodInfo [[-Path] <String>] [<CommonParameters>]
Get-MethodInfo [-ScriptBlock <ScriptBlock>] [<CommonParameters>]
DESCRIPTION
Get information about a method implemented in PowerShell class.
PARAMETERS
-Path <String>
The path to a file containing one or more functions.
Required? false
Position? 2
Default value
Accept pipeline input? true (ByValue, ByPropertyName)
Accept wildcard characters? false
-ScriptBlock <ScriptBlock>
A script block containing one or more functions.
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
<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
Indented.MemberInfo
-------------------------- EXAMPLE 1 --------------------------
PS C:\\>Get-ChildItem -Filter *.psm1 | Get-MethodInfo
Get all methods declared within all classes in the *.psm1 file.
RELATED LINKS