#region Configurable Variables <# .NOTES Use this section to configure testing variables. IE if the number of tabs change in the GUI update that variable here. All variables need to be global to be passed between contexts #> $global:FormName = "Chris Titus Tech's Windows Utility" #endregion Configurable Variables #region Load Variables needed for testing #Config Files $global:configs = @{} ( "applications", "tweaks", "preset", "feature" ) | ForEach-Object { $global:configs["$PSItem"] = Get-Content .\config\$PSItem.json | ConvertFrom-Json } #GUI $global:inputXML = get-content MainWindow.xaml $global:inputXML = $global:inputXML -replace 'mc:Ignorable="d"', '' -replace "x:N", 'N' -replace '^