Quantcast
Channel: Configuration & Scripting
Viewing all articles
Browse latest Browse all 780

Using -recurse in get-webconfiguration fails to generate any results

$
0
0

Using this example: "Get-WebConfiguration system.webServer/security/authentication/* 'IIS:\sites\Default Web Site' -Recurse | where {$_.enabled -eq 'true'} | format-list" which is taken straight fromhttp://technet.microsoft.com/en-us/library/ee790561.aspx, I fail to get any results in PowerShell.  However if remove the -recurse string, I can get results on both the original location and any sub-location.  No errors are reported in PowerShell.  It just returns nothing.  Anyone have any thoughts on this, or an alternative way to pull authetication settings recursively?

Thanks,

D


Viewing all articles
Browse latest Browse all 780

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>