Skip to content

Latest commit

 

History

History

OutVariable-and-ReadCount

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

Get-Content with OutVariable and ReadCount

Using Get-Content with OutVariable and ReadCount may produce an unexpected nested array in the result variable. Using or not using the switch Raw makes no difference.

The workaround is not using ReadCount together with OutVariable.

Scripts