- Remote Desktop On Mac
-
Monitor Apple clients using Webroot AV
Is it not possible to manage/monitor Apple clients using Webroot AV, in the Pulseway admin? I can see the apple clients in the Webroot portal, but not in Pulseway. Thanks!
-
Setting the Pulseway Computer name to the Locally logged in username
Ok, that makes more sense. In that case I needed to take advantage of WMI. My final code is this, which works great! $temp = Get-WmiObject -Class Win32_ComputerSystem | Select-Object -ExpandProperty username $UserName = $temp -replace ".*\\", "" Set-ItemProperty -Path "HKLM:\Software\MMSOFT Design\PC Monitor\" -Name ComputerName -Value "$UserName" Thanks for the help!
-
Setting the Pulseway Computer name to the Locally logged in username
Hi Paul, I'm still not sure I understand where these commands are being executed. To me, they seem to be executing on the target local machine, because it is able to successfully "SET" the username, however, it can't seem to read the currently logged in user. I also tested this, but the result is, it simply sets the Pulseway name to the Hostname ... $key = 'HKCU:\Volatile Environment' $UserName = (Get-ItemProperty -Path $key -Name USERNAME).USERNAME Set-ItemProperty -Path "HKLM:\Software\MMSOFT Design\PC Monitor\" -Name ComputerName -Value "$UserName" Again, this works from the local workstation, but not as a script. Is there a way to debug the scripts in Pulseway, and get output directly in Pulseway, as opposed to just plugging in the script and running it to see results?
-
Setting the Pulseway Computer name to the Locally logged in username
Is there then another way where I can extract the locally logged in user and assign that to the PulseWay name? The few examples I found were all for domain accounts.
-
level42 joined the community
-
Setting the Pulseway Computer name to the Locally logged in username
So, I have this: Set-ItemProperty -Path "HKLM:\Software\MMSOFT Design\PC Monitor\" -Name ComputerName -Value "$env:UserName" Which works great from the local machine via PowerShell, However, when I try to run this as a script/task, the name just shows up as "HOSTNAME$" Any ideas why?
level42
Members
-
Joined
-
Last visited