diff --git a/windows/configuration/shell-launcher/index.md b/windows/configuration/shell-launcher/index.md index c62d38837a..bcdfe0fba9 100644 --- a/windows/configuration/shell-launcher/index.md +++ b/windows/configuration/shell-launcher/index.md @@ -86,25 +86,25 @@ This example uses a Windows image called install.wim, but you can use the same p 1. Copy install.wim to a temporary folder on hard drive (in the following steps, we assume it's called C:\\wim). 1. Create a new directory. - ```CMD + ```cmd md c:\wim ``` 1. Mount the image. - ```CMD + ```cmd dism /mount-wim /wimfile:c:\bootmedia\sources\install.wim /index:1 /MountDir:c:\wim ``` 1. Enable the feature. - ```CMD + ```cmd dism /image:c:\wim /enable-feature /all /featureName:Client-EmbeddedShellLauncher ``` 1. Commit the change. - ```CMD + ```cmd dism /unmount-wim /MountDir:c:\wim /Commit ``` diff --git a/windows/configuration/shell-launcher/wedl-assignedaccess.md b/windows/configuration/shell-launcher/wedl-assignedaccess.md index acdd00a9df..aa991281b3 100644 --- a/windows/configuration/shell-launcher/wedl-assignedaccess.md +++ b/windows/configuration/shell-launcher/wedl-assignedaccess.md @@ -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; diff --git a/windows/configuration/shell-launcher/wesl-usersetting.md b/windows/configuration/shell-launcher/wesl-usersetting.md index 4e3cf46894..56ab9c4ffc 100644 --- a/windows/configuration/shell-launcher/wesl-usersetting.md +++ b/windows/configuration/shell-launcher/wesl-usersetting.md @@ -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; diff --git a/windows/configuration/shell-launcher/wesl-usersettinggetcustomshell.md b/windows/configuration/shell-launcher/wesl-usersettinggetcustomshell.md index 98c7eaa8c3..f36d7aeb54 100644 --- a/windows/configuration/shell-launcher/wesl-usersettinggetcustomshell.md +++ b/windows/configuration/shell-launcher/wesl-usersettinggetcustomshell.md @@ -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, diff --git a/windows/configuration/shell-launcher/wesl-usersettinggetdefaultshell.md b/windows/configuration/shell-launcher/wesl-usersettinggetdefaultshell.md index 3a7f52dfd3..31d20adae5 100644 --- a/windows/configuration/shell-launcher/wesl-usersettinggetdefaultshell.md +++ b/windows/configuration/shell-launcher/wesl-usersettinggetdefaultshell.md @@ -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 diff --git a/windows/configuration/shell-launcher/wesl-usersettingisenabled.md b/windows/configuration/shell-launcher/wesl-usersettingisenabled.md index 0b2753c1c7..5ed82b449e 100644 --- a/windows/configuration/shell-launcher/wesl-usersettingisenabled.md +++ b/windows/configuration/shell-launcher/wesl-usersettingisenabled.md @@ -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 ); diff --git a/windows/configuration/shell-launcher/wesl-usersettingremovecustomshell.md b/windows/configuration/shell-launcher/wesl-usersettingremovecustomshell.md index 6fead06a2b..63bb9b7782 100644 --- a/windows/configuration/shell-launcher/wesl-usersettingremovecustomshell.md +++ b/windows/configuration/shell-launcher/wesl-usersettingremovecustomshell.md @@ -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 ); diff --git a/windows/configuration/shell-launcher/wesl-usersettingsetcustomshell.md b/windows/configuration/shell-launcher/wesl-usersettingsetcustomshell.md index 0d3a9a6045..a83258af31 100644 --- a/windows/configuration/shell-launcher/wesl-usersettingsetcustomshell.md +++ b/windows/configuration/shell-launcher/wesl-usersettingsetcustomshell.md @@ -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, diff --git a/windows/configuration/shell-launcher/wesl-usersettingsetdefaultshell.md b/windows/configuration/shell-launcher/wesl-usersettingsetdefaultshell.md index efe4587efe..6f8e169487 100644 --- a/windows/configuration/shell-launcher/wesl-usersettingsetdefaultshell.md +++ b/windows/configuration/shell-launcher/wesl-usersettingsetdefaultshell.md @@ -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 diff --git a/windows/configuration/shell-launcher/wesl-usersettingsetenabled.md b/windows/configuration/shell-launcher/wesl-usersettingsetenabled.md index c143bf6206..ca5dbebba8 100644 --- a/windows/configuration/shell-launcher/wesl-usersettingsetenabled.md +++ b/windows/configuration/shell-launcher/wesl-usersettingsetenabled.md @@ -13,7 +13,7 @@ This method enables or disables Shell Launcher. ## Syntax -```powershell +```mof [Static] uint32 SetEnabled( [In, Required] boolean Enabled );