Add-WssFolder
Creates a new server folder.
Add-WssFolder
[-Name] <String>
[-Path] <String>
[[-Description] <String>]
[[-HideFolderFromRemoteAccess] <Boolean>]
[-KeepPermissions]
Add-WssFolder
[-Id] <Guid>
[-Path] <String>
[[-Description] <String>]
[[-HideFolderFromRemoteAccess] <Boolean>]
[-KeepPermissions]
The Add-WssFolder cmdlet creates a server folder.
PS C:\> Add-WssFolder -Name "ProjectsEast" -Path "D:\Contoso\Main"
This command creates the folder named ProjectsEast in D:\Contoso\Main.
Specifies a description for the server folder.
Type: | String |
Position: | 3 |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Specifies whether to hide the folder in Remote Desktop Web Access or Web service applications.
Type: | Boolean |
Position: | 4 |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Specifies the GUID for a built-in server folder. Specify this parameter to re-create a default shared folder, such as the Music folder or the Pictures folder.
Type: | Guid |
Position: | 1 |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Indicates that the cmdlet applies the permissions of the parent folder to the new folder.
Type: | SwitchParameter |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Specifies a name for the folder.
Type: | String |
Position: | 1 |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Specifies the path of the folder.
Type: | String |
Position: | 2 |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Microsoft.WindowsServerSolutions.Storage.Folder