Skip to content
Merged
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