Windows

Windows

Windows Servers

Windows 2012

Windows Virtual Lab

https://vlabs.holsystems.com/vlabs/technet?eng=VLabs&auth=none&src=microsoft.holsystems.com&altadd=true&labid=10847

Windows 2012 Essentials Evaluation Key: HHRHF-YMNJW-RPGCC-VV68W-BWMVY

Windows 2012R2 IPAM Deployment
http://technet.microsoft.com/en-us/library/jj878312.aspx
http://www.techrepublic.com/blog/data-center/how-to-use-ip-address-management-in-windows-server-2012/

 

Active Directory

AD Metadata Cleanup
http://www.petri.co.il/delete_failed_dcs_from_ad.htm#

 

PowerShell Reference

Basic Ref: http://www.darkoperator.com/blog/2013/2/19/powershell-basics-extending-the-shell-with-modules-and-snapi.html

http://powershell.com/cs/
http://powershell.org
PowerShell Quick Reference
PowerShell Examples v4
Microsoft PowerShell

PowerShell One-Liners

Set-ExecutionPolicy unrestricted
Import-module ActiveDirectory or DataOnTap or …

Get DNS Info
Resolve-DnsName -name xxxxx -Type A -Server xxx.xxx.xxx.xxx
http://www.coretekservices.com/2013/01/31/powershell-v3-and-dns-queries

 

Powershell Script to Reboot a List of Computers in a Text File
get-content c:\computers.txt | ForEach-Object { gwmi win32_operatingsystem -ComputerName $_  | ForEach-Object { $_.reboot() }}

XML Powershell
https://www.simple-talk.com/sysadmin/powershell/powershell-data-basics-xml/

 

Command Line and Core Windows 2008 R2
net use s: \\tower\movies
sc queryex state= all
sc queryex type= service state= all
netsh advfirewall set allprofiles state off
Reference:
http://blog.commandlinekungfu.com/2009/08/episode-57-at-your-services.html

Reboot Server:  C:\Windows\SysWOW64\shutdown.exe /r /p /t 000 /c “to fix security event logging” /d p:00:00