Managing file and folder permissions with PoSh

By YellowOnline on Monday 30 May 2011 14:04 - Comments (5)
Category: Powershell, Views: 4.186

Lately I've been so occupied with work and love that I barely posted on my blog. Today a post on working with permissions in PowerShell. A very common thing to happen in any environment is that you want to create a folder, set some permissions and share the folder. So let's get down


Read more »

Export SCCM Boundaries to Excel with PowerShell

By YellowOnline on Wednesday 11 May 2011 13:30 - Comments (2)
Category: SCCM, Views: 9.935

Last Monday I created two scripts: Import-SCCMBoundaries and Export-SCCMBoundaries. I'm not posting the first one as it's merely a wrapper around the ConfigMgr Site Bound Tool from David Delgado.
In case it might help anyone, here's the Export-script. It queries WMI for the current boundaries and exports them to Excel in exactly the same format as Site Bound uses. Good idea for backing up your boundaries :)

Remarks:
- It is culture independent thanks to some code I lent from Jeffrey Snover
- Because I did not include my own logging cmdlet, I replaced all occurrences of the that cmdlet by a Write-Host.
- I wasn't planning to publish this when I created it, so it is poorly documented. Feel free to ask questions.

Concerning the question why I do not simply export to CSV:
1) I wanted the output to be exactly the same as the input for the Site Bound Tool.
2) CSVs are problematic in a multilingual environment because the delimiter depends on the culture. Even though CSV stands for Comma Seperated Value, a lot of CSV are semi-colon seperated. I cannot stress the importance of internationalization enough - a very common problem in any company that does not default to "en-US".
3) It also shows how to export something to Excel in PoSh.


Read more »

Bad_Pool_Header on Windows Server 2008 R2

By YellowOnline on Tuesday 10 May 2011 11:17 - Comments (1)
Category: Windows, Views: 7.772

This morning my SCDPM server had recovered from an unexpected shutdown. What happened? It took me a while to find out, but it turns out Windows Server 2008 R2 itself was the culprit.


Read more »

Portal 2: Chell's lineage hypothesis

By YellowOnline on Wednesday 4 May 2011 18:59 - Comments (10)
Category: Games, Views: 6.137

WARNING: HERE BE MEGASPOILERS!

Do not scroll down this unless you finished Portal 2 or you'll ruin your game experience.

Also, this is a discussion about virtual people. It's supposed to be fun - don't take it all too serious please :)


Read more »

d, t of dt? Een gids voor Tweakers en andere mensen nl

Door YellowOnline op dinsdag 3 mei 2011 21:18 - Reacties (41)
Categorie: Language, Views: 6.698

Ha, een post over twee medeklinkers uit ons alfabet. Dat kan maar één ding betekenen.

Ik wil vooral het begrip dt-regel vermijden omdat er bij vele mensen een verdedigingsmechanisme onstaat bij het horen van die term: "ik ben dilsextiesch", "correct schrijven is niet belangrijk", enz. Voor wie nog steeds dit soort fouten maakt en er echt wat wil aan doen hoop ik met deze blogpost van dienst te kunnen zijn.
http://www.xead.nl/resize/500-500/upload/a4d8bb142b1ece32ba6c75a79515f0f9RFQtcmVnZWwucG5n.png


Lees verder »