PowerShell Logo Small

Set-PrinterProperty



This is the built-in help made by Microsoft for the command 'Set-PrinterProperty', in PowerShell version 3 - as retrieved from Windows version 'Microsoft Windows Server 2012 Standard' PowerShell help files on 2016-06-23.

For PowerShell version 3 and up, where you have Update-Help, this command was run just before creating the web pages from the help files.

SYNOPSIS

Modifies the printer properties for the specified printer.

SYNTAX


Set-PrinterProperty [-PrinterName] <String> [-PropertyName] <String> [-Value] <String> [-AsJob [<SwitchParameter>]] [-CimSession <CimSession>]
[-ComputerName <String>] [-ThrottleLimit <Int32>] [-Confirm [<SwitchParameter>]] [-WhatIf [<SwitchParameter>]] [<CommonParameters>]
Set-PrinterProperty [-InputObject] <CimInstance> [-AsJob [<SwitchParameter>]] [-CimSession <CimSession>] [-ThrottleLimit <Int32>] [-Confirm
[<SwitchParameter>]] [-WhatIf [<SwitchParameter>]] [<CommonParameters>]
Set-PrinterProperty [-PrinterObject] <CimInstance> [-PropertyName] <String> [-Value] <String> [-AsJob [<SwitchParameter>]] [-CimSession
<CimSession>] [-ThrottleLimit <Int32>] [-Confirm [<SwitchParameter>]] [-WhatIf [<SwitchParameter>]] [<CommonParameters>]



Search powershellhelp.space

DESCRIPTION


The Set-PrinterProperty cmdlet modifies the printer properties for the specified printer.


You cannot use wildcard characters with Set-PrinterProperty. You can use Set-PrinterProperty in a wps-2 remoting session.


You need administrator privileges to use Set-PrinterProperty.



<

RELATED LINKS

Get-PrinterProperty

REMARKS

<

Examples


Example 1: Set a printer property

PS C:\> Set-PrinterProperty -PrinterName printer2 -PropertyName "Config:PropertyName" -Value True



This command sets the Config:PropertyName property of the printer named printer2 to True.