< Back
Set-DnsClientServerAddress
Post
NAME Set-DnsClientServerAddress
SYNTAX
Set-DnsClientServerAddress [-InterfaceAlias] <string[]> [-ServerAddresses <string[]>] [-Validate]
[-ResetServerAddresses] [-CimSession <CimSession[]>] [-ThrottleLimit <int>] [-AsJob] [-PassThru] [-WhatIf]
[-Confirm] [<CommonParameters>]
Set-DnsClientServerAddress -InterfaceIndex <uint32[]> [-ServerAddresses <string[]>] [-Validate]
[-ResetServerAddresses] [-CimSession <CimSession[]>] [-ThrottleLimit <int>] [-AsJob] [-PassThru] [-WhatIf]
[-Confirm] [<CommonParameters>]
Set-DnsClientServerAddress -InputObject <CimInstance#MSFT_DNSClientServerAddress[]> [-ServerAddresses <string[]>]
[-Validate] [-ResetServerAddresses] [-CimSession <CimSession[]>] [-ThrottleLimit <int>] [-AsJob] [-PassThru]
[-WhatIf] [-Confirm] [<CommonParameters>]
PARAMETERS
-AsJob
Required? false
Position? Named
Accept pipeline input? false
Parameter set name InputObject (cdxml), ByAlias, ByName
Aliases None
Dynamic? false
-CimSession <CimSession[]>
Required? false
Position? Named
Accept pipeline input? false
Parameter set name InputObject (cdxml), ByAlias, ByName
Aliases Session
Dynamic? false
-Confirm
Required? false
Position? Named
Accept pipeline input? false
Parameter set name (All)
Aliases cf
Dynamic? false
-InputObject <CimInstance#MSFT_DNSClientServerAddress[]>
Required? true
Position? Named
Accept pipeline input? true (ByValue)
Parameter set name InputObject (cdxml)
Aliases None
Dynamic? false
-InterfaceAlias <string[]>
Required? true
Position? 0
Accept pipeline input? false
Parameter set name ByAlias
Aliases None
Dynamic? false
-InterfaceIndex <uint32[]>
Required? true
Position? Named
Accept pipeline input? true (ByValue, ByPropertyName)
Parameter set name ByName
Aliases None
Dynamic? false
-PassThru
Required? false
Position? Named
Accept pipeline input? false
Parameter set name InputObject (cdxml), ByAlias, ByName
Aliases None
Dynamic? false
-ResetServerAddresses
Required? false
Position? Named
Accept pipeline input? false
Parameter set name InputObject (cdxml), ByAlias, ByName
Aliases ResetAddresses
Dynamic? false
-ServerAddresses <string[]>
Required? false
Position? Named
Accept pipeline input? false
Parameter set name InputObject (cdxml), ByAlias, ByName
Aliases Addresses
Dynamic? false
-ThrottleLimit <int>
Required? false
Position? Named
Accept pipeline input? false
Parameter set name InputObject (cdxml), ByAlias, ByName
Aliases None
Dynamic? false
-Validate
Required? false
Position? Named
Accept pipeline input? false
Parameter set name InputObject (cdxml), ByAlias, ByName
Aliases None
Dynamic? false
-WhatIf
Required? false
Position? Named
Accept pipeline input? false
Parameter set name (All)
Aliases wi
Dynamic? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
System.UInt32[]
Microsoft.Management.Infrastructure.CimInstance[]
OUTPUTS
Microsoft.Management.Infrastructure.CimInstance
Microsoft.Management.Infrastructure.CimInstance#ROOT/StandardCimv2/MSFT_DNSClientServerAddress
ALIASES
None
REMARKS
Get-Help cannot find the Help files for this cmdlet on this computer. It is displaying only partial help.
-- To download and install Help files for the module that includes this cmdlet, use Update-Help.
SYNTAX
Set-DnsClientServerAddress [-InterfaceAlias] <string[]> [-ServerAddresses <string[]>] [-Validate]
[-ResetServerAddresses] [-CimSession <CimSession[]>] [-ThrottleLimit <int>] [-AsJob] [-PassThru] [-WhatIf]
[-Confirm] [<CommonParameters>]
Set-DnsClientServerAddress -InterfaceIndex <uint32[]> [-ServerAddresses <string[]>] [-Validate]
[-ResetServerAddresses] [-CimSession <CimSession[]>] [-ThrottleLimit <int>] [-AsJob] [-PassThru] [-WhatIf]
[-Confirm] [<CommonParameters>]
Set-DnsClientServerAddress -InputObject <CimInstance#MSFT_DNSClientServerAddress[]> [-ServerAddresses <string[]>]
[-Validate] [-ResetServerAddresses] [-CimSession <CimSession[]>] [-ThrottleLimit <int>] [-AsJob] [-PassThru]
[-WhatIf] [-Confirm] [<CommonParameters>]
PARAMETERS
-AsJob
Required? false
Position? Named
Accept pipeline input? false
Parameter set name InputObject (cdxml), ByAlias, ByName
Aliases None
Dynamic? false
-CimSession <CimSession[]>
Required? false
Position? Named
Accept pipeline input? false
Parameter set name InputObject (cdxml), ByAlias, ByName
Aliases Session
Dynamic? false
-Confirm
Required? false
Position? Named
Accept pipeline input? false
Parameter set name (All)
Aliases cf
Dynamic? false
-InputObject <CimInstance#MSFT_DNSClientServerAddress[]>
Required? true
Position? Named
Accept pipeline input? true (ByValue)
Parameter set name InputObject (cdxml)
Aliases None
Dynamic? false
-InterfaceAlias <string[]>
Required? true
Position? 0
Accept pipeline input? false
Parameter set name ByAlias
Aliases None
Dynamic? false
-InterfaceIndex <uint32[]>
Required? true
Position? Named
Accept pipeline input? true (ByValue, ByPropertyName)
Parameter set name ByName
Aliases None
Dynamic? false
-PassThru
Required? false
Position? Named
Accept pipeline input? false
Parameter set name InputObject (cdxml), ByAlias, ByName
Aliases None
Dynamic? false
-ResetServerAddresses
Required? false
Position? Named
Accept pipeline input? false
Parameter set name InputObject (cdxml), ByAlias, ByName
Aliases ResetAddresses
Dynamic? false
-ServerAddresses <string[]>
Required? false
Position? Named
Accept pipeline input? false
Parameter set name InputObject (cdxml), ByAlias, ByName
Aliases Addresses
Dynamic? false
-ThrottleLimit <int>
Required? false
Position? Named
Accept pipeline input? false
Parameter set name InputObject (cdxml), ByAlias, ByName
Aliases None
Dynamic? false
-Validate
Required? false
Position? Named
Accept pipeline input? false
Parameter set name InputObject (cdxml), ByAlias, ByName
Aliases None
Dynamic? false
-WhatIf
Required? false
Position? Named
Accept pipeline input? false
Parameter set name (All)
Aliases wi
Dynamic? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
System.UInt32[]
Microsoft.Management.Infrastructure.CimInstance[]
OUTPUTS
Microsoft.Management.Infrastructure.CimInstance
Microsoft.Management.Infrastructure.CimInstance#ROOT/StandardCimv2/MSFT_DNSClientServerAddress
ALIASES
None
REMARKS
Get-Help cannot find the Help files for this cmdlet on this computer. It is displaying only partial help.
-- To download and install Help files for the module that includes this cmdlet, use Update-Help.