I’ve been putting off writing a blog for too long and today it stops. It seems like everything with me is work in progress. I write a reusable powershell function and every time I reuse it in another script I revisit it and enhance it. Sometimes I know there are things I want to do with the function but as with any business you have to consider the ROI and who will see the brilliant job you made of it or the pigs ear you made of it for that matter.
Am I an expert in PowerShell, Active Roles Server or Active Directory? When I’m asked that I always remember that someone once told me that an expert is for ex, as in has been and spurt, as in drip under pressure. I did a quick search to see if this was a common saying and came across a blog where it’s claimed it comes from the Latin “ex” meaning “a has-been”, and “spurt” meaning “a drip under pressure”. I doubt that but you never know. I usually avoid the question with a smile or move the conversation to a more interesting topic. I don’t consider myself an expert because I learn something new every day doesn’t an expert know everything? That’s both the best and worst thing about this job. It’s always changing and you are always playing catch up. An expert? I can google as good as anyone I guess. Then I can put 2 and 2 together and make it into any number I like 🙂
So why PowerShell or PosH as some people like to call it. the name Posh probably originates from when Mrs. Hyacinth Bucket (http://en.wikipedia.org/wiki/Hyacinth_Bucket) tried to write a script. I used to be an avid VBScript user but since I started my new job and was asked to automate everything (still working on automating the tea making) and discovered that Active Roles used PowerShell and I saw it as an opportunity to lean something new and I have never looked back. It’s a fantastic scripting language and just a few lines of code will make you look like an expert in other peoples eyes.
If you are thinking of taking it up then get your a*** to Mars … er I mean you should go download the powergui editor from here http://www.powergui.org/
If you are also running Active Roles make sure you get the correct version of the cmdlets. If you load the latest cmdlets I’m sure you will be bristling with pride with all the clever stuff you can do with them….. but you won’t be communicating with your ARS service because it will ignore you completely.
|Date Posted||Name||Version||File Type||Size|
|May 16 2011||ActiveRoles Management Shell for Active Directory 32-bitAD Management Shell 1.5.1 is compatible with only ARS 6.7.0||1.5.1||20.08 MB|
|Oct 29 2012||Quest One ActiveRoles Management Shell for Active Directory 32-bit – ZipAD Management Shell 1.6.0 is compatible with only ARS 6.8.0||1.6.0||21.95 MB|
|May 16 2011||ActiveRoles Management Shell for Active Directory 64-bitAD Management Shell 1.5.1 is compatible with only ARS 6.7.0||1.5.1||32.73 MB|
|Oct 29 2012||Quest One ActiveRoles Management Shell for Active Directory 64-bit – ZipAD Management Shell 1.6.0 is compatible with only ARS 6.8.0||1.6.0||36.79 MB|
Once you have all this downloaded and installed pop back and I should have started posting some of my ARS functions and things I have learnt over the last 3 years. I’m due to upgrade my version of ARS as it’s a little old, like me. I’m running version 6.5 still. What I’m really saying here is that the stuff I post here may not work with your version so make sure you test in a safe environment – you do have a test environment don’t you? Also I figured out a few tricks to do stuff that may now be easier to do in the later versions of ARS – you are welcome to tell me if it has as it may save me some time regression testing all my scripts which is my usual argument for not upgrading along with if it ain’t broke don’t fix it!
P.S another gotcha is you cannot talk to the ARS service unless you have the ARS MMC installed. This info may save you hours of head scratching like me.
One last thing before I sign off. If you can’t wait for my scripts you could do worse than follow this blogger. We both post on the quest forums and she has a lot of useful information in her blog, which can be found here: