< Back
New-PinvokeCommand
Post
NAME New-PinvokeCommand
SYNOPSIS
Creates a new PowerShell command that wraps the P\\Invoke module and function.
SYNTAX
New-PinvokeCommand [-Module] <String> [-Function] <String> [[-CommandName] <String>] [<CommonParameters>]
DESCRIPTION
PARAMETERS
-Module <String>
Required? true
Position? 1
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Function <String>
Required? true
Position? 2
Default value
Accept pipeline input? false
Accept wildcard characters? false
-CommandName <String>
Required? false
Position? 3
Default value $Function
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
RELATED LINKS
SYNOPSIS
Creates a new PowerShell command that wraps the P\\Invoke module and function.
SYNTAX
New-PinvokeCommand [-Module] <String> [-Function] <String> [[-CommandName] <String>] [<CommonParameters>]
DESCRIPTION
PARAMETERS
-Module <String>
Required? true
Position? 1
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Function <String>
Required? true
Position? 2
Default value
Accept pipeline input? false
Accept wildcard characters? false
-CommandName <String>
Required? false
Position? 3
Default value $Function
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
RELATED LINKS