260 likes | 497 Views
Sharing Printers on Windows Server 2008 R2 & Powershell. Chapter 13. Sharing Printers on Windows Server 2008 R2. Overview Print and Document Services Print Management console Printer properties Troubleshooting PowerShell. Overview.
E N D
Sharing Printers on Windows Server 2008 R2&Powershell Chapter 13
Sharing Printers on Windows Server 2008 R2 • Overview • Print and Document Services • Print Management console • Printer properties • Troubleshooting • PowerShell
Overview • Printing client (workstation) generates the print job and sends it to the print server (computer sharing the printer) • If multiple jobs are sent to a print server, it saves the print jobs to a temporary disk storage, this process is know as spooling • Print spooler service—accepts the print job and stores it in memory or on the hard drive until the print device can accept it. • Default Spool folder: c:\windows\system32\spool\printers
Overview • Shared v. local Printers • Can push drivers down to client when connecting. • Central point for driver updates. • Will push drivers down for previous versions of Windows.
Overview • Managing Print Jobs • Print Queues—a stack of print jobs, all jobs waiting in line, first come, first served. • You can manage the queues by double clicking on the printer in your Devices and Printers console. • You will typically only have access to manage or cancel your own jobs.
Print and Document Services Role • The Print and Document Services Role is required to share printers on the network • Quiz alert!
Print and Document Services Role Adding the Print Services role through Server Manager
Print Management Console • The Print Management console gives the Help Desk Technician a single tool to accomplish all necessary tasks to make the printer available to the network. • View, manage add printers, print servers and queues • Deployment of printers via Group Policy (Domain Feature) • Update Drivers
Print Management Console • Print server—a device that manages print services in a network environment. The print server can be any workstation on the network. • Printers can be added by either searching the network, adding a TCP/IP or Web Services Printer by IP address or host name, by existing port, or by creating a new port.
Print Management Console • Installing and Deploying a Shared Printer • New printers can be added and deployed through the Print Management console found in Server Manager or Administrative Tools
TROUBLESHOOTING • Troubleshooting procedures can include one or more of the following: • The application that is attempting to print • The logical printer on the computer on which the application is running • The network connection between the client and the logical printer on the server • The connection between the print server and the printer • The printer itself—its hardware, configuration, and status
TROUBLESHOOTING • Verify that the print client can connect to the print server • Ping the print server’s IP • Verify that the printer is operational • Is it turned on? Paper? Blinking lights? • Verify that the printer can be accessed from the print server. • Ping • Verify that the print server’s services are running. • Print Spooler
PowerShell • Microsoft ® shell environment • Gives administrators more power and command in the shell environment • Hence…PowerShell? • Active Directory Module for Windows® Powershell allows for Active Directory specific command-line and scripted operations • Only available in Windows ® Server R2 and Windows ® 7
PowerShell • First, we need to understand naming formats • Distinguished namecn=John Doe, OU=Sale_OU, DC=MS1, DC=local • RDNRelative Distinguished Name • CNCommon Name • DCDomain Component • OUOrganizational Unit • Fully Qualified Domain Name (FQDN) • SVBlue1.ms1.local
PowerShell • Growing resources daily • http://technet.microsoft.com/en-us/scriptcenter/powershell.aspx • http://gallery.technet.microsoft.com/ScriptCenter/en-us/ • http://technet.microsoft.com/en-us/library/dd378937(WS.10).aspx
PowerShell • Creating an Active Directory user account: • New-aduser • How do I use it? Get HELP! No seriously get-help • Get-help new-aduser • Get-help new-aduser –examples • Get-help new-aduser –detailed • new-aduserjdoe • New-aduser “John Doe” –samaccountname “jdoe” –Givenname “John” –Surname ……..
PowerShell • Setting Passwords • Set-ADAccountPassword –Identity jdoe -Reset -NewPassword (ConvertTo-SecureString -AsPlainText "p@ssw0rd" –Force) • Change attributes for multiple users • Get-ADUser -Filter 'Name -like "*"' -SearchBase "OU=Sale_OU,DC=MS1, DC=Local" | Set-ADUser -Description "Member of the Sales Department"
PowerShell • Display user attributes • Get-aduserjdoe • Get-aduserjdoe –properties * | more • Add groups and members • Add-adgroupmember “Sale_Group” • Add-adgroupmember “Sale_Group” –member jdoe • A great deal more online