PowerShell for Windows Admins:

February, 2013


February 27, 2013  2:23 PM

Book offer–AD Management in a Month of Lunches



Posted by: Richard Siddaway
Active Directory, Books, PowerShell

AD Management in a month of lunches is today’s deal of the day from Manning – www.manning.com

The get 50% off today using code dotd0227cc. The offer is good for today only

The same code can be used for 50% off PowerShell...

February 27, 2013  2:19 PM

Last nights Live Meeting



Posted by: Richard Siddaway
PowerShell, User Group

The sound was awful on last night’s Live Meeting so I intend to re-record it at the weekend.  I’ll post the recording and scripts once its done.

I’m also investigating an alternative delivery mechanism that will hopefully solve the sound issues.


February 27, 2013  2:15 PM

Filter or LDAP filter



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

Many of the Microsoft AD cmdlets have a –Filter and an –LDAPFilter parameter.  So what’s the difference?

PS> Get-Help Get-ADUser -Parameter *Filter*

-Filter <String>
    Specifies a query string that retrieves Active Directory objects....


February 25, 2013  1:29 PM

Advanced Functions webcast



Posted by: Richard Siddaway
PowerShell, User Group

Quick reminder that the UK PowerShell group is hosting a Live Meeting webcast on PowerShell Advanced functions tomorrow – details from

Bookmark and Share     0 Comments     RSS Feed     Email a friend


February 25, 2013  1:26 PM

PowerShell in Depth–nearly there



Posted by: Richard Siddaway
Books, PowerShell

PowerShell in Depth is rapidly approaching its publication date – see www.manning.com/jones2 for details


February 25, 2013  12:55 PM

New book



Posted by: Richard Siddaway
Active Directory, Books, PowerShell

My latest book has been released on the Manning Early Access Program (MEAP). Active Directory Management in a Month of Lunches takes the newcomer to AD through the tasks they need to perform to manage their organization’s AD.

it assumes no knowledge of AD and shows how to perform the...


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 18, 2013  1:58 PM

UK PowerShell Group–Advanced functions



Posted by: Richard Siddaway
PowerShell, User Group

When: Tuesday, Feb 26, 2013 7:30 PM (GMT)

Where: Virtual

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

Advanced functions give you ability to create functions that act like cmdlets. Learn how to get the most from this powerful part of the PowerShell functionality

Notes

...


February 18, 2013  1:37 PM

Filtering



Posted by: Richard Siddaway
PowerShell, WMI

I’ve been grading the scripts in the warm up events for the Scripting Games and noticed a lot of people doing this:

Get-WmiObject -Class Win32_LogicalDisk | where {$_.DriveType -eq 3}

Ok now it works but there are a couple of things wrong with this approach.

Firstly,...