GPRegistryPolicyDsc icon indicating copy to clipboard operation
GPRegistryPolicyDsc copied to clipboard

Failed to locate the semicolon after key name

Open ghost opened this issue 3 years ago • 0 comments

ISSUE TITLE:
Failed to locate the semicolon after key name. 

ISSUE DESCRIPTION 
When I run start-dscconfiguration or Test-DSCConfiguration, I got the error as
  PowerShell DSC resource MSFT_RegistryPolicyFile  failed to execute Test-TargetResource 
  functionality with error message: Failed to locate the semicolon after key name. 
  (RPP005) 
      + CategoryInfo          : InvalidOperation: (root/Microsoft/...gurationManager:Str 
     ing) [], CimException
      + FullyQualifiedErrorId : ProviderOperationExecutionFailure
      + PSComputerName        : localhost

Powershell version is 5.1

OsName : Microsoft Windows Server 2016 Standard OsOperatingSystemSKU : StandardServerEdition OsArchitecture : 64-bit WindowsBuildLabEx : 14393.5356.amd64fre.rs1_release.220906-1211 OsLanguage : en-US OsMuiLanguages : {en-US}-->

PSVersion 5.1.14393.5127
PSEdition Desktop
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0...}
BuildVersion 10.0.14393.5127
CLRVersion 4.0.30319.42000
WSManStackVersion 3.0
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1

Version of the DSC module that was used

Name Version Path


GPRegistryPolicyDsc 1.2.0 C:\Program Files\WindowsPowerShell\Modules\GPRegistryPol...

ghost avatar Oct 12 '22 17:10 ghost