Get-Printers
SYNOPSIS
SYNTAX
Get-Printers [[-computer] <Object>] [-complex] [<CommonParameters>]
DESCRIPTION
This command returns a list of local or remote printers
EXAMPLES
EXAMPLE 1
Returns printers for the local computer only.
Get-Printers
EXAMPLE 2
-Computer is used to pull printers from remote computers.
Get-Printers -computer PCName
EXAMPLE 3
Return long list of info on the printers
Get-Printers -computer PCName -complex
PARAMETERS
-computer
Specifies a remote computer to pull a list of printers for
Type: System.Object
Parameter Sets: (All)
Aliases:
Required: False
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-complex
Specifies to additional information on the printers
Type: System.Management.Automation.SwitchParameter
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.