Enable-FolderRedirection

Enable-FolderRedirection

Enables the group policy setting for folder redirection.

Sintaxis

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

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

Descripción detallada

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.

Parámetros

-AllFolder

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

Alias

ninguno

¿Requerido?

true

¿Posición?

named

Valor predeterminado

ninguno

¿Aceptar canalización?

false

¿Aceptar caracteres comodín?

false

-Folder<String[]>

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

Alias

ninguno

¿Requerido?

true

¿Posición?

named

Valor predeterminado

ninguno

¿Aceptar canalización?

false

¿Aceptar caracteres comodín?

false

<CommonParameters>

Este cmdlet admite los siguientes parámetros comunes: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer y -OutVariable. Para obtener más información, consulte about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216).

Entradas

El tipo de entrada es el tipo de los objetos que se pueden canalizar al cmdlet.

Salidas

El tipo de resultado es el tipo de objetos que emite el cmdlet.

Ejemplos

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"

Temas relacionados

Disable-FolderRedirection