Disable-FolderRedirection

Disable-FolderRedirection

Disables the group policy setting for folder redirection.

構文

Parameter Set: All
Disable-FolderRedirection -AllFolder [ <CommonParameters>]

Parameter Set: Specific
Disable-FolderRedirection -Folder <String[]> [ <CommonParameters>]

詳細説明

The Disable-FolderRedirection cmdlet disables the group policy setting for folder redirection. You can disable this setting either on all pre-defined folders or folders that you specify.

パラメーター

-AllFolder

Indicates that the cmdlet disables the group policy setting for folder redirection on all pre-defined folders.

エイリアス

なし

必須?

true

位置は?

named

既定値

なし

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

false

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

false

-Folder<String[]>

Specifies an array of folder names for which you want to disable the group policy setting for folder redirection.

エイリアス

なし

必須?

true

位置は?

named

既定値

なし

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

false

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

false

<CommonParameters>

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

入力

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

出力

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

Example 1: Disable the group policy setting for folder redirection

This command disables the group policy setting for folder redirection for the contacts and video folders.

PS C:\> Disable-FolderRedirection -Folder "Contacts","Videos"

関連トピック

Enable-FolderRedirection