Core-Setup
Powershell stuff:
Set IP Address:
New-NetIPAddress -InterfaceAlias "Ethernet" -IPAddress "10.0.0.0" -AddressFamily IPv4 -PrefixLength 24 -DefaultGateway 192.168.0.254
Set IP Address:
Set-DnsClientServerAddress -InterfaceAlias "Ethernet" -ServerAddresses ("10.10.10.10", "10.10.10.10")
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:
sconfig
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>