Get-OfflineScoutData PowerShell Script V1.01
Get-GPOBackupAndReports PowerShell Script V1.20
The original purpose of this script was to backup and report on all Group Policy Objects (GPOs) in an Active Directory (AD) domain. That worked well for small domains, but recently I have worked with domains with hundreds of thousands of Organizational Units (OUs) and many thousands of GPOs. This script update makes working with extremely large AD domains easier.
New Script: Get Static Desktop User
In March 2019, I was honored to present at the first CUGC Texas XL event held at the beautiful University of Texas Club. My presentation was on PowerShell Scripting with Webster. This article shows what I talked about in the second half of my presentation.
Set-SageSet1 PowerShell Script V1.10
Citrix XenApp 6.5 Documentation Script Update 5.00
Citrix NetScaler MAS Documentation Script Version 1.10
Citrix XenMobile Documentation Script Version 1.03
Citrix NetScaler Documentation Script Version 2.60 BETA
Lots of people have requested this script, so I figured I could save myself a lot of emails by putting the script here. There is obviously still a lot of interest in a script for offline processing of NetScaler data.
Get-GPOBackupAndReports PowerShell Script V1.10
Set-SageSet1 PowerShell Script V1.00
A Windows utility I am surprised that a lot of admins don’t know about is Disk Cleanup. Running the Windows app doesn’t provide as many options as running the same program from the command line. I use the command line option when finalizing master images before the provisioning process. You can also run this on manually provisioned Citrix XenApp servers. This script automates setting all the options for running cleanmgr.exe.
Get-GPOBackupAndReports PowerShell Script V1.00
Some of you know that I do a lot of work with Active Directory and Group Policy (GPO). I needed a script that would:
- Backup all GPOs in a domain
- Give me HTML and XML reports for all those GPOs
- Zip up the backups and reports
- If specified, email me a copy of the Zip files.
Running PowerShell Scheduled Tasks – a Third Opinion
I recently published an article titled Running PowerShell Scripts As a Scheduled Task. That article was from a reader showing how he ran one of the PowerShell scripts as a scheduled task. After that article was released, another reader, Guy Leech (@guyrleech), sent me a Word document showing how he accomplishes the same task. After that article, another reader (from Denmark) sent me his process. So this third option is from Gunnar Hermansen who is a Senior Technical Support Engineer Manager for CensorNet.
Running PowerShell Scripts As a Scheduled Task
Probably the second most frequently asked question I receive about the various scripts is how to run a script as a scheduled task. I asked my most thorough script tester to document how he accomplished this task so a “regular” person could explain the process. This article is about how he accomplishes this task using his words and screenshots.
PowerShell One-Liner for Finding Users with a Home Drive Configured in Active Directory Users and Computers
On a recent project, I needed to generate a report of all users who had a Home Drive configured on the Profile tab in Active Directory Users and Computers (ADUC).
Changing the Published Name of a Citrix XenDesktop Private Desktop
Recently a customer had a need to change the Published Name property of a Private Desktop in Citrix XenDesktop. By default, the Published Name property is Null. This article will show you some tidbits I picked up and two lines of PowerShell you can use to change the published name property of either all or a subset of private desktops.
Remove-HostingConnection Version 1.01
New PowerShell Script: Remove-HostingConnection V1.0
You have moved to a new/updated/upgraded hypervisor or added new/updated/upgraded storage. Then you go to delete either the entire old hosting connection or just an old resource connection and received the dreaded popup:
“There is currently an active background action”
ARGH!!! What to do?