These pages cover SQL Monitor 12, which is not the latest version. Help for other versions is also available.
Update-SqlMonitorADPrincipal
Published 21 October 2021
Updates AD Principals. Principals are identified by the name and base monitor specified.
Syntax
- Update-SqlMonitorADPrincipal [-Principals] <ADPrincipal[]> [<CommonParameters>]
Description
The Update-SqlMonitorADPrincipal cmdlet updates details of AD Principals on the SQL Monitor server.
Connect-SqlMonitor must be called before this cmdlet.
Parameters
-Principals
<ADPrincipal[]>
The updated AD Principals.
Aliases | None |
Required? | true |
Position? | 1 |
Default Value | None |
Accept Pipeline Input | True (ByValue) |
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.
-
None.
You cannot pipe input to this cmdlet.
Examples
-------------------------- EXAMPLE 1 --------------------------
- $Principals | Update-SqlMonitorADPrincipal