In the spirit of sharing I thought I would share how I create virtual machines on Windows 10 using Hyper-v using differencing disks. I work with a lot of different customers and needed a way to quickly create new VM’s ready to go. A normal approach would be to have a deployment solution (MDT) running […]
Posts tagged powershell
Creating Phishing bait with PowerShell
This post is all about how I created a PowerShell script to automate the process of generating USB sticks used in a Social engineering attack. The goal with the attack was to measure if the employees inserted the USB sticks and opened any documents. It was not a goal to exploit the users. The Manual way So […]
Creation of portgroups on vSphere standard vSwitches – function
Many organizations are using the benefits of Distributed vSwitches (DVS) for simplified network management. However, there are still a lot of standard vSwitches being used. With VLAN segmentation being common, portgroups are being used as a representation of VLANs on standard vSwitches. Creating new portgroups manually can easily lead to errors, especially if the task […]
How long did it take to encrypt the harddrive?
A quick post with a little script I have created to find out how long it took for the BitLocker encryption to finish the encryption of the harddrive. This script needs to run not too long after the encryption has occured, since it relies on the eventlog: $BitLockerEvents = get-eventlog -LogName system -Source Microsoft-Windows-BitLocker-Driver $BitLockerStart […]
Legacy Protocols and Ciphers – Let’s disable them!
Since there has been a lot of writing in Norwegian media about Norwegian Government pages that still uses old protocols and ciphers, I decided to post a PowerShell script I use when I setup Windows Servers in order to disable the old protocols and ciphers. NRK has written in detail how they conducted their research here […]