PrepareSpecializedMachine method of the Msps_ProvisioningService class
Used to prepare an existing VM for provisioning. The method should be executed against a target machine. If this is a VM, it must have been created but turned off. A Msps_ProvisioningJob instance will be returned which can be used to monitor the process.
Syntax
uint32 PrepareSpecializedMachine(
[in] string TemplateUtilityDiskPath,
[in] string MachineID,
[out] Msps_ProvisioningJob PreparationJob
);
Parameters
-
TemplateUtilityDiskPath [in]
-
Template utility disk path.
-
MachineID [in]
-
GUID for the virtual machine.
-
PreparationJob [out]
-
Returns an embedded instance of Msps_ProvisioningJob.
Requirements
Minimum supported client |
Windows 10 [desktop apps only] |
Minimum supported server |
Windows Server 2016 |
Namespace |
Root\MSPS |
MOF |
|
DLL |
|