Following the announcement that Apple has deprecated QuickTime rather than patch the disclosed vulnerabilities, I needed to get the plugin removed from across my organization. I wrote up a quick PowerShell script to search the Registry for the uninstall string and remove QuickTime while logging the process to my server. I then took this script and assigned it through Group … [Read more...]
PowerShell script to remove user profiles
Removing Windows profiles can be a little tricky. You cannot just delete the files under C:\Users or else the account will have problems logging in the next time with entries still in the registry. The proper way to remove a profile manually in Windows is to go to System, click Advanced system settings, and under the Advanced tab of the System Properties window choose … [Read more...]
Scripting basics examples in PowerShell
I learn languages best by seeing examples and I also find reviewing previous scripts the best way to jog my memory into the language's syntax. With that in mind, I created a quick PowerShell file that does not accomplish much but it covers the basics of the language. It shows output, variables, piping, conditionals, loops, and more. I have been using PowerShell for a while … [Read more...]
PowerShell ISE Preview does not add much but potential
Microsoft released a Preview for a new PowerShell Integrated Scripting Environment. It actually does not change much to the PowerShell ISE that shipped with your computer or Windows Management Framework but it does demonstrate their new ability to update the PowerShell ISE outside of a major update. This means the ISE can be more adaptive to new features and bug fixes. To … [Read more...]