mardi 26 novembre 2019

Hello, i need a script for exporting information for every web site in IIS ( Name,State,Bindings Application pool, )

get-website | select name,id,state,physicalpath, @{n="Bindings"; e= { ($.bindings | select -expa collection) -join ';' }} , @{n="Log File";e={ $.logfile | select -expa directory}}, @{n="attributes"; e={($.attributes | % { $.name + "=" + $.value }) -join ';' }} @{n="attributes"; e={ ($.IISAppPool | select -expa name) -join ';' }}




Aucun commentaire:

Enregistrer un commentaire