Archive | PowerShell RSS feed for this section
-
Get-GPOBackupAndReports PowerShell Script V1.22
#Version 1.22 24-Apr-2019 Fixed bug when a GPO had been linked multiple times. The script counted all the GPOs, even the duplicates. Added -Unique to the Sort. If a GPO was linked ten times, the scri
-
Get-OfflineScoutData PowerShell Script V1.01
April 3, 2019
#Version 1.01 3-Apr-2019 Fix an issue where the ListOfDDCs regkey value isn’t seen by humans but PoSH “sees” it and creates an array with one element with a value of one space. Ad
-
Get-GPOBackupAndReports PowerShell Script V1.20
March 29, 2019
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
-
New Script: Get Static Desktop User
March 11, 2019
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
-
Set-SageSet1 PowerShell Script V1.10
December 15, 2018
My Windows 10 management VM received the 1809 release. In the Disk Cleanup utility (cleanmgr.exe), Microsoft added the Downloads folder to the list of items that can be cleaned. Figure 1 That may not
-
Citrix XenApp 6.5 Documentation Script Update 5.00
December 14, 2018
#Version 5.00 14-Dec-2018 Version 5.00 created on June 1, 2015 V5.00 released to the community 14-Dec-2018 Removed minimum requirement for PowerShell V3 Fixed all code to make it work in PowerShell V
-
Citrix NetScaler MAS Documentation Script Version 1.10
September 28, 2018
#Version 1.10 14-September-2018 Fixed issue with Stylebook Content being output in Base64 Fixed issue with Stylebook description containing newline characters breaking tables If you have any featu
-
Citrix XenMobile Documentation Script Version 1.03
August 28, 2018
Arnaud Pain asked me to host his XenMobile documentation script and I am honored to do so. If you have any questions or to request bug fixes or enhancements: arnaud.pain@arnaud.biz @arnaud_pain on Twi
-
Citrix NetScaler Documentation Script Version 2.60 BETA
August 28, 2018
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
-
Get-GPOBackupAndReports PowerShell Script V1.10
June 1, 2018
#Version 1.10 1-Jun-2018 Add Parameter MaxZipSize (in MBs) [default is 150 MB] Test combined size of the two Zip files created to see if <= to MaxZipSize If > MaxZipSize, do not attempt the em
-
Set-SageSet1 PowerShell Script V1.00
May 17, 2018
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
-
Get-GPOBackupAndReports PowerShell Script V1.00
May 1, 2018
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
-
Running PowerShell Scheduled Tasks – a Third Opinion
March 16, 2018
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
-
Running PowerShell Scripts As a Scheduled Task
February 27, 2018
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 accomplishe
-
PowerShell One-Liner for Finding Users with a Home Drive Configured in Active Directory Users and Computers
November 28, 2017
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). Something most IT Pros do not know i
-
Changing the Published Name of a Citrix XenDesktop Private Desktop
November 10, 2017
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 tidbit
-
Remove-HostingConnection Version 1.01
November 6, 2017
Version 1.01 6-Nov-2017 When -WhatIf or -Confirm with No or -Confirm with No to All is used, do not log non-actions as failures Figure 1 (Using -WhatIf) Figure 2 (Studio showing using -WhatIf is no
-
New PowerShell Script: Remove-HostingConnection V1.0
November 2, 2017
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 receiv
-
Bart Jacobs’s Toolbox: Monitoring Part 2
October 12, 2017
Promises, promises… I like to keep mine, so after Part 1, let’s continue with Part 2. Originally, it wasn’t my plan to have a Part 2 in the first place. When I started writing the sc
-
Bart Jacobs’ Toolbox: Monitoring Part 1
October 11, 2017
It’s been a while since I posted something. To make it up to you, this is part 1 of a 2-part series on monitoring. Part 2 will be following soon, I promise. More specifically, monitoring XenApp
April 24, 2019
0 Comments