Set-DnsServerResponseRateLimitingExceptionlist
Mis à jour: mai 2015
Set-DnsServerResponseRateLimitingExceptionlist
Updates the settings of an RRL exception list.
Syntaxe
Parameter Set: Set3
Set-DnsServerResponseRateLimitingExceptionlist [[-Name] <String> ] [[-ClientSubnet] <String> ] [[-Fqdn] <String> ] [[-ServerInterfaceIP] <String> ] [[-Condition] <String> {AND | OR} ] [-CimSession <CimSession[]> ] [-ComputerName <String> ] [-InformationAction <ActionPreference> {SilentlyContinue | Stop | Continue | Inquire | Ignore | Suspend} ] [-InformationVariable <String> ] [-PassThru] [-ThrottleLimit <Int32> ] [-Confirm] [-WhatIf] [ <CommonParameters>] [ <WorkflowParameters>]
Description détaillée
The Set-DnsServerResponseRateLimitingExceptionlist cmdlet updates the settings of a Response Rate Limiting (RRL) exception list.
Paramètres
-CimSession<CimSession[]>
Exécute l'applet de commande dans une session distante ou sur un ordinateur distant. Entrez un nom d'ordinateur ou un objet de session, tels que le résultat d'une applet de commande New-CimSession ou Get-CimSession. La valeur par défaut est la session en cours sur l'ordinateur local.
Alias |
Session |
Requis ? |
false |
Position ? |
named |
Valeur par défaut |
none |
Accepter l'entrée de pipeline ? |
false |
Accepter les caractères génériques ? |
false |
-ClientSubnet<String>
Specifies the client subnet values for the exception list.
The value must have the following format: COMPARATOR, value1, value2,..., COMPARATOR, value 3, value 4,..
where the COMPARATOR can be EQ or NE. There can be only one EQ and one NE in a value.
The values following the EQ operator will be treated as multiple assertions which are logically combined using the OR operator. The values following the NE operator will be treated as multiple assertions which are logically differenced using the AND operator.
Multiple values are combined using the Condition parameter as a logical operator. The same operator is also used for combining EQ and NE expressions within a value.
For example, EQ, America, Asia, NE, Europe
specifies that the client subnets of America and Asia are in the exception list, and the client subnet of Europe is not.
For details, see Add-DnsServerClientSubnet.
Alias |
none |
Requis ? |
false |
Position ? |
3 |
Valeur par défaut |
none |
Accepter l'entrée de pipeline ? |
true(ByPropertyName) |
Accepter les caractères génériques ? |
false |
-ComputerName<String>
Specifies a remote DNS server on which to run the command. You can specify an IP address or any value that resolves to an IP address, such as a fully qualified domain name (FQDN), host name, or NetBIOS name.
Alias |
Cn |
Requis ? |
false |
Position ? |
named |
Valeur par défaut |
none |
Accepter l'entrée de pipeline ? |
false |
Accepter les caractères génériques ? |
false |
-Condition<String>
Specifies a logical operator for combining multiple values of the ClientSubnet, Fdqn and ServerIp parameters. The values for the parameters are combined together using the Condition parameter as a logical operator. The same operator is also used for combining EQ and NE expressions within a value. The default value is AND.
Alias |
none |
Requis ? |
false |
Position ? |
6 |
Valeur par défaut |
none |
Accepter l'entrée de pipeline ? |
false |
Accepter les caractères génériques ? |
false |
-Fqdn<String>
Specifies FQDN values for the exception list.
The value must have the following format: COMPARATOR, value1, value2,..., COMPARATOR, value 3, value 4,..
where the COMPARATOR can be EQ or NE. There can be only one EQ and one NE in a value.
The values following the EQ operator will be treated as multiple assertions which are logically combined using the OR operator. The values following the NE operator will be treated as multiple assertions which are logically differenced using the AND operator.
Multiple values are combined using the Condition parameter as a logical operator. The same operator is also used for combining EQ and NE expressions within a value.
For example, EQ,*.contoso.com
specifies that the contoso.com domain should be added to the exception list.
Alias |
none |
Requis ? |
false |
Position ? |
4 |
Valeur par défaut |
none |
Accepter l'entrée de pipeline ? |
true(ByPropertyName) |
Accepter les caractères génériques ? |
false |
-InformationAction<ActionPreference>
Specifies how this cmdlet responds to an information event. Les valeurs acceptables pour ce paramètre sont les suivantes :
-- SilentlyContinue
-- Stop
-- Continue
-- Inquire
-- Ignore
-- Suspend
Alias |
infa |
Requis ? |
false |
Position ? |
named |
Valeur par défaut |
none |
Accepter l'entrée de pipeline ? |
false |
Accepter les caractères génériques ? |
false |
-InformationVariable<String>
Specifies a variable in which to store an information event message.
Alias |
iv |
Requis ? |
false |
Position ? |
named |
Valeur par défaut |
none |
Accepter l'entrée de pipeline ? |
false |
Accepter les caractères génériques ? |
false |
-Name<String>
Specifies the name of the RRL exception list.
Alias |
none |
Requis ? |
false |
Position ? |
2 |
Valeur par défaut |
none |
Accepter l'entrée de pipeline ? |
true(ByPropertyName) |
Accepter les caractères génériques ? |
false |
-PassThru
Renvoie un objet qui représente l'élément sur lequel vous travaillez. Par défaut, cette applet de commande ne génère pas de sortie.
Alias |
none |
Requis ? |
false |
Position ? |
named |
Valeur par défaut |
none |
Accepter l'entrée de pipeline ? |
false |
Accepter les caractères génériques ? |
false |
-ServerInterfaceIP<String>
Specifies the server interface on which the DNS server is listening.
The value must have the following format: COMPARATOR, value1, value2,..., COMPARATOR, value 3, value 4,..
where the COMPARATOR can be EQ or NE. There can be only one EQ and one NE in a value.
The values following the EQ operator will be treated as multiple assertions which are logically combined using the OR operator. The values following the NE operator will be treated as multiple assertions which are logically differenced using the AND operator.
Multiple values are combined together using the Condition parameter as a logical operator. The same operator is also used for combining EQ and NE expressions within a value.
For example, EQ,10.0.0.3
specifies a server interface with IP 10.0.0.3.
Alias |
none |
Requis ? |
false |
Position ? |
5 |
Valeur par défaut |
none |
Accepter l'entrée de pipeline ? |
true(ByPropertyName) |
Accepter les caractères génériques ? |
false |
-ThrottleLimit<Int32>
Spécifie le nombre maximal d'opérations simultanées qui peuvent être établies pour exécuter l'applet de commande. Si ce paramètre est omis ou si la valeur 0
est entrée, Windows PowerShell® calcule un seuil de limitation optimal pour l'applet de commande en fonction du nombre d'applets de commande CIM exécutées sur l'ordinateur. Le seuil de limitation s'applique uniquement à l'applet de commande en cours, non pas à la session ou à l'ordinateur.
Alias |
none |
Requis ? |
false |
Position ? |
named |
Valeur par défaut |
none |
Accepter l'entrée de pipeline ? |
false |
Accepter les caractères génériques ? |
false |
-Confirm
Vous invite à confirmer l'exécution de l'applet de commande.
Requis ? |
false |
Position ? |
named |
Valeur par défaut |
false |
Accepter l'entrée de pipeline ? |
false |
Accepter les caractères génériques ? |
false |
-WhatIf
Indique ce qui se produit en cas d'exécution de l'applet de commande. L'applet de commande n'est pas exécutée.
Requis ? |
false |
Position ? |
named |
Valeur par défaut |
false |
Accepter l'entrée de pipeline ? |
false |
Accepter les caractères génériques ? |
false |
<CommonParameters>
Cette applet de commande prend en charge les paramètres courants : -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer et -OutVariable. Pour plus d'informations, consultez . about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216).
<WorkflowParameters>
Entrées
Le type d'entrée correspond au type des objets que vous pouvez adresser à l'applet de commande.
Sorties
Le type de sortie correspond au type des objets que l'applet de commande émet.
Microsoft.Management.Infrastructure.CimInstance#DnsServerResponseRateLimitingExceptionlist
L'objet
Microsoft.Management.Infrastructure.CimInstance
est une classe de wrapper qui affiche les objets WMI (Windows Management Instrumentation). Le chemin après le symbole#
fournit l'espace de noms et le nom de classe de l'objet WMI sous-jacent.
Exemples
Example 1: Set a RRL exception list
This command sets the ServerInterfaceIP value of the RRL exception list named SafeList1 to EQ,10.0.0.1.
PS C:\> Set-DnsServerResponseRateLimitingExceptionlist -Name "SafeList1" -ServerInterfaceIP "EQ,10.0.0.1"
Rubriques connexes
Add-DnsServerResponseRateLimitingExceptionlist