Set-NfsNetgroupStore

Set-NfsNetgroupStore

Modifies netgroup configuration settings.

構文

Parameter Set: InputObject (cdxml)
Set-NfsNetgroupStore [-AsJob] [-CimSession <CimSession[]> ] [-InputObject <CimInstance[]> ] [-LDAPNamingContext <String> ] [-LdapServer <String> ] [-NetgroupStoreType <String> ] [-NisDomain <String> ] [-NisServer <String> ] [-PassThru] [-ThrottleLimit <Int32> ] [-Confirm] [-WhatIf] [ <CommonParameters>]

詳細説明

The Set-NfsNetgroupStore cmdlet modifies configuration settings that a Network File System (NFS) Server uses to obtain netgroups from a specified netgroup store.

An NFS server can get netgroups from Network Information Service (NIS) or RFC-2307-compliant Lightweight Directory Access Protocol (LDAP)–based stores, such as Active Directory Domain Services (AD DS) or Active Directory Lightweight Directory Services (AD LDS).

パラメーター

-AsJob

エイリアス

なし

必須?

false

位置は?

named

既定値

なし

パイプライン入力を許可する

false

ワイルドカード文字を許可する

false

-CimSession<CimSession[]>

リモート セッションまたはリモート コンピューターでコマンドレットを実行します。New-CimSession コマンドレットや Get-CimSession コマンドレットの出力など、コンピューター名またはセッション オブジェクトを入力します。既定値は、ローカル コンピューターで実行中の現在のセッションです。

エイリアス

なし

必須?

false

位置は?

named

既定値

なし

パイプライン入力を許可する

false

ワイルドカード文字を許可する

false

-InputObject<CimInstance[]>

Gets an array of Common Information Model (CIM) instances from a CIM server.

エイリアス

なし

必須?

false

位置は?

named

既定値

なし

パイプライン入力を許可する

True (ByValue)

ワイルドカード文字を許可する

false

-LDAPNamingContext<String>

Specifies an LDAP naming context that the NFS server uses when it performs LDAP queries to obtain netgroup information.

The NFS server uses this parameter only if the NetgroupSourceType parameter is set to LDAP. If NetgroupSourceType is set to NIS or None, the NFS server ignores the value set for this parameter.

エイリアス

なし

必須?

false

位置は?

named

既定値

なし

パイプライン入力を許可する

false

ワイルドカード文字を許可する

false

-LdapServer<String>

Specifies an LDAP server name or an Active Directory domain name that stores netgroup information.

エイリアス

なし

必須?

false

位置は?

named

既定値

なし

パイプライン入力を許可する

false

ワイルドカード文字を許可する

false

-NetgroupStoreType<String>

Specifies the type of netgroup store. Valid values for this are: LDAP, NIS, or None.

エイリアス

なし

必須?

false

位置は?

named

既定値

なし

パイプライン入力を許可する

false

ワイルドカード文字を許可する

false

-NisDomain<String>

Specifies the NIS domain of the NIS server where information about netgroups is stored.

エイリアス

なし

必須?

false

位置は?

named

既定値

なし

パイプライン入力を許可する

false

ワイルドカード文字を許可する

false

-NisServer<String>

Specifies the host name of the NIS server where information about netgroups is stored.

エイリアス

なし

必須?

false

位置は?

named

既定値

なし

パイプライン入力を許可する

false

ワイルドカード文字を許可する

false

-PassThru

作業中の項目を表すオブジェクトを返します。既定では、このコマンドレットによる出力はありません。

エイリアス

なし

必須?

false

位置は?

named

既定値

なし

パイプライン入力を許可する

false

ワイルドカード文字を許可する

false

-ThrottleLimit<Int32>

このコマンドレットを実行するために確立できる最大同時操作数を指定します。このパラメーターを省略するか、値として 0 を入力した場合、Windows PowerShell® では、コンピューターで実行している CIM コマンドレットの数に基づいて、コマンドレットに対する最適なスロットル制限を計算します。スロットル制限は現在のコマンドレットのみに適用され、セッションまたはコンピューターには適用されません。

エイリアス

なし

必須?

false

位置は?

named

既定値

なし

パイプライン入力を許可する

false

ワイルドカード文字を許可する

false

-Confirm

コマンドレットを実行する前に、ユーザーに確認を求めます。

必須?

false

位置は?

named

既定値

false

パイプライン入力を許可する

false

ワイルドカード文字を許可する

false

-WhatIf

コマンドレットを実行するとどのような結果になるかを表示します。コマンドレットは実行されません。

必須?

false

位置は?

named

既定値

false

パイプライン入力を許可する

false

ワイルドカード文字を許可する

false

<CommonParameters>

このコマンドレットは次の共通パラメーターをサポートします。-Verbose、-Debug、-ErrorAction、-ErrorVariable、-OutBuffer、-OutVariable.詳細については、以下を参照してください。 about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216)。

入力

入力型は、コマンドレットにパイプできるオブジェクトの型です。

  • このコマンドレットへの入力を指定します。このパラメーターを使用するか、パイプを使用して入力をこのコマンドレットに渡すことができます。

出力

出力型は、コマンドレットによって生成されるオブジェクトの型です。

  • Microsoft.Management.Infrastructure.CimInstance#root/Microsoft/Windows/NFS/MSFT_NfsNetgroupStore

Example 1: Configure an NFS server to get netgroups from an LDAP store

This command configures an NFS server to get netgroups from an LDAP store that is named Contoso.com.

PS C:\> Set-NfsNetgroupStore -NetgroupSourceType "LDAP" -LdapServer "Contoso.com"

Example 2: Configure an NFS server to get netgroups from an NIS store

This command configures an NFS server to get netgroups from an NIS store that is named NIS.Contoso.com.

PS C:\> Set-NfsNetgroupStore -NetgroupSourceType "NIS" -NisServer "NIS.Contoso.com"

関連トピック

Get-NfsNetgroupStore

Set-NfsMappingStore

RFC-2307