Stranger things have happened...
If you're into Powershell, show up. Some great people there :) http://powerscripting.wordpress.com/2009/10/16/powershell-v2-virtual-launch-party/ Please help spread the news as we have our own Windows 7 Launch Party—just for the part we care about. There will be prizes given away to those that show up! Please copy the below announcement into emails and blog posts, or share this link on Facebook or Twitter! Use the Twitter hashtag #PowerShellLaunchParty Windows isn’t just about the GUI. Starting with Windows...
October, 17 2009 • 0 Comments • 0 Faves
Here’s the oneliner (for PowerShell v2): (Get-QADGroupMember MyGroupName -Type user -Indirect | Select -expand Email) -join ';' PowerShell v1 version has a slightly different syntax for join: [string]::join(';', (Get-QADGroupMember MyGroupName -Type user -Indirect | Select -expand Email)) via dmitrysotnikov.wordpress.com Whoopass Dmitry ! Always was hugely annoyed by not being able to retrieve the e-mail addresses, once they, in total, became too long. Will definitely be using this myself...
October, 9 2009 • 0 Comments • 0 Faves
Did this the other day. It's very simple, and has room for lots of improvements. But it does the job for my purpose, and I'm posting it so you may use it as a base for doing your own script. Stuff I know could be improved (based on my own needs): Formatting the output (Total size) Streaming the results to screen Output to file as CSV Error handling However, most of the PowerShell stuff I do, I don't have time to polish it (although I'd like to), plus it's a relatively inconsistent effort (for now...). So...
July, 1 2009 • 0 Comments • 0 Faves
I was asked earlier by one of my colleagues, if there was a way to find out which users have their mail forwarded to other users. I answered no, cause I don't know of a way to do that. So, just now my colleague Thomas presented me with the answer: get-qaduser -SizeLimit 0 -IncludedProperties altrecipient -ldapfilter '(&(mail=*)(altRecipient=*))' | Select-Object -property "name","description","altrecipient" | where {$_.altrecipient -like "*Put a name here*"} Pretty cool :) Updated at 17:14, the powershell code...
May, 18 2009 • 0 Comments • 0 Faves
Day 2 of MS5047B was great too. More good info, learned a lot. But I'll dwell on PowerShell for a moment. We're 6 guys there for the course. Of those, I know PowerShell pretty well. Another guy was acquainted with PowerShell. 4 don't know it. What's funny to see, is how hostile people are towards it. It's non-GUI, and it's new. Now, as a a systems administrator, I would expect people to be able to script at some level. I would expect a systems administrator to see the value of scripting, since it's so very obvious...
February, 17 2009 • 0 Comments • 0 Faves
I'm at the Exchange 2007 course (Installing and managing) MS5047. Pretty good so far. Had a bit of trouble finding the place, since my GPS (even with Q4/2008 maps) can't find Karlebovej 91. Only 90. Go figure. When I arrived, they hadn't registered me. I was going to attend the course on 16th to 18th of March. But it moved forward a month, to the same dates, but in February. They had to copy some material for me, so I could still attend. Got to talk to our course broker about that. Otherwise great. Very interesting...
February, 16 2009 • 0 Comments • 0 Faves
Following my presentation at Århus .NET User Group on PowerShell, they did a follow up interview with me. The article is here. Direct download is here. Oh, by the way - it's in Danish ;)
February, 10 2009 • 0 Comments • 0 Faves
Just found WP-CodeBox - great plugin for Wordpress, which allow you to have codeboxes in your blogposts. It's based on GeSHi, which adds support for a LOT of languages. So if you need syntax colouring in your blogposts - give it a spin :) You can see an example of it, in my previous post.
February, 4 2009 • 0 Comments • 0 Faves
Was doing some statistics for our knowledge networks today. Our KN Facilitator said the other day, she'd really like to know how many unique members we had in our knowledge networks. Now, normally, that'd be a really timeconsuming task, however simple it was. Fortunately, I have PowerShell and the Quest AD commandlets. So it's actually this simple. Get-QADGroupMember "Group Name Here" -Indirect | where {$_.Type -eq "User"} | sort Get-QADGroupMember is the commandlet of choice, if you want to get members of a...
February, 3 2009 • 0 Comments • 0 Faves