Scripting Blog

A place to learn about PowerShell and share stories of automation

Hey, Scripting Guy! How Can I Edit Terminal Server Profiles for Users in Active Directory?

Hey, Scripting Guy! I need to modify the terminal server profile for a bunch of users in Active Directory, and I don't get it. I can see the properties on Active Directory Users and Computers, but when I look in ADSI Edit, I cannot find the property names. I know they must be there, but I am at a loss to figure it out. Can you help?- TD Hi ...

Hey, Scripting Guy! How Do I Calculate Server Uptime?

Hey, Scripting Guy! I loved your idea about tracking what time my server came up and subtracting it from the current time. I bow at your feet! But guess what? My pointy-headed boss says that does not mean jack squat (or words to that effect). He said to really prove server uptime, I need to track the amount of time the server was down ...

Hey, Scripting Guy! How Long Has My Server Been Up?

Hey, Scripting Guy! Everyone at work has the idea that our network is unreliable. However, I know that our servers are seldom down. How can I prove to them that I know my stuff?-- HB Hi HB, You are really asking two questions. The first I can help you with. However, the veracity of your correctness claim is up to you. Your initial inquiry ...

How Can I Determine Whether Terminal Services is Enabled on a Windows Server 2003 Computer?

Hey, Scripting Guy! How can I determine whether Terminal Services is enabled on a Windows Server 2003 computer?-- DD Hey, DD. You know, it turns out to be true: good things will come to those who wait. According to the front page of The Seattle Times, people who are grouchy and cantankerous today are more likely to be considered wiser and ...

How Can I Start Up and Shut Down a Virtual Server Session?

Hey, Scripting Guy! How can I start up and shut down a Virtual Server session?-- DW Hey, DW. One of the Scripting Guys once had a neighbor who used to say, over and over again, “You know, I think I should have a garage sale. I really should have a garage sale.” This went on for a couple of years, until the guy finally did have a garage ...