Merge branch 'main' of https://github.com/MicrosoftDocs/windows-docs-pr into commdeadline-9091858

This commit is contained in:
Meghan Stewart 2025-03-10 15:36:42 -07:00
commit 7a54c985f3
10 changed files with 31 additions and 36 deletions

View File

@ -31,10 +31,5 @@ jobs:
PayloadJson: ${{ needs.download-payload.outputs.WorkflowPayload }} PayloadJson: ${{ needs.download-payload.outputs.WorkflowPayload }}
secrets: secrets:
AccessToken: ${{ secrets.GITHUB_TOKEN }} AccessToken: ${{ secrets.GITHUB_TOKEN }}
TeamReadAccessToken: ${{ secrets.ORG_READTEAMS_TOKEN }} ClientId: ${{ secrets.M365_APP_CLIENT_ID }}
PrivateKey: ${{ secrets.M365_APP_PRIVATE_KEY }}

View File

@ -13,7 +13,7 @@ This Windows Management Instrumentation (WMI) provider class configures settings
## Syntax ## Syntax
```powershell ```mof
class WEDL_AssignedAccess { class WEDL_AssignedAccess {
[Key] string UserSID; [Key] string UserSID;
[Read, Write] string AppUserModelId; [Read, Write] string AppUserModelId;

View File

@ -13,7 +13,7 @@ This class configures which application Shell Launcher starts based on the secur
## Syntax ## Syntax
```powershell ```mof
class WESL_UserSetting { class WESL_UserSetting {
[read, write, Required] string Sid; [read, write, Required] string Sid;
[read, write, Required] string Shell; [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 | | Property | Data type | Qualifiers | Description |
|----------|----------------|------------|-------------| |----------|----------------|------------|-------------|
| **Sid** | string | [read, write, required] | User or group SID. | | **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. | | **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. | | **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. | | **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 ### Remarks

View File

@ -13,7 +13,7 @@ This method retrieves the Shell Launcher configuration for a specific user or gr
## Syntax ## Syntax
```powershell ```mof
[Static] uint32 GetCustomShell ( [Static] uint32 GetCustomShell (
[In, Required] string Sid, [In, Required] string Sid,
[Out, Required] string Shell, [Out, Required] string Shell,
@ -25,13 +25,13 @@ This method retrieves the Shell Launcher configuration for a specific user or gr
## Parameters ## 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: 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. | | 2 | Shut down the device. |
| 3 | Do nothing. | | 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: The possible actions are defined in the following table:

View File

@ -13,7 +13,7 @@ This method retrieves the default Shell Launcher configuration.
## Syntax ## Syntax
```powershell ```mof
[Static] uint32 GetDefaultShell ( [Static] uint32 GetDefaultShell (
[Out, Required] string Shell, [Out, Required] string Shell,
[Out, Required] sint32 DefaultAction [Out, Required] sint32 DefaultAction
@ -22,9 +22,9 @@ This method retrieves the default Shell Launcher configuration.
## Parameters ## 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: The possible actions are defined in the following table:

View File

@ -13,7 +13,7 @@ This method retrieves a value that indicates if Shell Launcher is enabled or dis
## Syntax ## Syntax
```powershell ```mof
[Static] uint32 IsEnabled( [Static] uint32 IsEnabled(
[Out, Required] boolean Enabled [Out, Required] boolean Enabled
); );
@ -21,7 +21,7 @@ This method retrieves a value that indicates if Shell Launcher is enabled or dis
## Parameters ## 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 ## Return Value

View File

@ -13,7 +13,7 @@ This method removes a Shell Launcher configuration for a specific user or group,
## Syntax ## Syntax
```powershell ```mof
[Static] uint32 RemoveCustomShell ( [Static] uint32 RemoveCustomShell (
[In, Required] string Sid [In, Required] string Sid
); );
@ -21,7 +21,7 @@ This method removes a Shell Launcher configuration for a specific user or group,
## Parameters ## 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 ## Return Value

View File

@ -13,7 +13,7 @@ This method configures Shell Launcher for a specific user or group, based on the
## Syntax ## Syntax
```powershell ```mof
[Static] uint32 SetCustomShell ( [Static] uint32 SetCustomShell (
[In, Required] string Sid, [In, Required] string Sid,
[In, Required] string Shell, [In, Required] string Shell,
@ -25,13 +25,13 @@ This method configures Shell Launcher for a specific user or group, based on the
## Parameters ## 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: 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. | | 2 | Shut down the device. |
| 3 | Do nothing. | | 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: The possible actions are defined in the following table:

View File

@ -13,7 +13,7 @@ This method sets the default Shell Launcher configuration.
## Syntax ## Syntax
```powershell ```mof
[Static] uint32 SetDefaultShell ( [Static] uint32 SetDefaultShell (
[In, Required] string Shell, [In, Required] string Shell,
[In, Required] sint32 DefaultAction [In, Required] sint32 DefaultAction
@ -22,9 +22,9 @@ This method sets the default Shell Launcher configuration.
## Parameters ## 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: The possible actions are defined in the following table:

View File

@ -13,7 +13,7 @@ This method enables or disables Shell Launcher.
## Syntax ## Syntax
```powershell ```mof
[Static] uint32 SetEnabled( [Static] uint32 SetEnabled(
[In, Required] boolean Enabled [In, Required] boolean Enabled
); );
@ -21,7 +21,7 @@ This method enables or disables Shell Launcher.
## Parameters ## 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 ## Return Value