Scripting Blog [archived]

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

Hey, Scripting Guy! How Can I Grant Administrator Rights to Folders and Then Delete Them?

(image) (image) Hey Scripting Guy! Our previous network administrator was a slouch. He did not maintain proper backups, never reviewed event logs, and never cleaned up user folders when he deleted users in Active Directory. This last omission is particularly egregious because it has taken a lot of cleanup work to find and delete the user ...

Hey, Scripting Guy! Can I Remove Specific Folder Access Rights on a Per-User Basis?

Share this post: (image) (image) (image) (image) (image) (image) (image) (image) (image) (image) (image) (image) (image) Hey, Scripting Guy! There is this guy at work…well, actually he used to be at work and that is the problem. He left the company. The way security has been implemented at our company, I have to check ...

Hey, Scripting Guy! Can I Apply Security Settings for One Folder to Many Other Folders?

Share this post: (image) (image) (image) (image) (image) (image) (image) (image) (image) (image) (image) (image) (image) Hey, Scripting Guy! Our company is in the process of obtaining the ISO 20000 certification for IT service management and as a result it seems we have to have documentation and processes in place for ...

Hey, Scripting Guy! How Can I Tell to Which Folders a User Has Been Granted or Denied Access?

(image) Hey, Scripting Guy! I need to find out what folders a user has specifically been granted or denied access to. I do not need the specific rights that were granted. I only need to find out where the user was specifically granted or denied access. The reason for this is I am trying to clean up permissions on some of our shared ...

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 ...