RSS All Posts

RSS PowerShell Posts

Tags

2142 Active Directory Administrativia Announcements Battlefield Blogging Cricket Deployment Deployment4 Get-PSUGUK Group Policy HowTo Linux MDT MDT 2010 Microsoft Deployment Toolkit MSDN Music Permissions Personal PowerGui Power Lines PowerShell PowerShell Groups PowerShell Support PowerShell Tools PowerShell V2 Presentations PSUGAU Quick Tips Scripting SDDL Security Tech Talk Ubuntu User Groups Virtualisation VMware Infrastructure Client WAIK Weekly Poll Windows 7 Windows Automation Installation Kit Windows Server 2003 Windows Server 2008 XML

Archives

Meta


Main | »

A quick word in your shell-like

By Adam Bell | January 23, 2007

Okay, well before we get into this I’d like to clarify my position. I’m not a programmer. I use PowerShell for automation. I’m from the “Getting-Sh*t-done” perspective. Now this isn’t meant as a slur against Programmers. I have a few mates that would fit under the code-monkey banner, and they are top blokes, and good at what they do.

So where am I going with this? To give you an understanding that the scripting orientated stuff here might not be perfect. In fact it might not be particually well done, and I probably won’t be able to explain what everything is doing down to the nth degree. I’m not a “script-kiddie” either though, so I’ll explain what I know about the functions I put up here, and hopefully you might find them useful, or not.

There’s not many resources from Microsoft on the net for PS yet, which surprised me considering the length the product was in beta (since PDC ‘03). There are however some excellent blogs which help the initial heartache of learning something new. This is clouded a little by data pertaining to the pre RC2 drop, which in the RTM version behaves differently.

I’ve always found the Microsoft Script Center to be an excellent place to find VBScript examples. Unfortunately the PS examples to date are really of no use, and this is something I hope MS will rectify sooner rather than later.

In the mean time though I’ll post useful functions up here. They will mostly be Infrastructure centric as this is an area I have a lot to do with professionally.

So, coincidently that ties up the first post. Here conversation and constructive suggestions are welcome.

Topics: PowerShell | 2 Comments »

2 Responses to “A quick word in your shell-like”

  1. abhishek225 Says:
    January 24th, 2007 at 5:39 am

    Hi Adam,
    Hope you are finding PowerShell useful. The point about script center resources is valid and we are working on improving the Powershell scripts available on script center. In the meantime the following resources should be helpful ( I am sure you have already discovered these):

    PowerShell newsgroup (very active and helpful): http://www.microsoft.com/communities/newsgroups/list/en-us/default.aspx?dg=microsoft.public.windows.powershell
    PowerShell books:
    http://www.manning.com/payette
    http://www.sapienpress.com/powershell.asp
    PowerShell blogs:
    http://blogs.msdn.com/powershell
    http://www.leeholmes.com/blog
    http://www.thepowershellguy.com

    We will love to get your feedback as you go about using powershell.
    Thanks,
    Abhishek Agrawal [MSFT]
    Windows PowerShell Team

  2. AdamBell Says:
    January 24th, 2007 at 11:26 am

    Thanks Abhishek.

    I am aware of most of the links you identified. In fact I have included them in my links section to help others too.

    I was merely disapointed that the MS Script Center examples were really just basic retrieval of properties via WMI. There didn’t appear to be any solid examples of setting properties in AD for example. Things will improve over time I’m sure.

    Cheers

    Adam

Comments