Monthly Archives: June 2011

PowerShell web cast by Don Jones

Combining Output from Multiple Sources Webcast: Combining Output from Multiple Sources REGISTER NOW July 6, 2011, 12pm CST Presented by: Don Jones Learn how easy-to-make custom objects not only let you combine output from multiple sources, but also allow you … Continue reading

Posted in PowerShell V2 | Leave a comment

Scripting Guy discusses PAM modules

My codeplex project publishing PowerShell Admin Modules (PAM) is discussed in this post http://blogs.technet.com/b/heyscriptingguy/archive/2011/06/29/don-t-write-wmi-scripts-use-a-powershell-module.aspx In particular the Get-OSInfo function from the PAMSysInfo module is heavily featured

Posted in PowerShell and WMI, PSAM | Leave a comment

UK PowerShell Group–June 2011 PowerShell and Office – slides and scripts

As promised on the Live Meeting the slides and scripts are now available at https://skydrive.live.com/?wa=wsignin1.0&cid=43cfa46a74cf3e96#!/?cid=43cfa46a74cf3e96&sc=documents&uc=1&id=43CFA46A74CF3E96%212924!cid=43CFA46A74CF3E96&id=43CFA46A74CF3E96%212924

Posted in PowerShell User Group | Leave a comment

UK PowerShell Group–July meeting advance warning

The UK PowerShell group will be presenting a Live Meeting – Tuesday 26 July 2011 @ 7.30pm BST Subject – PowerShell Remoting More details to follow

Posted in PowerShell User Group | Leave a comment

IE history to CSV

Back in April last year I wrote a post about viewing IE history http://msmvps.com/blogs/richardsiddaway/archive/2010/04/13/ie-history.aspx I had a comment left asking how this could be put into a CSV file We’ll start by turning the script into an advanced function that … Continue reading

Posted in COM, PowerShell V2 | 8 Comments

Setting Security permissions on an AD group

We saw how to create an AD security group here http://msmvps.com/blogs/richardsiddaway/archive/2011/06/28/creating-ad-security-groups.aspx   This is how we can give a user full control of that group function set-groupsecurity { [CmdletBinding()] param ( [string]$name ) $dom = [System.DirectoryServices.ActiveDirectory.Domain]::GetCurrentDomain() $root = $dom.GetDirectoryEntry() $search … Continue reading

Posted in Active Directory, Active Directory administration with PowerShell, PowerShell and Active Directory | 1 Comment

UK PowerShell UG–30 June 2011

The rescheduled UG session (via Live Meeting) on using Office products with PowerShell is tomorrow. Details from http://msmvps.com/blogs/richardsiddaway/archive/2011/06/21/rescheduled-ug-meeting.aspx

Posted in Office 2010, PowerShell User Group | Leave a comment

Network Connection Ids

Yesterday I was looking at changing a Network connection id (the name that shows in Network and Sharing Center when you look at the adapters). I kept getting an error – either COM or number of arguments depending if I … Continue reading

Posted in PowerShell and WMI, Windows 7, Windows Server 2008 R2 | Leave a comment

Quick Tip: Discovering service start accounts

Do you know which accounts are used to start the services running on your machines? if you need this information try: Get-WmiObject -Class Win32_Service | select Name, DisplayName, StartName For a remote machine this becomes Get-WmiObject -Class Win32_Service -ComputerName Win7 … Continue reading

Posted in PowerShell and WMI, Powershell Basics | Leave a comment

Creating AD security groups

Continuing my AD excursion for a while. I saw a forum post about creating AD groups and came up with this function function new-securitygroup { [CmdletBinding()] param ( [string]$name, [string]$ou, [parameter(ParameterSetName=”U”)] [switch]$universal, [parameter(ParameterSetName=”G”)] [switch]$global, [parameter(ParameterSetName=”DL”)] [switch]$domainlocal ) $rootdse = [ADSI]”” … Continue reading

Posted in Active Directory, Active Directory administration with PowerShell, PowerShell and Active Directory | Leave a comment