All the scripts are saved as .txt files. Newer files have a "View Script" button which will let you save or open a script in notepad. For earlier posts, the easiest way to download with IE is to right click on the link and use "Save Target As". Rename file from Name_ext.txt to Name.ext.
To see a full post after searching, please click on the title.
PowerShell Scripts were written with Version 3 or 4.
https connections are supported.
All new users accounts must be approved, as are comments. Please be patient. It is pretty easy to figure out my email address from the scripts, and you are welcome to contact me that way.
Top Posts & Pages
- Fast PowerShell Treeview OU Selection Form
- Get Distinguished Name of Many computers in PowerShell (Revised)
- Get a Close Global Catalog Server with PowerShell
- Delete Inactive User Profiles with PowerShell
- Get the Parent OU for an AD Object
- Test Whether Organizational Unit or Account Exists
- Export DNS Server Records with PowerShell
- Remove DNS Host Record and PTR with PowerShell
- Get MAC Address from IP Address
- Create Import file for Remote Desktop Connection Manager 2.7
Tag Archives: ActiveDirectory
The security for user account objects in an OU may drift over time. User accounts moved within the domain will retain delegations previously made, and user accounts created after schema extensions won’t have the same security as user accounts created … Continue reading
There are some delegations of permissions within Active Directory which cannot be made without extra effort. Some properties are flagged as hidden in a file called Dssec.dat, in %windir%\System32 on computers with the Active Directory Users and Computers (ADUC) MMC. … Continue reading
Over time, Active Directory delegations tend to accumulate and drift from the standards in the enterprise. Removing the delegations for a user or group can be slow, especially if you do it manually. Microsoft has a good article about this process, but … Continue reading
Add-ADTSInfo.ps1 adds TerminalServicesHomeDrive, TerminalServicesHomeDirectory, TerminalServicesProfilePath and AllowLogon as additional members returned by a query of Active Directory user objects. As you may know, when looking at a user’s properties in the Active Directory Users and Computers MMC there is a tab … Continue reading
I’ve updated one of my favorite and most used PowerShell Scripts, Convert-ADValues. Read the revised post, here.
So, I wrote a pretty cool script and sent it to a co-worker. I wrote it on a Windows 7 PC with the RSAT tools installed. My friend tried to run it on a 2008 R2 server with PowerShell 3.0, … Continue reading