Set-WssMediaServerEnabled

Enables or disables media streaming on a server.

Syntax

Set-WssMediaServerEnabled
   [-Enable] <Boolean>

Description

The Set-WssMediaServerEnabled cmdlet enables or disables media streaming for the current server. You can use the Get-WssMediaServerEnabled cmdlet to see the status of media streaming.

Examples

Example 1: Disable media streaming

PS C:\> Set-WssMediaServerEnabled -Enable $False

This command disables media streaming for the current server.

Parameters

-Enable

Indicates whether the cmdlet enables or disables media streaming. Use a value of $True to enable media streaming, or a value of $False to disable it.

Type:Boolean
Position:1
Default value:None
Required:True
Accept pipeline input:True
Accept wildcard characters:False