Bruce Adamczak

I have spent years working in perfmon, so I thought I would share some tips and tricks on the tool!

2012 Core Survival Guide

2012 Core Survival Guide

  • Comments 9
  • Likes

I like many of you keep notes to remember all the command line tools. In the past I would develop an OneNote document to keep my notes in. This time I am going to share my 2012 Core Survival Guide with you. I am doing this because my customers are planning to deploy Windows 2012 Server with the core interface.  I need to be ready to support them when the time arises.  I hope you can benefit from this guide too.

In order to stay focused here, this is the scenario I am using:

You are a server administrator with a Windows Server 2012 deployed with only the core interface. You cannot Remote Desktop, Remote PowerShell, or ping the box. You still have access to the console by walking up to it.

So I plan to come up with a list of tasks needed to get the server back in production.

As I develop this survival guide I am going to make some assumptions:

  • If you have remote access to the box you would use a GUI to manager it
  • Tasks should be easy to type in or copy - 1 line commands
  • I plan to use PowerShell whenever possible
  • This is because it is the way of the future
  • You do not have to be a programmer
  • You do not have to know PowerShell
  • Each task should be easy to change for your environment
  • For example if I use IP address 192.0.0.10 you can change it to your IP address
  • There may be other ways to complete the tasks. Please share your ideas in the comments
  • This guide is not intended to teach you PowerShell. Although you might learn some of it.
  • The intent is to develop easy to follow examples
  • I am only testing these command on Windows Server 2012
  • Level 1 ops teams should be able to use the guide with little instruction

So far this is my list of tasks for the 2012 Core Survival Guide. I plan to blog about these over the next weeks and months. I hope to knock out several of these a week. As I blog them I will update the links below.

If you feel that I might have missed a task that fits the scenario please leave me a comment and I will see what I can do to add it to the list.

Bruce

Comments
  • Thank you Bruce. We run core as default OS install, I've found helpful information from your postings.  Thinking of something else to cover could be dealing with the power scheme (i.e., powercfg -setactive scheme_min).  And looking forward to posts on working with disks. The cmdlets for disk don't seem too pipe friendly, and there's not much on dealing with mount points (or how to get rid of a mount point if you removed the disk first).  Here's what we came up with for dealing with mount points:

    $myDisk = "2"

    $myLabel = "Bin"

    $myMount = "M:\Bin"

    Get-Disk $myDisk | Set-Disk -IsOffline $false

    Get-Disk $myDisk |Initialize-Disk -PartitionStyle GPT

    Get-Disk $myDisk | New-Partition -UseMaximumSize | Format-Volume -FileSystem NTFS -NewFileSystemLabel $myLabel -AllocationUnitSize 65536 -Confirm:$false

    Add-PartitionAccessPath -DiskNumber $myDisk -PartitionNumber 2 -AccessPath $myMount

    Thanks again,

    Joe Gasper

    joegasper@hotmail.com

  • Joe,

    I am glad you are finding this useful and thanks for the ideas.  I will try and add them to the bottom of the list.

    Bruce

  • Thank you for the primer. This is a great starting point for those learning core to avoid the 2012 GUI snafu.

  • Thanks for the guides Bruce: lots of useful information here.

  • Some mof the links e.g. "Domain setting" does not work. Otherwise wounderful work.

  • Bruce,

    Thank you so much for this guide. I am currently compiling my own guide to share online and internally, but it looks like you already have most of it taken care of. Definitely going to make some good use out of it, and credits, credits, credits to you good sir!

  • Thank you Bruce for sharing. Could you please complie all your tips and tricks of this survival guide as a pdf file? This would help many admins.
    Thanks in advance

  • wow you are star :) thanks for doing all this !

  • Domain Join info is found here:
    http://blogs.technet.com/b/bruce_adamczak/archive/2013/02/14/windows-2012-core-survival-guide-joining-the-domain.aspx

    The shortened link in this article is not working as noted by Bahman.

Your comment has been posted.   Close
Thank you, your comment requires moderation so it may take a while to appear.   Close
Leave a Comment