- Windows Server 2016 Automation with PowerShell Cookbook(Second Edition)
- Thomas Lee
- 55字
- 2021-07-02 18:15:58
Getting ready
There are two ways you can change the spool directory. The first way is to use the classes inside the .NET Framework's System.Printing namespace to update the folder name. The second, and probably the simplest, way is to update the registry with the folder to use for spooling. This recipe shows both methods.