I want to preload printer drivers into new builds to prevent issues during first login (in the wake of PrintNightmare)
This seems pretty straightforward - enumerate shared printers on the server, enumerate the drivers, skip the ones that don’t have the type of installer that can install via network share, then copy the installer over.
What’s the best way to copy these installer blobs? A quick sample of the drivers on the server I’m looking at says they are between 10KB and 40MB, so simply returning the blob from Invoke-ImmyCommand isn’t going to work (I tried - timed out after 2 minutes)