Get-WssPersonalFolder

Get-WssPersonalFolder

Gets the personal folder for a user.

Syntax

Parameter Set: Default
Get-WssPersonalFolder [-UserName] <String> [ <CommonParameters>]

Detailed Description

The Get-WssPersonalFolder cmdlet gets the personal folder for the specified user.

Parameters

-UserName<String>

Specifies the name of a user account. The cmdlet gets the personal folder for the account that you specify on the current server.

Aliases

none

Required?

true

Position?

1

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

<CommonParameters>

This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see    about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216).

Inputs

The input type is the type of the objects that you can pipe to the cmdlet.

Outputs

The output type is the type of the objects that the cmdlet emits.

  • System.IO.DirectoryInfo

Examples

Example 1: Get a personal folder

This command gets the personal folder for the account named PattiFuller.

PS C:\> Get-WssPersonalFolder -UserName "PattiFuller"

New-WssPersonalFolder