Get-RedgateMonitorGroup
Published 18 April 2024
Gets a Group from a path of group names.
Syntax
Get-RedgateMonitorGroup [-Path] <string[]> [[-BaseMonitor] <BaseMonitor>] [[-Strict] <bool>] [<CommonParameters>]
Description
The Get-RedgateMonitorGroup cmdlet gets details of Groups from the Redgate Monitor Server.
Connect-RedgateMonitor must be called before this cmdlet.
Parameters
-Path
<String[]>
The path of group names.
Aliases | None |
Required? | true |
Position? | 1 |
Default Value | None |
Accept Pipeline Input | False |
Accept Wildcard Characters | false |
-BaseMonitor
<BaseMonitor>
The Base Monitor name to get group from.
Aliases | None |
Required? | false |
Position? | 2 |
Default Value | None |
Accept Pipeline Input | False |
Accept Wildcard Characters | false |
-Strict
<Boolean>
{{ Fill Strict Description }}
Aliases | None |
Required? | false |
Position? | 3 |
Default Value | False |
Accept Pipeline Input | False |
Accept Wildcard Characters | false |
-ProgressAction
<ActionPreference>
{{ Fill ProgressAction Description }}
Aliases | None |
Required? | false |
Position? | named |
Default Value | None |
Accept Pipeline Input | False |
Accept Wildcard Characters | false |
<CommonParameters>
This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see http://technet.microsoft.com/en-us/library/hh847884.aspx.
Inputs
The input type is the type of the objects that you can pipe to the cmdlet.
-
None.
You cannot pipe input to this cmdlet.
Return values
The output type is the type of the objects that the cmdlet emits.
-
[Group] For more information, see https://www.red-gate.com/monitor14/powershell-custom-types#CustomTypes-Group.
Examples
-------------------------- EXAMPLE 1 --------------------------
Get-RedgateMonitorGroup -Path 'Production', 'Accounting'
-------------------------- EXAMPLE 2 --------------------------
Get-RedgateMonitorGroup -Path 'Production', 'Accounting' -BaseMonitor $BaseMonitor