Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Operations for refreshing Print Server(s)

  1. .\TriceratCLI.exe -psrefreshall psRefreshAll [-psDelete] [-psdeletepsAddNew]
    • This option will refresh all print servers defined in the database and optionally delete any printer objects (and associated assignments) that are not found in this query. This option is helpful if a printer has been removed from the print server and you don't want queues to be created anymore. This is currently a manual operation in the console.  New printers found on the print server will be imported if the -psAddNew option is specified.
  2. .\TriceratCLI.exe -psrefreshbyname psRefreshByName print_server_object_name [-psDelete] [-psdeletepsAddNew]
    • This option will refresh any print server objects that have the specified name and as above optionally delete missing printer objects or import new printers.
  3. .\TriceratCLI.exe -psrefreshbyid psRefreshById print_server_object_id [-psDelete] [-psdeletepsAddNew]
    • This option will refresh the single print server specified by the object id passed in and as above will optionally delete missing printer objects. The object ID is found in the database and is automatically generated whenever a print server object is created. This option, because it requires knowledge of the database schema will be the least easily used and is being made available for future use with additional commands that will automate the creation of objects.

...