-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
Just trying to test this out and it's not going well. Folder from dev branch has been cloned to C:\Windows\System32\WindowsPowerShell\v1.0\Modules\ServiceBusForWindowsServerDsc
if I run the following:
$RunAsAccount = 'Administrator'
$SBFarmDBConnectionStringDataSource = 'localhost'
$result = Invoke-DscResource -Name SBFarm -Method Test -ModuleName ServiceBusForWindowsServerDsc -Property @{
RunAsAccount=$RunAsAccount;
SBFarmDBConnectionStringDataSource=$SBFarmDBConnectionStringDataSource } -Verbose
$result | fl *
I get:
Invoke-DscResource : Failed to create an object of PowerShell class SBFarm.
At line:1 char:11
- $result = Invoke-DscResource -Name SBFarm -Method Test -ModuleName Se ...
-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~- CategoryInfo : InvalidOperation: (root/Microsoft/...gurationManager:String) [Invoke-DscResource], CimEx
ception - FullyQualifiedErrorId : InstantiatePSClassObjectFailed,Microsoft.PowerShell.DesiredStateConfiguration.Commands.I
nvokeDscResourceMethodCommand
- CategoryInfo : InvalidOperation: (root/Microsoft/...gurationManager:String) [Invoke-DscResource], CimEx
Ideas? I'm going to attempt to leverage DSC via Chef but to test it out I just wanted to get it running in a local context. Not sure what I'm doing wrong.
Metadata
Metadata
Assignees
Labels
No labels