Any admins utilizing powershell scripts for workstation startup and user login?
Our current method uses Vbscript to set registry values, determine computer/user location in AD and map drives, etc. I'm sure PSH is capable of all of this. Is there anything to consider before ditching VB in favor of PSH for startup and login scripts?
I have been slowing moving away from a different scripting language in favor of PowerShell. We primarily have XP workstations, slowly moving to Windows 7. With XP, all of our systems updates are managed via WSUS, and PowerShell is deployed using WSUS without any issue whatsoever.
That aside, I would suggest that Drive Mappings and other such login scriptable settings are much more easily controlled with Group Policy Client Side Extensions. It allows you to configure mapped drives in a very defined way across your entire environment. There are item targeting controls that allow you to give Suzy a mapped drive N if she is in the "Information Technology" security group and is running a Windows XP machine with an IP address in the network range of 192.168.1.x. It eliminates the possibility that some small piece of syntax in a script causes a user to not get a mapped drive, as each drive mapping is processed individually.
But, on the idea of moving to PowerShell, it's the best possible thing you could do for your scripts given the advanced security of signed scripts, the language is available for use in pretty much any Windows environment. It also has some very advanced capability (I have yet to get that deep into it yet) that can be tapped into as you find yourself needing more functionality. WIM comes to mind. Essentially, with PowerShell, you can do everything you already do with CMD and VBS, and a bit more. And there are numerous sites and resources that'll help you convert VB code to PowerShell.