header image

Archive for January, 2011

Ed Wilson – the Microsoft Scripting Guy – will be presenting a Live Meeting on PowerShell Best Practices. Tuesday 11 January 2011 @ 7.30 GMT Details and link to Live meeting from http://richardspowershellblog.wordpress.com/2010/12/29/powershell-uk-user-group-january-2011/

under: PowerShell User Group, PowerShellV2

PowerShell Books

Posted by: | January 9, 2011 | No Comment |

There are a lot of PowerShell books on the market. Whether you are just starting  with PowerShell, want to dig further into the subject or need some help with using PowerShell with a particular product it is often helpful to find a book on the subject instead of learning from scratch. NOTE: This is my […]

under: Books, PowerShellV2

File splitter update

Posted by: | January 6, 2011 | No Comment |

I said last time that I wanted to make the file splitter function a bit more sophisticated. I would like to be able to wrap the distribution so it goes file 1,2,3,3,2,1,1,2..  etc 001 002 003 004 005 006 007 008 009 010 011 012 013 014 015 016 017 018 019 020 021 022 […]

under: File System, PowerShellV2

File splitting

Posted by: | January 5, 2011 | No Comment |

I’ve recently had to do a lot of file splitting e.g. taking lists of names and creating lists of alternate names to give me two files. Every time I have one of these problems I seem to re-write the script.  Time for a generic file splitting function.   001 002 003 004 005 006 007 […]

under: File System, PowerShellV2

Some thoughts on highly effective PowerShell users. They: Get the job done. This isn’t as obvious as it seems. PowerShell is an automation tool. Use it.  Don’t agonise over the last bit of polishing for your script. Get it into use and gain the benefits. It can always be modified another day. Remember the 80:20 […]

under: PowerShellV2

Truncating numbers

Posted by: | January 1, 2011 | No Comment |

This is something I fell foul of recently. I had a calculation that produced a non integer answer e.g.  2.1 I needed to get the integer part of the number.  Without really thinking about it I did this PS> [int]2.1 2 I was then a bit surprised when I didn’t always get the right answer.  […]

under: PowerShellV2

Happy New Year to everyone At the start of a New Year it is time to take stock and decide what you want to achieve in the next 12 months.  My PowerShell list is fairly straight forward: complete PowerShell and WMI produce a good programme for the user group good guest speakers start a series […]

under: PowerShell original

« Newer Posts