Backup Bitlocker key to Active Directory

If for some reason the Bitlocker key of your hard drive is missing in Active Directory, then you can execute the following commands to still backup the Bitlocker key.

Extract icon from executable with PowerShell

PowerShell can be used to extract icons from executables. Here you’ll find a script that extracts the icons from all the executables in a given directory. In this example the script is saved as Get-Icon.ps1.

Add Windows firewall rules via PowerShell

You can use PowerShell to add rules to the Windows firewall. Here you can see an example of adding firewall rules for the application called Lego Mindstorms. This script allows all incoming UDP and TCP traffic to be sent to the executable MindstormsEV3.exe.

Control a service on a remote computer via Powershell

You can start, stop or restart a service on a remote computer via Powershell. Start spooler service

Restart spooler service

Stop spooler service

Find Active Directory object SID by given username

This PowerShell script will return the SID of the object that is referred by the given username.

Find object name in Active Directory with given SID

This is a PowerShell script which can be used to find an object in the Active Directory by the given SID. In this example we are using the SID: S-1-1-11-1111111111-111111111-111111111-500