8 lines
539 B
PowerShell
8 lines
539 B
PowerShell
$appcmd = "$env:windir\system32\inetsrv\appcmd.exe"
|
|
$out = "C:\docker\music\sec_info.txt"
|
|
"=== handlers ===" | Out-File $out
|
|
& $appcmd list config "MusicStreaming" -section:system.webServer/handlers | Out-File $out -Append
|
|
"=== authorization ===" | Out-File $out -Append
|
|
& $appcmd list config "MusicStreaming" -section:system.webServer/security/authorization | Out-File $out -Append
|
|
"=== ipSecurity ===" | Out-File $out -Append
|
|
& $appcmd list config "MusicStreaming" -section:system.webServer/security/ipSecurity | Out-File $out -Append |