Skip to content

Set-VrmsNetworkDns

Synopsis

Set DNS configuration

Syntax

Set-VrmsNetworkDns [-vrmsHostname] <String> [-dnsServers] <Array> [-ProgressAction <ActionPreference>] [<CommonParameters>]

Description

The Set-VrmsNetworkDns cmdlet change the DNS configuration of a vSphere Replication appliance.

Examples

Example 1

Set-VrmsNetworkDns -vrmsHostname sfo-m01-vrms01.sfo.rainpole.io -dnsServers "172.18.95.4","172.18.95.5"

This example retrieves information about the DNS configuration of the vSphere Replication appliance.

Parameters

-vrmsHostname

The vrmsHostname parameter The hostname of the vSphere Replication appliance.

Type: String
Parameter Sets: (All)
Aliases:

Required: True
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-dnsServers

The dnsServers parameter The DNS servers to be configured.

Type: Array
Parameter Sets: (All)
Aliases:

Required: True
Position: 2
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-ProgressAction

Progress Action

Type: ActionPreference
Parameter Sets: (All)
Aliases: proga

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

Common Parameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.