Ask your PowerShell-related questions, including questions on cmdlet development!
Forum rules Do not post any licensing information in this forum.
Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
This topic is 5 years and 1 week old and has exceeded the time allowed for comments. Please begin a new topic or use the search feature to find a similar but newer topic.
This is the full error I am getting.
ERROR: Select-Object : Cannot convert System.Management.Automation.PSObject to one of the following types {System.String, System.Management.Automation.ScriptBlock}.
ERROR:
RolemasterTest.pff (292): ERROR: At Line: 292 char: 90
ERROR: + $HitData = Import-Csv -Path E:\Dropbox\Rolemaster\$($cboWeapon.Text).csv | Select-Object <<<< Hitroll,$AT | Where-Object {$_.Hitroll -Like $Hit}
ERROR: + CategoryInfo : InvalidArgument: (:) [Select-Object], NotSupportedException
ERROR: + FullyQualifiedErrorId : DictionaryKeyUnknownType,Microsoft.PowerShell.Commands.SelectObjectCommand
Powershell Studio 2012 version 3.1.35 on windows 10 64bit
This topic is 5 years and 1 week old and has exceeded the time allowed for comments. Please begin a new topic or use the search feature to find a similar but newer topic.