Mokymas
Modulis
Gestire le impostazioni per un computer Windows locale usando i cmdlet di PowerShell - Training
Questo modulo illustra i cmdlet comuni di PowerShell che è possibile usare per eseguire attività in un computer Windows 10 locale.
Ši naršyklė nebepalaikoma.
Atnaujinkite į „Microsoft Edge“, kad pasinaudotumėte naujausiomis funkcijomis, saugos naujinimais ir techniniu palaikymu.
Scope | Editions | Applicable OS |
---|---|---|
✅ Device ❌ User |
✅ Pro ✅ Enterprise ✅ Education ✅ Windows SE ✅ IoT Enterprise / IoT Enterprise LTSC |
✅ Windows 11, version 24H2 [10.0.26100] and later |
./Device/Vendor/MSFT/Policy/Config/Sudo/EnableSudo
This policy setting controls use of the sudo.exe command line tool.
"Disabled": sudo is entirely disabled on this machine. When the user tries to run sudo, sudo will print an error message and exit.
"Force new window": When sudo launches a command line application, it will launch that app in a new console window.
"Disable input": When sudo launches a command line application, it will launch the app in the current console window, but the user won't be able to type input to the command line app. The user may also choose to run sudo in "Force new window" mode.
"Normal": When sudo launches a command line application, it will launch the app in the current console window. The user may also choose to run sudo in "Force new window" or "Disable input" mode.
Description framework properties:
Property name | Property value |
---|---|
Format | int |
Access Type | Add, Delete, Get, Replace |
Default Value | 3 |
Allowed values:
Value | Description |
---|---|
0 | Sudo is disabled. |
1 | Sudo is allowed in 'force new window' mode. |
2 | Sudo is allowed in 'disable input' mode. |
3 (Default) | Sudo is allowed in 'inline' mode. |
Group policy mapping:
Name | Value |
---|---|
Name | EnableSudo |
Friendly Name | Configure the behavior of the sudo command |
Location | Computer Configuration |
Path | System |
Registry Key Name | Software\Policies\Microsoft\Windows\Sudo |
ADMX File Name | Sudo.admx |
Mokymas
Modulis
Gestire le impostazioni per un computer Windows locale usando i cmdlet di PowerShell - Training
Questo modulo illustra i cmdlet comuni di PowerShell che è possibile usare per eseguire attività in un computer Windows 10 locale.
Dokumentacija
Provider di servizi di configurazione dei criteri AppDeviceInventory
Altre informazioni sull'area AppDeviceInventory in Policy CSP.
Provider di servizi di configurazione dei criteri di messaggistica
Altre informazioni sull'area Messaggistica in Policy CSP.
Provider di servizi di configurazione dei criteri di sistema
Altre informazioni sull'area di sistema in Policy CSP.More about the System Area in Policy CSP.