Disable-FolderRedirection
Disables the group policy setting for folder redirection.
Disable-FolderRedirection
[-AllFolder]
[<CommonParameters>]
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.
PS C:\> Disable-FolderRedirection -Folder "Contacts","Videos"
This command disables the group policy setting for folder redirection for the contacts and video folders.
Indicates that the cmdlet disables the group policy setting for folder redirection on all pre-defined folders.
Type: | SwitchParameter |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Specifies an array of folder names for which you want to disable the group policy setting for folder redirection.
Type: | String[] |
Accepted values: | AppDataRoamingprivate, Contacts, Desktop, Documents, Downloads, Favorites, Links, Music, Pictures, SavedGames, Searches, StartMenu, Videos |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |