Set-UnityFileDNSServer
SYNOPSIS
Modifies File DNS Server parameters.
SYNTAX
Set-UnityFileDNSServer [-session <Object>] [-ID] <Object[]> [-domain <String>] [-addresses <String[]>]
[-replicationPolicy <ReplicationPolicyEnum>] [-WhatIf] [-Confirm]
DESCRIPTION
Modifies File DNS Server parameters. You need to have an active session with the array.
EXAMPLES
-------------------------- EXAMPLE 1 --------------------------
Set-UnityFileDnsServer -ID 'dns_1' -ipAddress '192.0.2.1'
Change ip of the file DNS server with ID 'dns_1'
PARAMETERS
-session
Specify an UnitySession Object.
Type: Object
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: ($global:DefaultUnitySession | where-object {$_.IsConnected -eq $true})
Accept pipeline input: False
Accept wildcard characters: False
-ID
File DNS Server ID or Object
Type: Object[]
Parameter Sets: (All)
Aliases:
Required: True
Position: 1
Default value: None
Accept pipeline input: True (ByPropertyName, ByValue)
Accept wildcard characters: False
-domain
DNS domain name
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-addresses
The list of DNS server IP addresses
Type: String[]
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-replicationPolicy
Status of the LDAP list in the NAS server operating as a replication destination.
Type: ReplicationPolicyEnum
Parameter Sets: (All)
Aliases:
Accepted values: Not_Replicated, Replicated, Overridden
Required: False
Position: Named
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
Parameter Sets: (All)
Aliases: wi
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
Parameter Sets: (All)
Aliases: cf
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
INPUTS
OUTPUTS
NOTES
Written by Erwan Quelin under MIT licence - https://github.com/equelin/Unity-Powershell/blob/master/LICENSE