Steps to reproduce
Get-Item test.txt -Stream *
Expected behavior
Actual behavior
Get-Item : Unable to load DLL 'api-ms-win-core-file-l1-2-2.dll' or one of its dependencies: Не найден указанный модуль. (Exception from HRESULT: 0x8007007E)
$error[0] | fl * -force
PSMessageDetails :
Exception : System.DllNotFoundException: Unable to load DLL 'api-ms-win-core-file-l1-2-2.dll' or one of its dependencies: Не найден указанный модуль. (Exception from HRESULT: 0x8007007E)
at System.Management.Automation.Internal.AlternateDataStreamUtilities.NativeMethods.FindFirstStreamW(String lpFileName, StreamInfoLevels InfoLevel, AlternateStreamNativeData lpFindStreamData, UInt32 dwFlags)
at System.Management.Automation.Internal.AlternateDataStreamUtilities.GetStreams(String path)
at Microsoft.PowerShell.Commands.FileSystemProvider.GetItem(String path)
at System.Management.Automation.SessionStateInternal.GetItemPrivate(CmdletProvider providerInstance, String path, CmdletProviderContext context)
TargetObject :
CategoryInfo : NotSpecified: (:) [Get-Item], DllNotFoundException
FullyQualifiedErrorId : System.DllNotFoundException,Microsoft.PowerShell.Commands.GetItemCommand
ErrorDetails :
InvocationInfo : System.Management.Automation.InvocationInfo
ScriptStackTrace : at <ScriptBlock>, <No file>: line 1
PipelineIterationInfo : {}
Environment data
OS: Windows 8.1 x64 (6.3.9600)
$PSVersionTable
Name Value
---- -----
PSVersion 6.1.3
PSEdition Core
GitCommitId 6.1.3
OS Microsoft Windows 6.3.9600
Platform Win32NT
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0...}
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
WSManStackVersion 3.0
Steps to reproduce
Expected behavior
Actual behavior
$error[0] | fl * -force
Environment data
OS: Windows 8.1 x64 (6.3.9600)
$PSVersionTable