Skip to content

Instantly share code, notes, and snippets.

@royharoush
Last active June 22, 2016 12:16
Show Gist options
  • Save royharoush/86816c6ed8945f2eb28586a156e86724 to your computer and use it in GitHub Desktop.
Save royharoush/86816c6ed8945f2eb28586a156e86724 to your computer and use it in GitHub Desktop.
useful windows commands in info gather inside the network
net view /domain:domain
dsquery ou domainroot -name name* -limit 4000
dsquery group domainroot -name name* -limit 4000
net group "domain computers" /domain
net group "domain computers" /domain
c:\Temp>dsget group CN=xxx,OU=Groups,OU=Libraries,DC=xxx,DC=xxx,DC=xxx -members -expand
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment