• /r/powershell
  • Quick question about credentials

    So I’m going to run a script through Task Scheduler and will therefore run it with a “service” domain admin account with the necessary permissions. To do some ssh stuff I need to save the ssh credentials. The problem arises when I save the credentials like this: $username = “Administrator” $password = ConvertTo-SecureString -String “password” […]

  • /r/powershell
  • Need help automating a process

    I’m trying to automate opening device manager check com ports for device ‘x’, record com port variable. open non-windows exe, click file->open->’database’-okay. right click properties->check box->close properties. expand tree->right click properties->verify correct com port ‘x’->close properties. click radio button Is this possible through powershell? submitted by /u/lariosl [link] [comments]