Author Archives: deploymentmechanic

Weekend Learning: Day 2 – Resume Windows Server Configuration after Restart using userdata in AWS using PowerShell

In my previous blog post we saw how to deploy a EC2 Instance, stop, start and finally terminate it using PowerShell. Here is the link to it just in-case you missed it : Weekend Learning: Day 1 – Deploy in … Continue reading

Posted in Powershell | Tagged , | Leave a comment

Weekend Learning: Day 1 – Deploy in AWS using PowerShell

Today’s post I will start by setting up PowerShell and use it to deploy a EC2 Instance, stopping, starting and finally terminating it. Yes all using PowerShell. You need to have an AWS Account and would need the AccessKey & … Continue reading

Posted in Powershell | Tagged , | 1 Comment

Change CD/DVD Drive Letter using Powershell

Every organization has a standard for the way they configure or assign drive letter to CD/DVD Drive. During Windows OS deployment CD/DVD Drive are assigned the next available drive letter once the OS is applied. Easy way to change the … Continue reading

Posted in Powershell | Tagged , , , | Leave a comment

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

Install, Configure WSUS on Windows Server 2012 R2 and Approve Patches using Powershell – Part 2

Welcome back !! Yesterday we Installed, Configured WSUS and Synchronized our WSUS on Windows Server 2012 R2 using Powershell. Here is the link to it just in-case you missed it : Install, Configure WSUS on Windows Server 2012 R2 and … Continue reading

Posted in Powershell | Tagged , | Leave a comment

Install, Configure WSUS on Windows Server 2012 R2 and Approve Patches using Powershell – Part 1

There are times when you would want to setup a WSUS server in your Lab quickly. As you might have already guessed this is going to be a 2 Part series, In this post will show you how to Install, … Continue reading

Posted in Powershell | Tagged , | 1 Comment