An update on Windows EC2 Instance Snapshotting with Powershell

A while back, I did a post on creating snapshots of EC2 instances with Powershell here. Well, in November, AWS released an option to do VSS-aware snapshots via SSM.  You'll find AWS' post about that here. From the AWS post... To create VSS-enabled EBS snapshots by using AWS Tools for Windows PowerShell: Send-SSMCommand -DocumentName AWSEC2-CreateVssSnapshots … Continue reading An update on Windows EC2 Instance Snapshotting with Powershell

Filtering Security Event Logs with Powershell

If you've ever had to dig through Windows security event log for a specific event, you know it's a bit of a pain.  Fortunately, you can speed up your search with Powershell's get-eventlog cmdlet. Let's look at filtering the security logs to see who has logged on to a computer. The Event ID for a … Continue reading Filtering Security Event Logs with Powershell

Run an application as admin or another user

Every now and then, you run across applications that won't launch without admin privileges, but you can't give the user admin privileges (like on an RDS Server). Here's a quick and easy way around this- For my example, I'll be modifying my Watchguard SSL VPN client application to run as user appadmin. Then, create a … Continue reading Run an application as admin or another user

Moving DHCP from Server 2012 R2 to another 2012 R2 Server

A very simple process... Logon to the server currently running DHCP. It's ok to leave DHCP running during this process. In Powershell, running as administrator: Export-DhcpServer -File C:\DHCPdata.xml -Leases -Force -ComputerName old.network.local –Verbose On the server to be running DHCP, make sure the role is installed and the service is started Import-DhcpServer -File C:\DHCPdata.xml -BackupPath C:\DHCP\ … Continue reading Moving DHCP from Server 2012 R2 to another 2012 R2 Server