Resolving Publish-PSArtifactUtility : Failed to generate the compressed file for script ‘C:\Program Files\dotnet\dotnet.exe failed to pack: error

Since we had announced the retirement of the TechNet gallery last year, I’ve been slowly moving my scripts to the PowerShell gallery.  I haven’t posted any new scripts in a couple of months and wrote a new one today.  Uploading a script to the PowerShell Gallery typically requires using the Publish-Script cmdlet in conjunction with an API key.… [ Continue reading ]