*** Please fill in the fields below. If you leave fields empty or specify 'latest' rather than the actual version your answer will be delayed as we will be forced to ask you for this information. ***
Product, version and build: Powershell Studio 2018 v5.5.150
32 or 64 bit version of product: 64bit
Operating system: Windows Server 2016
32 or 64 bit OS: 64bit
*** Please add details and screenshots as needed below. ***
Using a packaged windows forms project (no matter which of the SAPIEN Script engines I choose), I can't access the NTFS alternate data streams.
When just running it live in the PS Studio it works.
The code:
Code: Select all
Get-Content -Path $ScriptFile -Stream $Stream
Code: Select all
Get-Content : A parameter cannot be found that matches parameter name 'Stream'.
At line:960 char:37
+ if (Get-Content -Path $ScriptFile -Stream $Stream -ErrorActio ...
+ ~~~~~~~
+ CategoryInfo : InvalidArgument: (:) [Get-Content], ParameterBindingException
+ FullyQualifiedErrorId : NamedParameterNotFound,Microsoft.PowerShell.Commands.GetContentCommand
https://docs.microsoft.com/en-us/powers ... rshell-5.0