Scripting Blog

A place to learn about PowerShell and share stories of automation

Hey, Scripting Guy! Quick-Hits Friday: The Scripting Guys Respond to a Bunch of Questions (2/12/10)

In this post: I Think You Guys Made a Mistake in This Article I Found Hey, Scripting Guy! In reference to the Windows PowerShell Tip of the Week article, The String's the Thing, please note that there is a mistake in the fifth paragraph of the section, "Comparing Two String Values." The line should be, "The CompareTo ...

Hey, Scripting Guy! Quick-Hits Friday: The Scripting Guys Respond to a Bunch of Questions (9/25/09)

Can I Find Out Who Has Access to a Group of Files and Folders? Hey, Scripting Guy!  For security reasons I need to find out who has access to a certain group of files and folders. Using the Get-Acl cmdlet, I can get a list of which IDs and groups have which kinds of access to the target files and folders. I would also like to list ...

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

Share this post: 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 specific folders, and if a user has been granted explicit access rights to the folders, the entry needs to be ...

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

Share this post: 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 everything. In the past when I created a folder I would manually set the security when I was finished. If I had ...

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

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