I've tried converting my company's KIX login script to Powershell as well. Spent a full THREE days doing so. To be honest with you, the Powershell script was a lot more long winded and KIX was a lot easier to read, esp for another Sys Admin person who has never really worked with scripting codes, Kix is easier to read from the offset.
I wrote about my findings and also documented what I did with my Powershell and Kix login scripts here:
http://thisishelpful.com/powershell...tings.html Hope this is of help to others.
Thanks,
Binh