I've put this at the top- of the post so you see it first. Please continue reading but have a look at the alerts in case it impacts anything you are doing.
- The "Win32_Service" WMI class leaks memory in Windows Server 2008 R2 and in Windows 7
- WMI leaks memory on Server 2008 R2 monitored agents
Start of the post
Just starting out doing what will hopefully be a MCSA for server 2012 R2. As ever Powershell will be everywhere in the study guide, and will also be a key component for the OS and it's services. So....just keeping a wee note of cmdlets and necessary/useful web pages that I find for Server 2012 R2 and Powershell version 4.0!
Good link to get started I think...Windows PowerShell Support for Windows Server
Probably goes over familiar ground but what is already clear to me in my capacity as a contractor is....Powershell Version 1.0 nobody really knew about and admins were still and are still using VBScript and over looked this version....now we have versions 2.0 through to 5.0. There will be commonality though...so dont despair...well maybes aye and maybe naw!!!
Install-WindowsFeature Ver 4.0 Server 2012 and Win8
To add the migration tools to a Core 2012 install locally
Install-WindowsFeature Migration
Remotely
Install-WindowsFeature Migration –ComputerName computer_name
You should be able to do that on a GUI server too but you can use the Add Roles and Features Wizard.
To convert from Windows Server 2012R2 core to a full GUI install and back
Install-WindowsFeature Server-Gui-Mgmt-Infra, Server-Gui-Shell –Restart (Uses Windows Update to Autoconfigure)
When the server is initially built, and with available paths to WIM files you need the server/OS index number
Get-WindowsImage -ImagePath path to wim\ install.wim
From my virtual lab...logged on to a Win2k12R2 standard server and ran this
Get-WindowsImage -ImagePath d:\sources\install.wim
Resulted in.....
Index : 1
Name : Windows Server 2012 R2 SERVERSTANDARDCORE
Description : Windows Server 2012 R2 SERVERSTANDARDCORE
Size : 6,674,506,847 bytes
Index : 2
Name : Windows Server 2012 R2 SERVERSTANDARD
Description : Windows Server 2012 R2 SERVERSTANDARD
Size : 11,831,211,505 bytes
Index : 3
Name : Windows Server 2012 R2 SERVERDATACENTERCORE
Description : Windows Server 2012 R2 SERVERDATACENTERCORE
Size : 6,673,026,597 bytes
Index : 4
Name : Windows Server 2012 R2 SERVERDATACENTER
Description : Windows Server 2012 R2 SERVERDATACENTER
Size : 11,820,847,585 bytes
Install-WindowsFeature Server-Gui-Mgmt-Infra, Server-Gui-Shell –Restart –Source wim: path to wim\ install.wim: Index (Index = number returned from previous command)
Switch between install modes with
Uninstall-WindowsFeature Server-Gui-Mgmt-Infra -restart
Keep in mind restarts are required.
Features on demand
Lets you save HDD space in your 2012R2 install by letting you completely remove binaries of disabled features from the HDD the OS is on. You can add it back if you have access to the install files.
Uninstall-WindowsFeature BinaryFeatureYouWantToRemove -Remove
You can use the Install-WindowsFeature to reverse any action taken, you'll need the Index number again so similar exercise as before.
Install-WindowsFeature featurename -Source wim: path:index
If you do not use the -Source wim: path:index then Windows update will automatically be used. Remember you have to be an ADMINISTRATOR for all of this to work too.
Storage
Been reading about Storage Spaces thought I'd add a link and a link to Storage Cmdlets so that I can remember what it's all about!!!....long as I have access to Tinterweb that is!!
DNS
A much stronger DNS than previous versions of Windows server and has full support of Powershell.
Domain Name System (DNS) Overview
Understanding DNS
Understanding zones and zone transfer
Understanding forwarders
Understanding stub zones
Just listing a few topics for me to go over...follow one of my links and use the technet map to ,move around the documentation in the library.
Get-DnsServerTrustAnchor cmdlet
What is a Trust Anchor
Related DNS Security Link for Step-by-Step: Demonstrate DNSSEC in a Test Lab
Get-DnsServerStatistics cmdlet
Get-Command –Module DnsServer cmdlet will provide all DNS Server cmdlets....or go here Domain Name System (DNS) Server Cmdlets
Just a point of interest.....DNS Devolution...
Resource Record Types and I'll need to learn them all....DUHHO!!!
Complimentary Tools/Utils
Ping
Using NSlookup.exe so useful I'll put in the Technet page too Technet Nslookup
Description of the DNSLint utility
Dnslint Overview
DNS Tools and Settings
DHCP
Dynamic Host Configuration Protocol (DHCP) Overview
DHCP Server Cmdlets in Windows PowerShell
The DHCP database
DHCP Service Database Files
Back Up and Restore the DHCP Database
Managing the DHCP Database
Use DHCP Command-line Tools
We all should know,by now what DHCP is, for newbies and for a refresher I put the overview link in....check the powershell stuff...quite vast really. Remember IPCONFIG can set classes for different OS's which may have different DHCP abilities and behaviours so check the link...IPCONFIG . I probably loaded this section with loads of non powershell links..but heyho the more info the better I guess. The Powershell link has tons of commands, I also like the fact that normal CLI commands compliment Powershell so I've put in a link for them too.
Multicast Address Dynamic Client Allocation Protocol
Network Sorcery RFCs
MSDN Multicast Address Dynamic Client Allocation Protocol
Checklist: Installing a MADCAP server
Configuring IP Multicast Scopes
Supporting MADCAP
Planning IP Multicasting
GPO
Group Policy Cmdlets in Windows PowerShell
For PC Clients you will also need the Remote Server Admin Tools
Remote Server Administration Tools for Windows 8.1
Remote Server Administration Tools (RSAT) for Windows Client and Windows Server (dsforum2wiki)
This has a list at the bottom of the page with downloads for various OS types. RSAT tools should deploy the appropriate GPO cmdlets or module too.
Group Policy Basics - Part 1: Understanding the Structure of a Group Policy Object
Group Policy Basics - Part 2: Understanding Which GPOs to Apply
Network Security
Network Security Cmdlets in Windows PowerShell
Network
Net TCP/IP Cmdlets in Windows PowerShell
Since IPv6 is ssssoooo important now here are a couple of useful links
Breaking down an IPv6 address: What it all means
Test your IPv6 connectivity.
Technet TCP/IP v4 and v6
IPv4 & IPv6
Routing IPv4
IP Version 6
HyperV
Microsoft Virtualization
Hyper-V Cmdlets in Windows PowerShell
Linux and FreeBSD Virtual Machines on Hyper-V
How Server Virtualization Works
Microsoft Virtualization Blog (Side bar has the RSS feed too, for latest hot news)
Hyper-V integration components are available through Windows Update
Hyper-V Installation Prerequisites
No comments:
Post a Comment