Set-BluGenieCommands is an add-on to manage the Command list in the BluGenie Console
Commands can be BluGenie Functions or any command Posh can run. Note: The Commands action is a specific order.
o 1st - Command section will run in synchronous order o 2nd - Parallel Command section will run all items at the same time. - Parallel Commands run after all Commands in the Command section finish o 3rd - Post Command section will run in synchronous order - Post Commands run after all the Parallel Commands have finished
EXAMPLES
EXAMPLE 1
Command: Set-BluGenieCommands
Description: This will give you a list of identified Commands
Notes:
OutType:
EXAMPLE 2
Command: Set-BluGenieCommands 'Get-SystemInfo'
Description: This will add the specified Commands to the Command list
Notes:
OutType:
Description: This will remove all the items from the Command list that have the specified index value.
Notes: To get the Index value you can run (Set-BluGenieCommands). This will show the Command list and the index values.
OutType:
EXAMPLE 9
Command: Set-BluGenieCommands -RemoveAll
Description: This will remove all commands from the Command list
Notes:
OutType:
PARAMETERS
Add
-Add <String[]>
Description: Add items to the list
Notes:
Alias:
ValidateSet:
Required? false
Position? 1
Default value
Accept pipeline input? false
Accept wildcard characters? false
Remove
-Remove <String[]>
Description: Remove items from the list
Notes:
Alias:
ValidateSet:
Required? false
Position? 2
Default value
Accept pipeline input? false
Accept wildcard characters? false
RemoveIndex
-RemoveIndex <Int32[]>
Description: Remove items from the list using the index value
Notes:
Alias:
ValidateSet:
Required? false
Position? 3
Default value
Accept pipeline input? false
Accept wildcard characters? false
RemoveAll
-RemoveAll [<SwitchParameter>]
Description: Remove all commands from the Command list
Notes:
Alias:
ValidateSet:
Required? false
Position? named
Default value False
Accept pipeline input? false
Accept wildcard characters? false
Walkthrough
-Walkthrough [<SwitchParameter>]
Description: An automated process to walk through the current function and all the parameters
Notes:
Alias:
ValidateSet:
Required? false
Position? named
Default value False
Accept pipeline input? false
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.