Wondering if someone can help with this.
I have a number of servers that host IIS 7.5 and IIS 8.5 web application of various types. As these are production web applications and servers i can't install any software on the server so i must find a way to remotely interrogate the server to retrieve the windows feature dependencies per web application.
I am aware already the i can use msdeploy to get the dependencies but that means i need to install the msdeploy software on the server which i cant do.
Also i am aware that i can use the Get-OSFeature to remotely retrieve the Windows features that are installed on a particular server. This also is not useful as i need to connect to the web application to get the dependencies of the application.
So can this be done using powershell and
Get-WebConfiguration and if so can someone show me as i have so far only been able to get the installed features using this method also eg.
Get-WebConfiguration system.webServer/* 'IIS:\sites' -Recurse