Get-SqlMonitorMainGroups
Published 14 February 2023
Gets details of main groups on SQL Monitor.
Syntax
Get-SqlMonitorMainGroups [[-BaseMonitor] <BaseMonitor>] [<CommonParameters>]
Description
The Get-SqlMonitorMainGroups cmdlet gets details of Main Groups from a SQL Monitor Server.
Connect-SqlMonitor must be called before this cmdlet.
Parameters
-BaseMonitor
<BaseMonitor>
{{ Fill BaseMonitor Description }}
Aliases | None |
Required? | false |
Position? | 1 |
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/SM13/powershell-custom-types#CustomTypes-Group.
Examples
-------------------------- EXAMPLE 1 --------------------------
Get-SqlMonitorMainGroups
-------------------------- EXAMPLE 2 --------------------------
Get-SqlMonitorMainGroups -BaseMonitor $ExampleBaseMonitor