I’m creating a new API post endpoint.
The first line I’m calling New-PSDrive so I can access ConfigMgr commandlets.
I’m getting this error when it’s called.
Could not load file or assembly ‘System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=a99a5546f934e0k9’. The system cannot find the file specified.