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
This object has a property which is named '#comments', and Show-object runs into the following error when trying to parse this:
Invoke-Expression : At line:1 char:20
$resultObject = $a.#comment
~
Missing property name after reference operator.
At C:\Program Files\WindowsPowerShell\Modules\PowerShellCookbook\1.3.3\PowerShellCookbook.psm1:7648 char:9
The variable '$resultObject' cannot be retrieved because it has not been set.
At C:\Program Files\WindowsPowerShell\Modules\PowerShellCookbook\1.3.3\PowerShellCookbook.psm1:7651 char:36
## Walk through its parents, creating the virtual## PowerShell syntax to access this property.$nodePath= GetPathForNode $selectedNode## Now, invoke that PowerShell syntax to retrieve## the value of the property.Invoke-Expression"`$resultObject = $nodePath"## And populate the node with the result object.
PopulateNode $selectedNode$resultObject
The text was updated successfully, but these errors were encountered:
Found a weird one.
[xml]$xml = wget https://patchmypc.net/category/SCUPCatalogChanges/feed
Show-Object $xml
This object has a property which is named '#comments', and Show-object runs into the following error when trying to parse this:
Invoke-Expression : At line:1 char:20
At C:\Program Files\WindowsPowerShell\Modules\PowerShellCookbook\1.3.3\PowerShellCookbook.psm1:7648 char:9
The variable '$resultObject' cannot be retrieved because it has not been set.
At C:\Program Files\WindowsPowerShell\Modules\PowerShellCookbook\1.3.3\PowerShellCookbook.psm1:7651 char:36
The code in question
The text was updated successfully, but these errors were encountered: