Set-SCNetworkConnection

Modifies a network service connection.

Syntax

Set-SCNetworkConnection [-NetworkServiceConnection] <NetworkServiceConnection> [-Description <String>] [-Force]
 [-IPv4Address <String>] [-IPv6Address <String>] [-JobVariable <String>]
 [-LogicalNetworkDefinition <LogicalNetworkDefinition>] [-Name <String>]
 [-NetworkAdapter <NetworkServiceAdapterInfo>] [-PROTipID <Guid>] [-RunAsynchronously]
 [-VMMServer <ServerConnection>] [<CommonParameters>]
Set-SCNetworkConnection [-NetworkServiceConnection] <NetworkServiceConnection> [-Description <String>] [-Force]
 [-IPv4Address <String>] [-IPv6Address <String>] [-JobVariable <String>] [-Name <String>]
 [-NetworkAdapter <NetworkServiceAdapterInfo>] [-PROTipID <Guid>] [-RunAsynchronously]
 [-VMMServer <ServerConnection>] [-VMSubnet <VMSubnet>] [<CommonParameters>]

Description

The Set-SCNetworkConnection cmdlet modifies a network service connection.

Parameters

-Description

Specifies a description for the network connection.

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

Forces the command to run without asking for user confirmation.

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

Specifies an IPv4 address.

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

Specifies an IPv6 address.

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

Specifies that job progress is tracked and stored in the variable named by this parameter.

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

Specifies a logical network definition (also called a network site) that contains the subnet that the IP address pool serves as specified by the Subnet parameter.

Type:LogicalNetworkDefinition
Required:False
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-Name

Specifies the name of a network object.

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

Specifies a network service adapter information object.

Type:NetworkServiceAdapterInfo
Required:False
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-NetworkServiceConnection

Specifies a network service connection object.

Type:NetworkServiceConnection
Required:True
Position:0
Default value:None
Accept pipeline input:True (ByValue)
Accept wildcard characters:False
-PROTipID

Specifies the ID of the Performance and Resource Optimization tip (PRO tip) that triggered this action. This parameter lets you audit PRO tips.

Type:Guid
Required:False
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-RunAsynchronously

Indicates that the job runs asynchronously so that control returns to the command shell immediately.

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

Specifies a Virtual Machine Manager (VMM) server object.

Type:ServerConnection
Required:False
Position:Named
Default value:None
Accept pipeline input:True (ByValue)
Accept wildcard characters:False
-VMSubnet

Specifies a virtual machine subnet object.

To obtain a VMSubnet object, use the Get-SCVMSubnet cmdlet.

Type:VMSubnet
Required:False
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False