Set-SCNetworkService

Modifies a network service.

Syntax

Set-SCNetworkService [-NetworkService] <NetworkService> [-AddLogicalNetworkDedicatedIP <LogicalNetwork[]>]
 [-AddLogicalNetworkVIP <LogicalNetwork[]>] [-AddVMHostGroup <HostGroup[]>] [-BandwidthCapacityKBps <UInt64>]
 [-Certificate <ClientCertificate[]>] [-ConfigurationProvider <ConfigurationProvider>]
 [-ConnectionString <String>] [-Description <String>] [-Force] [-JobVariable <String>] [-Manufacturer <String>]
 [-Model <String>] [-Name <String>] [-PROTipID <Guid>]
 [-ProvisionSelfSignedCertificatesForNetworkService <Boolean>] [-RemoveBandwidthCapacity]
 [-RemoveLogicalNetworkDedicatedIP <LogicalNetwork[]>] [-RemoveLogicalNetworkVIP <LogicalNetwork[]>]
 [-RemoveVMHostGroup <HostGroup[]>] [-RunAsAccount <RunAsAccount>] [-RunAsynchronously]
 [-VMMServer <ServerConnection>] [-Version <String>] [<CommonParameters>]

Description

The Set-SCNetworkService cmdlet modifies a network service.

Parameters

-AddLogicalNetworkDedicatedIP

Specifies an array of logical network dedicated IP addresses that this cmdlet adds to an existing logical network array.

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

Specifies an array of logical network virtual IP addresses that this cmdlet adds to an existing logical network array.

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

Specifies an array of host groups that this cmdlet adds to an existing host group array or private cloud.

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

Specifies the bandwidth capacity, in kilobytes per second (KBps), of a network service.

Type:UInt64
Required:False
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-Certificate

Specifies an array of security certificate objects.

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

Specifies a configuration provider object. A configuration provider is a plug-in to VMM that translates VMM PowerShell commands to API calls that are specific to a type of load balancer. If no configuration provider is specified, VMM uses the Manufacturer and Model information to choose an available configuration provider. If no configuration provider is found, the load balancer will not be added.

Type:ConfigurationProvider
Required:False
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-ConnectionString

Specifies the information required to connect to the virtual switch extension manager.

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

Specifies a description for the network service.

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
-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
-Manufacturer

Specifies the name of the company that manufactured a physical device. The acceptable values for this parameter are:

- Letters (a-z)

  • Numbers (0-9)
  • Underscore (_)
  • Hyphen (-)
  • Dot (.)
  • Single quote (')

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

Specifies the model of a physical device.

Type:String
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
-NetworkService

Specifies a network service object.

Type:NetworkService
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
-ProvisionSelfSignedCertificatesForNetworkService
Type:Boolean
Required:False
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-RemoveBandwidthCapacity

Removes bandwidth capacity.

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

Specifies an array of logical network dedicated IP addresses that this cmdlet removes.

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

Removes a logical network virtual IP address.

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

Removes one or more host groups from a host group array or private cloud.

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

Specifies a Run As account that contains credentials with permission to perform this action.

Type:RunAsAccount
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 VMM server object.

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

Specifies a version.

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