Table of contents
TLS
TOC
Collapse the table of content
Expand the table of content

Enable-WmsVirtualDesktopRole

Last Updated: 3/8/2017

SYNOPSIS

Installs the Hyper-V virtual desktop role and customizes it for use with MultiPoint services.

SYNTAX

Enable-WmsVirtualDesktopRole [-Restart] [-WhatIf] [-Confirm] [<CommonParameters>]

DESCRIPTION

The Enable-WmsVirtualDesktopRole cmdlet installs the virtual desktop Hyper-V role if it isn't already installed, and optionally restarts the computer to apply the change.

EXAMPLES

Example 1: Install the Hyper-V virtual desktop role

PS C:\> Enable-WmsVirtualDesktopRole -Restart

This command installs the Hyper-V virtual desktop role and reboots the computer to apply the change.

PARAMETERS

-Confirm

Prompts you for confirmation before running the cmdlet.

Type: SwitchParameter
Parameter Sets: (All)
Aliases: cf

Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False

-Restart

Indicates that this operation automatically restarts the computer to apply the change.

Type: SwitchParameter
Parameter Sets: (All)
Aliases: 

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-WhatIf

Shows what would happen if the cmdlet runs. The cmdlet is not run.

Type: SwitchParameter
Parameter Sets: (All)
Aliases: wi

Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

###
None.

OUTPUTS

###
None.

NOTES

Disable-WmsVirtualDesktopRole

© 2017 Microsoft