Showing results for resource ownership - Scripting Blog [archived]

Apr 7, 2010
0
0

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

ScriptingGuy1
ScriptingGuy1

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 folders. One of the big ...

Scripting Guy!Windows PowerShellActive Directory
Apr 16, 2008
0
0

Hey, Scripting Guy! How Can I Use Windows PowerShell to Determine the Owner of a File?

ScriptingGuy1
ScriptingGuy1

Hey, Scripting Guy! Is it possible to determine the owner of a file using Windows PowerShell?-- GF Hey, GF. Well, today is April 15th, which, in the US, can mean only one thing: it’s time to celebrate the birthday of Italian mathematician Pietro Antonio Cataldi, best known for discovering the sixth and seventh Mersenne primes. Pietro, who develo...

Scripting Guy!Windows PowerShellsecurity
Jan 11, 2006
0
0

How Can I Take Ownership of a File or Folder By Using a Script?

ScriptingGuy1
ScriptingGuy1

Hey, Scripting Guy! How can I take ownership of a file or folder using a script?-- RV Hey, RV. Interesting question. In the past, the Scripting Guys have tried to take ownership of a Porsche 911, beachfront property in Hawaii, and the New York Yankees; all of those efforts failed. Considering our track record, we weren’t sure what would happen i...

Scripting Guy!VBScriptstorage
Oct 7, 2004
0
0

How Can I Determine the Owner of a File?

ScriptingGuy1
ScriptingGuy1

Hey, Scripting Guy! Is there a way to determine the owner of a file by using a script?-- BD Hey, BD. As a matter of fact there is a way to use a script to determine the owner of the file, though it’s understandable why you might not be able to find that information on your own. After all, there are two main scripting interfaces used for managing...

Scripting Guy!VBScriptsecurity