Just as a warning before using this script, it is not the quickest script to run, and I would suggest only running the script once per week on a schedule. This requires a custom field with a text type, read
Scripting
A collection of 6 posts
Meraki: VPN and L2TP fix
Add-VpnConnection -AllUserConnection -Name "VPN Name" -ServerAddress "CLIENTADDRESS.dynamic-m.com" -TunnelType "L2tp" -EncryptionLevel "Optional" -AuthenticationMethod "PAP" -L2tpPsk "PSK-Password" -Force -PassThru -RememberCredential Set-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Services\PolicyAgent" -Name "AssumeUDPEncapsulationContextOnSendRule" -Value 2 -Force
NinjaRMM: IP Geolocation
So last year in the thick of Covid - a client requested a quick (and dirty) way to be able to identify endpoints outside of the UK for contractual purposes. Using Powershell and NinjaRMM it's relatively easy to pull this
Teamviewer / Splashtop - Chrome URL Handler and trusting the prompt
The following batch script will set the registry keys to trust Splashtop RMM, and Teamviewer URL file handlers. This will allow chrome to open the automatic connections without prompting the user for permission. @Echo Off cd %systemroot%\system32 call :IsAdmin
NinjaRMM - Bitlocker Query Key
The following script will query the bitlocker recovery key for the C drive and return it into the scrolling event feed for NinjaRMM $BLinfo = Get-Bitlockervolume if($blinfo.ProtectionStatus -eq 'On' -and $blinfo.EncryptionPercentage -eq '100') {write-output "'$env:computername -
SyncroMSP: Bitlocker script
The following script works with SyncroMSP to query a client whenever the script
is run, then feed the bitlocker status and recovery key back into the endpoint
page.
#TODO - Make sure you setup a custom field Bitlocker_Key_
Subscribe to TechFoundry
Subscribe today and get access to a private newsletter and new content every week!