Summary: Easily convert a JSON file to a Windows PowerShell object.
How do I convert a JSON file to a Windows PowerShell object?
Use the Get-Content cmdlet with the Raw parameter:
Get-Content -Raw -Path <jsonFile>.json | ConvertFrom-Json
The "Scripting Guys" is a historical title passed from scripter to scripter. The current revision has morphed into our good friend Doctor Scripto who has been with us since the very beginning.
0 comments