< Back

New-DynamicModule

Sat Jan 18, 2020 6:50 pm

NAME New-DynamicModule



SYNOPSIS

Creates a dynamic module.





SYNTAX

New-DynamicModule [-Name] <String> [<CommonParameters>]





DESCRIPTION

Creates a dynamic module that can then be used by other functions in PInvokeHelper when defining other structs,

enums, and methods.





PARAMETERS

-Name <String>

The unique assembly and module name to define the builder in. The assembly with be "$($Name)Assembly" and the

module will be "$($Name)Module".



Required? true

Position? 1

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

Creates a dynamic module that can be used to define further types like classes, enums, structs and so forth.





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



PS C:\\>New-DynamicModule -Name PInvokeHelper















RELATED LINKS