simong
Members
-
Joined
-
Last visited
Reputation Activity
-
simong got a reaction from Paul in Windows OS with Hostnames > 15 Characters not displayingThanks Paul!
I think I have worked around it by modifying the script "Set Pulseway Computer Name to Hostname" to use hostname.exe command:
...... $hostname = hostname.exe $PulsewayName = $VenueName +":::" + $hostname ...... Set-ItemProperty -Path "HKLM:\Software\MMSOFT Design\PC Monitor\" -Name ComputerName -Value $PulsewayName ..... I have some small changes to make but this is automating bringing in the customer name and hostname. We use a single agent file so it makes it MUCH easier to move them from the Server Admin screen if the name reflects the Customer (our host names are common to most customers).Â
Cheers
Simon!