Skip to content

Remove-PrintersBuitengebruikerstelling

SYNOPSIS

Remove printers marked as "Buitengebruikstelling - Verwijderd" from the print server and Infoblox.

SYNTAX

Remove-PrintersBuitengebruikerstelling [[-Servername] <String>]

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

Remove-PrintersBuitengebruikerstelling

Retrieves printers from `srvprint01`, checks their status in HEAT, and removes those marked as "Buitengebruikstelling - Verwijderd".

EXAMPLE 2

Remove-PrintersBuitengebruikerstelling -Servername "srvprint02"

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

INPUTS

OUTPUTS

NOTES