# New-BluGenieHelpMenu

﻿New-BluGenieHelpMenu

### SYNOPSIS <a href="#synopsis" id="synopsis"></a>

New-BluGenieHelpMenu is a Dynamic Console menu system creator for any CmdLet that has a valid Help header

### SYNTAX <a href="#syntax" id="syntax"></a>

```
New-BluGenieHelpMenu [-Command] <String> [[-Console]] [[-Walkthrough]] [<CommonParameters>]
```

### DESCRIPTION <a href="#description" id="description"></a>

### EXAMPLES <a href="#examples" id="examples"></a>

#### EXAMPLE 1 <a href="#example-1" id="example-1"></a>

```
New-BluGenieHelpMenu -Command Get-HashInfo
```

```
This will parse the Get-HashInfo help information and display a dynamic console menu system
```

#### EXAMPLE 2 <a href="#example-2" id="example-2"></a>

```
New-BluGenieHelpMenu -Command Get-HashInfo -Console
```

```
This will parse the Get-HashInfo help information and display a dynamic console menu system.
The Run command is removed and a BluGenie Console sample script is created as well.
```

#### EXAMPLE 3 <a href="#example-3" id="example-3"></a>

```
New-BluGenieHelpMenu -Help
```

```
This will display the dynamic console menu for this command
```

### PARAMETERS <a href="#parameters" id="parameters"></a>

#### Command <a href="#command" id="command"></a>

```
-Command <String>
   Select which Command to buld the menu for
   
   <Type>ValidateSet<Type>
   <ValidateSet>Add-FirewallRule,Disable-FirewallRule,Enable-AllFirewallRules,Get-ProcessList,Set-RemoteDesktopProcess,Enable-FirewallRule,Disable-AllFirewallRules,Set-FirewallStatus,Get-SystemInfo,Remove-Fi
   rewallRule,Update-FirewallProfileStatus,Get-ChildItemList,Manage-ProcessHash,Get-LiteralPath,Get-FirewallRules,Set-FirewallGPOStatus,Get-HashInfo,Invoke-NetStat,Get-Registry,Get-ServiceList,Get-SchTaskInf
   o,Update-Sysinternals,Get-Signature,Get-COMObjectInfo,Get-LoadedRegHives,Invoke-LoadAllProfileHives,Invoke-UnLoadAllProfileHives,Get-MRUActivityView,Get-ADMachineInfo,Get-RegistryProcessTracking,Set-Prefe
   tch,Get-AuditProcessTracking,Set-AuditProcessPol,Get-WindowsUpdates,Get-AutoRuns,Get-RegSnapshot,Get-FileSnapshot,Build-Command,Send-Item,Install-Harvester,Expand-ArchivePS2,Install-SysMon,Systems,Paralle
   lCommands,PostCommands,ThreadCount,Range,Json,Wipe,Settings,Resolve-BgDnsName,Ping,Connect-ToSystem,Connect,SetTrapping,Invoke-PSQuery,PSQuery,Invoke-Process,Run,Enable-WinRMoverWMI,Enable-WinRM<ValidateS
   et>
   
   Required?                    true
   Position?                    2
   Default value                
   Accept pipeline input?       false
   Accept wildcard characters?  false
```

#### Console <a href="#console" id="console"></a>

```
-Console [<SwitchParameter>]
   Specify if this is an internal BluGenie call.  Remove the Run command and build out a BluGenie Console sample command
   
   <Type>SwitchParameter<Type>
   
   Required?                    false
   Position?                    3
   Default value                True
   Accept pipeline input?       false
   Accept wildcard characters?  false
```

#### Walkthrough <a href="#walkthrough" id="walkthrough"></a>

```
-Walkthrough [<SwitchParameter>]
   An automated process to walk through the current function and all the parameters
   
   <Type>SwitchParameter<Type>
   
   Required?                    false
   Position?                    4
   Default value                False
   Accept pipeline input?       false
   Accept wildcard characters?  false
```

#### CommonParameters <a href="#commonparameters" id="commonparameters"></a>

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about\_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216).


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://manuals.blusapphire.io/blugenie/full-function-list/new-blugeniehelpmenu.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
