This script deletes the locally stored copies of GPOs and forces a GPUPdate on a computer. Reset-GPOCache.ps1 works by a remote connection to the registry provider to get the path to the Group Policy\History folder, then deletes the files beneath that path. This ensures a fresh application of group polices.
Script TextSite Search
- Privacy & cookies: This site uses only the cookies associated with WordPress and the installed widgets. I collect no data about you. Cookie Policy
Please Note:
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
- Remove DNS Host Record and PTR with PowerShell
- Create Import file for Remote Desktop Connection Manager 2.7
- Get the Parent OU for an AD Object
- Fixing SCCM 1603 Errors
- Get User's Email Address from SmartCard with PowerShell
- Export and Import Delegated OU Permissions with PowerShell
- Export DNS Server Records with PowerShell
- Convert System.DirectoryServices.SearchResult to a PSObject
- PowerShell:Start RDP After Reboot
- Auditing Active Directory Permissions with Powershell
Categories
Archives