Retrieve passwords from IIS Application Pool with PowerShell remotely

Setup: Server with IIS installed and a remote computer with PowerShell Problem: IIS store the Application Pool Account password un-encrypted and is trivial to retrieve it. If you want to list all application pool accounts and their passwords use the following PowerShell command. You can even scan entire network/domain and make a list will all […]

Read More

Export users from Active Directory in CSV with PowerShell

Setup: You have access to a domain member computer with Active Roles installed Problem: You want to export users with details from specific OU to a CSV file Solution: Open Powershell Active Roles console and run these commands: -sizelimit 0 will return all users. See http://msdn.microsoft.com/en-us/library/ms180880(v=vs.80).aspx for more details -enabled return only enabled users. Remove […]

Read More

Batch Create AD groups from file

Prerequisites: Active Directory, PowerShell, ActiveRoles Management Shell for Active Directory Setup: You have access to a domain member computer in a Active Directory domain Problem: You have a text file with many group names and you want to create them quickly Solution: Open ActiveRoles PowerShell console and run these commands: Tips 1: If you want […]

Read More

Copy group membership with Powershell

Problem: You have a group in Windows Active Directory and you want to create a new group with same member like the existing one Solution: Prerequisites:¬†member server in Active Directory domain, Quest Powershell tools Tips: – Use Run As to run Powershell under another identity in case your account does not have the right permissions. […]

Read More