binyomen / pwsh-live-doc

Run real code examples to generate empirical documentation of the complex nonsense that is PowerShell semantics.
https://www.pwsh-live-doc.com/
MIT License
5 stars 0 forks source link

The "Method output" page produces different output on my machine than in GitHub Actions #29

Open binyomen opened 4 years ago

binyomen commented 4 years ago

Specifically, the section describing non-void methods when ErrorActionPreference is Continue. I'm not sure yet what causes the difference....

Also, no luck running 7.0.1 locally to match the runner.

. printEnvironment.ps1 outputs

My machine

DEBUG:    3+  >>>> [Environment]::GetEnvironmentVariables()

Name                           Value
----                           -----
COMPUTERNAME                   BEN-XPS
POWERSHELL_DISTRIBUTION_CHANN… MSI:Windows 10 Pro
CommonProgramFiles             C:\Program Files\Common Files
WT_SESSION                     cb0316b7-8034-4d2b-a652-debd7821720d
PROCESSOR_LEVEL                6
NUMBER_OF_PROCESSORS           4
LOGONSERVER                    \\BEN-XPS
TMP                            C:\Users\Ben\AppData\Local\Temp
WSLENV                         WT_SESSION::WT_PROFILE_ID
USERNAME                       Ben
ChocolateyInstall              C:\ProgramData\chocolatey
VS140COMNTOOLS                 C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\Tools\
ChocolateyLastPathUpdate       132314632505466700
JAVA_HOME                      C:\Program Files\OpenJDK\jdk-14.0.1
OneDriveConsumer               C:\Users\Ben\OneDrive
ComSpec                        C:\WINDOWS\system32\cmd.exe
DriverData                     C:\Windows\System32\Drivers\DriverData
PROCESSOR_IDENTIFIER           Intel64 Family 6 Model 142 Stepping 9, GenuineIntel
LOCALAPPDATA                   C:\Users\Ben\AppData\Local
CommonProgramFiles(x86)        C:\Program Files (x86)\Common Files
GNUPLOT_LIB                    C:\Program Files\gnuplot\demo;C:\Program Files\gnuplot\demo\games;C:\Program Files\gnup…
TEMP                           C:\Users\Ben\AppData\Local\Temp
HOMEDRIVE                      C:
APPDATA                        C:\Users\Ben\AppData\Roaming
USERPROFILE                    C:\Users\Ben
ProgramFiles(x86)              C:\Program Files (x86)
HOME                           C:\Users\Ben
SystemDrive                    C:
OneDrive                       C:\Users\Ben\OneDrive
PSModulePath                   C:\Users\Ben\Documents\PowerShell\Modules;C:\Program Files\PowerShell\Modules;c:\progra…
PUBLIC                         C:\Users\Public
PATHEXT                        .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC;.CPL
ProgramFiles                   C:\Program Files
ProgramW6432                   C:\Program Files
Path                           C:\Program Files\PowerShell\7;C:\Program Files\Alacritty\;C:\Program Files\Haskell\bin;…
USERDOMAIN                     BEN-XPS
ProgramData                    C:\ProgramData
ChocolateyToolsLocation        C:\tools
SESSIONNAME                    Console
HOMEPATH                       \Users\Ben
ALLUSERSPROFILE                C:\ProgramData
PROCESSOR_ARCHITECTURE         AMD64
STACK_ROOT                     C:\sr
SBT_HOME                       C:\Program Files (x86)\sbt\
CommonProgramW6432             C:\Program Files\Common Files
USERDOMAIN_ROAMINGPROFILE      BEN-XPS
WT_PROFILE_ID                  {61c54bbd-c2c6-5271-96e7-009a87ff44bf}
SystemRoot                     C:\WINDOWS
OS                             Windows_NT
windir                         C:\WINDOWS
PROCESSOR_REVISION             8e09
DEBUG:    4+  >>>> [Environment]::Version

Major         : 3
Minor         : 1
Build         : 5
Revision      : -1
MajorRevision : -1
MinorRevision : -1

DEBUG:    5+  >>>> [Environment]::CommandLine

"C:\Program Files\PowerShell\7\pwsh.dll"
DEBUG:    7+  >>>> $Host

Name             : ConsoleHost
Version          : 7.0.2
InstanceId       : ecb7567a-2bdb-4efe-b688-784f917dda65
UI               : System.Management.Automation.Internal.Host.InternalHostUserInterface
CurrentCulture   : en-US
CurrentUICulture : en-US
PrivateData      : Microsoft.PowerShell.ConsoleHost+ConsoleColorProxy
DebuggerEnabled  : True
IsRunspacePushed : False
Runspace         : System.Management.Automation.Runspaces.LocalRunspace

DEBUG:    8+  >>>> $Host.UI

RawUI                   : System.Management.Automation.Internal.Host.InternalHostRawUserInterface
SupportsVirtualTerminal : True

DEBUG:    9+  >>>> $Host.RawUI

DEBUG:   10+  >>>> $Host.PrivateData

FormatAccentColor       : Green
ErrorAccentColor        : Cyan
ErrorForegroundColor    : Red
ErrorBackgroundColor    : Black
WarningForegroundColor  : Yellow
WarningBackgroundColor  : Black
DebugForegroundColor    : Yellow
DebugBackgroundColor    : Black
VerboseForegroundColor  : Yellow
VerboseBackgroundColor  : Black
ProgressForegroundColor : Yellow
ProgressBackgroundColor : DarkCyan

DEBUG:   11+  >>>> $Host.Runspace

Events                 : System.Management.Automation.PSLocalEventManager
ThreadOptions          : ReuseThread
JobManager             : System.Management.Automation.JobManager
Debugger               : System.Management.Automation.ScriptDebugger
InitialSessionState    : System.Management.Automation.Runspaces.InitialSessionState
Version                : 7.0.2
RunspaceStateInfo      : Opened
RunspaceAvailability   : Busy
ConnectionInfo         :
OriginalConnectionInfo :
LanguageMode           : FullLanguage
ApartmentState         : STA
RunspaceIsRemote       : False
InstanceId             : 6efadea2-f445-48c6-883e-aa0a658b347a
DisconnectedOn         :
ExpiresOn              :
Name                   : Runspace1
Id                     : 1
SessionStateProxy      : System.Management.Automation.Runspaces.SessionStateProxy

DEBUG:   12+  >>>> $Host.Runspace.InitialSessionState

LanguageMode                  : FullLanguage
TranscriptDirectory           :
ExecutionPolicy               : Restricted
UseFullLanguageModeInDebugger : False
ApartmentState                : Unknown
ThreadOptions                 : Default
ThrowOnRunspaceOpenError      : False
AuthorizationManager          : Microsoft.PowerShell.PSAuthorizationManager
Modules                       : {PSReadLine}
Assemblies                    : {System.Management.Automation, Version=7.0.2.0, Culture=neutral,
                                PublicKeyToken=31bf3856ad364e35, ProcessorArchitecture=MSIL,
                                Microsoft.PowerShell.Security}
Types                         : {C:\Program Files\PowerShell\7\types.ps1xml, C:\Program
                                Files\PowerShell\7\typesv3.ps1xml}
Formats                       : {*, *, *, *…}
DisableFormatUpdates          : False
Providers                     : {Registry, Alias, Environment, FileSystem…}
Commands                      : {*, *, cd.., cd\…}
Variables                     : {$, ^, StackTrace, OutputEncoding…}
EnvironmentVariables          : {}
StartupScripts                : {}

DEBUG:   13+  >>>> $Host.Runspace.SessionStateProxy

Applications   :
Scripts        :
Drive          :
LanguageMode   : FullLanguage
Module         :
Path           :
Provider       :
PSVariable     :
InvokeCommand  :
InvokeProvider :

DEBUG:   15+  >>>> $PSVersionTable

PSVersion                      7.0.2
PSEdition                      Core
GitCommitId                    7.0.2
OS                             Microsoft Windows 10.0.18363
Platform                       Win32NT
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion      2.3
SerializationVersion           1.1.0.1
WSManStackVersion              3.0
DEBUG:   17+  >>>> Get-Variable | Format-Table

