Jump to content

Scroggums

Members
  • Posts

    3
  • Joined

  • Last visited

Reputation Activity

  1. Upvote
    Scroggums reacted to Paul in Device Rename Error. (Locally tested fine)   
    When you run scripts through Pulseway they run as the local SYSTEM user which is the computer name with a dollar sign at the end. You could use a WMI query to get the username instead like this:
    But make sure that you account for the case when there's no user logged into the system.
    -Paul
×
×
  • Create New...