Redgate Monitor 14

Connect-RedgateMonitor

Initiates a connection with a Redgate Monitor Server.

Syntax

Connect-RedgateMonitor [-ServerUrl] <uri> [-AuthToken] <string> [-SkipCertificateCheck] [-SkipVersionsCompatibilityCheck] [<CommonParameters>]

Description

The Connect-RedgateMonitor cmdlet attempts to initiate a connection with a Redgate Monitor Server.

Must be called atleast once before any other Redgate Monitor Cmdlets.

Parameters

-ServerUrl <Uri>

The Redgate Monitor Url.

Aliases None
Required? true
Position? 1
Default Value None
Accept Pipeline Input False
Accept Wildcard Characters false

-AuthToken <String>

The API Authorization Token. For more information, see https://www.red-gate.com/monitor14/api/authentication.

Aliases None
Required? true
Position? 2
Default Value None
Accept Pipeline Input False
Accept Wildcard Characters false

-SkipCertificateCheck <SwitchParameter>

Skips certificate validation checks. This includes all validations such as expiration, revocation, trusted root authority, etc. Using this parameter is not secure and is not recommended. This switch is only intended to be used against known hosts using a self-signed certificate for testing purposes. Use at your own risk.

Aliases None
Required? false
Position? named
Default Value False
Accept Pipeline Input False
Accept Wildcard Characters false

-SkipVersionsCompatibilityCheck <SwitchParameter>

Skips checks if the PowerShell module used is compatible with the version of Redgate Monitor it connects to. Discouraged, use at your own risk!

Aliases None
Required? false
Position? named
Default Value False
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.

Examples

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

Connect-RedgateMonitor -ServerUrl "http://sql-monitor.example.com:8080" -AuthToken "GeneratedAuthenticationToken"


Didn't find what you were looking for?