Tags
2008R2 Access List ACL activate by phone active directory ActiveSync ACU Address list alarms Anonymous relay array backup cacls catch cd-key cisco Citrix CUSD DAG dismount iso dns Exchange Fortigate Fortinet function get-eventlog get-snapshot get-vm HPE 3PAR Linux Lync microsoft Permissions powercli Powershell Powershell agent PSA PuTTY registry script UCS Director vmware Windows 7 Windows Server Zenoss-
Recent Posts
Recent Comments
- Mark Cloney on PowerCLI: Getting vmhost uptime
- Pierre Wong on Powershell: Listing activated clients on KMS server
- Ian on “The given Key was not present in the dictionary” error when running Group Policy Modeling
- Ian on “The given Key was not present in the dictionary” error when running Group Policy Modeling
- Wasim on Resetting the Discretionary Access Control List (DACL) in a Windows Service security descriptor
Categories
- Ad
Category Archives: Active Directory
Powershell function for gathering users in groups
A friend of mine asked me a couple of days ago if I knew a way to gather users who are members of given groups. I thought to myself “Hmm, challenge accepted!” and started writing a small powershell script. After … Continue reading
Posted in Active Directory, Microsoft, Powershell
Tagged active directory, function, Get-MembersInADGroups, Powershell
“The given Key was not present in the dictionary” error when running Group Policy Modeling
I ran into a rather strange error today when trying to run Group Policy Modeling on a user. Instead of showing me Summary and Settings I received an error stating that The given Key was not present in the dictionary. At … Continue reading
Posted in Active Directory, Microsoft
Tagged active directory, group policy, microsoft, preference, registry
Function for adding photo in Active Directory
I have always been careful to avoid the really advanced and cool stuff in Powershell, like functions, arrays and such. But as I created the last script it hit me that it would be really cool to have it in … Continue reading
Posted in Active Directory, Microsoft, Powershell
Tagged function, microsoft, Powershell, Set-ADPhoto
Simple script for adding user photo in Active Directory
It’s been a while since I posted here so I thought it might be time to add some content. This script is a simple script that adds a photo to a user’s active directory user object. It also checks the … Continue reading
Posted in Active Directory, Microsoft, Powershell
Tagged active directory, Powershell, script
Mass import of users in Active Directory v2 – Powershell time
Earlier I posted a script that created users and homefolders and added the users to specified groups. It also set ntfs permissions on the homefolders. That script used primarily old fashioned stuff, so I sat down and started looking for … Continue reading
Posted in Active Directory, Exchange, Microsoft, Powershell
Tagged active directory, Exchange, microsoft, Powershell
Mass import of users in Active Directory
Tried sleeping……That obviously didn’t work out, so here’s a guide on how to import a number of users in Active Directory and then creating and sharing out their home folder. Note: This guide uses dsadd for creating users and cacls … Continue reading
Posted in Active Directory, Microsoft
Tagged active directory, cacls, dsadd, import, microsoft, script
ALTools from Microsoft, awesome!
Stumbled upon a tool from Microsoft called ALTools that I thought were absolutely awesome. It’s over 7 years old so I wonder why I haven’t seen it before Nevertheless it’s as cool now as it was when it was released. … Continue reading
Posted in Active Directory, Microsoft
Tagged active directory, microsoft, tools