Disable-FolderRedirection

Disable-FolderRedirection

Disables the group policy setting for folder redirection.

Sintaxis

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

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

Descripción detallada

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.

Parámetros

-AllFolder

Indicates that the cmdlet disables the group policy setting for folder redirection on 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 disable 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: 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"

Temas relacionados

Enable-FolderRedirection