Skip to content

Commit

Permalink
Release 0.4.27
Browse files Browse the repository at this point in the history
  • Loading branch information
wh1te909 committed Mar 19, 2021
2 parents 8eb91c0 + a11e617 commit b7ce5fd
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 2 deletions.
7 changes: 7 additions & 0 deletions api/tacticalrmm/scripts/community_scripts.json
Original file line number Diff line number Diff line change
Expand Up @@ -236,5 +236,12 @@
"name": "Event Viewer - Check for Bluescreens",
"description": "This will check for Bluescreen events on your system",
"shell": "powershell"
},
{
"filename": "Rename_Computer.ps1",
"submittedBy": "https://github.com/silversword411",
"name": "Rename Computer",
"description": "Rename computer. First parameter will be new PC name. 2nd parameter if yes will auto-reboot machine",
"shell": "powershell"
}
]
4 changes: 2 additions & 2 deletions api/tacticalrmm/tacticalrmm/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,14 @@
AUTH_USER_MODEL = "accounts.User"

# latest release
TRMM_VERSION = "0.4.26"
TRMM_VERSION = "0.4.27"

# bump this version everytime vue code is changed
# to alert user they need to manually refresh their browser
APP_VER = "0.0.122"

# https://github.com/wh1te909/rmmagent
LATEST_AGENT_VER = "1.4.12"
LATEST_AGENT_VER = "1.4.13"

MESH_VER = "0.7.88"

Expand Down
19 changes: 19 additions & 0 deletions scripts/Rename_Computer.ps1
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# Chanage the computer name in Windows
# v1.0
# First Command Parameter will be new computer name
# Second Command Parameter if yes will auto-restart computer

if ($Args.Count -eq 0) {
Write-Output "Computer name arg is required"
exit 1
}

$param1=$args[0]
$ToRestartTypeYes=$args[1]

Rename-Computer -newname "$param1"

# Restart the computer for rename to take effect
if ($ToRestartTypeYes -eq 'yes') {
Restart-Computer -Force
}

0 comments on commit b7ce5fd

Please sign in to comment.