pull/333/head
aleff-github 2023-06-08 08:59:18 +02:00
parent e0ecba2a31
commit 8976a0e22d
4 changed files with 30 additions and 0 deletions

View File

@ -0,0 +1,30 @@
# Starting a PowerShell with administrator permissions in Windows 10/11
This script can be considered by people who are new to the world of scripts written in DuckyScript so that they can understand how to start a PowerShell with administrator permissions on a Windows machine.
**Category**: Execute
## Description
This script can be considered by people who are new to the world of scripts written in DuckyScript so that they can understand how to start a PowerShell with administrator permissions on a Windows machine.
Starting a PowerShell session with administrator privileges means the session has access to features and operations that require high permissions on the Windows operating system.
Some PowerShell commands require administrator privileges to run properly. Starting PowerShell as an administrator allows you to execute commands that require elevated permissions, such as managing system services, changing security settings, creating or modifying user accounts, installing system-level software, and so on.
It is important to note that running PowerShell with administrator privileges involves a higher level of responsibility and can cause significant changes to the system. Therefore, it is advisable to be careful and fully understand the effects of operations performed in a session with administrator privileges to avoid unwanted or harmful changes.
## Dependencies
* Nothing
## Example
- `STRINGLN Get-ExecutionPolicy -List`
![](docs/1.png)
- `STRINGLN Set-ExecutionPolicy Bypass`
![](docs/2.png)
- `STRINGLN Get-ExecutionPolicy -List`
![](docs/3.png)

Binary file not shown.

After

Width:  |  Height:  |  Size: 25 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 57 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 65 KiB