Windows PowerShell command on Get-command Write-PrinterNfcTag
MyWebUniversity

Windows PowerShell command on Get-command Write-PrinterNfcTag

NAME

Write-PrinterNfcTag

SYNOPSIS

Writes printer connection data to an NFC tag.

SYNTAX

Write-PrinterNfcTag [-CimSession ] [-ThrottleLimit ] []

Write-PrinterNfcTag [[-SharePath] ] [[-WsdAddress] ] [[-Lock]] [-CimSession ]

[-ThrottleLimit ] []

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.

PARAMETERS

-CimSession []

Runs the cmdlet in a remote session or on a remote computer. Enter a computer name or a session object, such

as the output of a New-CimSession or Get-CimSession cmdlet. The default is the current session on the local

computer. Required? false Position? named Default value none Accept pipeline input? false Accept wildcard characters? false

-Lock []

Indicates that the NFC tags cannot be modified after you write the NFC tags. You cannot unlock a locked NFC tag. Required? false Position? 3 Default value none Accept pipeline input? True (ByValue) Accept wildcard characters? false

-SharePath []

Specifies an array of paths of shared printers. Use the following format: \\printServer\shareName. The cmdlet

writes the path of the shared printers to an NFC tag. Required? false Position? 1 Default value none Accept pipeline input? True (ByValue) Accept wildcard characters? false

-ThrottleLimit []

Specifies the maximum number of concurrent operations that can be established to run the cmdlet. If this parameter is omitted or a value of 0 is entered, then Windows PowerShellr calculates an optimum throttle limit for the cmdlet based on the number of CIM cmdlets that are running on the computer. The throttle limit applies only to the current cmdlet, not to the session or to the computer. Required? false Position? named Default value none Accept pipeline input? false Accept wildcard characters? false

-WsdAddress []

Specifies an array of IP addresses of WSD printers. The cmdlet writes the IP addresses of the of WSD printers to a printer NFC tag. The acceptable values for this parameter are: an IPv4 or IPv6 IP address or any value that resolves to an IP address, such as a fully qualified domain name (FQDN) or Hostname. Required? false Position? 2 Default value none Accept pipeline input? True (ByValue) Accept wildcard characters? false This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, WarningVariable, OutBuffer, PipelineVariable, and OutVariable. For more information, see about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).

INPUTS

OUTPUTS

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 cmdlet 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.

RELATED LINKS

Read-PrinterNfcTag



Contact us      |      About us      |      Term of use      |       Copyright © 2000-2019 OurUNIX.com ™