Set-WssMediaLibraryName

Set-WssMediaLibraryName

Changes the name of the Media Library.

Syntax

Parameter Set: Default
Set-WssMediaLibraryName [-MediaLibraryName] <String> [ <CommonParameters>]

Detailed Description

The Set-WssMediaLibraryName cmdlet changes the name of the Media Library for the current server. You can use the Get-WssMediaLibraryName cmdlet to see the Media Library name.

Parameters

-MediaLibraryName<String>

Specifies a new name for the Media Library shared by the server.

Aliases

none

Required?

true

Position?

1

Default Value

none

Accept Pipeline Input?

True (ByValue)

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.

Examples

Example 1: Rename a Media Library

This command gives the Media Library the name Accounting Library.

PS C:\> Set-WssMediaLibraryName -MediaLibraryName "Accounting Library"

Get-WssMediaLibraryName