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

Adding stored passwords to Windows via cmd line

I recently encountered a scenario where it was necessary to store credentials in Dell Wyse Windows 8 Embedded thin clients. The thin client user account didn't allow access to the credential manager with a lot of work to remove the device lockdown. It was desired to pre-stage the credential for the user account of a … Continue reading Adding stored passwords to Windows via cmd line

Using WinSCP to move Linux File Shares to Windows

I recently had a project that involved moving files off a Turnkey Linux NAS to a Windows Server- about a TB or so. My first approach was to connect to the Linux NAS shares from the Windows Server via Windows Explorer. Then, I planned to map the drives and use robocopy to copy and periodically mirror … Continue reading Using WinSCP to move Linux File Shares to Windows