6 lines
457 B
PowerShell
6 lines
457 B
PowerShell
$appcmd = "$env:windir\system32\inetsrv\appcmd.exe"
|
|
$out = "C:\docker\music\auth_info.txt"
|
|
"=== MusicStreaming ===" | Out-File $out
|
|
& $appcmd list config "MusicStreaming" -section:system.webServer/security/authentication/anonymousAuthentication | Out-File $out -Append
|
|
"=== WebImageViewer ===" | Out-File $out -Append
|
|
& $appcmd list config "WebImageViewer" -section:system.webServer/security/authentication/anonymousAuthentication | Out-File $out -Append |