Export (0) Print
Expand All
Expand Minimize

New-ManagementGroupConnection

New-ManagementGroupConnection

Creates a new connection to a management group or tiered management group.

Syntax

Parameter Set: FromConnectionString
New-ManagementGroupConnection [-ConnectionString] <String> [[-Credential] <PSCredential> ] [ <CommonParameters>]

Parameter Set: FromTieredManagementGroup
New-ManagementGroupConnection [-TieredManagementGroup] <TieredManagementGroup> [-Credential] <PSCredential> [ <CommonParameters>]




Detailed Description

Creates a new connection to a management group or tiered management group.

Parameters

-ConnectionString<String>

Specifies the management group connection string.


Aliases

none

Required?

true

Position?

1

Default Value

none

Accept Pipeline Input?

true (ByValue)

Accept Wildcard Characters?

false

-Credential<PSCredential>

Specifies the credentials to use when attempting to connect to the management group.


Aliases

none

Required?

false

Position?

3

Default Value

none

Accept Pipeline Input?

true (ByValue)

Accept Wildcard Characters?

false

-TieredManagementGroup<TieredManagementGroup>

Specifies the tiered management group to which to connect.


Aliases

none

Required?

true

Position?

2

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 about_CommonParameters

Notes

  • For more information, type "Get-Help New-ManagementGroupConnection -detailed". For technical information, type "Get-Help New-ManagementGroupConnection -full".
    When specifying multiple values for a parameter, use commas to separate the values. For example, "<parameter-name> <value1>, <value2>".

Examples

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

This command uses New-ManagementGroupConnection to establish a new connection to the managementservername management group. It then uses Set-Location to navigate to that new management group within the monitoring object provider namespace.


C:\PS>new-managementgroupconnection "managementservername"set-location "monitoring:\managementservername"

Related topics

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft