Update TGBeta.ps1
This commit is contained in:
11
TGBeta.ps1
11
TGBeta.ps1
@@ -3,7 +3,7 @@
|
|||||||
### set the priority in the js code so it waits for one function to complete before starting the next one
|
### set the priority in the js code so it waits for one function to complete before starting the next one
|
||||||
### let's start thinking about the write-log -TaskCategory "On-boarding" or "Off-boarding"
|
### let's start thinking about the write-log -TaskCategory "On-boarding" or "Off-boarding"
|
||||||
### need new logo and the RGB color codes form john
|
### need new logo and the RGB color codes form john
|
||||||
### add tweak to set default provider, add to toolkit?
|
### add Set-EdgeDefaultSearchEngine to the Tweaks list
|
||||||
### add an "off board" button
|
### add an "off board" button
|
||||||
### add "run tweaks" button
|
### add "run tweaks" button
|
||||||
### add the .net silent install tweaks to toolkit
|
### add the .net silent install tweaks to toolkit
|
||||||
@@ -19,7 +19,7 @@
|
|||||||
### commented out line 64
|
### commented out line 64
|
||||||
### moved logo to the left in line 384
|
### moved logo to the left in line 384
|
||||||
|
|
||||||
|
#region Write-Log
|
||||||
# ---------------------------------------------------------------------------
|
# ---------------------------------------------------------------------------
|
||||||
# 1) CREATE A GLOBAL LOG CACHE (NEW)
|
# 1) CREATE A GLOBAL LOG CACHE (NEW)
|
||||||
# ---------------------------------------------------------------------------
|
# ---------------------------------------------------------------------------
|
||||||
@@ -143,7 +143,8 @@ else {
|
|||||||
|
|
||||||
# Example usage of Write-LogHybrid
|
# Example usage of Write-LogHybrid
|
||||||
Write-LogHybrid -Message "Starting SVS TaskGate" -Level "Info" -TaskCategory "SVSTaskGate" -LogToEvent:$true
|
Write-LogHybrid -Message "Starting SVS TaskGate" -Level "Info" -TaskCategory "SVSTaskGate" -LogToEvent:$true
|
||||||
|
#endregion
|
||||||
|
#region SVS Module
|
||||||
function Install-SVSMSP {
|
function Install-SVSMSP {
|
||||||
param (
|
param (
|
||||||
# Cleanup flag
|
# Cleanup flag
|
||||||
@@ -319,9 +320,7 @@ function Install-SVSMSP {
|
|||||||
Write-LogHybrid -Message "No specific mode specified. Defaulting to toolkit installation mode..." -Level "Info" -LogToEvent
|
Write-LogHybrid -Message "No specific mode specified. Defaulting to toolkit installation mode..." -Level "Info" -LogToEvent
|
||||||
Perform-ToolkitInstallation
|
Perform-ToolkitInstallation
|
||||||
}
|
}
|
||||||
|
#endregion SVS Module
|
||||||
# Install-SVSMSP -InstallToolkit
|
|
||||||
|
|
||||||
|
|
||||||
# ----------------------------------------------------------------------------------
|
# ----------------------------------------------------------------------------------
|
||||||
# START THE LISTENER
|
# START THE LISTENER
|
||||||
|
|||||||
Reference in New Issue
Block a user