mikesaysmeh.com
07 « August « 2015 « Mike Says Meh
http://www.mikesaysmeh.com/2015/08/07
The blog of Sys Admin Mike Kauspedas. Powershell script to collect a dump of a specific application pool. Procdump needs to be installed on the system. (procdump -i). I did some very minor testing by just running apache bench on a site to create a bunch of requests and then running this script to see if it brings it down. All my requests were successful and my DotNetNuke site didn't warm back up. I'm not 100% confident this is production safe, but at least it's ready for testing. Go to top ↑.
mikesaysmeh.com
Moosestang « Mike Says Meh
http://www.mikesaysmeh.com/moosestang
The blog of Sys Admin Mike Kauspedas. Subscribe to comments on this post ). Leave a comment Cancel reply. Record Label (Legally Free Music). Living with the gluten-less curse. Middot; Powered by WordPress. Go to top ↑.
mikesaysmeh.com
The mother of all disk benches! 4 disk SSD array, server SSD array, storage spaces « Mike Says Meh
http://www.mikesaysmeh.com/the-mother-of-all-disk-benches-4-disk-ssd-array-server-ssd-array-storage-spaces
The blog of Sys Admin Mike Kauspedas. The mother of all disk benches! 4 disk SSD array, server SSD array, storage spaces. I built a new disk array for my Hyper-V lab at home. Overkill? Yeah, but I got tired of waiting for VM's to boot, or build from deployment. When I study or learn something new I need efficiency! My PC: Intel Core i5 4670K 32GB DDR1600. I'm using Crystal disk mark. Which allows me to backup meaningless VHDs. 4 disk RAID 0 SSD Array. Sandisk SDSSDHP256G 256GB SATA600 SSD. Sequential Rea...
mikesaysmeh.com
Replace command prompt with Windows Powershell in Windows 10 « Mike Says Meh
http://www.mikesaysmeh.com/replace-command-prompt-with-windows-powershell-in-windows-10
The blog of Sys Admin Mike Kauspedas. Replace command prompt with Windows Powershell in Windows 10. I'm an early adopter, yay! Well, actually I have a 2 in 1 laptop so Windows 10 seemed to make sense and I decided to upgrade today after reading about it. It's basically what Windows 8 should have been, although I like Win8 as well. Anywho, maybe this was availble in Win8 as well, but you can replace cmd with ps1! 1 Right click on your task bar and click properties. Subscribe to comments on this post ).
mikesaysmeh.com
July « 2015 « Mike Says Meh
http://www.mikesaysmeh.com/2015/07
The blog of Sys Admin Mike Kauspedas. Replace command prompt with Windows Powershell in Windows 10. I'm an early adopter, yay! Well, actually I have a 2 in 1 laptop so Windows 10 seemed to make sense and I decided to upgrade today after reading about it. It's basically what Windows 8 should have been, although I like Win8 as well. Anywho, maybe this was availble in Win8 as well, but you can replace cmd with ps1! 1 Right click on your task bar and click properties. How to remove all partitions from a disk.
mikesaysmeh.com
Powershell script to collect a dump of a specific application pool « Mike Says Meh
http://www.mikesaysmeh.com/powershell-script-to-collect-a-dump-of-a-specific-application-pool
The blog of Sys Admin Mike Kauspedas. Powershell script to collect a dump of a specific application pool. Procdump needs to be installed on the system. (procdump -i). I did some very minor testing by just running apache bench on a site to create a bunch of requests and then running this script to see if it brings it down. All my requests were successful and my DotNetNuke site didn't warm back up. I'm not 100% confident this is production safe, but at least it's ready for testing. Laquo; Replace command p...
mikesaysmeh.com
How to remove all partitions from a disk « Mike Says Meh
http://www.mikesaysmeh.com/how-to-remove-all-partitions-from-a-disk
The blog of Sys Admin Mike Kauspedas. How to remove all partitions from a disk. Here is an old one that I have been using for years and never thought to document here on my site. Btw, I use this blog a lot for my own documentation. Reason 1 to blog in IT. Want to get rid of everything on a drive? 1 Open command prompt as administrator. 2 Type diskpart and hit enter. 3 Type list disk and hit enter. 5 After you select the disk just type clean and hit enter. Here is what you should see. Go to top ↑.
mikesaysmeh.com
Use powershell to turn off IPSec Task Offloading on all Virtual Machines on a host « Mike Says Meh
http://www.mikesaysmeh.com/use-powershell-to-turn-off-ipsec-task-offloading-on-all-virtual-machines-on-a-host
The blog of Sys Admin Mike Kauspedas. 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. You can also change that 0 (disable) to a different number to change the offload tasks. IE 333 or something. Not that I recommend that, I just like the number 3. The effect is imme...
mikesaysmeh.com
Mike Says Meh
http://www.mikesaysmeh.com/page/2
The blog of Sys Admin Mike Kauspedas. 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. Configuration system.webServer asp scriptErrorSentToBrowser=true/ httpErrors existingResponse=PassThrough/! HttpErrors errorMode=Detailed/ - /system.webServer /configuration. I commented out detailed error messages. With that enabled it would not show the classic ASP errors. PS C: Windows system32 Import-Module websitesdev.
mikesaysmeh.com
Powershell to get all MAC addresses of each virtual machine on a host and export to tab delimited file « Mike Says Meh
http://www.mikesaysmeh.com/powershell-to-get-all-mac-addresses-of-each-virtual-machine-on-a-host-and-export-to-tab-delimited-file
The blog of Sys Admin Mike Kauspedas. Powershell to get all MAC addresses of each virtual machine on a host and export to tab delimited file. This will spit out the MAC address and name of each virtual machine on a host to a text file. You can then clean the file up and throw it in Excel. I had to use this to clean up duplicate MACs in two different clusters because I'm a bad sys admin and didn't change the MAC address pools on the hosts or SCVMM. Subscribe to comments on this post ). Go to top ↑.
SOCIAL ENGAGEMENT