Microsoft Exam Questions

Which two Windows PowerShell cmdlets should you run?

You have client computers that run Windows 8 Enterprise.
The network contains a network printer. Users connect to the printer by using a local
TCP/IP port.
A network administrator changes the IP address of the printer.
You need to create a script to update the IP address used by the local TCP/IP port on the
computers.

Which two Windows PowerShell cmdlets should you run? (Each correct answer presents
part of the solution. Choose two.)

A.
Add-PrinterPort

B.
Add- PrinterD river

C.
Set-PrinterConfiguration

D.
Add-Printer

E.
Set-Printer

Explanation:
A: Add-PrinterPort
Installs a printer port on the specified computer.
Parameters include:
-PortNumber<UInt32>
Specifies the TCP/IP port number for the printer port added to the specified computer.
E: Set-Printer
Updates the configuration of an existing printer.
Parameters include:
-PortName<String>
Specifies the name of the port used or created for the printer.