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
- Test Whether Organizational Unit or Account Exists
- Compare Group Policy Objects
- Create Import file for Remote Desktop Connection Manager 2.7
- Export PowerShell script output to Text with Out-Notepad
- Scriptomatic on Windows 7 Solved
- Outlook VBA: Reply to All as Text
- Get a Close Global Catalog Server with PowerShell
- PowerShell GPO Reporter
- Split a List and Remove Empty Lines with PowerShell
- Fixing SCCM 1603 Errors
Category Archives: My Best
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
If you use GPOs to enforce baselines, you may find that your enterprise is moving from version 1.1 to version 1.2 of a GPO. Unfortunately for you, version 1.1 linked in a dozen places. Wouldn’t you rather just you search … 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
How can you tell whether an Active Directory domain controller is functioning properly? How do you know whether some over-zealous VLAN ACL is blocking necessary ports? Testing ICMP, is easy, just ping it. Testing LDAP response isn’t hard, I wrote … Continue reading
My first attempt at a GUI to select objects properties demonstrated that I didn’t have a firm grasp on how to pipeline an object through an advanced function. The problem I had at the time was not understanding how to … Continue reading
A large number of my scripts involve picking an Active Directory Organizational Unit (OU). I have been using Out-Gridview for OU navigation. This is because I was unable to find a form based GUI OU picker that worked fast enough in … Continue reading
Written to replace DelProf, this script deletes inactive user profiles from a local or remote computer. It supports arguments by position, and has a test parameter. If you run it locally, you may supply host name, localhost or “.” The … Continue reading
If you have been following my blog, you know that I am an experienced vbscripter, but am relatively new to PowerShell. I was excited that my long vbscripts to export data from Active Directory would be now one liners which … Continue reading
Having users plug USB drives into their systems can be a portal for malware into your network and data exiting from your network. There are sophisticated programs that allow you to block and monitor endpoint security, such as Lumension’s Sanctuary. If … Continue reading