How can we help you today? How can we help you today?
ybhole
Thanks for the support. After installing PowerShellGet I get no more warnings in Octopus Deploy. By the way I have to execute following command (with -Force option) on Octopus tentacle server Install-Module –Name PowerShellGet –Forceas mentioned at https://docs.microsoft.com/en-us/powershell/gallery/installing-psget Without -Force option gave following errors <div>PS D:\> Update-Module -Name PowerShellGet</div><div>Update-Module : Module 'PowerShellGet' was not installed by using Install-Module, so it cannot be updated.</div><div>At line:1 char:1</div><div>+ Update-Module -Name PowerShellGet</div><div>+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~</div><div>&nbsp; &nbsp; + CategoryInfo&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; : InvalidOperation: (PowerShellGet:String) [Write-Error], WriteErrorException</div><div>&nbsp; &nbsp; + FullyQualifiedErrorId : ModuleNotInstalledUsingInstallModuleCmdlet,Update-Module</div><div><br></div><div>PS D:\> Install-Module -Name PowerShelletGet</div><div>PackageManagement\Install-Package : No match was found for the specified search criteria and module name 'PowerShelletGet'.</div><div>At C:\Program Files\WindowsPowerShell\Modules\PowerShellGet\1.0.0.1\PSModule.psm1:1375 char:21</div><div>+ ...&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; $null = PackageManagement\Install-Package @PSBoundParameters</div><div>+&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~</div><div>&nbsp; &nbsp; + CategoryInfo&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; : ObjectNotFound: (Microsoft.Power....InstallPackage:InstallPackage) [Install-Package], Exception</div><div>&nbsp; &nbsp; + FullyQualifiedErrorId : NoMatchFoundForCriteria,Microsoft.PowerShell.PackageManagement.Cmdlets.InstallPackage</div> / comments
Thanks for the support. After installing PowerShellGet I get no more warnings in Octopus Deploy.By the way I have to execute following command (with -Force option) on Octopus tentacle serverInstall...
0 votes