Get-DnsClientNrptGlobal
Get-DnsClientNrptGlobal
Retrieves the Name Resolution Policy Table (NRPT) global settings.
構文
Parameter Set: Get0
Get-DnsClientNrptGlobal [-AsJob] [-CimSession <CimSession[]> ] [-GpoName <String> ] [-Server <String> ] [-ThrottleLimit <Int32> ] [ <CommonParameters>]
詳細説明
The Get-DnsClientNrptGlobal cmdlet retrieves the following Name Resolution Policy Table (NRPT) details:
-- DirectAccess (DA) settings.
-- DNS client query policy.
-- DNS client name resolution fallback policy.
パラメーター
-AsJob
エイリアス |
なし |
必須? |
false |
位置は? |
named |
既定値 |
なし |
パイプライン入力を許可する |
false |
ワイルドカード文字を許可する |
false |
-CimSession<CimSession[]>
リモート セッションまたはリモート コンピューターでコマンドレットを実行します。New-CimSession コマンドレットや Get-CimSession コマンドレットの出力など、コンピューター名またはセッション オブジェクトを入力します。既定値は、ローカル コンピューターで実行中の現在のセッションです。
エイリアス |
なし |
必須? |
false |
位置は? |
named |
既定値 |
なし |
パイプライン入力を許可する |
false |
ワイルドカード文字を許可する |
false |
-GpoName<String>
Specifies the name of Group Policy Object (GPO). If this parameter is not specified, then the default NRPT settings are retrieved.
エイリアス |
なし |
必須? |
false |
位置は? |
named |
既定値 |
なし |
パイプライン入力を許可する |
true (ByPropertyName) |
ワイルドカード文字を許可する |
false |
-Server<String>
Specifies the server hosting the GPO. This parameter is only applicable with the GpoName parameter.
エイリアス |
なし |
必須? |
false |
位置は? |
named |
既定値 |
なし |
パイプライン入力を許可する |
true (ByPropertyName) |
ワイルドカード文字を許可する |
false |
-ThrottleLimit<Int32>
このコマンドレットを実行するために確立できる最大同時操作数を指定します。このパラメーターを省略するか、値として 0
を入力した場合、Windows PowerShell® では、コンピューターで実行している CIM コマンドレットの数に基づいて、コマンドレットに対する最適なスロットル制限を計算します。スロットル制限は現在のコマンドレットのみに適用され、セッションまたはコンピューターには適用されません。
エイリアス |
なし |
必須? |
false |
位置は? |
named |
既定値 |
なし |
パイプライン入力を許可する |
false |
ワイルドカード文字を許可する |
false |
<CommonParameters>
このコマンドレットは次の共通パラメーターをサポートします。-Verbose、-Debug、-ErrorAction、-ErrorVariable、-OutBuffer、-OutVariable.詳細については、以下を参照してください。 about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216)。
入力
入力型は、コマンドレットにパイプできるオブジェクトの型です。
- None
出力
出力型は、コマンドレットによって生成されるオブジェクトの型です。
Microsoft.Management.Infrastructure.CimInstance#root/Microsoft/Windows/DNS/DnsClientNrptGlobal
Microsoft.Management.Infrastructure.CimInstance
オブジェクトは、Windows Management Instrumentation (WMI) オブジェクトを表示するラッパー クラスです。シャープ記号 (#
) の後のパスは、基になる WMI オブジェクトの名前空間とクラス名です。
The DnsClientNrptGlobal object contains all of the properties of the DNS client NRPT global settings.
例
EXAMPLE 1
This example retrieves the global NRPT settings.
PS C:\> Get-DnsClientNrptGlobal
EXAMPLE 2
This example retrieves the global NRPT settings for the GPO named DirectAccess Client Settings that is linked to corp.contoso.com.
PS C:\> Get-DnsClientNrptGlobal -GpoName "corp.contoso.com\DirectAccess Client Settings"
EXAMPLE 3
This example retrieves the global NRPT settings for the GPO named DirectAccess Client Settings that is linked to corp.contoso.com on the server named dc1.
PS C:\> Get-DnsClientNrptGlobal -GpoName "corp.contoso.com\DirectAccess Client Settings" -Server dc1
EXAMPLE 4
This example retrieves the global NRPT settings for the GPO named DirectAccess Client Settings that is linked to corp.contoso.com on the remote computer named 2-dc1.corp2.corp.contoso.com.
PS C:\> Get-DnsClientNrptGlobal -GpoName "corp.contoso.com\DirectAccess Client Settings" -CimSession 2-dc1.corp2.corp.contoso.com