Get-RedgateMonitorPrincipal
Published 18 April 2024
Gets Principals from all base monitors
Syntax
Get-RedgateMonitorPrincipal [[-BaseMonitors] <BaseMonitor[]>] [[-Name] <string>] [<CommonParameters>]
Description
The Get-RedgateMonitorPrincipal cmdlet gets details of Principals from the Redgate Monitor Server.
Connect-RedgateMonitor must be called before this cmdlet.
Parameters
-BaseMonitors
<BaseMonitor[]>
The Base Monitors to get Principals from. For more information, see https://documentation.red-gate.com/monitor14/api/powershell-api/powershell-cmdlet-reference/get-redgatemonitorbasemonitor.
Aliases | None |
Required? | false |
Position? | 1 |
Default Value | None |
Accept Pipeline Input | True (ByValue) |
Accept Wildcard Characters | false |
-Name
<String>
The Name of the Principal.
Aliases | None |
Required? | false |
Position? | 2 |
Default Value | None |
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.
-
[Principal[]] Details of Principals found
Examples
-------------------------- EXAMPLE 1 --------------------------
Get-RedgateMonitorPrincipal -Name "test.user@example.com"