PowerShell Logo Small

Write-PrinterNfcTag



This is the built-in help made by Microsoft for the command 'Write-PrinterNfcTag', in PowerShell version 5 - as retrieved from Windows version 'Microsoft Windows Server 2012 R2 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

Writes printer connection data to an NFC tag.

SYNTAX


Write-PrinterNfcTag [[-SharePath] <String[]>] [[-WsdAddress] <String[]>] [[-Lock]] [-AsJob] [-CimSession <CimSession[]>] [-ThrottleLimit <Int32>] [<CommonParameters>]
Write-PrinterNfcTag [-InputObject] <CimInstance> [-AsJob] [-CimSession <CimSession[]>] [-ThrottleLimit <Int32>] [<CommonParameters>]



Search powershellhelp.space

DESCRIPTION


The Write-PrinterNfcTag cmdlet writes a near field communication (NFC) tag with printer connection data. You can use NFC tags to program shared printers and Web Services for
Devices (WSD) printers. If multiple print shares or WSD device addresses support the same device, the cmdlet writes the NFC tag in the order of the print shares or WSD
device addresses that you specify. This cmdlet requires that the system have an NFC radio available.


Specify the printer connection data for this cmdlet by specifying the paths of shared printers or the IP addresses WSD printers, or by using the InputObject parameter to
specify a printer object as input to this cmdlet.



<

RELATED LINKS

Online Version: http://go.microsoft.com/fwlink/?LinkId=324013
Read-PrinterNfcTag

REMARKS

<

Examples


Example 1: Write printer connection data to an NFC tag

PS C:\>Write- PrinterNfcTag -SharePath "\\ServerName\PrinterName01","\\AlternateServerName\PrinterName02" -WsdAddress "PrinterHost01"



This command writes printer connection data to an NFC tag for the specified shared printers and the WSD printer that has the host name PrinterHost01.




Example 2: Copy an NFC tag

PS C:\>Read-PrinterNfcTag | Write-PrinterNfcTag



This command uses the Read-PrinterNfcTag to read the printer connection data from the next NFC tag that someone taps against the NFC reader. The command passes the printer
connection data to the next cmdlet by using the pipeline operator. The command then writes the printer connection data to an NFC tag when a user taps the tag against the NFC
radio.