AssetWise CONNECT Edition Implementation Guide

Running PowerShell Script as a Non-Admin User

PowerShell scripts must be run with administrator permissions, therefore if your user acccount is not part of the administrators users group on that computer, you must follow these steps to grant your user account with PowerShell permissions in order to run PowerShell script.

  1. Open PowerShell.
  2. Enter the following command: Set-PSSessionConfiguration -Name Microsoft.Powershell -ShowSecurityDescriptorUI
    A confirmation dialog appears.
  3. Click Yes to confirm. A Permissions dialog appears.
  4. In the Permissions dialog, in the Group or User Names section, select the current user, and then select Allow for Full Control/All Operations. For example,
  5. Click Yes to confirm that you want to perform the action.
  6. Click OK and then click Yes to confirm.
The user account is granted administrative privileges for PowerShell.