We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 60522ec + 1f69e92 commit 392caefCopy full SHA for 392caef
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
77
78
### Example 3: Set the default paper size of all printers
79
```
80
-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}
81
82
83
This command gets all the printers into a variable $Printers and then loops through all the printers and displays the properties.
0 commit comments