From 860f21377101796cdffe915d9c95dde9fe0eff23 Mon Sep 17 00:00:00 2001 From: MaratMussabekov <48041687+MaratMussabekov@users.noreply.github.com> Date: Sat, 28 Aug 2021 21:24:43 +0500 Subject: [PATCH 1/7] Update Set-PrintConfiguration.md --- .../winserver2019-ps/printmanagement/Set-PrintConfiguration.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docset/winserver2019-ps/printmanagement/Set-PrintConfiguration.md b/docset/winserver2019-ps/printmanagement/Set-PrintConfiguration.md index 824e1cfe3f..d674759585 100644 --- a/docset/winserver2019-ps/printmanagement/Set-PrintConfiguration.md +++ b/docset/winserver2019-ps/printmanagement/Set-PrintConfiguration.md @@ -77,7 +77,7 @@ The final command sets the value of the printer configuration to the modified va ### Example 3: Set the default paper size of all printers ``` -PS C:\>$Printers = Get-Printer * Foreach ($Printer in $Printers){ Set-PrintConfiguration -PrinterName $Printer.name -PaperSize A4} +PS C:\>$Printers = Get-Printer ; Foreach ($Printer in $Printers){ Set-PrintConfiguration -PrinterName $Printer.name -PaperSize A4} ``` This command gets all the printers into a variable $Printers and then loops through all the printers and displays the properties. From b9e4eec2c2a41257a47d8cd5839053fd09100179 Mon Sep 17 00:00:00 2001 From: MaratMussabekov <48041687+MaratMussabekov@users.noreply.github.com> Date: Fri, 3 Sep 2021 14:18:04 +0500 Subject: [PATCH 2/7] Update docset/winserver2019-ps/printmanagement/Set-PrintConfiguration.md Co-authored-by: Dario Woitasen <33589238+dariomws@users.noreply.github.com> --- .../winserver2019-ps/printmanagement/Set-PrintConfiguration.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docset/winserver2019-ps/printmanagement/Set-PrintConfiguration.md b/docset/winserver2019-ps/printmanagement/Set-PrintConfiguration.md index d674759585..55e3911903 100644 --- a/docset/winserver2019-ps/printmanagement/Set-PrintConfiguration.md +++ b/docset/winserver2019-ps/printmanagement/Set-PrintConfiguration.md @@ -77,7 +77,7 @@ The final command sets the value of the printer configuration to the modified va ### Example 3: Set the default paper size of all printers ``` -PS C:\>$Printers = Get-Printer ; Foreach ($Printer in $Printers){ Set-PrintConfiguration -PrinterName $Printer.name -PaperSize A4} +PS C:\> $Printers = Get-Printer ; Foreach ($Printer in $Printers){Set-PrintConfiguration -PrinterName $Printer.name -PaperSize A4} ``` This command gets all the printers into a variable $Printers and then loops through all the printers and displays the properties. From e2893c99073ed752437e4147baca60a5e5a7bec6 Mon Sep 17 00:00:00 2001 From: MaratMussabekov <48041687+MaratMussabekov@users.noreply.github.com> Date: Mon, 6 Sep 2021 11:49:09 +0500 Subject: [PATCH 3/7] Update Export-StartLayout.md --- .../winserver2019-ps/startlayout/Export-StartLayout.md | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/docset/winserver2019-ps/startlayout/Export-StartLayout.md b/docset/winserver2019-ps/startlayout/Export-StartLayout.md index 5286997a13..f5ea4819df 100644 --- a/docset/winserver2019-ps/startlayout/Export-StartLayout.md +++ b/docset/winserver2019-ps/startlayout/Export-StartLayout.md @@ -51,6 +51,13 @@ PS C:\> Export-StartLayout -Path "C:\Layouts\Marketing.json" This command exports the layout of the tiles on the Windows 11 Start menu to a file named Marketing.json in the C:\Layouts folder. Note that JSON is the only supported format for the output file and only the `-Path` parameter is supported. +### Example 3: Export the layout with applications' IDs +``` +PS C:\> Export-StartLayout -UseDesktopApplicationID -Path "C:\Layouts\Marketing.json" +``` + +This command exports the layout of the tiles on Start menu of a computer running Windows 10 1809 or later to a file named Marketing.json in the C:\Layouts folder. It exports applications' IDs instead of paths to a shortcut links. + ## PARAMETERS ### -Confirm @@ -103,7 +110,7 @@ Accept wildcard characters: False ### -UseDesktopApplicationID Specifies that the layout file should export the DesktopApplicationID value instead of DesktopApplicationLinkPath which is the default. -DesktopApplicationID is the application's ID and DesktopApplicationLinkPath is a path to a shortcut link (.lnk file) to a Windows desktop application. +DesktopApplicationID is the application's ID and DesktopApplicationLinkPath is a path to a shortcut link (.lnk file) to a Windows desktop application. Available to computers running Windows 10 1809 or later. ```yaml Type: SwitchParameter From fa0912256891c876b10eae6fb57ebd8e05122438 Mon Sep 17 00:00:00 2001 From: MaratMussabekov <48041687+MaratMussabekov@users.noreply.github.com> Date: Mon, 6 Sep 2021 11:53:47 +0500 Subject: [PATCH 4/7] Update Export-StartLayout.md --- docset/winserver2019-ps/startlayout/Export-StartLayout.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docset/winserver2019-ps/startlayout/Export-StartLayout.md b/docset/winserver2019-ps/startlayout/Export-StartLayout.md index f5ea4819df..055bcd094a 100644 --- a/docset/winserver2019-ps/startlayout/Export-StartLayout.md +++ b/docset/winserver2019-ps/startlayout/Export-StartLayout.md @@ -110,7 +110,7 @@ Accept wildcard characters: False ### -UseDesktopApplicationID Specifies that the layout file should export the DesktopApplicationID value instead of DesktopApplicationLinkPath which is the default. -DesktopApplicationID is the application's ID and DesktopApplicationLinkPath is a path to a shortcut link (.lnk file) to a Windows desktop application. Available to computers running Windows 10 1809 or later. +DesktopApplicationID is the application's ID and DesktopApplicationLinkPath is a path to a shortcut link (.lnk file) to a Windows desktop application. Available on computers running Windows 10 1809 or later. ```yaml Type: SwitchParameter From cce6bd6dedae0b1e8322be737e4244d304585b48 Mon Sep 17 00:00:00 2001 From: MaratMussabekov <48041687+MaratMussabekov@users.noreply.github.com> Date: Mon, 6 Sep 2021 16:11:34 +0500 Subject: [PATCH 5/7] Update docset/winserver2019-ps/startlayout/Export-StartLayout.md Co-authored-by: JohanFreelancer9 <48568725+JohanFreelancer9@users.noreply.github.com> --- docset/winserver2019-ps/startlayout/Export-StartLayout.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docset/winserver2019-ps/startlayout/Export-StartLayout.md b/docset/winserver2019-ps/startlayout/Export-StartLayout.md index 055bcd094a..198698b643 100644 --- a/docset/winserver2019-ps/startlayout/Export-StartLayout.md +++ b/docset/winserver2019-ps/startlayout/Export-StartLayout.md @@ -51,7 +51,7 @@ PS C:\> Export-StartLayout -Path "C:\Layouts\Marketing.json" This command exports the layout of the tiles on the Windows 11 Start menu to a file named Marketing.json in the C:\Layouts folder. Note that JSON is the only supported format for the output file and only the `-Path` parameter is supported. -### Example 3: Export the layout with applications' IDs +### Example 3: Export the layout with the applications' IDs ``` PS C:\> Export-StartLayout -UseDesktopApplicationID -Path "C:\Layouts\Marketing.json" ``` From 25b0c72bf41a089849a36806957cbe3920921b25 Mon Sep 17 00:00:00 2001 From: MaratMussabekov <48041687+MaratMussabekov@users.noreply.github.com> Date: Mon, 6 Sep 2021 16:11:43 +0500 Subject: [PATCH 6/7] Update docset/winserver2019-ps/startlayout/Export-StartLayout.md Co-authored-by: JohanFreelancer9 <48568725+JohanFreelancer9@users.noreply.github.com> --- docset/winserver2019-ps/startlayout/Export-StartLayout.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docset/winserver2019-ps/startlayout/Export-StartLayout.md b/docset/winserver2019-ps/startlayout/Export-StartLayout.md index 198698b643..3ff1135e3d 100644 --- a/docset/winserver2019-ps/startlayout/Export-StartLayout.md +++ b/docset/winserver2019-ps/startlayout/Export-StartLayout.md @@ -56,7 +56,7 @@ This command exports the layout of the tiles on the Windows 11 Start menu to a f PS C:\> Export-StartLayout -UseDesktopApplicationID -Path "C:\Layouts\Marketing.json" ``` -This command exports the layout of the tiles on Start menu of a computer running Windows 10 1809 or later to a file named Marketing.json in the C:\Layouts folder. It exports applications' IDs instead of paths to a shortcut links. +This command exports the layout of the tiles on the Start menu of a computer running Windows 10, version 1809 or later, to a file named Marketing.json in the C:\Layouts folder. It exports the applications' IDs instead of paths to a shortcut link. ## PARAMETERS From 39283b673183f500093444ef299e9b940ed8fb5f Mon Sep 17 00:00:00 2001 From: MaratMussabekov <48041687+MaratMussabekov@users.noreply.github.com> Date: Mon, 6 Sep 2021 16:11:49 +0500 Subject: [PATCH 7/7] Update docset/winserver2019-ps/startlayout/Export-StartLayout.md Co-authored-by: JohanFreelancer9 <48568725+JohanFreelancer9@users.noreply.github.com> --- docset/winserver2019-ps/startlayout/Export-StartLayout.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docset/winserver2019-ps/startlayout/Export-StartLayout.md b/docset/winserver2019-ps/startlayout/Export-StartLayout.md index 3ff1135e3d..2caf8a7704 100644 --- a/docset/winserver2019-ps/startlayout/Export-StartLayout.md +++ b/docset/winserver2019-ps/startlayout/Export-StartLayout.md @@ -110,7 +110,7 @@ Accept wildcard characters: False ### -UseDesktopApplicationID Specifies that the layout file should export the DesktopApplicationID value instead of DesktopApplicationLinkPath which is the default. -DesktopApplicationID is the application's ID and DesktopApplicationLinkPath is a path to a shortcut link (.lnk file) to a Windows desktop application. Available on computers running Windows 10 1809 or later. +DesktopApplicationID is the application's ID and DesktopApplicationLinkPath is a path to a shortcut link (.lnk file) to a Windows desktop application. It is available on computers running Windows 10, version 1809 or later. ```yaml Type: SwitchParameter