docs adding cmd deploy script
@@ -84,3 +84,27 @@ Specify the full path to the directory containing `MeshAgent.exe` if using custo
```
Do not install meshcentral agent during tactical agent install. Note: take control, remote terminal and file browser will not work.
+
+## Scripting Agent Installation
+
+If you want to deploy the TRMM agent using AD, intune, mesh, teamviewer, Group Policy GPO etc this is a sample CMD script for deploying Tactical.
+
+!!!note
+ You will need to replace `deployment url` with your custom deployment URL
+
+```bat
+if not exist C:\TEMP\TRMM md C:\TEMP\TRMM
+powershell Set-ExecutionPolicy -ExecutionPolicy Unrestricted
+powershell Add-MpPreference -ExclusionPath C:\TEMP\TRMM
+powershell Add-MpPreference -ExclusionPath "C:\Program Files\TacticalAgent\*"
+powershell Add-MpPreference -ExclusionPath C:\Windows\Temp\winagent-v*.exe
+powershell Add-MpPreference -ExclusionPath "C:\Program Files\Mesh Agent\*"
+powershell Add-MpPreference -ExclusionPath C:\Windows\Temp\TRMM\*
+cd c:\temp\trmm
+powershell Invoke-WebRequest "deployment url" -Outfile tactical.exe
+"C:\Program Files\TacticalAgent\unins000.exe" /VERYSILENT /SUPPRESSMSGBOXES /FORCECLOSEAPPLICATIONS
+start tactical.exe
+powershell Remove-MpPreference -ExclusionPath C:\TEMP\TRMM
+```
+
+There is also a full powershell version [here](https://wh1te909.github.io/tacticalrmm/3rdparty_screenconnect/#install-tactical-rmm-via-screeconnect-commands-window)
