Get-WssFolder
Gets an object that represents a folder.
Syntax
Get-WssFolder []
Get-WssFolder
[-Name] <String>
[<CommonParameters>]
Get-WssFolder
[-ID] <Guid>
[<CommonParameters>]
Description
The Get-WssFolder cmdlet gets an object that represents a folder. Specify a GUID for a specific folder. If you do not specify a GUID, the cmdlet gets Folder objects for all the folders on current server.
Examples
Example 1: Get a folder by using a name
PS C:\> Get-WssFolder -Name "ProjectsWest"
This command gets the folder named ProjectsWest.
Parameters
-ID
Specifies the GUID for a folder.
Type: | Guid |
Position: | 0 |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Name
Specifies the name of a folder.
Type: | String |
Position: | 0 |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Outputs
Microsoft.WindowsServerSolutions.Storage.Folder
This cmdlet generates the server Folder object.
Related Links
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for