Set-WssFileHistoryManagementStatus
Changes the File History managed status of a user account.
Set-WssFileHistoryManagementStatus
[-UserName] <String>
[-UnManage]
[-Delete]
[-Force]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
The Set-WssFileHistoryManagementStatus cmdlet changes the File History managed status of a user account. Specify the UnManage parameter if you do not want the server to manage the user account that you specify in the UserName parameter.
PS C:\> Set-WssFileHistoryManagementStatus -UserName "DaveB" -UnManage -Delete
This command changes the File History managed status of a user named DaveB to unmanaged, and deletes the File History Backup folder for that account.
Prompts you for confirmation before running the cmdlet.
Type: | SwitchParameter |
Aliases: | cf |
Position: | Named |
Default value: | False |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Indicates that the cmdlet also deletes the File History Backup folder for the user account when you specify the UnManage parameter.
Type: | SwitchParameter |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Forces the command to run without asking for user confirmation.
Type: | SwitchParameter |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Indicates that the server no longer manages the File History of the user account.
Type: | SwitchParameter |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Specifies the user name whose File History you want to manage.
Type: | String |
Aliases: | un |
Position: | 0 |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
Shows what would happen if the cmdlet runs. The cmdlet is not run.
Type: | SwitchParameter |
Aliases: | wi |
Position: | Named |
Default value: | False |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |