mirror of
https://github.com/MicrosoftDocs/windows-itpro-docs.git
synced 2025-05-14 06:17:22 +00:00
Merge branch 'main' of https://github.com/MicrosoftDocs/windows-docs-pr into commdeadline-9091858
This commit is contained in:
commit
7a54c985f3
@ -31,10 +31,5 @@ jobs:
|
||||
PayloadJson: ${{ needs.download-payload.outputs.WorkflowPayload }}
|
||||
secrets:
|
||||
AccessToken: ${{ secrets.GITHUB_TOKEN }}
|
||||
TeamReadAccessToken: ${{ secrets.ORG_READTEAMS_TOKEN }}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
ClientId: ${{ secrets.M365_APP_CLIENT_ID }}
|
||||
PrivateKey: ${{ secrets.M365_APP_PRIVATE_KEY }}
|
||||
|
@ -13,7 +13,7 @@ This Windows Management Instrumentation (WMI) provider class configures settings
|
||||
|
||||
## Syntax
|
||||
|
||||
```powershell
|
||||
```mof
|
||||
class WEDL_AssignedAccess {
|
||||
[Key] string UserSID;
|
||||
[Read, Write] string AppUserModelId;
|
||||
|
@ -13,7 +13,7 @@ This class configures which application Shell Launcher starts based on the secur
|
||||
|
||||
## Syntax
|
||||
|
||||
```powershell
|
||||
```mof
|
||||
class WESL_UserSetting {
|
||||
[read, write, Required] string Sid;
|
||||
[read, write, Required] string Shell;
|
||||
@ -76,10 +76,10 @@ The following tables list any methods and properties that belong to this class.
|
||||
| Property | Data type | Qualifiers | Description |
|
||||
|----------|----------------|------------|-------------|
|
||||
| **Sid** | string | [read, write, required] | User or group SID. |
|
||||
| **shell** | string | [read, write, required] | The application to start as the shell.</br>The **shell** property can be a filename in the *Path* environment variable, or it can contain a fully qualified path to the application. You can also use environment variables in the path.</br>Any spaces in the **shell** property must be part of a quote-delimited string. |
|
||||
| **shell** | string | [read, write, required] | The application to start as the shell.<br/>The **shell** property can be a filename in the *Path* environment variable, or it can contain a fully qualified path to the application. You can also use environment variables in the path.<br/>Any spaces in the **shell** property must be part of a quote-delimited string. |
|
||||
| **CustomReturnCodes** | Sint32[] |[read, write] | An array of custom return codes that can be returned by the shell. |
|
||||
| **CustomReturnCodesAction** | Sint32[] | [read, write] | An array of custom return code actions that determine what action Shell Launcher takes when the shell exits. The custom actions map to the array of **CustomReturnCodes**.</br>The possible actions are:</br>0 - Restart the shell.</br>1 - Restart the device.</br>2 - Shut down the device.</br>3 - Do nothing. |
|
||||
| **DefaultAction** | Sint32 | [read, write] | The default action Shell Launcher takes when the shell exits.</br>The possible actions are defined as follows:</br>0 - Restart the shell.</br>1 - Restart the device.</br>2 - Shut down the device.</br>3 - Do nothing. |
|
||||
| **CustomReturnCodesAction** | Sint32[] | [read, write] | An array of custom return code actions that determine what action Shell Launcher takes when the shell exits. The custom actions map to the array of **CustomReturnCodes**.<br/>The possible actions are:<br/>0 - Restart the shell.<br/>1 - Restart the device.<br/>2 - Shut down the device.<br/>3 - Do nothing. |
|
||||
| **DefaultAction** | Sint32 | [read, write] | The default action Shell Launcher takes when the shell exits.<br/>The possible actions are defined as follows:<br/>0 - Restart the shell.<br/>1 - Restart the device.<br/>2 - Shut down the device.<br/>3 - Do nothing. |
|
||||
|
||||
### Remarks
|
||||
|
||||
|
@ -13,7 +13,7 @@ This method retrieves the Shell Launcher configuration for a specific user or gr
|
||||
|
||||
## Syntax
|
||||
|
||||
```powershell
|
||||
```mof
|
||||
[Static] uint32 GetCustomShell (
|
||||
[In, Required] string Sid,
|
||||
[Out, Required] string Shell,
|
||||
@ -25,13 +25,13 @@ This method retrieves the Shell Launcher configuration for a specific user or gr
|
||||
|
||||
## Parameters
|
||||
|
||||
**Sid**</br>\[in, required\] A string containing the security identifier (SID) of the user or group that Shell Launcher is configured for.
|
||||
**Sid**<br/>\[in, required\] A string containing the security identifier (SID) of the user or group that Shell Launcher is configured for.
|
||||
|
||||
**Shell**</br>\[out, required\] The application or executable that Shell Launcher starts as the shell.
|
||||
**Shell**<br/>\[out, required\] The application or executable that Shell Launcher starts as the shell.
|
||||
|
||||
**CustomReturnCodes**</br>\[out, required\] An array of custom return codes returned by the shell application.
|
||||
**CustomReturnCodes**<br/>\[out, required\] An array of custom return codes returned by the shell application.
|
||||
|
||||
**CustomReturnCodesAction**</br>\[out, required\] An array of custom return code actions that determine the action that Shell Launcher takes when the shell application exits. The custom actions map to the array of *CustomReturnCodes*.
|
||||
**CustomReturnCodesAction**<br/>\[out, required\] An array of custom return code actions that determine the action that Shell Launcher takes when the shell application exits. The custom actions map to the array of *CustomReturnCodes*.
|
||||
|
||||
The possible actions are defined in the following table:
|
||||
|
||||
@ -42,7 +42,7 @@ The possible actions are defined in the following table:
|
||||
| 2 | Shut down the device. |
|
||||
| 3 | Do nothing. |
|
||||
|
||||
**DefaultAction**</br>\[out, required\] The default action that Shell Launcher takes when the shell application exits.
|
||||
**DefaultAction**<br/>\[out, required\] The default action that Shell Launcher takes when the shell application exits.
|
||||
|
||||
The possible actions are defined in the following table:
|
||||
|
||||
|
@ -13,7 +13,7 @@ This method retrieves the default Shell Launcher configuration.
|
||||
|
||||
## Syntax
|
||||
|
||||
```powershell
|
||||
```mof
|
||||
[Static] uint32 GetDefaultShell (
|
||||
[Out, Required] string Shell,
|
||||
[Out, Required] sint32 DefaultAction
|
||||
@ -22,9 +22,9 @@ This method retrieves the default Shell Launcher configuration.
|
||||
|
||||
## Parameters
|
||||
|
||||
**Shell**</br>\[out, required\] The application or executable that Shell Launcher starts as the shell.
|
||||
**Shell**<br/>\[out, required\] The application or executable that Shell Launcher starts as the shell.
|
||||
|
||||
**DefaultAction**</br>\[out, required\] The default action Shell Launcher takes when the shell application exits.
|
||||
**DefaultAction**<br/>\[out, required\] The default action Shell Launcher takes when the shell application exits.
|
||||
|
||||
The possible actions are defined in the following table:
|
||||
|
||||
|
@ -13,7 +13,7 @@ This method retrieves a value that indicates if Shell Launcher is enabled or dis
|
||||
|
||||
## Syntax
|
||||
|
||||
```powershell
|
||||
```mof
|
||||
[Static] uint32 IsEnabled(
|
||||
[Out, Required] boolean Enabled
|
||||
);
|
||||
@ -21,7 +21,7 @@ This method retrieves a value that indicates if Shell Launcher is enabled or dis
|
||||
|
||||
## Parameters
|
||||
|
||||
**Enabled**</br>\[out, required\] A Boolean value that indicates if Shell Launcher is enabled.
|
||||
**Enabled**<br/>\[out, required\] A Boolean value that indicates if Shell Launcher is enabled.
|
||||
|
||||
## Return Value
|
||||
|
||||
|
@ -13,7 +13,7 @@ This method removes a Shell Launcher configuration for a specific user or group,
|
||||
|
||||
## Syntax
|
||||
|
||||
```powershell
|
||||
```mof
|
||||
[Static] uint32 RemoveCustomShell (
|
||||
[In, Required] string Sid
|
||||
);
|
||||
@ -21,7 +21,7 @@ This method removes a Shell Launcher configuration for a specific user or group,
|
||||
|
||||
## Parameters
|
||||
|
||||
**Sid**</br>\[in, required\] A string containing the security identifier (SID) of the user or group that Shell Launcher is configured for.
|
||||
**Sid**<br/>\[in, required\] A string containing the security identifier (SID) of the user or group that Shell Launcher is configured for.
|
||||
|
||||
## Return Value
|
||||
|
||||
|
@ -13,7 +13,7 @@ This method configures Shell Launcher for a specific user or group, based on the
|
||||
|
||||
## Syntax
|
||||
|
||||
```powershell
|
||||
```mof
|
||||
[Static] uint32 SetCustomShell (
|
||||
[In, Required] string Sid,
|
||||
[In, Required] string Shell,
|
||||
@ -25,13 +25,13 @@ This method configures Shell Launcher for a specific user or group, based on the
|
||||
|
||||
## Parameters
|
||||
|
||||
**Sid**</br>\[in, required\] A string containing the security identifier (SID) of the user or group that Shell Launcher is being configured for.
|
||||
**Sid**<br/>\[in, required\] A string containing the security identifier (SID) of the user or group that Shell Launcher is being configured for.
|
||||
|
||||
**Shell**</br>\[in, required\] The application or executable that Shell Launcher starts as the shell.
|
||||
**Shell**<br/>\[in, required\] The application or executable that Shell Launcher starts as the shell.
|
||||
|
||||
**CustomReturnCodes**</br>\[in\] An array of custom return codes that can be returned by the shell application.
|
||||
**CustomReturnCodes**<br/>\[in\] An array of custom return codes that can be returned by the shell application.
|
||||
|
||||
**CustomReturnCodesAction**</br>\[in\] An array of custom return code actions that determine the action that Shell Launcher takes when the shell application exits. The custom actions map to the array of *CustomReturnCodes*.
|
||||
**CustomReturnCodesAction**<br/>\[in\] An array of custom return code actions that determine the action that Shell Launcher takes when the shell application exits. The custom actions map to the array of *CustomReturnCodes*.
|
||||
|
||||
The possible actions are defined in the following table:
|
||||
|
||||
@ -42,7 +42,7 @@ The possible actions are defined in the following table:
|
||||
| 2 | Shut down the device. |
|
||||
| 3 | Do nothing. |
|
||||
|
||||
**DefaultAction**</br>\[In\] The default action that Shell Launcher takes when the shell application exits.
|
||||
**DefaultAction**<br/>\[In\] The default action that Shell Launcher takes when the shell application exits.
|
||||
|
||||
The possible actions are defined in the following table:
|
||||
|
||||
|
@ -13,7 +13,7 @@ This method sets the default Shell Launcher configuration.
|
||||
|
||||
## Syntax
|
||||
|
||||
```powershell
|
||||
```mof
|
||||
[Static] uint32 SetDefaultShell (
|
||||
[In, Required] string Shell,
|
||||
[In, Required] sint32 DefaultAction
|
||||
@ -22,9 +22,9 @@ This method sets the default Shell Launcher configuration.
|
||||
|
||||
## Parameters
|
||||
|
||||
**Shell**</br>\[in, required\] The application or executable that Shell Launcher starts as the shell.
|
||||
**Shell**<br/>\[in, required\] The application or executable that Shell Launcher starts as the shell.
|
||||
|
||||
**DefaultAction**</br>\[in, required\] The default action that Shell Launcher takes when the *Shell* application exits.
|
||||
**DefaultAction**<br/>\[in, required\] The default action that Shell Launcher takes when the *Shell* application exits.
|
||||
|
||||
The possible actions are defined in the following table:
|
||||
|
||||
|
@ -13,7 +13,7 @@ This method enables or disables Shell Launcher.
|
||||
|
||||
## Syntax
|
||||
|
||||
```powershell
|
||||
```mof
|
||||
[Static] uint32 SetEnabled(
|
||||
[In, Required] boolean Enabled
|
||||
);
|
||||
@ -21,7 +21,7 @@ This method enables or disables Shell Launcher.
|
||||
|
||||
## Parameters
|
||||
|
||||
**Enabled**</br>\[in, required\] A Boolean value that indicates whether to enable or disable Shell Launcher.
|
||||
**Enabled**<br/>\[in, required\] A Boolean value that indicates whether to enable or disable Shell Launcher.
|
||||
|
||||
## Return Value
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user