Open-WmsVirtualDesktop
Opens a window connected to a virtual desktop template.
Syntax
Open-WmsVirtualDesktop
-TemplateVirtualMachineGuid <String>
[-Domain <String>]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
Description
The Open-WmsVirtualDesktop cmdlet opens a window connected to the specified virtual desktop template. This enables you to customize the virtual desktop template in order to customize virtual desktops that you create.
Examples
Example 1: Open a window to a virtual desktop template
PS C:\> Open-WmsVirtualDesktop -TemplateVirtualMachineGuid "53F56307-B6BF-11D0-94F2-00A0C91EFB8B"
This command opens a window that is connected to the virtual desktop template with the ID 53F56307-B6BF-11D0-94F2-00A0C91EFB8B.
Parameters
-Confirm
Prompts you for confirmation before running the cmdlet.
Type: | SwitchParameter |
Aliases: | cf |
Position: | Named |
Default value: | False |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Domain
Specifies the name of the Active Directory domain that contains the virtual desktop template.
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-TemplateVirtualMachineGuid
Specifies the Hyper-V virtual machine ID of the virtual desktop template.
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-WhatIf
Shows what would happen if the cmdlet runs. The cmdlet is not run.
Type: | SwitchParameter |
Aliases: | wi |
Position: | Named |
Default value: | False |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Inputs
None
Outputs
None