Scripting Blog [archived]

Formerly known as the "Hey, Scripting Guy!" blog

How Can I Configure an Expiration Date for a Local User Account?

(image) Hey, Scripting Guy! How can I configure an expiration date for a local user account?-- GW(image) (image) (image) Hey, GW. You know, it’s amazing how quickly things change in the fast-paced world of system administration scripting. For example, in Monday’s column we announced that, as time allowed and whenever possible, the ...

How Can I Get the Full Name of a Windows NT 4.0 User When All I Have is Their Logon Name?

(image) Hey, Scripting Guy! How can I determine the full name of a user in a Windows NT 4.0 domain when all I have is the user’s logon name?-- NH(image) (image) (image) Hey, NH. In case you’re wondering, after a less-than-auspicious beginning the Scripting Guy who writes this column started to get used to swimming laps every night; in ...

Hey, Scripting Guy! How Can I List All the Groups in a Windows NT 4.0 Domain?

(image) Hey, Scripting Guy! How can I list all the groups in a Windows NT 4.0 domain?-- MN (image) (image) (image) Hey, MN. It’s Martin Luther King, Jr. Day here in the USA, and, normally, you’d expect the Scripting Guy who writes this column to start things off by relating some irrelevant anecdote about Dr. King. Oddly enough, ...

How Can I Use Windows PowerShell to Determine the Status of the Guest Account?

(image) Hey, Scripting Guy! How can I use Windows PowerShell to determine whether or not the Guest account has been disabled on a computer?-- RB (image) (image) (image) Hey, RB. You know, last week at this time the Scripting Guy who writes this column was on vacation, a vacation spent primarily sitting outside in the sun, only occasionally ...

How Can I Determine Whether or Not My Local Users are Required to Have a Password?

(image) Hey, Scripting Guy! How can I determine whether or not my local users are required to have a password?-- GT(image) (image) (image) Hey, GT. You know, rather than beat around the bush we decided to come right out and admit it: yes, the rumors that have been circulating around the Internet are true. One of the Scripting Guys, his ...