Monthly Archives: July 2016

Run command after sleep if previous execution of the command failed

There are times when you have to execute a command again after sleeping for a few seconds if the previous execution of the command did not give the desired output. This is the quick and dirty way of getting this … Continue reading

Posted in Powershell | Tagged , , | Leave a comment

Configure Disk using DiskPart and Powershell in Windows Server 2008 R2

It been a while now, have been a bit “tied up.” In today’s post we will take a look at a script that would help configure drive using DiskPart and Powershell on Windows Server 2008 R2. Before I started writing … Continue reading

Posted in Powershell | Tagged , , | Leave a comment