【发布时间】:2018-11-08 02:58:15
【问题描述】:
我需要快速找出在我的域中安装了打印机的服务器。有 12 台打印服务器,每台有 50 多台打印机。我使用了 fol 命令,但出现错误
PS C:\>Get-Printer -Name "PayRoll_Sec_ptr"
但是这个命令只有在安装了打印机的特定服务器上使用时才会给我结果。这意味着我必须在 12 台服务器上编写它(或者直到我得到安装打印机的服务器”
当我在我的 AD 角色计算机上使用此命令时。它说
the term "get-printer" is not recognized as the name of a cmdlet, function,
script file, or operable program.
【问题讨论】:
标签: windows powershell printing dns