Session errors exist after integrated console opens #575
Closed
Description
When I start with no profile, there are two errors already in my session:
S C:\Users\Joel\Projects\Modules> $Error | fl * -f
PSMessageDetails :
Exception : System.ArgumentException: Action must be specified for non-forwarded events.
at System.Management.Automation.MshCommandRuntime.ThrowTerminatingError(ErrorRecord errorRecord)
TargetObject :
CategoryInfo : InvalidArgument: (:) [Register-EngineEvent], ArgumentException
FullyQualifiedErrorId : ACTION_MANDATORY_FOR_LOCAL,Microsoft.PowerShell.Commands.RegisterEngineEventCommand
ErrorDetails :
InvocationInfo : System.Management.Automation.InvocationInfo
ScriptStackTrace : at <ScriptBlock>, <No file>: line 6
PipelineIterationInfo : {}
PSMessageDetails :
Exception : System.IO.FileNotFoundException: The specified module 'C:\Program
Files\DesiredStateConfiguration\1.0.0.0\Modules\PSDesiredStateConfiguration\PSDesiredStateConfiguration.psd1' was not loaded because
no valid module file was found in any module directory.
TargetObject : C:\Program Files\DesiredStateConfiguration\1.0.0.0\Modules\PSDesiredStateConfiguration\PSDesiredStateConfiguration.psd1
CategoryInfo : ResourceUnavailable: (C:\Program File...figuration.psd1:String) [Import-Module], FileNotFoundException
FullyQualifiedErrorId : Modules_ModuleNotFound,Microsoft.PowerShell.Commands.ImportModuleCommand
ErrorDetails :
InvocationInfo : System.Management.Automation.InvocationInfo
ScriptStackTrace :
PipelineIterationInfo : {0, 1}
This is Windows 10
VS Code Insider 1.11.0-insider
Commit acfe8468e647f6a42c015c47c28610da9aecdce3
Date 2017-03-16T07:46:10.408Z
PowerShell extension 0.10.1
$PSVersiontable
Name Value
---- -----
PSVersion 5.1.15058.0
PSEdition Desktop
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0...}
BuildVersion 10.0.15058.0
CLRVersion 4.0.30319.42000
WSManStackVersion 3.0
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1