Plugin seems to not install chocolatey on several machines
Posted: Thu Jun 14, 2018 8:26 pm
I found several where chocolatey was not installed. I was trying upgrade Veeam and got this:
C:\WINDOWS\system32>choco install veeam-agent
'choco' is not recognized as an internal or external command,
operable program or batch file.
When I tried to do the ps1 manually I got this:
PS C:\Program Files (x86)\WindowsPowerShell\Modules\Pester\3.4.0> .\chocolateyInstall.ps1
Test-ModuleManifest : The specified module 'C:\Program Files
(x86)\WindowsPowerShell\Modules\Pester\3.4.0\Tools\Pester.psd1' was not loaded because no valid module file was found
in any module directory.
At C:\Program Files (x86)\WindowsPowerShell\Modules\Pester\3.4.0\chocolateyInstall.ps1:14 char:28
+ ... st = Test-ModuleManifest -Path $manifestFile -WarningAction Ig ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ResourceUnavailable: (C:\Program File...ols\Pester.psd1:String) [Test-ModuleManifest], F
ileNotFoundException
+ FullyQualifiedErrorId : Modules_ModuleNotFound,Microsoft.PowerShell.Commands.TestModuleManifestCommand
PS C:\Program Files (x86)\WindowsPowerShell\Modules\Pester\3.4.0>
Both were run with admin access.
I have plugin version 2.0.1.90
The machine is Win10.
The plugin shows this for the machine:
https://i.gyazo.com/194360c076a4fe72546 ... f94a25.png
Any ideas?
C:\WINDOWS\system32>choco install veeam-agent
'choco' is not recognized as an internal or external command,
operable program or batch file.
When I tried to do the ps1 manually I got this:
PS C:\Program Files (x86)\WindowsPowerShell\Modules\Pester\3.4.0> .\chocolateyInstall.ps1
Test-ModuleManifest : The specified module 'C:\Program Files
(x86)\WindowsPowerShell\Modules\Pester\3.4.0\Tools\Pester.psd1' was not loaded because no valid module file was found
in any module directory.
At C:\Program Files (x86)\WindowsPowerShell\Modules\Pester\3.4.0\chocolateyInstall.ps1:14 char:28
+ ... st = Test-ModuleManifest -Path $manifestFile -WarningAction Ig ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ResourceUnavailable: (C:\Program File...ols\Pester.psd1:String) [Test-ModuleManifest], F
ileNotFoundException
+ FullyQualifiedErrorId : Modules_ModuleNotFound,Microsoft.PowerShell.Commands.TestModuleManifestCommand
PS C:\Program Files (x86)\WindowsPowerShell\Modules\Pester\3.4.0>
Both were run with admin access.
I have plugin version 2.0.1.90
The machine is Win10.
The plugin shows this for the machine:
https://i.gyazo.com/194360c076a4fe72546 ... f94a25.png
Any ideas?