SQL Monitor 13

Remove-SqlMonitorADPrincipal

Removes AD Principals from their corresponding base monitors. This is deprecated and will be removed from next major release, use Remove-SqlMonitorPrincipal instead.

Syntax

Remove-SqlMonitorADPrincipal [-Principals] <ADPrincipal[]> [<CommonParameters>]

Description

The Remove-SqlMonitorADPrincipal cmdlet removes the AD Principals as users for SQL Monitor.

Connect-SqlMonitor must be called before this cmdlet.

Parameters

-Principals <ADPrincipal[]>

AD Principals to remove.

Aliases None
Required? true
Position? 1
Default Value None
Accept Pipeline Input True (ByValue)
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.

Examples

-------------------------- EXAMPLE 1 --------------------------

$Principals | Remove-SqlMonitorADPrincipal


Do you have any feedback on this documentation?

Let us know at sqlmonitorfeedback@red-gate.com


Didn't find what you were looking for?