Get-WssFileHistoryManagementStatus

Gets the File History managed status of a user.

Syntax

Get-WssFileHistoryManagementStatus
   [-UserName] <String>
   [<CommonParameters>]

Description

The Get-WssFileHistoryManagementStatus cmdlet gets the File History managed status of a user. The cmdlet returns $True if the File History setting of the user is managed by the server.

Examples

Example 1: Get the File History managed status of a user

PS C:\> Get-WssFileHistoryManagementStatus -UserName "DaveB"

This command gets the File History managed status of a user named DaveB.

Parameters

-UserName

Specifies the user name of an account.

Type:String
Aliases:un
Position:0
Default value:None
Required:True
Accept pipeline input:True
Accept wildcard characters:False

Outputs

Boolean

This cmdlet generates the file history managed status for a user, which is $True if the user's file history setting is managed by the server.