Elevate Powershell scripts

前端 未结 5 1369
深忆病人
深忆病人 2020-12-13 22:38

Is it possible to elevate the permissions of a powershell script so a user without admin privileges can run the script? Our network admins are trying to find more time-effi

5条回答
  •  死守一世寂寞
    2020-12-13 23:27

    It sounds like you are looking for a sudo equivalent in windows. Sudo is not inherent to Windows as it is to most Unix style environments. But there are several tools available that are close equivalents.

    • http://sourceforge.net/projects/sudowin
    • http://sudown.sourceforge.net/

    Be wary when using these types of tools though. An unhardened script + sudo is a security risk.

提交回复
热议问题