IMPORTANT ANNOUNCEMENT FOR OUR READERS!
AskPFEPlat is in the process of a transformation to the new Core Infrastructure and Security TechCommunity, and will be moving by the end of March 2019 to our new home at https://aka.ms/CISTechComm (hosted at https://techcommunity.microsoft.com). Please bear with us while we are still under construction!
We will continue bringing you the same great content, from the same great contributors, on our new platform. Until then, you can access our new content on either https://aka.ms/askpfeplat as you do today, or at our new site https://aka.ms/CISTechComm. Please feel free to update your bookmarks accordingly!
Why are we doing this? Simple really; we are looking to expand our team internally in order to provide you even more great content, as well as take on a more proactive role in the future with our readers (more to come on that later)! Since our team encompasses many more roles than Premier Field Engineers these days, we felt it was also time we reflected that initial expansion.
If you have never visited the TechCommunity site, it can be found at https://techcommunity.microsoft.com. On the TechCommunity site, you will find numerous technical communities across many topics, which include discussion areas, along with blog content.
NOTE: In addition to the AskPFEPlat-to-Core Infrastructure and Security transformation, Premier Field Engineers from all technology areas will be working together to expand the TechCommunity site even further, joining together in the technology agnostic Premier Field Engineering TechCommunity (along with Core Infrastructure and Security), which can be found at https://aka.ms/PFETechComm!
As always, thank you for continuing to read the Core Infrastructure and Security (AskPFEPlat) blog, and we look forward to providing you more great content well into the future!
Greetings and happy Monday!! Hilde here – coming to you from the Seattle area, where I'm fortunate enough to be attending our premier internal technical training event.
In this post, I'll cover a less-known but VERY cool customization ability to get you thinking about how you might make your Server Admin lives easier and more efficient.
If you've used Windows Server 2012 or 2012 R2, you've seen that Server Manager is quite different from previous versions but did you know you can edit the 'Tools' menu in Server Manager?
Well, you can. The Tools drop-down is just a UI to expose the shortcuts in the "Administrative Tools" folder (C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Administrative Tools\).
Think about that a bit – let your imagination run with the possibilities …
- You can add/remove what tools show up there
- You can create folders there to better organize the list
- You can create/copy/rename shortcuts there
- You can add shortcuts to 3rd party apps/tools there
- You can run PowerShell scripts as "tools" from there
A typical default Tools list
Let's customize it to better fit my needs…
Open up the following location on the target system:
C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Administrative Tools\
In this folder, you can:
Create sub-folders for better organization and put your own (or copies of) tool shortcuts in the folders
- I created a folder called '- IT – Admin Tools' in the screen shot below
- This name puts the folder at the top of my Tools list
Create new or copies of shortcuts and name them to control their order
A few caveats:
- If you want to change the built-in shortcuts, I'd advise copying them and then editing the copies as removing a Role/Feature may fail if the shortcut to the tool(s) is modified or missing.
- Installing a Service Pack or patch, etc may re-write/overwrite your alterations of defaults.
In my example, below, I created copies of existing shortcuts, put the copies in my folder and re-named them to match my naming standard
- Again, I chose the names to control the order/organization of the tools
Create PowerShell 'tools' that are shortcuts to PowerShell scripts:
- Create the script and store it in your common scripts directory
- Create a shortcut to the script and edit the properties of the shortcut (see below)
Place the modified shortcut in the custom sub-folder created above
Edit the 'Target' property of the shortcut
My edits in the sample below do the following:
- Bypass the local PowerShell Execution Policy (so I can leave that unchanged across the system itself but still run the script)
- Sets the Console to not close/exit after running the script (so I can actually see the results/output of the code)
%systemroot%\System32\WindowsPowerShell\v1.0\powershell.exe -executionpolicy bypass -noexit -file "C:\Users\administrator.CHILD\Documents\POSH – dedup.ps1"
And now … the custom IT – Admin Tools list
With this design, I can easily find my tools (they're at the top) and when I click the "- IT – POSH Dedup Status Utility," this pops up on my screen and stays until I close it:
- Oh, by the way, can you BELIEVE the space-savings I'm getting from dedup'ing my VM and ISO drives on my server (below screen shot)?
When I need to manage my storage array, I run the "– IT – HP Array Configuration Utility" from my Tools folder:
Create a 'Toolbar' on the Taskbar that points to your new Tools folder – if you are a Toolbar Tom
Create and name an App Group on the Start Screen and pin your new shortcuts there – if you are a Start Screen Sally
You get the idea.
In addition to this awesome flexibility, I am ever-so-hopeful this sort of customization will at some point be possible with the Win+X menu (right-click the Start button) but that remains to be seen.
For some 2012 Server Manager "overview goodness," see my wayyy back post
Some of the core ideas presented in this post were discussed on the Server Manager blog – check it out for some more insight/info
Now, go get creative and post your cool ideas for server management efficiencies in the comments. Help us all "be better."
Cheers – Hilde