Enable-FolderRedirection

Enable-FolderRedirection

Enables the group policy setting for folder redirection.

構文

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

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

詳細説明

The Enable-FolderRedirection cmdlet enables the group policy setting for folder redirection. This setting affects either all pre-defined folders or folders that you specify. You can use folder redirection to redirect the path of a folder to a new location.

パラメーター

-AllFolder

Indicates that the group policy setting for folder redirection affects all pre-defined folders.

エイリアス

なし

必須?

true

位置は?

named

既定値

なし

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

false

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

false

-Folder<String[]>

Specifies an array of folder names for which you want to enable 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: Enable the group policy setting for folder redirection

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

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

関連トピック

Disable-FolderRedirection