Redgate Monitor 14

Help for older versions available.

Where are you using Redgate Monitor? (pick the closest answer)

Get-RedgateMonitorServicePrincipalCredential

Gets all Service Principal Credentials on selected Base Monitor. This is used for managing Microsoft Entra (formerly Azure AD) Service Principals.

Syntax

  1. Get-RedgateMonitorServicePrincipalCredential [[-BaseMonitor] <BaseMonitor>] [[-Name] <string>] [<CommonParameters>]
  2.  

Description

The Get-RedgateMonitorServicePrincipalCredential cmdlet gets details of the Service Principal Credential from the Redgate Monitor Server.

Connect-RedgateMonitor must be called before this cmdlet.

Parameters

-BaseMonitor <BaseMonitor>

The Base Monitor name to get Service Principal Credential from if not provided all Service Principal Credentials are returned.

Aliases None
Required? false
Position? 1
Default Value None
Accept Pipeline Input True (ByValue)
Accept Wildcard Characters false

-Name <String>

{{ Fill Name Description }}

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.

Examples

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

  1. Get-RedgateMonitorServicePrincipalCredential -BaseMonitor $BaseMonitor

This command will get all Service Principal Credentials on the specified base monitor.

-------------------------- EXAMPLE 2 --------------------------

  1. Get-RedgateMonitorServicePrincipalCredential -Name "ServicePrincipalCredentialName"

This command will get the Service Principal Credential with the name "ServicePrincipalCredentialName" from all base monitors.

-------------------------- EXAMPLE 3 --------------------------

  1. Get-RedgateMonitorServicePrincipalCredential -BaseMonitor $BaseMonitor -Name "ServicePrincipalCredentialName"

This command will get the Service Principal Credential with the name "ServicePrincipalCredentialName" on the specified base monitor.


Didn't find what you were looking for?