Category: Uncategorized

Powershell script to collect a dump of a specific application pool

Procdump needs to be installed on the system. (procdump -i). [shell] Import-Module WebAdministration $apps = dir IIS:\AppPools\ | Select-Object -expand name Write-host "Application Pools on this server:" -foregroundcolor red -backgroundcolor yellow Write-Output $apps $appname = Read-Host "Enter AppPool Name" $apid = Get-WmiObject -NameSpace ‘root\WebAdministration’ -class ‘WorkerProcess’ -ComputerName ‘LocalHost’ | Where-Object {$_.AppPoolName -like "$appname"} | Select-Object […]

Read More →

Show classic ASP errors in Azure

Here is the web.config to show classic ASP (.asp files) in Azure, or in my case Windows Azure Pack with websites. [code] <configuration> <system.webServer> <asp scriptErrorSentToBrowser="true"/> <httpErrors existingResponse="PassThrough"/> <!–<httpErrors errorMode="Detailed"/>–> </system.webServer> </configuration> [/code] I commented out detailed error messages. With that enabled it would not show the classic ASP errors.

Read More →

Fix Failed to retrieve configuration information. in Windows Azure pack Websites

Did you try enabling failed request tracing for a web site in the admin portal for Windows Azure Pack: Websites? And now you’re getting this error when you try to open the configure tab? Failed to retrieve configuration information.: Please try again. If the problem persists, contact support. Thanks to a kind gentleman on the […]

Read More →

Use powershell to turn off IPSec Task Offloading on all Virtual Machines on a host

I know you came here to copy and paste so here it is. Run this on each host. Works on stand alone and in clusters. Get-VM | Get-VMNetworkAdapter | Set-VMNetworkAdapter -IPsecOffloadMaximumSecurityAssociation 0 Very simple. Gets all virtual machines on a host, then their network adapters, then?disables IPSec task offloading. This is equivalent to unchecking the […]

Read More →