Windows Administration
PowerShell
PowerShell: Adding Registry Hives
Get-PSDrive -PSProvider Registry Name Used (GB) Free (GB) Provider Root ...
PowerShell: Find File Download Source
# Recursively search current user's Downloads directory Get-ChildItem -Recurse -File "$env:UserP...
PowerShell: Find File Owned by User
$searchPath = 'C:\Program Files' $userName = 'john.doe' Get-ChildItem -ErrorAction 'SilentlyCon...
PowerShell: Configure Network Interface
Static Configuration Get-NetIPConfiguration -Detailed | Select-Object InterfaceAlias, AllIPAddre...
Windows: Unattended Sleep Timeout
Problem A Windows guest running under the Proxmox hypervisor repeatedly powers off despite havin...
OpenSSH Server on Windows Hosts
VirtualBox: Getting Rid of the Turtle
Problem Microsoft has continued to push many aspects of Windows security under the Hyper-V platfo...
Windows RDP Client Custom Resolutions
Setting Custom Resolutions Problem When setting resolutions using the slider, you are limited i...
Setting Directory and File ACLs
PowerShell $targetFile = "C:\Users\Public\Desktop\bin.exe" $acl = Get-Acl $targetFile $rule = ...
Find and Restore Items in RecycleBin
Find Items Get-ChildItem -Force -File -Recurse 'C:\$RECYCLE.BIN' Restore Items $Shell = New-...