Looks like it returns app pool and Physical Path (assume you mean location 
on disk):



if ($site) 


 $result.site = @{ 

 Name = $site.Name 

 ID = $site.ID 

 State = $site.State 

 PhysicalPath = $site.PhysicalPath 

 ApplicationPool = $site.applicationPool 

 Bindings = @($site.Bindings.Collection | ForEach-Object { $_.
BindingInformation }) 


On Monday, February 5, 2018 at 2:05:15 AM UTC-5, Suporter wrote:
> I am using  win_iis_website and would like to know whether it is possible 
> to fetch the details of already installed websites like location, 
> application pool and so on

You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to ansible-project+unsubscr...@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit 
For more options, visit https://groups.google.com/d/optout.

Reply via email to