Pages

2/12/2013

Active Directory Stuff


- list all the groups and the members in those groups
dsquery group -limit 0 | dsget group -members –expand
- list fsmo role holders
netdom query fsmo
- Show domain account policy
net accounts
- Start AD synchronization
repadmin /syncall
- Group policy troubleshooting
gpupdate /force => reapply group policy now
gpresult => show what policies apply

Microsoft Network Stuff

- built in sniffer...
netsh trace start capture=yes tracefile=c:\capture.etl
netsh trace stop
http://blogs.msdn.com/b/canberrapfe/archive/2012/03/31/capture-a-network-trace-without-installing-anything-works-for-shutdown-and-restart-too.aspx

- What groups am I a member of?
whoaim /groups

- reset interface IP configuration
netsh int ip reset all

- show all connections and refresh every 10 seconds
netstat –ano 1

No comments: