From b67096873155c9fa37f82ff3739c9067dc764092 Mon Sep 17 00:00:00 2001 From: DeveloperDurp <74198206+DeveloperDurp@users.noreply.github.com> Date: Tue, 17 May 2022 10:59:06 -0500 Subject: [PATCH] upload example (#12) Co-authored-by: Chris Titus --- winutil-test.ps1 | 1929 ++++++---------------------------------------- 1 file changed, 218 insertions(+), 1711 deletions(-) diff --git a/winutil-test.ps1 b/winutil-test.ps1 index 25348b98..9f50a2de 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 = @" - - - - - - - - - -