< Back
Get-Menu
Post
NAME Get-Menu
SYNOPSIS
Get a list of menus
SYNTAX
Get-Menu [<CommonParameters>]
Get-Menu [-MainMenu] [<CommonParameters>]
Get-Menu [-MenuID <Int32>] [<CommonParameters>]
Get-Menu [-Name <String>] [<CommonParameters>]
DESCRIPTION
Returns a list of menus by name, id or just the main menu
PARAMETERS
-MainMenu [<SwitchParameter>]
Required? false
Position? named
Default value False
Accept pipeline input? false
Accept wildcard characters? false
-MenuID <Int32>
Required? false
Position? named
Default value 0
Accept pipeline input? false
Accept wildcard characters? false
-Name <String>
Required? false
Position? named
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
System.Management.Automation.PSObject
NOTES
NAME: Get-Menu
AUTHOR: Tore Groneng tore@firstpoint.no @toregroneng tore.groneng@gmail.com
LASTEDIT: Aug 2016
KEYWORDS: General scripting Controller Menu
-------------------------- EXAMPLE 1 --------------------------
C:>Get-Menu
Returns all menus
-------------------------- EXAMPLE 2 --------------------------
C:>Get-Menu -MainMenu
Returns the Main Menu only
-------------------------- EXAMPLE 3 --------------------------
C:>Get-Menu -MenuID 1
Returns the menu of the specified index
-------------------------- EXAMPLE 4 --------------------------
C:>Get-Menu -Name main*
Returns all the menus which has a name that starts with main
RELATED LINKS
SYNOPSIS
Get a list of menus
SYNTAX
Get-Menu [<CommonParameters>]
Get-Menu [-MainMenu] [<CommonParameters>]
Get-Menu [-MenuID <Int32>] [<CommonParameters>]
Get-Menu [-Name <String>] [<CommonParameters>]
DESCRIPTION
Returns a list of menus by name, id or just the main menu
PARAMETERS
-MainMenu [<SwitchParameter>]
Required? false
Position? named
Default value False
Accept pipeline input? false
Accept wildcard characters? false
-MenuID <Int32>
Required? false
Position? named
Default value 0
Accept pipeline input? false
Accept wildcard characters? false
-Name <String>
Required? false
Position? named
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
System.Management.Automation.PSObject
NOTES
NAME: Get-Menu
AUTHOR: Tore Groneng tore@firstpoint.no @toregroneng tore.groneng@gmail.com
LASTEDIT: Aug 2016
KEYWORDS: General scripting Controller Menu
-------------------------- EXAMPLE 1 --------------------------
C:>Get-Menu
Returns all menus
-------------------------- EXAMPLE 2 --------------------------
C:>Get-Menu -MainMenu
Returns the Main Menu only
-------------------------- EXAMPLE 3 --------------------------
C:>Get-Menu -MenuID 1
Returns the menu of the specified index
-------------------------- EXAMPLE 4 --------------------------
C:>Get-Menu -Name main*
Returns all the menus which has a name that starts with main
RELATED LINKS