Running Restore-GptPolicy -Path .\ -Name "C_MS_Server 2019" -Domain "wrrn.lab" results in an exception saying that the system cannot find the file specified.
`Import-GptObject : The system cannot find the file specified. (Exception from HRESULT: 0x80070002)
At line:62 char:3
-
Import-GptObject @common -Name $Name
-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- CategoryInfo : NotSpecified: (:) [Write-Error], WriteErrorException
- FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Import-GptObject`