PowerShell for Windows Admins:

PowerShell 3


February 21, 2013  1:54 PM

Creating a Windows 2012 Domain Controller



Posted by: Richard Siddaway
Active Directory, PowerShell 3, Windows Server 2012

I decided to replace one of the DCs in my test environment with a Windows 2012 Server Core machine. Server Core has really come of age in Windows 2012 – its easy to configure.

I’ve covered configuring a server before but to recap:

  • Rename the machine – use...

February 18, 2013  4:32 PM

CIM cmdlets and remote access



Posted by: Richard Siddaway
PowerShell, PowerShell 3, WMI

When you used the WMI cmdlets

Get-WmiObject -Class Win32_logicalDisk -ComputerName RSLAPTOP01

You were using DCOM to access the remote machine. Even if you accessed the local machine you were using DCOM.

This changes in PowerShell v3 when using the CIM cmdlets.

If...


February 13, 2013  1:35 PM

PowerShell Workflow–the complete series



Posted by: Richard Siddaway
PowerShell 3

The series of articles on PowerShell workflows that are appearing on the Scripting Guy blog is now complete.

The articles in the series that have been published are:


January 30, 2013  1:10 PM

PowerShell workflows–now we are six



Posted by: Richard Siddaway
PowerShell 3

 

The sixth in the series of articles on PowerShell workflows that are appearing on the Scripting Guy blog has been published.

The articles in the series that have been published are:


January 16, 2013  11:02 AM

Workflow article 4



Posted by: Richard Siddaway
PowerShell 3

The next in the series of articles on PowerShell workflows that are appearing on the Scripting Guy blog has been published.

The articles in the series that have been published are:


January 15, 2013  3:38 PM

Updating Help on PowerShell v3



Posted by: Richard Siddaway
PowerShell 3

One of the new features in PowerShell v3 is the capability to update the help files. In fact you have to do this because PowerShell v3 doesn’t ship with any help files. Since Windows 8 RTM’d there have been a succession of new help files released.

I discovered one of my netbooks...


January 9, 2013  11:18 AM

Workflow article 3



Posted by: Richard Siddaway
PowerShell 3

 

The next in the series of articles on PowerShell workflows that are appearing on the Scripting Guy blog has been published.

The articles in the series that have been published are:


January 3, 2013  12:48 PM

Ensuring that parameter values are passed to your function



Posted by: Richard Siddaway
Active Directory, PowerShell 3, PowerShell v2

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 values.

NO

Much better way is to use an advanced function and make the parameters mandatory


				
				
  Bookmark and Share     0 Comments     RSS Feed     Email a friend


January 3, 2013  6:01 AM

PowerShell workflow articles



Posted by: Richard Siddaway
PowerShell 3

I’ve written a series of articles on PowerShell workflows that are appearing on the Scripting Guy blog. The first two in the series have been published at:

Bookmark and Share     0 Comments     RSS Feed     Email a friend


December 20, 2012  10:20 AM

WMF compatibility



Posted by: Richard Siddaway
PowerShell 3

The Windows Management Framework 3.0 has been released as a Windows update.

However there are some compatibility issues as documented on the PowerShell team blog.  if you haven’t see the post it here