Create a scheduled task
-ExecutionPolicy ByPass -file "C:\VHD\mountVHD.ps1"
Powershell Script to mount VHD
Method1: Mount-DiskImage (Recommended)
This is the recommended command to mound VHD as it does not rely on the Hyper-V role.
You might have encountered this error message many times: “The trust relationship between this workstation and the primary domain failed”.
The general solution is dis-joining and re-joining the domain. Any other ways without doing so? The answer is yes.
The trust relationship between thi... [阅读全文]