Skip to content

Export BinaryCmdletNames

Nick Spreitzer edited this page Nov 16, 2019 · 5 revisions
external help file: WhatsNew.dll-Help.xml
Module Name: WhatsNew
schema: 2.0.0

Export-BinaryCmdletNames

SYNOPSIS

Extracts cmdlet names from a given module.

SYNTAX

Export-BinaryCmdletNames -ModuleInfo <PSModuleInfo> [<CommonParameters>]

DESCRIPTION

Returns a string array of all cmdlet names contained in a binary PowerShell cmdlet. Examine the WhatsNew build script for example usage.

EXAMPLES

Example 1

PS C:\> Get-Module WhatsNew -All | 
  Where-Object { $_.ModuleType -eq 'Binary' } | 
  Export-BinaryCmdletNames

Export-BinaryCmdletAliases
Export-BinaryCmdletNames
Export-PSScriptAliases
Export-PSScriptFunctionNames
New-MarkdownTableOfContents
Switch-CodeFenceToYamlFrontMatter
Switch-YamlFrontMatterToCodeFence

Returns a string array of all cmdlet names contained in the WhatsNew module.

PARAMETERS

-ModuleInfo

The PSModuleInfo from which to extract cmdlet names.

Type: PSModuleInfo
Parameter Sets: (All)
Aliases:

Required: True
Position: Named
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

System.Management.Automation.PSModuleInfo

The PSModuleInfo from which to extract cmdlet names

OUTPUTS

NOTES

RELATED LINKS

Export-BinaryCmdletNames

Clone this wiki locally