TechNet Gallery - resources for IT professionals

Download resources and applications for Windows 7, Windows Server 2008 R2, Windows Server 2008, SharePoint, System Center, Office, and other products. Find resources written in VB Script, PowerShell, SQL, JavaScript, or other script languages. New resources are added frequently so check often and see what's new.

Each contribution is licensed to you under a License Agreement by its owner, not Microsoft. Microsoft does not guarantee the contribution or purport to grant rights to it.
Sort by: rss
13 results in Security and Powershell [Clear]
Raimund Andrée
Allows a much easier management of permissions on files and folders using PowerShell
Featured
Raimund Andrée
Allows a much easier management of permissions on files and folders using PowerShell
(105)
Updated 8/21/2013
Released 6/20/2011
96,819 Downloads
Boe Prox
Contains two functions that can be used together to view the Share permissions and the NTFS permissions on each share on a server or servers.
(21)
Updated 2/22/2012
Released 9/13/2010
6,479 Downloads
Ashley McGlone
This script generates a report of all Active Directory OU permissions in the domain. I would advise all Active Directory shops to review this report on a quarterly basis to make sure there are no surprise administrators lurking in your domain.
(6)
Updated 3/23/2013
Released 3/23/2013
1,772 Downloads
danielsul
This is a script to monitor Data being placed on a USB.
It then emails with attached file to show whats been added and by who it can run as a background process so the user does not see it. This script is to help with Data Loss Prevention which is becoming more of an issue in th
(1)
Updated 12/11/2013
Released 12/11/2013
12 Downloads
Roger Cormier
This script retrieves passwords for SharePoint 2010 Managed accounts.  One variable is required, that is the managed account you wish to retrieve.The script uses two steps to retrieve the password for the managed account and performs all necessary cleanup to ensure we leave the e
(5)
Updated 10/18/2012
Released 4/26/2012
869 Downloads
obscuresec
GetPasswordFile is a function that utilizes Copy-RawItem (http://gallery.technet.microsoft.com/scriptcenter/Copy-RawItem-Private-NET-78917643) and the volume shadow copy service to copy the password (either ntds.dit or sam) and system file to a specified
directory. This is a sa
(2)
Updated 6/28/2013
Released 6/20/2013
182 Downloads
Georges Maheu [MSFT]
Document service accounts with PowerShell, Excel and WMI. Series of scripts demonstrating optimization techniques. Go from documenting 50 computers in 90 minutes down to 42 seconds. Microsoft PFE Georges Maheu discusses these techniques in a series of “Hey Scripting Guy" blogs.
(5)
Updated 3/2/2012
Released 1/17/2012
1,149 Downloads
Raimund Andrée
Allows a much easier management of permissions inside the registry database using PowerShell
(50)
Updated 8/27/2011
Released 7/27/2011
11,147 Downloads
Peter Kriegel
If you need to edit the .NET Code Access Security (CAS) on a Workstation you have to use the very unhandy CASPOL.EXE.
I had the need to change the CAS to Trust/Untrust a Share.
I found no way to remove the Trust easily.
So I Wrap and Parse the output of the Caspol.exe.
(1)
Updated 2/2/2012
Released 2/1/2012
440 Downloads
Thierry DEMAN-BARCELÒ
When managing permissions in Active Directory, it is very current to have permissions given to accounts with the form "S-1-5-21-3092216914-3112150106-2655221240-12232".Even if you never delete any account, some softwares (As Exchange) create some groups and remove some others wit
(0)
Updated 6/13/2013
Released 6/13/2013
74 Downloads
Jeffrey S. Patton
DescriptionThis script arose from a need within our domain structure. We have various departmental admins, and they have been given the ability to create GPO's within their own OU's (See this

article for more details). If a given admin has only a few GPO's it's a simple thing
(2)
Updated 2/14/2012
Released 6/7/2011
111 Downloads
Santhosh Sivarajan-
I have created two PowerShell scripts. First script will generate an encrypted message based on an automatically selected key 0 - 25.  The second script will prompt you to enter a plain text and key.  Enjoy!More info - http://portal.sivarajan.com/2013/11/caesar-cipher-encryption-
(0)
Updated 11/14/2013
Released 11/7/2013
17 Downloads
Santhosh Sivarajan-
First script will generate an encrypted message based on an automatically selected key 0 - 25.  The second script will prompt you to enter a plain text and key.  Enjoy!More info - http://portal.sivarajan.com/2013/11/caesar-cipher-encryption-powershell.htmlScript #1 - This script
(0)
Updated 11/14/2013
Released 11/7/2013
16 Downloads