Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
$propertyPathProperties | ForEach-Object -Begin {
$Stmt = "Get-Content -Path .\BasicJson.json |`n`tConvertFrom-Json"
} -Process {
$Stmt += " |`n`tSelect-Object -ExpandProperty $_"
} -End {
$Stmt
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment