Skip to content

Instantly share code, notes, and snippets.

@vhusker
Last active August 26, 2015 11:28
Show Gist options
  • Save vhusker/c80c3aa47e22a678447a to your computer and use it in GitHub Desktop.
Save vhusker/c80c3aa47e22a678447a to your computer and use it in GitHub Desktop.
Cannot Bind argument to Resource Key because it's an empty string
PSDesiredStateConfiguration\node : Cannot bind argument to parameter 'ResourceKey' because it is an empty string.
At C:\Temp\Build Hyper-V Host.ps1:15 char:5
+ node localhost
+ ~~~~
+ CategoryInfo : InvalidData: (:) [PSDesiredStateConfiguration\node], ParentContainsErrorRecordException
+ FullyQualifiedErrorId : ParameterArgumentValidationErrorEmptyStringNotAllowed,PSDesiredStateConfiguration\node
Update-DependsOn : Index operation failed; the array index evaluated to null.
At C:\WINDOWS\system32\WindowsPowerShell\v1.0\Modules\PSDesiredStateConfiguration\PSDesiredStateConfiguration.psm1:2208 char:17
+ ... Update-DependsOn $Script:NodesInThisConfiguration[$mofNod ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidOperation: (:) [Update-DependsOn], RuntimeException
+ FullyQualifiedErrorId : NullArrayIndex,Update-DependsOn
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment