Redgate Monitor 14

Help for older versions available.

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

New-RedgateMonitorActiveDirectoryDomain

Creates a new temporary object that holds information about an ActiveDirectoryDomain.

Syntax

  1. New-RedgateMonitorActiveDirectoryDomain -Name <string> -BaseMonitor <BaseMonitor> -UserName <string> -Password <string> [<CommonParameters>]
  2.  

Description

The New-RedgateMonitorActiveDirectoryDomain cmdlet creates a new temporary object that holds information about an ActiveDirectoryDomain. The returned object needs to be passed to Add-RedgateMonitorMonitoredIamObject, as it does not add anything to Redgate Monitor on its own.

Parameters

-Name <String>

The name of the active directory domain e.g. "[yourdomain.com]".

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

-BaseMonitor <BaseMonitor>

The base monitor to add the active directory domain to. For more information, see https://documentation.red-gate.com/monitor14/api/powershell-api/powershell-cmdlet-reference/get-redgatemonitorbasemonitor.

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

-UserName <String>

Username to connect to Active Directory domain with.

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

-Password <String>

Password to connect to Active Directory domain with.

Aliases None
Required? true
Position? named
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.

Examples

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

  1. $adDomain = New-RedgateMonitorActiveDirectoryDomain -Name "testing" -BaseMonitor $BaseMonitor -Username "User -Password "p@$$w0rd"
  2. $adDomain | Add-RedgateMonitorMonitoredIamObject


Didn't find what you were looking for?