Last week the well known powershell guru Alan Renouf helped me out with a script for enabling virtualized MMU. This week I needed to set Disk.UseDeviceReset to “0” on at least 60 hosts. (Check the link for more info on why!) No point in doing it all by hand when the VI Toolkit can help you out and set this parameter for the entire environment with just one line:
Get-VMHost | Set-VMHostAdvancedConfiguration -Name Disk.UseDeviceReset -Value 0
I’m really starting to get excited about the VI Toolkit, thanks to guys like Alan and of course the VMworld VI Toolkit Lab I did a couple of weeks ago. With the quick reference guide that Alan created it’s very simple to come up with one-liners like the one above.
DEPRECATED See this article for more info.