Jump to content

level42

Members
  • Posts

    6
  • Joined

  • Last visited

Everything posted by level42

  1. Hey @Chris is there any update on this? Are we still on track for Mac Remote Desktop?
  2. 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!
  3. 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!
  4. 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?
  5. 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.
  6. 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?
×
×
  • Create New...