Name                           Value
----                           -----
$                              dcw
?                              True
^                              git
args                           {}
ChocolateyProfile              C:\ProgramData\chocolatey\helpers\chocolateyProfile.psm1
ChocolateyTabSettings          @{AllCommands=False}
ConfirmPreference              High
DebugPreference                SilentlyContinue
EnabledExperimentalFeatures    {}
Error                          {Cannot find a process with the name "node". Verify the process name and call the cmdle…
ErrorActionPreference          Continue
ErrorView                      ConciseView
ExecutionContext               System.Management.Automation.EngineIntrinsics
false                          False
FormatEnumerationLimit         4
GitMissing                     False
GitPromptScriptBlock           …
GitPromptSettings              @{DefaultForegroundColor=; BeforeText= [; BeforeForegroundColor=Yellow; BeforeBackgroun…
GitStatus                      @{StashCount=0; Upstream=origin/stderr_in_methods; BehindBy=0; AheadBy=0; Index=System.…
GitTabSettings                 @{AllCommands=False}
HOME                           C:\Users\Ben
Host                           System.Management.Automation.Internal.Host.InternalHost
InformationPreference          SilentlyContinue
input                          System.Collections.ArrayList+ArrayListEnumeratorSimple
IsCoreCLR                      True
IsLinux                        False
IsMacOS                        False
IsWindows                      True
LASTEXITCODE                   0
MaximumHistoryCount            4096
MyInvocation                   System.Management.Automation.InvocationInfo
NestedPromptLevel              0
null
OutputEncoding                 System.Text.UTF8Encoding
PID                            9168
PreviousWindowTitle            Windows PowerShell
PROFILE                        C:\Users\Ben\Documents\PowerShell\Microsoft.PowerShell_profile.ps1
ProgressPreference             Continue
PSBoundParameters              {}
PSCommandPath                  C:\Users\Ben\Documents\PowerShell\profile.ps1
PSCulture                      en-US
PSDefaultParameterValues       {}
PSEdition                      Core
PSEmailServer
PSHOME                         C:\Program Files\PowerShell\7
PSScriptRoot                   C:\Users\Ben\Documents\PowerShell
PSSessionApplicationName       wsman
PSSessionConfigurationName     http://schemas.microsoft.com/powershell/Microsoft.PowerShell
PSSessionOption                System.Management.Automation.Remoting.PSSessionOption
PSUICulture                    en-US
PSVersionTable                 {PSVersion, PSEdition, GitCommitId, OS…}
PWD                            C:\Users\Ben\repos\pwsh-live-doc
ShellId                        Microsoft.PowerShell
StackTrace
TortoiseGitSettings            @{TortoiseGitPath=C:\Program Files\TortoiseGit\bin\TortoiseProc.exe; TortoiseGitCommand…
true                           True
VcsPromptStatuses              {…
VerbosePreference              SilentlyContinue
WarningPreference              Continue
WhatIfPreference               False

DEBUG:   19+  >>>> Set-PSDebug -Off

GitHub Actions runner

DEBUG:    3+  >>>> [Environment]::GetEnvironmentVariables()

Name                           Value
----                           -----
GOROOT_1_12_X64                C:\go1.12.17 C:\hostedtoolcache\windows\go\1.12.17\x64
PERFLOG_LOCATION_SETTING       RUNNER_PERFLOG
ANDROID_NDK_PATH               C:\Program Files (x86)\Android\android-sdk\ndk-bundle
PROCESSOR_REVISION             5504
GITHUB_ACTION                  run1
GITHUB_RUN_ID                  135158086
VCPKG_INSTALLATION_ROOT        C:\vcpkg
GITHUB_ACTIONS                 true
M2_REPO                        C:\ProgramData\m2
GOROOT_1_10_X64                C:\go1.10.8 C:\hostedtoolcache\windows\go\1.10.8\x64
M2_HOME                        C:\ProgramData\chocolatey\lib\maven\apache-maven-3.6.3
SystemDrive                    C:
RUNNER_TOOL_CACHE              C:/hostedtoolcache/windows
EdgeWebDriver                  C:\SeleniumWebDrivers\EdgeDriver
ProgramFiles(x86)              C:\Program Files (x86)
LOGONSERVER                    \\fv-az41
GOROOT_1_14_X64                C:\go1.14.4 C:\hostedtoolcache\windows\go\1.14.4\x64
ProgramFiles                   C:\Program Files
GCM_INTERACTIVE                Never
COBERTURA_HOME                 C:\cobertura-2.1.1
APPDATA                        C:\Users\runneradmin\AppData\Roaming
GOROOT_1_13_X64                C:\go1.13.12 C:\hostedtoolcache\windows\go\1.13.12\x64
GOROOT                         C:\hostedtoolcache\windows\go\1.14.4\x64
PROCESSOR_IDENTIFIER           Intel64 Family 6 Model 85 Stepping 4, GenuineIntel
TEMP                           C:\Users\RUNNER~1\AppData\Local\Temp
SBT_HOME                       C:\Program Files (x86)\sbt\
HOMEDRIVE                      C:
GOROOT_1_9_X64                 C:\go1.9.7 C:\hostedtoolcache\windows\go\1.9.7\x64
GITHUB_SERVER_URL              https://github.com
POWERSHELL_DISTRIBUTION_CHANN… GitHub-Actions-win19
JAVA_HOME_7_X64                C:\Program Files\Java\zulu-7-azure-jdk_7.31.0.5-7.0.232-win_x64
PHPROOT                        c:\tools\php
WIX                            C:\Program Files (x86)\WiX Toolset v3.11\
CommonProgramW6432             C:\Program Files\Common Files
ALLUSERSPROFILE                C:\ProgramData
NPM_CONFIG_PREFIX              C:\npm\prefix
RUNNER_OS                      Windows
GITHUB_RUN_NUMBER              100
RUNNER_WORKSPACE               D:\a\pwsh-live-doc
ANDROID_NDK_HOME               C:\Program Files (x86)\Android\android-sdk\ndk-bundle
GITHUB_REF                     refs/pull/28/merge
PGUSER                         postgres
ImageVersion                   20200608.1
BOOST_ROOT_1_69_0              C:\hostedtoolcache\windows\Boost\1.69.0
PGPASSWORD                     root
VS140COMNTOOLS                 C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\Tools\
GITHUB_WORKFLOW                docgen
CI                             true
MonAgentClientLocation         C:\Packages\Plugins\Microsoft.Azure.Geneva.GenevaMonitoring\2.17.0.2\Monitoring\Agent
PUBLIC                         C:\Users\Public
GITHUB_REPOSITORY              benweedon/pwsh-live-doc
RUNNER_TEMP                    D:\a\_temp
GITHUB_SHA                     610e5d838f8d0a2a7ad9814cb64a1f42b39f8446
LOCALAPPDATA                   C:\Users\runneradmin\AppData\Local
GITHUB_WORKSPACE               D:\a\pwsh-live-doc\pwsh-live-doc
CommonProgramFiles             C:\Program Files\Common Files
GeckoWebDriver                 C:\SeleniumWebDrivers\GeckoDriver
Path                           C:\Program Files\PowerShell\7;C:\Program Files\Mercurial\;C:\Program Files\MongoDB\Serv…
USERNAME                       runneradmin
JAVA_HOME_11_X64               C:\Program Files\Java\zulu-11-azure-jdk_11.33.15-11.0.4-win_x64
ANT_HOME                       C:\ProgramData\chocolatey\lib\ant\apache-ant-1.10.5
JAVA_HOME                      C:\Program Files\Java\zulu-8-azure-jdk_8.40.0.25-8.0.222-win_x64
GITHUB_EVENT_NAME              pull_request
GITHUB_API_URL                 https://api.github.com
ProgramW6432                   C:\Program Files
RUNNER_TRACKING_ID             github_2a2d5418-194f-4a59-9e7d-85c7c2b5a1b3
HOMEPATH                       \Users\runneradmin
ImageOS                        win19
BOOST_ROOT_1_72_0              C:\hostedtoolcache\windows\Boost\1.72.0
SELENIUM_JAR_PATH              C:\selenium\selenium-server-standalone.jar
TMP                            C:\Users\RUNNER~1\AppData\Local\Temp
ANDROID_HOME                   C:\Program Files (x86)\Android\android-sdk
USERDOMAIN                     fv-az41
JAVA_HOME_8_X64                C:\Program Files\Java\zulu-8-azure-jdk_8.40.0.25-8.0.222-win_x64
JAVA_HOME_13_X64               C:\Program Files\Java\zulu-13-azure-jdk_13.31.11-13.0.3-win_x64
OS                             Windows_NT
SystemRoot                     C:\windows
PSModulePath                   C:\Users\runneradmin\Documents\PowerShell\Modules;C:\Program Files\PowerShell\Modules;c…
GITHUB_EVENT_PATH              D:\a\_temp\_github_workflow\event.json
M2                             C:\ProgramData\chocolatey\lib\maven\apache-maven-3.6.3\bin
GITHUB_ACTOR                   benweedon
ProgramData                    C:\ProgramData
DriverData                     C:\Windows\System32\Drivers\DriverData
PROCESSOR_ARCHITECTURE         AMD64
GITHUB_GRAPHQL_URL             https://api.github.com/graphql
DEPLOYMENT_BASEPATH            C:\actions
GITHUB_BASE_REF                master
GITHUB_REPOSITORY_OWNER        benweedon
CommonProgramFiles(x86)        C:\Program Files (x86)\Common Files
AZURE_EXTENSION_DIR            C:\Program Files\Common Files\AzureCliExtensionDirectory
CONDA                          C:\Miniconda
GRADLE_HOME                    C:\ProgramData\chocolatey\lib\gradle\tools\gradle-6.5
NPM_CONFIG_CACHE               C:\npm\cache
ChromeWebDriver                C:\SeleniumWebDrivers\ChromeDriver
PATHEXT                        .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC;.CPL
USERPROFILE                    C:\Users\runneradmin
ComSpec                        C:\windows\system32\cmd.exe
NUMBER_OF_PROCESSORS           2
ChocolateyInstall              C:\ProgramData\chocolatey
windir                         C:\windows
GITHUB_HEAD_REF                stderr_in_methods
GITHUB_JOB                     build
IEWebDriver                    C:\SeleniumWebDrivers\IEDriver
MAVEN_OPTS                     -Xms256m
PROCESSOR_LEVEL                6
USERDOMAIN_ROAMINGPROFILE      fv-az41
COMPUTERNAME                   fv-az41
GOROOT_1_11_X64                C:\go1.11.13 C:\hostedtoolcache\windows\go\1.11.13\x64
RUNNER_PERFLOG                 C:\actions\perflog
DEBUG:    4+  >>>> [Environment]::Version

Major         : 3
Minor         : 1
Build         : 4
Revision      : -1
MajorRevision : -1
MinorRevision : -1

DEBUG:    5+  >>>> [Environment]::CommandLine

"C:\Program Files\PowerShell\7\pwsh.dll" -command ". 'D:\a\_temp\46a36a17-75ec-4742-96a3-81587eb54e04.ps1'"
DEBUG:    7+  >>>> $Host

Name             : ConsoleHost
Version          : 7.0.1
InstanceId       : d4daf724-5610-4b1a-bc4e-640658c5b5a7
UI               : System.Management.Automation.Internal.Host.InternalHostUserInterface
CurrentCulture   : en-US
CurrentUICulture : en-US
PrivateData      : Microsoft.PowerShell.ConsoleHost+ConsoleColorProxy
DebuggerEnabled  : True
IsRunspacePushed : False
Runspace         : System.Management.Automation.Runspaces.LocalRunspace

DEBUG:    8+  >>>> $Host.UI

RawUI                   : System.Management.Automation.Internal.Host.InternalHostRawUserInterface
SupportsVirtualTerminal : True

DEBUG:    9+  >>>> $Host.RawUI

DEBUG:   10+  >>>> $Host.PrivateData

FormatAccentColor       : Green
ErrorAccentColor        : Cyan
ErrorForegroundColor    : Red
ErrorBackgroundColor    : Black
WarningForegroundColor  : Yellow
WarningBackgroundColor  : Black
DebugForegroundColor    : Yellow
DebugBackgroundColor    : Black
VerboseForegroundColor  : Yellow
VerboseBackgroundColor  : Black
ProgressForegroundColor : Yellow
ProgressBackgroundColor : DarkCyan

DEBUG:   11+  >>>> $Host.Runspace

Events                 : System.Management.Automation.PSLocalEventManager
ThreadOptions          : ReuseThread
JobManager             : System.Management.Automation.JobManager
Debugger               : System.Management.Automation.ScriptDebugger
InitialSessionState    : System.Management.Automation.Runspaces.InitialSessionState
Version                : 7.0.1
RunspaceStateInfo      : Opened
RunspaceAvailability   : Busy
ConnectionInfo         : 
OriginalConnectionInfo : 
LanguageMode           : FullLanguage
ApartmentState         : STA
RunspaceIsRemote       : False
InstanceId             : abf8f42b-0d09-4d69-937e-a845822da78e
DisconnectedOn         : 
ExpiresOn              : 
Name                   : Runspace1
Id                     : 1
SessionStateProxy      : System.Management.Automation.Runspaces.SessionStateProxy

DEBUG:   12+  >>>> $Host.Runspace.InitialSessionState

LanguageMode                  : FullLanguage
TranscriptDirectory           : 
ExecutionPolicy               : Restricted
UseFullLanguageModeInDebugger : False
ApartmentState                : Unknown
ThreadOptions                 : Default
ThrowOnRunspaceOpenError      : False
AuthorizationManager          : Microsoft.PowerShell.PSAuthorizationManager
Modules                       : {}
Assemblies                    : {System.Management.Automation, Version=7.0.1.0, Culture=neutral, 
                                PublicKeyToken=31bf3856ad364e35, ProcessorArchitecture=MSIL, 
                                Microsoft.PowerShell.Security}
Types                         : {C:\Program Files\PowerShell\7\types.ps1xml, C:\Program 
                                Files\PowerShell\7\typesv3.ps1xml}
Formats                       : {*, *, *, *…}
DisableFormatUpdates          : False
Providers                     : {Registry, Alias, Environment, FileSystem…}
Commands                      : {*, *, cd.., cd\…}
Variables                     : {$, ^, StackTrace, OutputEncoding…}
EnvironmentVariables          : {}
StartupScripts                : {}

DEBUG:   13+  >>>> $Host.Runspace.SessionStateProxy

Applications   : 
Scripts        : 
Drive          : 
LanguageMode   : FullLanguage
Module         : 
Path           : 
Provider       : 
PSVariable     : 
InvokeCommand  : 
InvokeProvider : 

DEBUG:   15+  >>>> $PSVersionTable

PSVersion                      7.0.1
PSEdition                      Core
GitCommitId                    7.0.1
OS                             Microsoft Windows 10.0.17763
Platform                       Win32NT
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion      2.3
SerializationVersion           1.1.0.1
WSManStackVersion              3.0
DEBUG:   17+  >>>> Get-Variable | Format-Table

Name                           Value
----                           -----
$                              
?                              True
^                              
args                           {}
ConfirmPreference              High
DebugPreference                SilentlyContinue
EnabledExperimentalFeatures    {}
Error                          {}
ErrorActionPreference          Stop
ErrorView                      ConciseView
ExecutionContext               System.Management.Automation.EngineIntrinsics
false                          False
FormatEnumerationLimit         4
HOME                           C:\Users\runneradmin
Host                           System.Management.Automation.Internal.Host.InternalHost
InformationPreference          SilentlyContinue
input                          System.Collections.ArrayList+ArrayListEnumeratorSimple
IsCoreCLR                      True
IsLinux                        False
IsMacOS                        False
IsWindows                      True
MaximumHistoryCount            4096
MyInvocation                   System.Management.Automation.InvocationInfo
NestedPromptLevel              0
null                           
OutputEncoding                 System.Text.UTF8Encoding
PID                            4612
PROFILE                        C:\Users\runneradmin\Documents\PowerShell\Microsoft.PowerShell_profile.ps1
ProgressPreference             Continue
PSBoundParameters              {}
PSCommandPath                  D:\a\pwsh-live-doc\pwsh-live-doc\printEnvironment.ps1
PSCulture                      en-US
PSDefaultParameterValues       {}
PSEdition                      Core
PSEmailServer                  
PSHOME                         C:\Program Files\PowerShell\7
PSScriptRoot                   D:\a\pwsh-live-doc\pwsh-live-doc
PSSessionApplicationName       wsman
PSSessionConfigurationName     http://schemas.microsoft.com/powershell/Microsoft.PowerShell
PSSessionOption                System.Management.Automation.Remoting.PSSessionOption
PSUICulture                    en-US
PSVersionTable                 {PSVersion, PSEdition, GitCommitId, OS…}
PWD                            D:\a\pwsh-live-doc\pwsh-live-doc
ShellId                        Microsoft.PowerShell
StackTrace                     
true                           True
VerbosePreference              SilentlyContinue
WarningPreference              Continue
WhatIfPreference               False

DEBUG:   19+  >>>> Set-PSDebug -Off
binyomen commented 3 years ago

Please see https://www.pwsh-live-doc.com/basics/the-stderr-stream for the current status of differences in output.