feat: 初回コミット (MusicStreaming)
This commit is contained in:
commit
cb24486e50
45 files changed
+3318
No files matched your search
@@ -0,0 +1,26 @@
|
||||
# =========================================================================
|
||||
# IIS 診断スクリプト
|
||||
# =========================================================================
|
||||
|
||||
$logOut = "C:\docker\music\iis_debug_info.txt"
|
||||
$appcmd = "$env:windir\system32\inetsrv\appcmd.exe"
|
||||
|
||||
"=== MusicStreaming Site Config ===" | Out-File $logOut
|
||||
& $appcmd list site "MusicStreaming" /text:* | Out-File $logOut -Append
|
||||
|
||||
"=== MusicStreaming AppPool Config ===" | Out-File $logOut -Append
|
||||
& $appcmd list apppool "MusicStreaming" /text:* | Out-File $logOut -Append
|
||||
|
||||
"=== WebImageViewer Site Config ===" | Out-File $logOut -Append
|
||||
& $appcmd list site "WebImageViewer" /text:* | Out-File $logOut -Append
|
||||
|
||||
"=== All AppPools ===" | Out-File $logOut -Append
|
||||
& $appcmd list apppool | Out-File $logOut -Append
|
||||
|
||||
"=== Recent IIS Log Entries ===" | Out-File $logOut -Append
|
||||
Get-ChildItem "C:\inetpub\logs\LogFiles" -Recurse -Filter "*.log" | Sort-Object LastWriteTime -Descending | Select-Object -First 3 | ForEach-Object {
|
||||
"--- File: $($_.FullName) ---" | Out-File $logOut -Append
|
||||
Get-Content $_.FullName -Tail 20 | Out-File $logOut -Append
|
||||
}
|
||||
|
||||
Write-Host "Debug info saved to $logOut"
|
||||
Reference in new issue
Block a user