Remove-PrintersBuitengebruikerstelling
SYNOPSIS
Remove printers marked as "Buitengebruikstelling - Verwijderd" from the print server and Infoblox.
SYNTAX
DESCRIPTION
This function retrieves printer objects from the specified print server, checks their status in Ivanti HEAT, and removes printers marked as "Buitengebruikstelling - Verwijderd" from both the print server and Infoblox. It prompts the user for confirmation before proceeding with the removal.
EXAMPLES
EXAMPLE 1
Retrieves printers from `srvprint01`, checks their status in HEAT, and removes those marked as "Buitengebruikstelling - Verwijderd".
EXAMPLE 2
Retrieves printers from `srvprint02`, checks their status in HEAT, and removes those marked as "Buitengebruikstelling - Verwijderd".
PARAMETERS
-Servername
The name of the print server to query for printers. Defaults to `srvprint01`.
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 1
Default value: Srvprint01
Accept pipeline input: False
Accept wildcard characters: False