Many organizations use logon scripts for their users. Those scripts map network drives, install software utilities, and much more. But have you ever considered writing a logon script that applies to your servers? There are numerous reasons why you might want to do so, including tracking administrator activities, mapping specialized network drives, running utilities that display server information on the desktop wallpaper, and so forth. So how do you go about doing it, and what might your logon script include? Thinking about logon scripts for servers, as opposed to regular users, requires a bit of imagination. Think about what you do on your servers, what problems you’ve run into in the past, and use the logon script to try and solve those challenges.
In this video I show you how to set up a PowerShell logon script that will only apply to users logging onto a server, and in my article I explain 4 ways you can use PowerShell to accomplish some of the most-common tasks that a server logon script might include.
Have you implemented logon scripts on your servers?