Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
9 changes: 8 additions & 1 deletion docset/winserver2019-ps/startlayout/Export-StartLayout.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 the applications' IDs
```
PS C:\> Export-StartLayout -UseDesktopApplicationID -Path "C:\Layouts\Marketing.json"
```

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

### -Confirm
Expand Down Expand Up @@ -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. It is available on computers running Windows 10, version 1809 or later.

```yaml
Type: SwitchParameter
Expand Down