Browse by Tags

All Tags » Windows Server 2012 (RSS)

Working with Server Core–renaming the machine

When you create a new Windows server it usually assigns a name of its own. I always prefer using my own names for servers – I usually create the name so it gives some indication of the machine’s purpose. Renaming a computer is simple On the local computer...

Working with Server Core–setting IP addresses

When you create a new Windows machine it defaults to using DHCP to get an IP address. While that is fine for client machines most people apply a static address to their servers. Up until Windows 2012 you had 2 choices – use the GUI or use PowerShell and...

Working with Server Core–Domain join

Windows Server can be installed in two ways – full fat GUI or Server Core.  The latter is Windows without Windows.  The GUI components are stripped off and you’re just left with the core components.  This results in a smaller server – I...

Checking license activation

I’m building some virtual machines for my demo’s at the upcoming PowerShell summit.  To make the demo’s, and setup, more interesting(?) I decided to use some Server Core instances. The usual setup activities become a bit more interesting with Server...

VM disk info

A question came into the forum about getting information on the virtual disks associated with particular Hyper-V virtual machines. Is a bit of a digging exercise but this gets the results: Get-VM | foreach { $VMname = $psitem.Name Get-VMHardDiskDrive...

AD Month of Lunches–Chapt 18 & 19 in MEAP

An updated MEAP has been released for Active Directory Management in a Month of Lunches.  This one adds chapters 18 & 19 Chapter 18, "Managing AD trusts" Chapter 19, "Troubleshooting your AD" The MEAP is available from www...

PowerShell one-liner for virtual disk analysis

I needed to look at my virtual machines & their disk sizes – with Windows 2012 R2 upgrade in the works I need to do a bit more tidy up I found two cmdlets in the Hyper-V module: get-vmharddiskdrive – can be related to the virtual machine but doesn...

Server Core Module

On a Windows Server 2012 system you will find a ServerCore module with two cmdlets Get-DisplayResolution Set-DisplayResolution On a full GUI system the cmdlets work PS> Get-DisplayResolution 1366x768 1280x1024   And thats it!  Not a lot but...

Setting an IP address

I need to add an IP address to an adapter.  I could use the GUI or WMI but with Windows 8/2012 and above I’ve got all of the nifty networking cmdlets to play with. Lets start with finding the adapter to use PS>Get-NetAdapter will show all of the...

AD Management MEAP–chapter 17

My Learn AD Management in a Month of Lunches is moving on apace with the release of chapter 17 to the Early Access Process. This one covers AD replication www.manning.com/siddaway3 Enjoy

International Module

The International module has an interesting set of cmdlets: £> Get-Command -Module International | select Name Name ---- Get-WinAcceptLanguageFromLanguageListOptOut Get-WinCultureFromLanguageListOptOut Get-WinDefaultInputMethodOverride Get-WinHomeLocation...

Windows Error Reporting Cmdlets

Windows Error Reporting (WER) captures software crash and hang data from Windows systems. The data is sent to Microsoft for analysis. The data captured by WER is used to identify those bugs that are affecting customers the most. Fixing those bugs benefits...

Active Directory Cookbook 4th Ed

The Active Directory Cookbook (O’Reilly ISBN: 978-1-449-36142-6) has been a constant resource for me since the first edition covering Windows 2003. I plundered the book for a lot of my early forays in scripting AD. The cookbook supplied answers using...

WMI and Trusts

When you install AD on a machine you get the MicrosoftActiveDirectory WMI namespace as well. This namespace was deprecated in Windows 2012 but while it is still available there are few useful things we can do with it. Even with my fondness of WMI I’m...

Internet Connection

Can you find the network adapter on your machine that’s connected to the Internet?  On a Windows 8/2012 machine its fairly simple: PS> Get-NetConnectionProfile -IPv4Connectivity Internet Name            ...

AD Management MEAP

A new MEAP was released last week for AD Management in a Month of Lunches.  Chapters 1-15 are now available http://www.manning.com/siddaway3/

RDP annoyance

I’ve RDPing into a number of servers from different systems recently and the way the screen resolution changes to match your monitor size is annoying. If I use the shortcut to the session I get whatever sizes were set in the last session so often logon...

Creating a new disk

I really like Windows Server Core. The concept has come of age in Windows 2012. I needed to add a new disk to a virtual machine  - that’s easy using the Hyper-V cmdlets. But what about formating the disk. A module new to Windows 2012 & Windows...

Windows Server Backup

Windows Server 2012 has a PowerShell enabled backup utility. When you enable the feature you get a module called WindowsServerBackup.  It has the cmldets you would expect for creating and managing backups. No surprise you may say as this was avialable...

AD Management in a Month of Lunches

The MEAP marches on with chapter 8 now released: Chapter 8 – creating Group Policies details from http://www.manning.com/siddaway3/
More Posts Next page »