$ is shortened variable, just without the word following, like $nul or $value. Lonk is a kix golfer and should know better than to use that on the board ;\)

Functions like DelPrinterConnection, AddprinterConnection, SetDefaultPrinter all have output that helps diagnose problems. Putting the $variable in front of these functions basically silences that output, however you can always check the value later.