Invoke-RASVDIHost
SYNOPSIS
The cmdlet invoke a command on an object of type VDI Host.
SYNTAX
Invoke-RASVDIHost [-ProviderId] <uint> [[-SiteId] <uint>] -Command {CancelSchedule} -Id <string>
[-User <string>] [-VDITemplateId <uint>] [<CommonParameters>]Invoke-RASVDIHost [-InputObject] <VDIHost> [[-SiteId] <uint>] -Command {CancelSchedule}
[-User <string>] [-VDITemplateId <uint>] [<CommonParameters>]Invoke-RASVDIHost [[-ProviderId] <uint>] [[-SiteId] <uint>] -Command {CancelSchedule}
[-User <string>] [-VDITemplateId <uint>] [<CommonParameters>]Invoke-RASVDIHost [-VMId] <string> [[-SiteId] <uint>] -Command {CancelSchedule} [-User <string>]
[-VDITemplateId <uint>] [<CommonParameters>]Invoke-RASVDIHost [-VDITemplateObj] <Template> [[-SiteId] <uint>] -Command {CancelSchedule}
[-User <string>] [-VDITemplateId <uint>] [<CommonParameters>]DESCRIPTION
The cmdlet invoke a command on an object of type VDI Host.
EXAMPLES
Example 1
Invokes CancelSchedule command on the VDI Host properties specified by the VMId and ProviderId.
Example 2
Invokes CancelSchedule command on all the VDI Hosts found within the Provider with Id 1.
PARAMETERS
-ProviderId
The ID of a Provider server from which to obtain the VM list.
-SiteId
Site ID from which to retrieve the desktop VM list.
If the parameter is omitted, the site ID of the Licensing Server will be used.
-Id
The ID of a desktop VM for which to retrieve the information.
-VDITemplateObj
The VDI Template for which to retrieve the desktops of.
Type reference: Template
-VDITemplateId
The ID of the VDI Template for which to retrieve the desktops of.
-User
The username assigned to Desktop.
If empty square brackets ([]) are passed, the desktop list will be filtered with those with an assigned user.
-VMId
The ID of the VM for which to retrieve the information.
-InputObject
The VDI Host info object.
Type reference: VDIHost
-Command
Command.
Accepted values: CancelSchedule.
Possible values: CancelSchedule
Type reference: VDICommand
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
VDIHost
OUTPUTS
None
RELATED LINKS
Last updated