Set-WssMediaServerEnabled
Set-WssMediaServerEnabled
Enables or disables media streaming on a server.
Syntax
Parameter Set: Default
Set-WssMediaServerEnabled [-Enable] <Boolean> [ <CommonParameters>]
Detailed 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.
Parameters
-Enable<Boolean>
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.
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: Disable media streaming
This command disables media streaming for the current server.
PS C:\> Set-WssMediaServerEnabled -Enable $False