Jump to content

Dashboard 8.5.0 cannot edit agent configs for agent version 9.0+


techtedg

Recommended Posts

The PC Dashboard desktop app cannot edit the local agent config for any agent that is version 9.0+, is there a new dashboard release coming? "Edit system settings" from the dashboard results in "unsupported config" error.

 

On a side note, is there any other way to modify the agent config besides logging in and using the local manager app? I don't see a way to do that in the web app.

Link to comment
Share on other sites

I can edit the policies that apply to multiple endpoints, but i can't edit individual agent configs like i can with the Dashboard app.

 We only need to edit the individual agent config when we need to change the agent's name in Pulseway. We name our agents "First Last (hostname)", and when we move a PC to another user we need to update the name. Is there a better way to do this?

Link to comment
Share on other sites

  • Administrators

Hi @techtedg,

You can definitely do this through an automation script. You can create a custom field called "AssignedUser" and make it be of system scope. Then assign the custom field to the systems you want to name (you don't have to do it for all systems, the script I have built below will only overwrite the computer name for systems that have a custom field value assigned). Then you will need to create a powershell automation script, add an input variable that is bound to the custom field you've just created and use the powershell script below:

$AssignedUser = ''; # this will get automatically generated for you when you create the input variable, you don't need to add this line

if ([string]::IsNullOrEmpty($AssignedUser)) {
    Write-Output "Missing AssignedUser custom field value, aborting...";
	exit 0;
}

$newComputerName = "$AssignedUser $env:COMPUTERNAME";
Set-ItemProperty -Path 'HKLM:\SOFTWARE\MMSOFT Design\PC Monitor' -Name 'ComputerName' -Value $newComputerName;
Write-Output "Computer display name changed to '$newComputerName'.";
exit 0;

Let me know how it goes

-Paul

Link to comment
Share on other sites

OK, we will look into that. I guess we just have to run the script and it will update the agent name with whatever we have put in the customer field for that agent. I like it!

 

Any update on when there will be a new version of the Dashboard that support editing configs for v9+?

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...