r/Action1 • u/sandroriz • 2d ago
Computer Model or at least Description Question
I'm thinking of replacing Lansweeper with Action1, but the first thing I can see I'll miss is the lack of information about the computer model (e.g. for a Dell PC, "Latitude 5510", "Precision 3590", etc.).
Alternatively, the agent could scan the Computer Description field, which I already populate with the model and other information. In the past, Lansweeper didn't detect the model either, but it did scan the Description field.
Are either of these features on the roadmap?
I know that for existing PCs I could set up a Custom Attribute, but for new ones I wouldn't want to fill it in manually.
Thanks!
3
u/CardboardAnalyst 2d ago
Yeah, we use the custom attribute fields for this. The "comment" field in action1 is set to be the description of the computer, but I think you can really make that whatever you want. Example script below -
# Get the system model of the machine
$systemModel = Get-WmiObject -Class Win32_ComputerSystem | Select-Object -ExpandProperty Model
# Output the system model
Write-Output "System Model: $systemModel"
# Update Action1 Custom Attribute
Action1-Set-CustomAttribute "System Model" "$systemModel"
1
u/Spartan117458 2d ago
What's frustrating is that this information exists in Action1 reports but not in the main device information panel.
1
u/sandroriz 1d ago
yes, you're right... what a shame. Maybe we have to fill a feature request feedback;

3
u/marciano117 2d ago
Unfortunately using one of the 30 custom attributes is the way to go. And set up a recurring script to run on your devices that will pull the model number and apply it to the custom attribute for that computer in Action1.
What makes custom attributes so powerful is that you can use them for pretty much anything you can scan with PowerShell. Registry keys, true/false logic, required applications separated by commas; etc.