Update TGBeta.ps1
This commit is contained in:
23
TGBeta.ps1
23
TGBeta.ps1
@@ -1,3 +1,21 @@
|
|||||||
|
### Known issues as of January 5 2025
|
||||||
|
|
||||||
|
### Install-DattoRMM version 25.1.4 is missing functions you'll need version 25.1.5
|
||||||
|
|
||||||
|
### Missing Function in module, are added in 25.1.5
|
||||||
|
### Install-SVSHelpDesk
|
||||||
|
### Install SVSWatchtower
|
||||||
|
|
||||||
|
### checkbox not working
|
||||||
|
|
||||||
|
### Threatlocker
|
||||||
|
### setsvspowerplan
|
||||||
|
|
||||||
|
### add tweek to set default provider, add to toolkit?
|
||||||
|
### need to see if there's anything else we could take from Theo script?
|
||||||
|
### make sure that when using select all option
|
||||||
|
### Module install first
|
||||||
|
### Rmm Second
|
||||||
|
|
||||||
# ---------------------------------------------------------------------------
|
# ---------------------------------------------------------------------------
|
||||||
# 1) CREATE A GLOBAL LOG CACHE (NEW)
|
# 1) CREATE A GLOBAL LOG CACHE (NEW)
|
||||||
@@ -633,7 +651,6 @@ function GetHtmlContent {
|
|||||||
n8nPasswordInput.addEventListener('input', () => {
|
n8nPasswordInput.addEventListener('input', () => {
|
||||||
fetchSitesButton.disabled = n8nPasswordInput.value.length < 4;
|
fetchSitesButton.disabled = n8nPasswordInput.value.length < 4;
|
||||||
});
|
});
|
||||||
|
|
||||||
// Trigger fetchSites() on Enter key press
|
// Trigger fetchSites() on Enter key press
|
||||||
n8nPasswordInput.addEventListener('keydown', (event) => {
|
n8nPasswordInput.addEventListener('keydown', (event) => {
|
||||||
if (event.key === 'Enter' && n8nPasswordInput.value.length >= 4) {
|
if (event.key === 'Enter' && n8nPasswordInput.value.length >= 4) {
|
||||||
@@ -896,12 +913,12 @@ try {
|
|||||||
$installRMMCommand += " -SaveCopy"
|
$installRMMCommand += " -SaveCopy"
|
||||||
}
|
}
|
||||||
|
|
||||||
Write-LogHybrid -Message "Constructed Command: $installRMMCommand for UID: $UID, Name: $Name" -Level "Info"
|
|
||||||
|
|
||||||
# Step 5: Execute the Command
|
# Step 5: Execute the Command
|
||||||
try {
|
try {
|
||||||
Invoke-Expression $installRMMCommand
|
Invoke-Expression $installRMMCommand
|
||||||
$responseString = "RMM installation triggered successfully for UID: $UID, Name: $Name."
|
$responseString = "RMM installation triggered successfully for $Name."
|
||||||
Write-LogHybrid -Message $responseString -Level "Success"
|
Write-LogHybrid -Message $responseString -Level "Success"
|
||||||
$response.StatusCode = 200
|
$response.StatusCode = 200
|
||||||
} catch {
|
} catch {
|
||||||
|
|||||||
Reference in New Issue
Block a user