powershell script resource
2 TopicsAlternative to invoke-expression
I am looking for alternate way to extract the value of the below powershell object without using invoke-expression invoke-expression "`$abc.properties.$subprop" or invoke-expression "`$abc.$subprop1" Where $abc is a powershell object in JSON format $subprop is having one of the Noteproperties of '$abc.properties'3.7KViews0likes1Commentlist network shares and directories with in network shares upto level 3 in a JSON format
list network shares and directories with in network shares upto level 3 in a JSON format JSON should be hierarchial and output should be parsed through javascript (JSON.parse) i mean compressed json form657Views0likes0Comments