Set-VsanFileServiceDomain
This cmdlet modifies the settings of the given vSAN file service domains.
Syntax
-VsanFileServiceDomain
<VsanFileServiceDomain[]>
[-DnsServerAddress <String[]>]
[-DnsSuffix <String[]>]
[-FileServerIpConfig <VsanFileServerIPConfig[]>]
[-Name <String>]
[-Server <VIServer[]>]
[CommonParameters]
[-DnsServerAddress <String[]>]
[-DnsSuffix <String[]>]
[-FileServerIpConfig <VsanFileServerIPConfig[]>]
[-Name <String>]
[-Server <VIServer[]>]
[CommonParameters]
Parameters
Required | Parameter Name | Type | Position | Features | Description |
---|---|---|---|---|---|
required |
|
VsanFileServiceDomain[] | named |
|
Specifies the list of VSAN file service domains you want to remove. | optional |
|
String[] | named |
|
Specifies the DNS server address which you want to use to resolve the hostnames within the DNS domain. This parameter is optional if the DNS name is provided in the access point configuration or is not required for an NFS access. | optional |
|
String[] | named |
|
Specifies the list of DNS server addresses that can be resolved by the DNS servers. The DNS suffix is required if the DNS servers are provided. | optional |
|
VsanFileServerIPConfig[] | named |
|
optional |
|
String | named |
|
Specifies the new name of the vSAN file service domain. | optional |
|
VIServer[] | named |
|
Specifies the vCenter Server systems on which you want to run the cmdlet. If no value is provided or $null value is passed to this parameter, the command runs on the default servers. For more information about default servers, see the description of the Connect-VIServer cmdlet. |
Output
VMware.VimAutomation.Storage.Types.V1.Vsan.FileService.VsanFileServiceDomain
Examples
Example 1
Set-VsanFileServiceDomain -VsanFileServiceDomain $domain -DnsServerAddress "10.172.199.240"
-DnsSuffix "vmware.com" -VsanFileServerIpConfig $ipconfig1, $ipconfig2
Adds $ipconfig1 and $ipconfig2 to the $domain file service IP pool, sets the DNS server address to "10.172.199.240", and the DNS suffix to "vmware.com"
Related Commands
VsanFileServerIpConfig
This cmdlet creates a vSAN file service IP configuration at the client side.
VsanFileServiceDomain
This cmdlet retrieves vSAN file service domains in a vSAN cluster.
This cmdlet modifies the settings of the given vSAN file domains.
This cmdlet removes the specified vSAN file service domain from the vSAN clusters.
This cmdlet creates a file service domain in a vSAN cluster.
VsanFileServiceOvf
This cmdlet downloads a file service OVF file of the specified URL into the OVF repository in vSphere.
VsanFileServiceOvfInfo
This cmdlet retrieves a vSAN file service OVF information.
VsanFileShare
This cmdlet retrieves vSAN file shares based on the name or ID filter.
This cmdlet modifies the configuration of a specified vSAN file share.
This cmdlet removes vSAN file shares.
This cmdlet creates a new vSAN file share in a specified file service domain.
VsanFileShareNetworkPermission
New-VsanFileShareNetworkPermission -IPSetOrSubnet -VsanFileShareAccessPermission [-AllowSquashRoot] [-WhatIf] [-Confirm] []