List User’s Printers

This script will display all of the printers in a user session, and note the default printer.
Version 1.3.4
Created on 2015-10-01
Modified on 2015-10-01
Created by MattStut
Downloads: 2317

The Script Copy Script Copied to clipboard
Write-Host "List all Printers"
$RedirectedFolders = Get-WmiObject -Class Win32_Printer | select -Property Name,Sharename
if ($RedirectedFolders -eq $null) {
    Write-Host "No Printers"
} else {
    $RedirectedFolders | Format-Table -Autosize
    Write-Host "----------------------------------------------------------------"
    Write-Host "Default Printer is:"
    (Get-WmiObject -Class Win32_Printer -Filter "Default = $true").Name
}