Windows Links‎ > ‎


Powershell stuff:

Set IP Address:
New-NetIPAddress -InterfaceAlias "Ethernet" -IPAddress "" -AddressFamily IPv4 -PrefixLength 24 -DefaultGateway

Set IP Address:
Set-DnsClientServerAddress -InterfaceAlias "Ethernet" -ServerAddresses ("", "")

Attach Computer to Domain:
Add-Computer -DomainName mydomain -Credential mydomain\Administrator -Restart

Turn Firewall Off:
netsh advfirewall set allprofiles state off

DOS stuff: 

Activate, Updates and other setup:

Find and Log a user off - especially RDP sessions
Determine the Session ID:         qwinsta /SERVER:<NAME>
Remove the session in question:   rwinsta <SESSION_ID> /SERVER:<NAME>