Just seen a question about PowerShell v2. PowerShell v2 was a huge step forward when it appeared in October 2009 as part of Windows 7 / Server 2008...
PowerShell V2
Further information on PowerShell 2.0 deprecation
The PowerShell team have provided further information about the deprecation of PowerShell 2.0...
PowerShell 2.0 to be deprecated in Windows 10
You’ve been able to install the PowerShell 2.0 engine side by side with the latest version of PowerShell for the last few versions of PowerShell....
CDXML–scripting creation
So far you’ve seen how to create CDXML files by hand – though you probably used cut and paste rather than typing everything from scratch. Its time...
It’s the little things
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...
Creating DNS PTR records
When I was writing the DNS chapter of PowerShell in Practice I couldn’t get the CreateInstanceFromPropertyData method on the...
Windows PowerShell 2.0 Best Practices–A book by Ed Wilson
Ed Wilson, aka Microsoft’s The Scripting Guy, has written a number of PowerShell books (for MS Press). This book, Windows PowerShell 2.0 Best...
Working with Base64 Strings in PowerShell
Base64 is an encoding method that enables transfer of arbitrary binary data through restrictive networks. The most obvious, to me anyway, case of...
Displaying data from multiple servers as HTML
A forum question regarding retrieving WMI based data from multiple servers and displaying it as HTML was interesting. I would approach it like...
Ensuring that parameter values are passed to your function
A question on the forum about a function had me thinking. The user had defined two parameters for the function and then used Read-Host to get the...
So You Need a Further Excuse to Book Onto The Next PowerCamp? DONE!
The next PowerShell PowerCamp event is coming up shortly and we’re rapidly selling out of places. The PowerCamp event is two fast-paced days looking...
Set-PowerShellAsShell
<# .Synopsis Creates a function to set PowerShell as GUI in Server 2012 .DESCRIPTION The...
WMI property names
A question brought it home to me that WMI property names don’t always mean what you might think they mean – this is also true of other objects but I...
Working with profiles: 2 deleting profiles
I recently (1 June) showed how to discover the user profiles on your system. Now its time to delete them. function remove-profile { param ( [...
Using a colon with cmdlet parameters
Another question at Tuesdays PowerShell group revolved around using colons to link values to parameters. I’d not really thought about before....
Working with WMI methods
Many WMI classes have methods. Methods allow us to perform some action on the object. A recent question on the forum about using methods made me...
Using Invoke-WmiMethod to set the DNS servers
In the last post I showed that there was an issue with the way the SetDNSServerSearchOrder of the Win32_NetworkAdapterConfiguration class worked...
TCP/IP Alternative Configurations: pt III set the alternative configuration
We have seen how to set the NIC to use DHCP to get its address. This post shows how to set the alternative configuration on the NIC. If you...
Another Fine PowerShell PowerCamp Weekend–Sadly All Over!
The weekend of April 21/22, 18 hearty IT Pros and I spend two days looking into PowerShell. A jump start look at all the key aspects of Windows...
PowerShell Weekend PowerCamp–Coming very soon
As many of you know, I’ve long been an advocate of all IT Pros (and devs!) learning more about PowerShell. There are a lot of ways to do this, and...
PowerShell Deep Dive 2012 Agenda
The agenda for the PowerShell Deep Dive next month has just been published on the PowerShell team blog...
PowerShell books–March 2012
Back in January last year I posted about my preferred set of PowerShell books....
BITS posts
BITS is the Background Intelligent Transfer Service. I’ve started a series of posts on using the PowerShell BITS cmdlets on my IT Knowledge...
Invoking a PowerShell Command from within a program–How Do They DO That?
One of the aspects of the Monad Manifesto was its advocating building GUIs on top of PowerShell. For some devs and fewer IT Pros, the mechanism is...