New-SCVMMConnector

Creates a Service Manager Virtual Machine Manager connector.

Syntax

New-SCVMMConnector [-DisplayName] <String> [[-Description] <String>]
 [[-RunAsAccount] <ManagementPackSecureReference>] [-ServerName] <String> [[-ServerPort] <Int32>]
 [-ComputerName <String[]>] [-Confirm] [-Credential <PSCredential>] [-Enable <Boolean>] [-PassThru]
 [-SCSession <Connection[]>] [-WhatIf] [<CommonParameters>]

Description

The New-SCVMMConnector cmdlet creates a Service Manager Virtual Machine Manager connector.

Examples

Example 1: Create a Virtual Machine Manager connector

PS C:\>New-SCVMMConnector -DisplayName "contoso-vmm" -ServerName "ContosoServer.net"

This command creates a Virtual Machine Manager connector.

Parameters

-ComputerName

Specifies the name of the computer on which the System Center Data Access service runs. The user account that is specified in the Credential parameter must have access rights to the specified computer.

Type:String[]
Required:False
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-Confirm

Prompts you for confirmation before running the cmdlet.

Type:SwitchParameter
Aliases:cf
Required:False
Position:Named
Default value:False
Accept pipeline input:False
Accept wildcard characters:False
-Credential

Specifies the credentials that this cmdlet uses to connect to the server on which the System Center Data Access service runs. The specified user account must have access rights to that server.

Type:PSCredential
Required:False
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-Description

Specifies a description for the connector.

Type:String
Required:False
Position:1
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-DisplayName

Specifies the display name of the connector.

Type:String
Required:True
Position:0
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-Enable

Indicates whether this cmdlet enables or disables the connector.

Type:Boolean
Required:False
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-PassThru

Indicates that this cmdlet returns the Virtual Machine Manager connector that it creates. You can pass this object to other cmdlets.

Type:SwitchParameter
Required:False
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-RunAsAccount

Specifies the Run As account that the connector uses when it runs.

Type:ManagementPackSecureReference
Required:False
Position:2
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-SCSession

Specifies an object that represents the session to a Service Manager management server.

Type:Connection[]
Required:False
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-ServerName

Specifies the Virtual Machine Manager server name.

Type:String
Required:True
Position:3
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-ServerPort

{{Fill ServerPort Description}}

Type:Int32
Required:False
Position:4
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-WhatIf

Shows what would happen if the cmdlet runs. The cmdlet is not run.

Type:SwitchParameter
Aliases:wi
Required:False
Position:Named
Default value:False
Accept pipeline input:False
Accept wildcard characters:False