PowerShell-Docs-DSC icon indicating copy to clipboard operation
PowerShell-Docs-DSC copied to clipboard

Getting started instructions fail

Open ComputerHabit2 opened this issue 6 months ago • 6 comments

Type of issue

Code doesn't work

Feedback

Getting started instructions fail to work properly.

In this part of the document: https://learn.microsoft.com/en-us/powershell/dsc/get-started/?view=dsc-3.0#get-the-current-state-of-a-resource

PS C:\Windows\System32> dsc resource get --resource $resource.type --input $instance
error: unexpected argument 'NT\\\\CurrentVersion
}' found

Usage: dsc.exe resource get [OPTIONS] --resource <RESOURCE>

Page URL

https://learn.microsoft.com/en-us/powershell/dsc/overview?view=dsc-3.0

Content source URL

https://github.com/MicrosoftDocs/PowerShell-Docs-DSC/blob/main/dsc/docs-conceptual/dsc-3.0/overview.md

Author

@michaeltlombardi

Platform Id

3d84f5db-e174-af66-b5ec-b353f87e07dc

Document Id

7befffa4-ef78-f531-1a36-ecce7355978c

ComputerHabit2 avatar May 13 '25 21:05 ComputerHabit2