PowerShell for Windows Admins:

April, 2012


April 13, 2012  7:47 AM

UK PowerShell Group–24 April 2012



Posted by: Richard Siddaway
PowerShell 3, User Group, Windows Server 8

This months meeting is the first of two looking at the new PowerShell functionality in Windows Server 8. Yes, there is so much it will take two sessions!


When: Tuesday, Apr 24, 2012 7:30 PM (BST)


Where: Virtual

*~*~*~*~*~*~*~*~*~*

This is the first of two...

April 13, 2012  5:20 AM

Scripting Games 2012 comments: #5 using WHERE



Posted by: Richard Siddaway
PowerShell

 

I have seen a few interesting variations on using where-object during the games. This is normally aliased to where. You can use ? if you are fanatical about aliases but to me your PowerShell starts to become unreadable if its heavily aliased.

Consider get-process.  It...


April 12, 2012  2:46 AM

Scripting Games 2012 comments: #4 Beginners Event 2



Posted by: Richard Siddaway
PowerShell

Second event is to find running services that can be stopped

Bookmark and Share     0 Comments     RSS Feed     Email a friend


April 11, 2012  7:47 AM

Scripting Games 2012 Comments: #3 Beginners Event 1



Posted by: Richard Siddaway
PowerShell

I thought I’d publish a series on how I would go about solving these plus some comments and observations on the submitted scripts.

First event of the games


April 10, 2012  12:56 PM

Using aliases and the myth of the one-liner



Posted by: Richard Siddaway
PowerShell

The beginners section of the scripting games can be often answered with one pipeline of PowerShell.

Notice that I stated one pipeline not one line

Since the early days of PowerShell there has been an almost mystical reverence  paid to the concept of the “one-liner” ie...


April 9, 2012  2:44 AM

Scripting Games 2012 Comments: #2 Read the help file



Posted by: Richard Siddaway
PowerShell

I’m seeing a lot of scripts where code is used to perform an action that is available as a parameter on a cmdlet that is used earlier in the pipeline.

 

Read the help file for the cmdlets you are going to use to see how you can get PowerShell to do the work for you instead...


April 8, 2012  7:54 AM

Scripting Games 2012 Comments: #1 Line Continuation



Posted by: Richard Siddaway
PowerShell

As with previous games I’ll publish a series of comments on the games. I won’t deal with any event specific issues until the games events are all closed but there are some things coming through that while not affecting any gradings don’t make the best use of PowerShell.

The first...


April 6, 2012  7:32 AM

2012 games–5 events published



Posted by: Richard Siddaway
PowerShell

We’re just about at the halfway point with 5 events available – remember there is only a week to complete an event. Deadlines start on Monday.

The overall quality of submissions from what I’ve seen so far is up on last year which is an achievement. What is staggering is that...


April 2, 2012  12:39 PM

Scripting Games have started



Posted by: Richard Siddaway
PowerShell

Jump over to http://blogs.technet.com/b/heyscriptingguy/

for event 1 in the beginners and advanced categories


April 2, 2012  12:33 PM

Finding the primary name of a DNS alias record



Posted by: Richard Siddaway
DNS, PowerShell, WMI

A forum question asked how to find the primary name from an alias or CNAME record.

Get-WmiObject -Namespace 'root\MicrosoftDNS' -Class 			


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: