From bff19a119ecef95012f221d6b273ba52bafd1ab7 Mon Sep 17 00:00:00 2001 From: DeveloperDurp Date: Sat, 14 May 2022 17:07:38 -0500 Subject: [PATCH 01/81] upload example --- winutil-test.ps1 | 1927 ++++++---------------------------------------- 1 file changed, 217 insertions(+), 1710 deletions(-) diff --git a/winutil-test.ps1 b/winutil-test.ps1 index 25348b98ae..9f50a2de5b 100644 --- a/winutil-test.ps1 +++ b/winutil-test.ps1 @@ -1,1748 +1,255 @@ <# .NOTES - Author : Chris Titus @christitustech - GitHub : https://github.com/ChrisTitusTech - Version 0.0.2 - Muilti-Thread and Runspaces addition + Author : @DeveloperDurp + GitHub : https://github.com/DeveloperDurp + Version 0.0.1 #> - -#CREATE HASHTABLE AND RUNSPACE FOR GUI -$syncHash = [hashtable]::Synchronized(@{}) -$newRunspace =[runspacefactory]::CreateRunspace() -$newRunspace.ApartmentState = "STA" -$newRunspace.ThreadOptions = "ReuseThread" -$newRunspace.Open() -$newRunspace.SessionStateProxy.SetVariable("syncHash",$syncHash) -$code = { - - #Build the GUI - [xml]$xaml = @" - - - - - - - - - -