| external help file | PSPublishModule-help.xml |
|---|---|
| Module Name | PSPublishModule |
| online version | https://github.com/EvotecIT/PSPublishModule |
| schema | 2.0.0 |
Gets the cmdlets and aliases in a .NET assembly by scanning for cmdlet-related attributes.
Get-PowerShellAssemblyMetadata -Path <string> [<CommonParameters>]This is typically used by module build tooling to determine which cmdlets and aliases should be exported for binary modules (compiled cmdlets).
The cmdlet delegates scanning to a typed PowerForge service so the metadata logic can be reused outside the PowerShell surface.
PS> Get-PowerShellAssemblyMetadata -Path '.\bin\Release\net8.0\MyModule.dll'Returns discovered cmdlet and alias names based on PowerShell attributes.
PS> Get-PowerShellAssemblyMetadata -Path 'C:\Artifacts\MyModule\Bin\MyModule.dll'Useful when validating what will be exported before publishing.
The assembly to inspect.
Type: String
Parameter Sets: __AllParameterSets
Aliases: None
Possible values:
Required: True
Position: named
Default value: None
Accept pipeline input: False
Accept wildcard characters: TrueThis cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
None
System.Object
- None