Skip to main content

Recently Updated Pages

DNS Change Via CMD Line

Windows CMD Line

First find the network name by using:  netsh interface show interface    You should see someth...

Updated 1 year ago by ColtM

Add user to Administrators Group

Windows CMD Line

net localgroup administrators [username] /add    From <http://superuser.com/questions/515175/cr...

Updated 1 year ago by ColtM

Network Share Folder

Windows CMD Line

net share Docs=E:\Documents /grant:everyone,FULL    From <http://www.windows-commandline.com/li...

Updated 1 year ago by ColtM

Invalid H:\ Drive

Windows CMD Line

You receive an "Error " error message when you try to install or remove a Microso...

Updated 1 year ago by ColtM

Remote GPResult

Windows CMD Line

Cmd line that can be ran remotely.    gpresult /scope computer /v /user FKC\mpeak > %systemdriv...

Updated 1 year ago by ColtM

Hyper-V

Windows CMD Line

netsh firewall set opmode disable    Pasted from <http://www.wantmoore.com/archives/2007/02/20/...

Updated 1 year ago by ColtM

Choice Command

Windows CMD Line

http://www.techrepublic.com/blog/window-on-windows/make-the-choice-command-work-for-you-even-in-w...

Updated 1 year ago by ColtM

Configure TCP/IP from the Command Prompt

Windows CMD Line

  Save current settings  netsh -c interface dump > c:'location1.txt  When you reach location #...

Updated 1 year ago by ColtM

CMD Line Registry Delete

Windows CMD Line

September 14, 1999 05:14 PM   How can I delete a registry value/key from the command line?  ...

Updated 1 year ago by ColtM

Run Commands

Windows CMD Line

In case you wanted to get a command line thrill today....    Useful RUN Commands   To Access…. ...

Updated 1 year ago by ColtM

CMD Line Admin

Windows CMD Line

CMD Line as ADMINISTRATOR  runas /user:%computername%\administrator cmd    device manager   s...

Updated 1 year ago by ColtM

Count Users in AD Group

Windows Powershell

(Get-ADGroup MFA_Users-Properties*).Member.Count    From <https://help.clouduss.com/mfa-knowled...

Updated 1 year ago by ColtM

Import Users from CSV to Group Name

Windows Powershell

Import-csv "filename.csv" | %{ add-adgroupmember "groupname" -member $_.samaccountname }    Fro...

Updated 1 year ago by ColtM

Modules

Windows Powershell

Find-Module -Name AzureAd | Install-Module 

Updated 1 year ago by ColtM

Crazy Mouse

Windows Powershell

Add-Type -AssemblyName System.Windows.Forms;Add-Type -AssemblyName System.Drawing;for($d=0;;$d+=....

Updated 1 year ago by ColtM

Get Hash of a File

Windows Powershell

https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.utility/get-filehash?view...

Updated 1 year ago by ColtM

Parameters and Variables

Windows Powershell

To get Powershell variables available hit CTRL + Enter        Then to get paramet...

Updated 1 year ago by ColtM

Network

Windows Powershell

Lookup MAC in ARP with Powershell with exact address - Get-NetNeighbor | ? { $_.LinkLayerAddress ...

Updated 1 year ago by ColtM

Alias

Windows Powershell

To get the Alias of a command:    Get-Alias - Definition "yourCommandHere"    Reverse:    G...

Updated 1 year ago by ColtM

Cross Forest Resource Security

Windows Active Directoy

Cross-forest resource security    To grant access to resources from one forest to another:  ...

Updated 1 year ago by ColtM