Skip to content

Commit 392caef

Browse files
authored
Merge pull request MicrosoftDocs#2609 from MaratMussabekov/patch-23
fix wrong syntax
2 parents 60522ec + 1f69e92 commit 392caef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docset/winserver2019-ps/printmanagement/Set-PrintConfiguration.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ The final command sets the value of the printer configuration to the modified va
7777

7878
### Example 3: Set the default paper size of all printers
7979
```
80-
PS C:\>$Printers = Get-Printer * Foreach ($Printer in $Printers){ Set-PrintConfiguration -PrinterName $Printer.name -PaperSize A4}
80+
PS C:\> $Printers = Get-Printer ; Foreach ($Printer in $Printers){Set-PrintConfiguration -PrinterName $Printer.name -PaperSize A4}
8181
```
8282

8383
This command gets all the printers into a variable $Printers and then loops through all the printers and displays the properties.

0 commit comments

Comments
 (0)