You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 15, 2018. It is now read-only.
attempting to build with Jenkins I get this error.
VERBOSE:
Get-DscResource : The term 'Get-DscResource' is not recognized as the name of
a cmdlet, function, script file, or operable program. Check the spelling of
the name, or if a path was included, verify that the path is correct and try
again.
At C:\Program Files
(x86)\WindowsPowerShell\Modules\dscbuild\Test-DscResourceIsValid.ps1:11 char:33
$AllResources = Get-DscResource | Where-Object
{$_.ImplementedAs ...
~~~~~~~~~~~~~~~
CategoryInfo : ObjectNotFound: (Get-DscResource:String) [], Com
mandNotFoundException
FullyQualifiedErrorId : CommandNotFoundException
The text was updated successfully, but these errors were encountered:
As @vors mentioned, this isn't a problem with the tooling modules. Jenkins just needs to be running the 64-bit version of PowerShell in order to work. I believe there are sometimes a couple of quirks with having a 32-bit process launch 64-bit PowerShell (which the chef client also runs into), such as still resolving some file and registry paths to the 32-bit locations, but at least it allows you to use DSC.
attempting to build with Jenkins I get this error.
The text was updated successfully, but these errors were encountered: