Reset-HvVmChangeTracking
Short Description
Clears change tracking data for a specific VM or specific virtual disk (VHD).
Applies to
Platform: Hyper-V
Product Edition: Standard, Enterprise, Enterprise Plus, Veeam Universal License
Syntax
This cmdlet provides parameter sets that allow you to:
- Clear change tracking data for a specific VM.
Reset-HvVmChangeTracking -Server <CHost> [-VMName <String>] [<CommonParameters>] |
- Clear change tracking data for a specific virtual disk (VHD).
Reset-HvVmChangeTracking -Server <CHost> [-VhdPath <String>] [<CommonParameters>] |
Detailed Description
This cmdlet clears and resets change tracking data for a specific VM or for a specific virtual disk (VHD).
Parameters
Parameter | Description | Type | Required | Position | Accept |
---|---|---|---|---|---|
Server | Specifies the server where the VM reside. | Accepts the CHost object. To get this object, run the Get-VBRServer cmdlet. | True | 1 | False |
VMName | Specifies the VM. The cmdlet will reset change tracking data for this VM. | String | False | Named | False |
VhdPath | Specifies the virtual disk (VHD). The cmdlet will reset change tracking data for this disk. | String | False | Named | False |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see Microsoft Docs.
Examples
Example 1. Resetting Change Tracking Data for VM
This example shows how to reset change tracking data for the Fileserver VM located on host represented by the $server variable.
Perform the following steps:
|
Example 2. Resetting Change Tracking Data for Specified Virtual Disk
This example shows how to reset change tracking data for the specified virtual disk. The VM is located on host represented by the $server variable.
Perform the following steps:
|
Related Commands