Files
tacticalrmm/scripts/Win_Securepoint_Get_DeviceId.ps1
2021-12-20 10:32:08 +01:00

21 lines
373 B
PowerShell

<#
.SYNOPSIS
Give back the Securepoint Device id
.REQUIREMENTS
Securepoint Antivirus Pro must be installed on the client
.INSTRUCTIONS
-
.NOTES
V1.0 Initial Release by https://github.com/maltekiefer
#>
$SecurepointDeviceId = (Get-Item -Path 'HKLM:\SOFTWARE\Ikarus\guardx\cloud').GetValue('DeviceId')
Write-Output $SecurepointDeviceId
Exit $LASTEXITCODE