Invoke-RASRepair
SYNOPSIS
Repair Azure Virtual Desktop objects.
SYNTAX
Invoke-RASRepair -ObjType {AVDHost | AVDWorkspace | AVDHostPool | AVDTemplate} [-AzureId <string>]
[-HostPoolId <uint>] [-Id <uint>] [-ProviderId <uint>] [-SiteId <uint>] [<CommonParameters>]DESCRIPTION
Repairs the specified broken Azure Virtual Desktop objects.
Accepted Azure Virtual Desktop Objects: AVDHostPool/AVDWorkspace/AVDTemplate.
EXAMPLES
Example 1
Invoke-RASCommand -Action Repair -ObjType AVDWorkspace -Id 1Repairs the AVD Workspace with Id 1.
PARAMETERS
-ObjType
Type of object to repair.
Possible values: AVDHost, AVDWorkspace, AVDHostPool, AVDTemplate
Type reference: RepairObjType
-Id
The Id of the chosen ObjType.
-AzureId
The Azure Id of the chosen ObjType.
-HostPoolId
The Host pool Id of the chosen ObjType.
-ProviderId
The Host pool Id of the chosen ObjType.
-SiteId
Site Id.
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
RELATED LINKS
Last updated