PowerShell for Windows Admins:

August, 2013


August 31, 2013  2:18 PM

Server Core Module

Richard Siddaway Richard Siddaway Profile: Richard Siddaway

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 it shows the basic information You...

August 31, 2013  8:21 AM

Third Age of PowerShell

Richard Siddaway Richard Siddaway Profile: Richard Siddaway

We’re now firmly in the Third Age of PowerShell. The First Age covered the betas and PowerShell 1.0 PowerShell was adopted by developers and admins (with a scripting background) that saw the need for better automation tools and went looking for them. Information was sketchy, and every new...


August 31, 2013  6:16 AM

Travelling devices

Richard Siddaway Richard Siddaway Profile: Richard Siddaway

Disclaimer: The following is based on my personal experiences and needs that may well not match yours. Feel free to disagree with my conclusions. I offer my insights to help others decide on the devices that suit them. I’ve been using a number of devices over the last six months or so and...


August 30, 2013  11:09 AM

Filtering AD searches

Richard Siddaway Richard Siddaway Profile: Richard Siddaway

Interesting question came up regarding how you define a Filter when you are searching for particular users. With the Microsoft cmdlets you can define a filter or an ldapfilter. In these examples we’re looking for users that don’t have email addresses. First lets look at a filter PS>...


August 30, 2013  4:29 AM

Setting an IP address

Richard Siddaway Richard Siddaway Profile: Richard Siddaway

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 adapters. Unlike ipconfig it only shows...


August 29, 2013  3:03 PM

Protecting your csv files

Richard Siddaway Richard Siddaway Profile: Richard Siddaway

I’m using csv files for this example but it applies to other types of file as well. Let’s produce a csv file Get-ChildItem -Path C:\Users\Richard\Documents -File | select FullName, Length, LastWriteTime | Export-Csv files.csv This gives a small, useful set of data for the purposes of...


August 29, 2013  1:22 PM

It’s the little things

Richard Siddaway Richard Siddaway Profile: Richard Siddaway

I’ve been spending some quality time with PowerShell 2.0 recently. When it was all we had it was great but there’s a bunch of things I miss from PowerShell 3.0 including: CIM cmdlets CIM sessions Workflows Module auto loading Improved tab completion PowerShell 3.0 ISE especially the...


August 29, 2013  12:26 PM

DNS zone types

Richard Siddaway Richard Siddaway Profile: Richard Siddaway

I was looking at the DNS zones for a project I’m working on. I needed to discover the conditional forwarder zone and hence the IP address of the DNS server to which the forwarding was occurring. The zone I wanted had a ZoneType of 4 which puzzled me. I remembered showing code to create a...


August 29, 2013  12:11 PM

AD Management MEAP–chapter 17

Richard Siddaway Richard Siddaway Profile: Richard Siddaway

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


August 28, 2013  1:15 PM

International module

Richard Siddaway Richard Siddaway Profile: Richard Siddaway

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


Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to: