Manual
Search…
⌃K

Set-BluGenieParallelCommands



Set-BluGenieParallelCommands

SYNOPSIS

Set-BluGenieParallelCommands is an add-on to manage the Parallel Command list in the BluGenie Console

SYNTAX

Set-BluGenieParallelCommands [[-Add] <String[]>] [[-Remove] <String[]>] [-RemoveAll] [[-RemoveIndex] <Int32[]>] [-Walkthrough] [<CommonParameters>]

DESCRIPTION

Set-BluGenieParallelCommands is an add-on to manage the Parallel Command list in the BluGenie Console
Parallel Commands can be BluGenie Functions or any command Posh can run. Note: The Parallel Command section will run all items at the same time.
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-BluGenieParallelCommands
Description: This will give you a list of identified Parallel Commands
Notes:
OutType:

EXAMPLE 2

Command: Set-BluGenieParallelCommands 'Get-SystemInfo'
Description: This will add the specified Command to the Parallel Command list
Notes:
OutType:

EXAMPLE 3

Command: Set-BluGenieParallelCommands -Add 'Get-SystemInfo','Invoke-Netstat','Get-ProcessList'
Description: This will add all of the specified Commands to the Parallel Command list
Notes:
OutType:

EXAMPLE 4

Command: Set-BluGenieParallelCommands -Remove '^G'
Description: The -Remove command excepts (RegEx). This will remove all items with a ( G ) as the first character
Notes:
OutType:

EXAMPLE 5

Command: Set-BluGenieParallelCommands -Remove 'Get-SystemInfo'
Description: The -Remove command excepts (RegEx). This will remove all items with 'Get-SystemInfo' in the name
Notes:
OutType:

EXAMPLE 6

Command: Set-BluGenieParallelCommands -Remove '^Get-SystemInfo$','^Get-ProcessList$'
Description: The -Remove command excepts (RegEx). This will remove all items with that have an exact match of the Parallel Command
name
Notes:
OutType:

EXAMPLE 7

Command: Set-BluGenieParallelCommands -RemoveAll
Description: This will remove all items from the Parallel Command List
Notes:
OutType:

EXAMPLE 8

Command: Set-BluGenieParallelCommands -RemoveIndex 1
Description: This will remove the first item in the Command list
Notes:
OutType:

EXAMPLE 9

Command: Set-BluGenieParallelCommands -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-BluGenieParallelCommands ). This will show the Parallel Command list and the index
values.
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

RemoveAll

-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

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

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.