-
Notifications
You must be signed in to change notification settings - Fork 14
Get FunctionDefinition
dfinke edited this page Apr 20, 2024
·
2 revisions
Returns the definition of one or more PowerShell functions.
Get-FunctionDefinition [[-FunctionInfo] <CommandInfo[]>] [-ProgressAction <ActionPreference>]
[<CommonParameters>]
The Get-FunctionDefinition function takes an array of CommandInfo objects representing PowerShell functions and returns their definitions as strings.
Get-FunctionDefinition (Get-Command Get-FunctionDefinition)
An array of CommandInfo objects representing PowerShell functions.
Type: CommandInfo[]
Parameter Sets: (All)
Aliases:
Required: False
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
{{ Fill ProgressAction Description }}
Type: ActionPreference
Parameter Sets: (All)
Aliases: proga
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.