Aaron Jensen

My feedback

  1. 2 votes
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)

    We’ll send you updates on this idea

    2 comments  ·  PowerShell » PowerShell Engine  ·  Flag idea as inappropriate…  ·  Admin →
    Aaron Jensen commented  · 

    This also affects PowerShell Core 6.1: https://github.com/PowerShell/PowerShell/issues/7814

    Aaron Jensen commented  · 

    It looks like this is related to the $InformationPreference variable. If it is set to "Continue", when Receive-Job runs, it duplicates the output.

    One workaround is to set the InformationAction parameter on Receive-Job to "SilentlyContinue":

    Start-Job { 1..10 | % { Start-Sleep -Milliseconds 10 ; Write-Host $_ } } | Wait-Job | Receive-Job -InformationAction SilentlyContinue

    Aaron Jensen shared this idea  · 
  2. 2 votes
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)

    We’ll send you updates on this idea

    survey  ·  0 comments  ·  PowerShell » Microsoft.PowerShell.* Modules  ·  Flag idea as inappropriate…  ·  Admin →
    Aaron Jensen shared this idea  · 
  3. 9 votes
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)

    We’ll send you updates on this idea

    3 comments  ·  PowerShell » Other PowerShell  ·  Flag idea as inappropriate…  ·  Admin →
    Aaron Jensen shared this idea  · 
  4. 2 votes
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)

    We’ll send you updates on this idea

    1 comment  ·  PowerShell » Other PowerShell  ·  Flag idea as inappropriate…  ·  Admin →
    Aaron Jensen shared this idea  · 
  5. 2 votes
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)

    We’ll send you updates on this idea

    0 comments  ·  PowerShell » Package Management  ·  Flag idea as inappropriate…  ·  Admin →
    Aaron Jensen shared this idea  · 
  6. 8 votes
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)

    We’ll send you updates on this idea

    7 comments  ·  PowerShell » Other PowerShell  ·  Flag idea as inappropriate…  ·  Admin →
    Aaron Jensen commented  · 

    [3]
    Local PowerShell version on Windows 7:
    > $PSVersionTable

    Name Value
    ---- -----
    PSVersion 5.0.10586.51
    PSCompatibleVersions {1.0, 2.0, 3.0, 4.0...}
    BuildVersion 10.0.10586.51
    CLRVersion 4.0.30319.42000
    WSManStackVersion 3.0
    PSRemotingProtocolVersion 2.3
    SerializationVersion 1.1.0.1

    [4]
    Remote PowerShell version on Windows 2012 R2:
    > $PSVersionTable

    Name Value
    ---- -----
    PSVersion 4.0
    WSManStackVersion 3.0
    SerializationVersion 1.1.0.1
    CLRVersion 4.0.30319.34014
    BuildVersion 6.3.9600.17400
    PSCompatibleVersions {1.0, 2.0, 3.0, 4.0}
    PSRemotingProtocolVersion 2.2

    Aaron Jensen commented  · 

    [2]
    Full terminating error when getting certificates recursively:

    ProviderInvocationException : System.Management.Automation.ProviderInvocationException: Attempting to perform the GetChildItems operation on the 'Certificate' provider failed for path '\'. The system cannot open the device or file specified --->
    System.ComponentModel.Win32Exception: The system cannot open the device or file specified
    at Microsoft.PowerShell.Commands.X509NativeStore.Open(Boolean includeArchivedCerts)
    at Microsoft.PowerShell.Commands.CertificateProvider.GetCertificatesOrNames(String path, String[] pathElements, Boolean returnNames, CertificateFilterInfo filter)
    at Microsoft.PowerShell.Commands.CertificateProvider.GetStoresOrNames(String path, Boolean recurse, Boolean returnNames, CertificateFilterInfo filter)
    at Microsoft.PowerShell.Commands.CertificateProvider.GetChildItemsOrNames(String path, Boolean recurse, ReturnContainers returnContainers, Boolean returnNames, CertificateFilterInfo filter)
    at Microsoft.PowerShell.Commands.CertificateProvider.GetChildItemsOrNames(String path, Boolean recurse, ReturnContainers returnContainers, Boolean returnNames, CertificateFilterInfo filter)
    at Microsoft.PowerShell.Commands.CertificateProvider.GetChildItems(String path, Boolean recurse)
    at System.Management.Automation.SessionStateInternal.GetChildItems(CmdletProvider providerInstance, String path, Boolean recurse, CmdletProviderContext context)
    --- End of inner exception stack trace ---
    at System.Management.Automation.SessionStateInternal.GetChildItems(CmdletProvider providerInstance, String path, Boolean recurse, CmdletProviderContext context)
    at System.Management.Automation.SessionStateInternal.GetChildItems(String path, Boolean recurse, CmdletProviderContext context)
    at Microsoft.PowerShell.Commands.GetChildItemCommand.ProcessRecord()
    at System.Management.Automation.CommandProcessor.ProcessRecord()
    ProviderInfo : Microsoft.PowerShell.Security\Certificate
    ErrorRecord : The system cannot open the device or file specified
    StackTrace : at System.Management.Automation.Internal.PipelineProcessor.SynchronousExecuteEnumerate(Object input, Hashtable errorResults, Boolean enumerate)
    at System.Management.Automation.Runspaces.LocalPipeline.InvokeHelper()
    at System.Management.Automation.Runspaces.LocalPipeline.InvokeThreadProc()
    WasThrownFromThrowStatement : False
    Message : The system cannot open the device or file specified
    Data : {}
    InnerException : System.ComponentModel.Win32Exception (0x80004005): The system cannot open the device or file specified
    at Microsoft.PowerShell.Commands.X509NativeStore.Open(Boolean includeArchivedCerts)
    at Microsoft.PowerShell.Commands.CertificateProvider.GetCertificatesOrNames(String path, String[] pathElements, Boolean returnNames, CertificateFilterInfo filter)
    at Microsoft.PowerShell.Commands.CertificateProvider.GetStoresOrNames(String path, Boolean recurse, Boolean returnNames, CertificateFilterInfo filter)
    at Microsoft.PowerShell.Commands.CertificateProvider.GetChildItemsOrNames(String path, Boolean recurse, ReturnContainers returnContainers, Boolean returnNames, CertificateFilterInfo filter)
    at Microsoft.PowerShell.Commands.CertificateProvider.GetChildItemsOrNames(String path, Boolean recurse, ReturnContainers returnContainers, Boolean returnNames, CertificateFilterInfo filter)
    at Microsoft.PowerShell.Commands.CertificateProvider.GetChildItems(String path, Boolean recurse)
    at System.Management.Automation.SessionStateInternal.GetChildItems(CmdletProvider providerInstance, String path, Boolean recurse, CmdletProviderContext context)
    TargetSite : System.Array SynchronousExecuteEnumerate(System.Object, System.Collections.Hashtable, Boolean)
    HelpLink :
    Source : System.Management.Automation
    HResult : -2146233087

    Aaron Jensen commented  · 

    [1]
    Full exception details when getting all certificates with wildcards:

    PSMessageDetails :
    Exception : System.Management.Automation.ParameterBindingException: Cannot retrieve the dynamic parameters for the cmdlet. The system cannot open the device or file specified ---> System.ComponentModel.Win32Exception: The system cannot open the device or file
    specified
    at Microsoft.PowerShell.Commands.X509NativeStore.Open(Boolean includeArchivedCerts)
    at Microsoft.PowerShell.Commands.CertificateProvider.HasChildItems(String path)
    at System.Management.Automation.LocationGlobber.GetChildNamesInDir(String dir, String leafElement, Boolean getAllContainers, CmdletProviderContext context, Boolean dirIsProviderPath, PSDriveInfo drive, ContainerCmdletProvider provider, String&
    modifiedDirPath)
    at System.Management.Automation.LocationGlobber.GenerateNewPSPathsWithGlobLeaf(StringCollection currentDirs, PSDriveInfo drive, String leafElement, Boolean isLastLeaf, ContainerCmdletProvider provider, CmdletProviderContext context)
    at System.Management.Automation.LocationGlobber.ExpandMshGlobPath(String path, Boolean allowNonexistingPaths, PSDriveInfo drive, ContainerCmdletProvider provider, CmdletProviderContext context)
    at System.Management.Automation.LocationGlobber.ResolveDriveQualifiedPath(String path, CmdletProviderContext context, Boolean allowNonexistingPaths, CmdletProvider& providerInstance)
    at System.Management.Automation.LocationGlobber.GetGlobbedMonadPathsFromMonadPath(String path, Boolean allowNonexistingPaths, CmdletProviderContext context, CmdletProvider& providerInstance)
    at System.Management.Automation.LocationGlobber.GetGlobbedProviderPathsFromMonadPath(String path, Boolean allowNonexistingPaths, CmdletProviderContext context, ProviderInfo& provider, CmdletProvider& providerInstance)
    at System.Management.Automation.SessionStateInternal.GetChildItemsDynamicParameters(String path, Boolean recurse, CmdletProviderContext context)
    at Microsoft.PowerShell.Commands.GetChildItemCommand.GetDynamicParameters(CmdletProviderContext context)
    at Microsoft.PowerShell.Commands.CoreCommandBase.GetDynamicParameters()
    at System.Management.Automation.CmdletParameterBinderController.HandleCommandLineDynamicParameters(ParameterBindingException& outgoingBindingException)
    --- End of inner exception stack trace ---
    at System.Management.Automation.ExceptionHandlingOps.CheckActionPreference(FunctionContext funcContext, Exception exception)
    at System.Management.Automation.Interpreter.ActionCallInstruction`2.Run(InterpretedFrame frame)
    at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame)
    at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame)
    TargetObject :
    CategoryInfo : InvalidArgument: (:) [Get-ChildItem], ParameterBindingException
    FullyQualifiedErrorId : GetDynamicParametersException,Microsoft.PowerShell.Commands.GetChildItemCommand
    ErrorDetails :
    InvocationInfo : System.Management.Automation.InvocationInfo
    ScriptStackTrace : at <ScriptBlock>, <No file>: line 1
    PipelineIterationInfo : {}

    Aaron Jensen shared this idea  · 
  7. 55 votes
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)

    We’ll send you updates on this idea

    8 comments  ·  PowerShell » PowerShell Engine  ·  Flag idea as inappropriate…  ·  Admin →
    survey  ·  Zachary Alexander responded

    Thank you for your input. Based on its current ranking compared to other feedback items and product schedule, work on this item is pending (and will be driven by) further customer input.

    Aaron Jensen supported this idea  · 
  8. 19 votes
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)

    We’ll send you updates on this idea

    0 comments  ·  PowerShell » ISE and tooling  ·  Flag idea as inappropriate…  ·  Admin →
    Aaron Jensen supported this idea  · 
  9. 5 votes
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)

    We’ll send you updates on this idea

    0 comments  ·  PowerShell » ISE and tooling  ·  Flag idea as inappropriate…  ·  Admin →
    Aaron Jensen supported this idea  · 
  10. 6 votes
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)

    We’ll send you updates on this idea

    0 comments  ·  PowerShell » Desired State Configuration (DSC)  ·  Flag idea as inappropriate…  ·  Admin →
    Aaron Jensen supported this idea  · 
  11. 7 votes
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)

    We’ll send you updates on this idea

    Aaron Jensen supported this idea  · 
  12. 3 votes
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)

    We’ll send you updates on this idea

    0 comments  ·  PowerShell » Microsoft.PowerShell.* Modules  ·  Flag idea as inappropriate…  ·  Admin →
    Aaron Jensen supported this idea  · 
  13. 18 votes
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)

    We’ll send you updates on this idea

    0 comments  ·  PowerShell » Documentation  ·  Flag idea as inappropriate…  ·  Admin →
    Aaron Jensen supported this idea  · 
  14. 2 votes
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)

    We’ll send you updates on this idea

    0 comments  ·  PowerShell » PowerShell Engine  ·  Flag idea as inappropriate…  ·  Admin →
    Aaron Jensen supported this idea  · 

Feedback and Knowledge Base