Set-BluGeniePostCommands
Set-BluGeniePostCommands is an add-on to manage the Post Command list in the BluGenie Console
Set-BluGeniePostCommands [[-Add] <String[]>] [[-Remove] <String[]>] [[-RemoveIndex] <Int32[]>] [-RemoveAll] [-Walkthrough] [<CommonParameters>]
Set-BluGeniePostCommands is an add-on to manage the Post Command list in the BluGenie Console
Post Commands can be BluGenie Functions or any command Posh can run. Note: Post Command section will run in synchronous order Post Commands run after all the Parallel Commands have finished
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
Command: Set-BluGeniePostCommands
Description: This will give you a list of identified Post Commands
Notes:
OutType:
Command: Set-BluGeniePostCommands 'Get-SystemInfo'
Description: This will add the specified Command to the Post Command list
Notes:
OutType:
Command: Set-BluGeniePostCommands -Add 'Get-SystemInfo','Invoke-Netstat','Get-ProcessList'
Description: This will add all of the specified Commands to the Post Command list
Notes:
OutType:
Command: Set-BluGeniePostCommands -Remove '^G'
Description: The -Remove command excepts (RegEx). This will remove all items with a ( G ) as the first character
Notes:
OutType:
Command: Set-BluGeniePostCommands -Remove 'Get-SystemInfo'
Description: The -Remove command excepts (RegEx). This will remove all items with 'Get-SystemInfo' in the name
Notes:
OutType:
Command: Set-BluGeniePostCommands -Remove '^Get-SystemInfo$','^Get-ProcessList$'
Description: The -Remove command excepts (RegEx). This will remove all items with that have an exact match of the Post Command
name
Notes:
OutType:
Command: Set-BluGeniePostCommands -RemoveAll
Description: This will remove all items from the Post Command List
Notes:
OutType:
Command: Set-BluGeniePostCommands -RemoveIndex 1
Description: This will remove the first item in the Command list
Notes:
OutType:
Command: Set-BluGeniePostCommands -RemoveIndex 1,10,12,15
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-BluGeniePostCommands ). This will show the Post Command list and the index
values.
OutType:
-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 <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 <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 [<SwitchParameter>]
Description: Remove all items from the list
Notes:
Alias:
ValidateSet:
Required? false
Position? named
Default value False
Accept pipeline input? false
Accept wildcard characters? false
-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
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
Last modified 1yr ago