Scripting Blog [archived]

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

Hey, Scripting Guy! Can I Determine a Folder’s Access Rights and Who Has Them?

(image) Hey, Scripting Guy! I am trying to get a handle around the security of a folder on my computer. I need to be able to figure out a way to determine who has access and what those access rights are. I guess I could use the Icacls utility, but I prefer to use something that is native to Windows PowerShell so that I can work with the ...

Hey, Scripting Guy! Can I Determine Which Servers Have Specific Hotfixes Installed?

(image) Hey, Scripting Guy! I have a text file that contains a number of computer names. I would like to read that text file, query each computer in the list, and find out the status of a particular hotfix. If I could write the information to a text file, it would be even better. Here is the deal; there was a recent security update ...

Hey, Scripting Guy! Can I Create New Folders in a Sequentially Numbered Series?

Share this post: (image) (image) (image) (image) (image) (image) (image) (image) (image) (image) (image) (image) (image) Hey, Scripting Guy! I hate to type numbers. I actually took typing in high school and did really well with it. I was able to type more than 40 words per minute at the end of the class with no errors. I got ...

Hey, Scripting Guy! Can I Delete All Files from Nested Folders and Subfolders?

(image) Hey, Scripting Guy! At work we have a series of folders that are used to store files for a month. At the end of the month, we need to delete all of the files that are in the folders and start over. The folder structure is very nested; therefore, I do not want to have to recreate all of the folders, subfolders, and even more ...

Hey, Scripting Guy! How Can I Learn Windows PowerShell?

(image) Hey, Scripting Guy! I recently ran across the Hey, Scripting Guy! Blog and have been fascinated by the different things you can do with scripts. I now think I can use them to make my life easier as a network administrator. So here is my question: How can I learn Windows PowerShell? I know I can keep reading the Hey, Scripting ...