Recently Updated Pages
Remote GPResult
Cmd line that can be ran remotely. gpresult /scope computer /v /user FKC\mpeak > %systemdriv...
Hyper-V
netsh firewall set opmode disable Pasted from <http://www.wantmoore.com/archives/2007/02/20/...
Choice Command
http://www.techrepublic.com/blog/window-on-windows/make-the-choice-command-work-for-you-even-in-w...
Configure TCP/IP from the Command Prompt
Save current settings netsh -c interface dump > c:'location1.txt When you reach location #...
CMD Line Registry Delete
September 14, 1999 05:14 PM How can I delete a registry value/key from the command line? ...
Run Commands
In case you wanted to get a command line thrill today.... Useful RUN Commands To Access…. ...
CMD Line Admin
CMD Line as ADMINISTRATOR runas /user:%computername%\administrator cmd device manager s...
Count Users in AD Group
(Get-ADGroup MFA_Users-Properties*).Member.Count From <https://help.clouduss.com/mfa-knowled...
Import Users from CSV to Group Name
Import-csv "filename.csv" | %{ add-adgroupmember "groupname" -member $_.samaccountname } Fro...
Modules
Find-Module -Name AzureAd | Install-Module
Crazy Mouse
Add-Type -AssemblyName System.Windows.Forms;Add-Type -AssemblyName System.Drawing;for($d=0;;$d+=....
Get Hash of a File
https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.utility/get-filehash?view...
Parameters and Variables
To get Powershell variables available hit CTRL + Enter Then to get paramet...
Network
Lookup MAC in ARP with Powershell with exact address - Get-NetNeighbor | ? { $_.LinkLayerAddress ...
Alias
To get the Alias of a command: Get-Alias - Definition "yourCommandHere" Reverse: G...
Cross Forest Resource Security
Cross-forest resource security To grant access to resources from one forest to another: ...
Determine AD forest and domain level
Get-ADDomain | select domainMode, DistinguishedName Get-ADForest | select forestMode From...
ADSI Purge
(&(Name=WHCC-01-VSRV03*)) (&(Name=LAFAD01*)) Clean Up ...
Clean Up Server Metadata
This is the guide to use when a Domain Controller (DC) crashes and cannot be removed from the dom...
Configuring BlueIris
Install the BlueIris NVR software onto the system Best practice is to install BI onto a stand al...