MicrosoftDocs/windows-dev-docs

Sample PowerShell command does not work

Opened this issue · 0 comments

Type of issue

Code doesn't work

Feedback

Under "Usage" section, I typed the first sample PowerShell command into my PowerShell 7.4.5. I immediately got the error, "Invoke-DscResource: Failed to serialize properties into CimInstance."

How do we correct this?

Page URL

https://learn.microsoft.com/en-us/windows/powertoys/dsc-configure

Content source URL

https://github.com/MicrosoftDocs/windows-dev-docs/blob/docs/hub/powertoys/dsc-configure.md

Author

@alvinashcraft

Document Id

e6fa3694-8809-7d66-6e77-5be3c59af509