PowerShell Logo Small

Read-PrinterNfcTag



This is the built-in help made by Microsoft for the command 'Read-PrinterNfcTag', in PowerShell version 4 - as retrieved from Windows version 'Microsoft Windows 8.1 Enterprise' 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

Reads information about printers from an NFC tag.

SYNTAX


Read-PrinterNfcTag [-AsJob] [-CimSession <CimSession[]>] [-ThrottleLimit <Int32>] [<CommonParameters>]



Search powershellhelp.space

DESCRIPTION


The Read-PrinterNfcTag cmdlet reads information about printers from the near field communication (NFC) tag that anyone taps against the default NFC reader for the sys
tem. The cmdlet returns the printer information that it reads as a table that contains the value of the SharePath property and the value and the wsdAddress property f
or the printers.



<

RELATED LINKS

Online Version: http://go.microsoft.com/fwlink/?LinkId=324012
Write-PrinterNfcTag

REMARKS

<

Examples


Example 1: Read an NFC tag

PS C:\> $Tag = Read-PrinterNfcTag
PS C:\> Write-PrinterNfcTag $Tag



This first command reads printer connection data from the next NFC tag that someone taps against the NFC reader. The command stores the printer information in the $Ta
g variable.

The second command uses the Write-PrinterNfcTag to write the printer connection information stored in $Tag to an NFC tag.




Example 2: Modify the share path of a printer connection

PS C:\> $Tag = Read-PrinterNfcTag
PS C:\> $Tag.SharePaths = "\\ntprint\b27-3697-b"



This first command reads printer connection information from the next NFC tag that someone taps against the NFC reader. The command stores the printer information in
the $Tag variable.

The second command changes the share path of the shared printers stored in $Tag. The command uses standard dot syntax to access the SharePaths property of the object
stored in $Tag.