About 5,780 results
Open links in new tab
  1. How to run a powershell script in admin account

    runas /user: {domain}\ {username} powershell -file {nameOfPowershellScript.ps1} if you need to do this from another powershell script, you could use the Get-Credential cmdlet to prompt the …

  2. Run Powershell Script from SCCM in logged in user context using …

    May 4, 2019 · Generally you wouldn't need admin rights to add keys or delete "things" from a user location be it file or registry. You only really require elevated permissions when trying to …

  3. WSUS getadminserver fails to connect when run locally on WSUS …

    I'm trying to automate cleanup of our WSUS server using a PS script which works when run remotely, but throws errors when run on the server hosting WSUS. These exception errors are …

  4. PowerShell launching in Constrained Language Mode despite SRP …

    Jul 26, 2018 · When I launch PowerShell as a non-admin user, I am placed in Constrained Language Mode, despite SRP and AppLocker being disabled. When run as an administrator, …

  5. Can We Do Remote PSSession Without Using Domain Admin …

    0 Sign in to vote if you need to connect from workgroup to AD Server, 1) Open Powershell with Run as Administrator on workgroup computer 2) Run this command on workgroup OS: Set …

  6. Sharepoint on premise site connection issue using powershell

    doesn't matter where the site is coming from. are you able to browse the site from your client machine ? if so, you need to be a Site Collection Admin and run below commands in your …

  7. Powershell Path variable and running a command

    Command is test123.bat -user -password, which is located in the C:\windows\temp folder.

  8. Reducing Powershell CPU Usage During Start?

    I often run Powershell processes on my server and find the CPU usage spiking up because of this unacceptable.

  9. Pass File Path To powershell.exe via Start-Process With Spaces

    I am attempting to use the code below (borrowed from some other sites) that help elevate the PS window if not running as admin. It runs fine, but if I run it from a path or script name with …

  10. SET-ACL only works with Administrator privilage

    I need to run a Powershell script to rebuild file's acl from parent folder, it only works when acount runing Powershell Script has admin privileges on server.