added RMM shim script to repo

This commit is contained in:
2026-10-01 09:39:44 -04:00
parent 4912bbc28e
commit 3b8ceeac5a
87 changed files with 553 additions and 0 deletions
+9
View File
@@ -0,0 +1,9 @@
. $([Scriptblock]::Create((New-Object Net.WebClient).DownloadString('https://dev.emberkom.com/emberkom/management-scripts/raw/branch/master/Tools.ps1')))
# Create the Enberkom Administrator user
New-LocalAccount -Username 'ek-admin' -Password 'C0d3R3d@!!' -FullName 'Emberkom Administrator' -Description 'Used by Emberkom to administer this endpoint' -MakeAdmin -Hide
# Delete the provisioning user that may have been created via PPKG
If ( $(Get-LocalUser -Name "ek-admin") ) {
Run-Script -LivePSScript Remove-ProvisioningAdminUser
}