While writing my last post, I uncovered a problem on one of my lab machines:
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 ]
Unable to Install NuGet on Windows Server 2016 Due to TLS Error
This morning, while attempting to set up a virtual machine in my lab environment, I encountered an error while attempting to install the MSOnline module–the NuGet and PowerShellGet components were not already installed. Easy enough–the installation procedure prompts to install them anyway, so just hit yes, right?… [ Continue reading ]