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

Popular posts from this blog

How do you change vbulletin's home page to the forums instead of the default (CMS or Activity Stream)? -

c++ - Troubles when compiling phash program -