diff --git a/api/tacticalrmm/scripts/community_scripts.json b/api/tacticalrmm/scripts/community_scripts.json index 4ce61fb9..5cdb9a0c 100644 --- a/api/tacticalrmm/scripts/community_scripts.json +++ b/api/tacticalrmm/scripts/community_scripts.json @@ -152,6 +152,15 @@ "shell": "powershell", "category": "TRMM (Win):Hardware" }, + { + "guid": "72c56717-28ed-4cc6-b30f-b362d30fb4b6", + "filename": "Win_Hardware_SN.ps1", + "submittedBy": "https://github.com/subzdev", + "name": "Hardware - Get Serial Number", + "description": "Returns BIOS Serial Number - Use with Custom Fields for later use", + "shell": "powershell", + "category": "TRMM (Win):Collectors" + }, { "guid": "95a2ee6f-b89b-4551-856e-3081b041caa7", "filename": "Win_Power_Profile_Reset_High_Performance_to_Defaults.ps1", diff --git a/scripts/Win_Hardware_SN.ps1 b/scripts/Win_Hardware_SN.ps1 new file mode 100644 index 00000000..59a4c0b8 --- /dev/null +++ b/scripts/Win_Hardware_SN.ps1 @@ -0,0 +1,2 @@ +# Get BIOS Serial Number for Collectors +Get-WmiObject Win32_BIOS | Select SerialNumber \ No newline at end of file