I browsed through your script roughly and do not see any obvious reasons why it should not work on Win2K8 but there are some things that are a bit questionable in my opinion. There might be more but this is what I noticed at first sight.
1 - I would place all the SetOption lines at the top of my script and use them only once. Same for the If not @logonmode Break on part.
2 - Settime is unneeded in a properly configured AD environment.
3 - A personal opinion. Redirectoutput is not my favorite function to write data to a text file. I would use WriteLine but like said this is personal opinion.
4 - It would be wise to check if the path to the network drive is correct before mapping and if not delete it and recreate it. If it is ok leave it as it is. This can save some time if you have a lot of drive mapping.
5 - You set the wallpaper to an image stored on the server. I always prefer to copy it to a local drive and use a check and update routine to be sure everyone has the latest up to date wallpaper.
6 - the PC name, OS name and type, service pack level can be retrieved using the build in macros. No need for a WMI query to get this info.
_________________________
Mart
- Chuck Norris once sold ebay to ebay on ebay.