iis - Search in bindings with get-website? -
why can't simple:
get-website | { $_.bindings -like "*domain*" }
on bindings? works fine on name , physical path? way search on bindings get-website?
because there can multiple bindings. have iterate through each of them:
get-website | select-object bindings | { $_.bindinginformation -like '*domain*' }
Comments
Post a Comment