Here is how you would do it in a ForEach loop: $config = [Newtonsoft.Json.Linq.JObject]::Parse($file) ForEach ($dir in $config["VirtualDirectories"]) ...
確定! 回上一頁