PowerShell

The PowerShell forum accepts bug reports as well as feedback and suggestions. For more information, check out the PowerShell Homepage

The following is a list of the states we use to track items.

status meaning
survey We saw this and we are considering it. Please upvote if it’s important to you.
needs more information We don’t understand the issue and need additional details.
investigating We are looking at this internally to understand things like: scenario, reproduction of issue, costing, or other technical details.
in queue The issue is understood and in our unprioritized backlog. Your votes will be used to drive prioritization of this work.

Please feel free to provide feedback or file bugs here.

(thinking…)

Enter your idea and we'll search to see if someone has already suggested it.

If a similar idea already exists, you can support and comment on it.

If it doesn't exist, you can post your idea so others can support it.

Enter your idea and we'll search to see if someone has already suggested it.

  • Hot ideas
  • Top ideas
  • New ideas
  • My feedback
  1. -Debug parameter does not behave as expected when using Write-Debug inside script and selecting "Yes to all"

    Votes from Connect: 4

    Original Date Submitted: 6/17/2015 8:18:36 AM

    Description:
    ********Contact Information********
    Handle: Tom Nolan [MSFT]
    Site Name: PowerShell
    Feedback ID: 1441324
    ***************************************

    Frequency: PowerShell
    Regression: function Test-MyDebug
    {
    [cmdletbinding()]
    param
    (
    [parameter(ValueFromPipeline=$true)]
    $InputObject
    )
    process
    {
    write-host "Value: $_" -ForegroundColor Green

    Write-Debug "Write-debug gets its own 'scope' for the last continue status of the debug preference"
    Write-Debug "If you select 'Yes To All' on after any of these statements"
    Write-Debug "It will have no effect, and you will continue to be prompted"
    }
    }

    1,2,3 | Test-MyDebug -Debug

    Problem Description:
    When using the -Debug parameter with [cmdletbinding()] inside…

    1 vote
    Sign in
    Check!
    (thinking…)
    Reset
    or sign in with
    • facebook
    • google
      Password icon
      I agree to the terms of service
      Signed in as (Sign out)

      We’ll send you updates on this idea

      0 comments  ·  PowerShell Engine  ·  Flag idea as inappropriate…  ·  Admin →
    • Script Analyzer - Severity for Custom Rule does not work

      Votes from Connect: 6

      Original Date Submitted: 3/20/2015 7:53:36 PM

      Description:
      ********Contact Information********
      Handle: Stefan Stranger
      Site Name: PowerShell
      Feedback ID: 1192179
      ***************************************

      Frequency: Always Happens
      Regression: I do not know if this issue existed previously

      Problem Description:
      When creating a custom script analyzer rule the severity does not seem to be executed.

      Example:
      <#
      .SYNOPSIS
      You should never use Write-Host to create any script output whatsoever.
      .DESCRIPTION
      It is generally accepted that you should never use Write-Host to create any script output whatsoever, unless your script (or function, or whatever) uses the Show verb (as in, Show-Performance).
      That verb…

      1 vote
      Sign in
      Check!
      (thinking…)
      Reset
      or sign in with
      • facebook
      • google
        Password icon
        I agree to the terms of service
        Signed in as (Sign out)

        We’ll send you updates on this idea

        0 comments  ·  Other PowerShell  ·  Flag idea as inappropriate…  ·  Admin →
      • Desired State Configuration - Group resource

        Votes from Connect: 5

        Original Date Submitted: 8/21/2014 8:11:21 PM

        Description:
        ********Contact Information********
        Handle: M.T.Nielsen
        Site Name: PowerShell
        Feedback ID: 951681
        ***************************************

        Frequency: Always Happens
        Regression: I do not know if this issue existed previously

        Problem Description:
        Adding a Domain user/group to a Local group, without providing explicit domain credentials, fails, even on a domain-joined machine with read-access to Active Directory.

        The MSFT_GroupResource.psm1 file in the PSDesiredStateConfiguration module has the following code for Test-TargetResource and Set-TargetResource (line 132 & 464):

        # Create an instance of PrincipalContext.
        $credentialPrincipalContext = $null;
        if($PSBoundParameters.ContainsKey('Credential'))
        {
        $networdCredential = $Credential.GetNetworkCredential();
        $credentialPrincipalContext = New-Object System.DirectoryServices.AccountManagement.PrincipalContext -ArgumentList ([System.DirectoryServices.AccountManagement.ContextType]::Domain, …

        1 vote
        Sign in
        Check!
        (thinking…)
        Reset
        or sign in with
        • facebook
        • google
          Password icon
          I agree to the terms of service
          Signed in as (Sign out)

          We’ll send you updates on this idea

          0 comments  ·  Desired State Configuration (DSC)  ·  Flag idea as inappropriate…  ·  Admin →
        • Get-Help -Parameter fails for common parameters

          Votes from Connect: 5

          Original Date Submitted: 7/7/2015 4:53:38 AM

          Description:
          ********Contact Information********
          Handle: June Blender
          Site Name: PowerShell
          Feedback ID: 1515009
          ***************************************

          Frequency: PowerShell
          Regression: PS C:\ps-test> Get-Help Get-Command -Parameter PipelineVariable
          Get-Help : No parameter matches criteria PipelineVariable.
          At line:1 char:1
          + Get-Help Get-Command -Parameter PipelineVariable
          + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          + CategoryInfo : InvalidArgument: (System.Manageme...CommandHelpInfo:ProviderCommandHelpInfo) [Get-Help], PSArgumen
          tException
          + FullyQualifiedErrorId : NoParmsFound,Microsoft.PowerShell.Commands.GetHelpCommand

          PS C:\ps-test> Get-Command Get-Command -ParameterName PipelineVariable

          CommandType Name ModuleName
          ----------- ---- ----------
          Cmdlet Get-Command Microsoft.PowerShell.Core

          Problem Description:
          Commands in this format:
          Get-Help <commandName> -Parameter <any_common_parameter>

          return a PSArgumentException error, even when the command has the common parameter.

          Get-Help Parameter…

          1 vote
          Sign in
          Check!
          (thinking…)
          Reset
          or sign in with
          • facebook
          • google
            Password icon
            I agree to the terms of service
            Signed in as (Sign out)

            We’ll send you updates on this idea

            0 comments  ·  PowerShell Engine  ·  Flag idea as inappropriate…  ·  Admin →
          • Are there any PowerShell based programs for managing computers

            Votes from Connect: 3

            Original Date Submitted: 7/9/2015 7:50:44 AM

            Description:
            ********Contact Information********
            Handle: NICDoud
            Site Name: PowerShell
            Feedback ID: 1523059
            ***************************************

            Problem Description:
            I've watched a lot of MVA videos on Powershell and automation. I'm looking for something like Kaseya and other management programs for companies that do out sourced IT. I have a lot of customers on seperate networks, domains, locations that I want to manage with power shell or a web interface.

            Something that can automate a lot of IT problems into a simple interface for users. Like System Center, but not limited to one domain or…

            1 vote
            Sign in
            Check!
            (thinking…)
            Reset
            or sign in with
            • facebook
            • google
              Password icon
              I agree to the terms of service
              Signed in as (Sign out)

              We’ll send you updates on this idea

              0 comments  ·  Other PowerShell  ·  Flag idea as inappropriate…  ·  Admin →
            • On Windows8.1 PowerShell calls ToString() method of an object when it is passed as argument to a script function.

              Votes from Connect: 3

              Original Date Submitted: 7/10/2015 6:50:26 PM

              Description:
              ********Contact Information********
              Handle: Dimitar Milov
              Site Name: PowerShell
              Feedback ID: 1529031
              ***************************************

              Frequency: PowerShell
              Regression:

              Problem Description:
              The issue seems to be OS specific and only reproduces on Windows 8/8.1 and Windows 10. When a .NET object instance is passed to a function as an argument the function calls the object's ToString method.

              Product Studio item created by Connect Synchronizer due to creation of feedback ID 1529031 (http://connect.microsoft.com/PowerShell/feedback/ViewFeedback.aspx?FeedbackID=1529031).

              Repro Steps:
              Expected Results:
              $Source = @"
              using System;

              namespace Test
              {
              public class TestClass
              {
              private bool _ts; …

              1 vote
              Sign in
              Check!
              (thinking…)
              Reset
              or sign in with
              • facebook
              • google
                Password icon
                I agree to the terms of service
                Signed in as (Sign out)

                We’ll send you updates on this idea

                0 comments  ·  PowerShell Engine  ·  Flag idea as inappropriate…  ·  Admin →
              • PowerShell host process crash on recursive class method invocation

                Votes from Connect: 7

                Original Date Submitted: 7/15/2015 6:52:19 AM

                Description:
                ********Contact Information********
                Handle: Trevor Sullivan [MVP]
                Site Name: PowerShell
                Feedback ID: 1546571
                ***************************************

                Frequency: PowerShell
                Regression: class CrashMe {
                [void] BreakMe([bool] $ShouldIBreak) {
                $this.BreakMe($ShouldIBreak);
                }
                }

                $MyCrashMe = [CrashMe]::new();
                $MyCrashMe.BreakMe($true);

                Problem Description:
                class CrashMe {
                [void] BreakMe([bool] $ShouldIBreak) {
                $this.BreakMe($ShouldIBreak);
                }
                }

                $MyCrashMe = [CrashMe]::new();
                $MyCrashMe.BreakMe($true);

                Product Studio item created by Connect Synchronizer due to creation of feedback ID 1546571 (http://connect.microsoft.com/PowerShell/feedback/ViewFeedback.aspx?FeedbackID=1546571).

                Repro Steps:
                class CrashMe {
                [void] BreakMe([bool] $ShouldIBreak) {
                $this.BreakMe($ShouldIBreak);
                }
                }

                $MyCrashMe = [CrashMe]::new();
                $MyCrashMe.BreakMe($true);

                Expected Results:

                Internal BugId: 15649

                1 vote
                Sign in
                Check!
                (thinking…)
                Reset
                or sign in with
                • facebook
                • google
                  Password icon
                  I agree to the terms of service
                  Signed in as (Sign out)

                  We’ll send you updates on this idea

                  0 comments  ·  PowerShell Engine  ·  Flag idea as inappropriate…  ·  Admin →
                • $PSDefaultParameterValues should be automatically cleared in module scope (for all module types: script, manifest, and binary)

                  Votes from Connect: 4

                  Original Date Submitted: 4/6/2015 10:06:18 AM

                  Description:
                  ********Contact Information********
                  Handle: Kirk Munro
                  Site Name: PowerShell
                  Feedback ID: 1228413
                  ***************************************

                  Problem Description:
                  While the $PSDefaultParameterValues variable offers many convenient use cases to control how individual or groups of commands behave, it should be automatically cleared in a module scope. Otherwise state configuration that a user sets up in the current runspace may break functionality in modules that are used in that runspace.

                  For example, June sent out a tweet suggesting you should consider forcing Get-Help to always show help in a window, like this:
                  $PSDefaultParameterValues['Get-Help:ShowWindow'] = $true

                  1 vote
                  Sign in
                  Check!
                  (thinking…)
                  Reset
                  or sign in with
                  • facebook
                  • google
                    Password icon
                    I agree to the terms of service
                    Signed in as (Sign out)

                    We’ll send you updates on this idea

                    0 comments  ·  PowerShell Engine  ·  Flag idea as inappropriate…  ·  Admin →
                  • A cmdlet should be available for waiting for event log entries

                    Votes from Connect: 17

                    Original Date Submitted: 7/14/2013 10:21:11 PM

                    Description:
                    ********Contact Information********
                    Handle: Jan Egil Ring
                    Site Name: PowerShell
                    Feedback ID: 793869
                    ***************************************

                    Frequency: Always Happens
                    Regression: Yes, this happens in all previous versions

                    Problem Description:
                    A cmdlet should be available for waiting for event log entries. Currently the user will need to manually configure an event subscription in order to listen for new event log entries.
                    A new cmdlet (for example Wait-EventLog) should be available and capable of listening for new events in one or more specified event logs, both from local and remote computers.

                    Product Studio item…

                    1 vote
                    Sign in
                    Check!
                    (thinking…)
                    Reset
                    or sign in with
                    • facebook
                    • google
                      Password icon
                      I agree to the terms of service
                      Signed in as (Sign out)

                      We’ll send you updates on this idea

                      0 comments  ·  Other PowerShell  ·  Flag idea as inappropriate…  ·  Admin →
                    • PowerShell should have a cmdlet that supports best effort magic number parsing on files without extensions or incorrect extensions

                      Votes from Connect: 4

                      Original Date Submitted: 4/14/2015 8:18:28 AM

                      Description:
                      ********Contact Information********
                      Handle: JasonHorner
                      Site Name: PowerShell
                      Feedback ID: 1246396
                      ***************************************

                      Problem Description:
                      often we need to parse a file and not rely on its extension, while magic number parsing is imperfect it can provide some value.
                      this could be used for general file parsing as well as some security scenarios

                      Here is a script that implements this feature though I don't think it is completely robust:
                      http://powershell.com/cs/blogs/tips/archive/2010/08/09/reading-file-quot-magic-number-quot.aspx

                      unix support a similar capability via the file utility:
                      http://en.wikipedia.org/wiki/File_%28command%29

                      More info on magic number parsing:
                      http://en.wikipedia.org/wiki/List_of_file_signatures

                      Product Studio item created…

                      1 vote
                      Sign in
                      Check!
                      (thinking…)
                      Reset
                      or sign in with
                      • facebook
                      • google
                        Password icon
                        I agree to the terms of service
                        Signed in as (Sign out)

                        We’ll send you updates on this idea

                        0 comments  ·  PowerShell Engine  ·  Flag idea as inappropriate…  ·  Admin →
                      • Get-Acl should produce nonterminating errors when it fails to access a file or directory

                        Votes from Connect: 11

                        Original Date Submitted: 7/20/2013 11:16:28 AM

                        Description:
                        ********Contact Information********
                        Handle: David Wyatt
                        Site Name: PowerShell
                        Feedback ID: 794618
                        ***************************************

                        Frequency: Always Happens
                        Regression: Yes, this happens in previous released versions

                        Problem Description:
                        Get-Acl currently throws terminating errors anytime it fails to access a file or directory, even though it accepts an array of strings for the Path / LiteralPath parameters, and accepts pipeline input. Per Microsoft's guidelines for cmdlet error reporting (http://msdn.microsoft.com/en-us/library/windows/desktop/ms714412(v=vs.85).aspx), it seems like these should be non-terminating errors, as they are related to a specific input object, and should not prevent processing…

                        1 vote
                        Sign in
                        Check!
                        (thinking…)
                        Reset
                        or sign in with
                        • facebook
                        • google
                          Password icon
                          I agree to the terms of service
                          Signed in as (Sign out)

                          We’ll send you updates on this idea

                          0 comments  ·  Other PowerShell  ·  Flag idea as inappropriate…  ·  Admin →
                        • DCR - Get-CimInstance needs -Credential parameter

                          Votes from Connect: 31

                          Original Date Submitted: 8/12/2013 9:35:00 PM

                          Description:
                          ********Contact Information********
                          Handle: Trevor Sullivan
                          Site Name: PowerShell
                          Feedback ID: 797120
                          ***************************************

                          Frequency: Always Happens
                          Regression: Yes, this happens in previous released versions

                          Problem Description:
                          In Windows PowerShell version 3.0, the Get-CimInstance cmdlet does not have a -Credential parameter. This parameter could allow a user to specify alternate credentials to retrieve information from the Windows Remote Management (WinRM) service. Since this parameter does not exist, a significant amount of extra code is required to manually establish a CIM Session, and then later remove it.
                          The Get-WmiObject has a -Credential…

                          1 vote
                          Sign in
                          Check!
                          (thinking…)
                          Reset
                          or sign in with
                          • facebook
                          • google
                            Password icon
                            I agree to the terms of service
                            Signed in as (Sign out)

                            We’ll send you updates on this idea

                            0 comments  ·  Other PowerShell  ·  Flag idea as inappropriate…  ·  Admin →
                          • Remove-Item -Force fails when Remove-Item succeeds on the same file

                            Votes from Connect: 10

                            Original Date Submitted: 9/3/2014 11:30:17 PM

                            Description:
                            ********Contact Information********
                            Handle: Keith Hill MVP
                            Site Name: PowerShell
                            Feedback ID: 962980
                            ***************************************

                            Frequency: Always Happens
                            Regression: I do not know if this issue existed previously

                            Problem Description:
                            The following command fails:

                            gci '\\Keith-PC\C$\Users\Keith\foo.txt' | Remove-Item -force

                            But this works:

                            gci '\\Keith-PC\C$\Users\Keith\foo.txt' | Remove-Item

                            It may just be me but that seems darn odd. This also works:

                            gci '\\Keith-PC\C$\Users\Keith\foo.txt' | %{$_.Delete()}

                            The file is indeed delete-able so why does it fail when -Force is used? BTW it took me a while to find a repro. You can use an…

                            1 vote
                            Sign in
                            Check!
                            (thinking…)
                            Reset
                            or sign in with
                            • facebook
                            • google
                              Password icon
                              I agree to the terms of service
                              Signed in as (Sign out)

                              We’ll send you updates on this idea

                              0 comments  ·  Other PowerShell  ·  Flag idea as inappropriate…  ·  Admin →
                            • Test-Connection Performance With IP and Output

                              Votes from Connect: 3

                              Original Date Submitted: 7/23/2015 12:20:40 AM

                              Description:
                              ********Contact Information********
                              Handle: John.Bevan
                              Site Name: PowerShell
                              Feedback ID: 1578010
                              ***************************************

                              Frequency: PowerShell ISE
                              Regression: Run the below code / view the timings


                              $ip = '172.24.72.24' #amend for your environment
                              $hostname = [system.net.dns]::GetHostByAddress($ip).HostName

                              $begin=(get-date).ticks;test-connection $ip; $a=((get-date).ticks - $begin)
                              $begin=(get-date).ticks;test-connection $hostname; $b=((get-date).ticks - $begin)
                              $a-$b

                              #prove it's not caching; we can do this either way around
                              $begin=(get-date).ticks;test-connection $hostname; $b=((get-date).ticks - $begin)
                              $begin=(get-date).ticks;test-connection $ip; $a=((get-date).ticks - $begin)
                              $a-$b

                              #now let's see what measure-command says
                              (measure-command {test-connection $hostname}).ticks
                              (measure-command {test-connection $ip}).ticks
                              #that's not what we saw

                              NB: watching this you can see…

                              1 vote
                              Sign in
                              Check!
                              (thinking…)
                              Reset
                              or sign in with
                              • facebook
                              • google
                                Password icon
                                I agree to the terms of service
                                Signed in as (Sign out)

                                We’ll send you updates on this idea

                                0 comments  ·  ISE and tooling  ·  Flag idea as inappropriate…  ·  Admin →
                              • Need a clean way to splat a hashtable against the various commands that take an ArgumentList

                                Votes from Connect: 11

                                Original Date Submitted: 8/16/2013 7:15:31 AM

                                Description:
                                ********Contact Information********
                                Handle: Keith Hill MVP
                                Site Name: PowerShell
                                Feedback ID: 797536
                                ***************************************

                                Frequency: Always Happens
                                Regression: Yes, this happens in previous released versions

                                Problem Description:
                                There are several commands that have an ArgumentList parameter that take arguments bound for a PowerShell command. However, this parameter doesn't support splatting in any sort of easy and/or obvious way.

                                Product Studio item created by Connect Synchronizer due to creation of feedback ID 797536 (http://connect.microsoft.com/PowerShell/feedback/ViewFeedback.aspx?FeedbackID=797536).

                                Repro Steps:
                                create a file $home\icmargs.ps1 with these contents:

                                Param(
                                [Parameter(Mandatory, Position=0)]
                                [string]$Computername=$env:computername,
                                [string]$log,
                                [int]$newest=5 …

                                1 vote
                                Sign in
                                Check!
                                (thinking…)
                                Reset
                                or sign in with
                                • facebook
                                • google
                                  Password icon
                                  I agree to the terms of service
                                  Signed in as (Sign out)

                                  We’ll send you updates on this idea

                                  0 comments  ·  Other PowerShell  ·  Flag idea as inappropriate…  ·  Admin →
                                • Event logging memory hoard when processing a large number of pipeline objects

                                  Votes from Connect: 8

                                  Original Date Submitted: 7/28/2015 10:16:32 AM

                                  Description:
                                  ********Contact Information********
                                  Handle: Keith Hill MVP
                                  Site Name: PowerShell
                                  Feedback ID: 1599091
                                  ***************************************

                                  Frequency: PowerShell
                                  Regression: Run this script:

                                  function Get-DummyData() {
                                  for ($i = 0; $i -lt 10000000; $i++) {
                                  "This is freaking huge!! I'm a ninja! More words, yay!"
                                  }
                                  }
                                  Get-DummyData | Out-Null

                                  BTW here's another example:

                                  1..1000000 | foreach {if ($_ % 100000 -eq 0) {[GC]::Collect(2,'Forced',$true); $_}}

                                  Problem Description:
                                  It appears that for every pipeline object, bound to a pipeline parameter, a string like this is stuffed into a collection - where it waits to…

                                  1 vote
                                  Sign in
                                  Check!
                                  (thinking…)
                                  Reset
                                  or sign in with
                                  • facebook
                                  • google
                                    Password icon
                                    I agree to the terms of service
                                    Signed in as (Sign out)

                                    We’ll send you updates on this idea

                                    0 comments  ·  PowerShell Engine  ·  Flag idea as inappropriate…  ·  Admin →
                                  • The PowerShell course that Microsoft is offering via edX should have a free audit option like the other Microsoft/edX courses

                                    Votes from Connect: 7

                                    Original Date Submitted: 4/23/2015 6:45:25 PM

                                    Description:
                                    ********Contact Information********
                                    Handle: Kirk Munro
                                    Site Name: PowerShell
                                    Feedback ID: 1271897
                                    ***************************************

                                    Problem Description:
                                    I discussed this with Kenneth at the PowerShell Summit this week, and he suggested I log an issue here. There is a PowerShell course on edX that can be found here:

                                    https://www.edx.org/course/windows-powershell-fundamentals-microsoft-inf201x

                                    This course costs $200 US.

                                    There are 6 other Microsoft courses on edX on C#, TypeScript, Bootstrap, Azure, O365, and Transact-SQL. Those courses offer both a paid certificate option and a free audit option. But the PowerShell one only has a $200 US…

                                    1 vote
                                    Sign in
                                    Check!
                                    (thinking…)
                                    Reset
                                    or sign in with
                                    • facebook
                                    • google
                                      Password icon
                                      I agree to the terms of service
                                      Signed in as (Sign out)

                                      We’ll send you updates on this idea

                                      0 comments  ·  Other PowerShell  ·  Flag idea as inappropriate…  ·  Admin →
                                    • Centralized Package Management for Power Shell

                                      Votes from Connect: 11

                                      Original Date Submitted: 9/10/2013 2:56:23 AM

                                      Description:
                                      ********Contact Information********
                                      Handle: deadlydog
                                      Site Name: PowerShell
                                      Feedback ID: 800050
                                      ***************************************

                                      Frequency: Always Happens
                                      Regression: Yes, this happens in all previous versions

                                      Problem Description:
                                      Centralized Package Management would be a huge win for PowerShell. Modules are a great part of PowerShell, but writing scripts for other people/computers that depend on them can be problematic, as you can't guarantee that the modules will be installed on those computers. If PowerShell had something similar to Ruby Gems that would be great, where at the top of the script you specify the…

                                      1 vote
                                      Sign in
                                      Check!
                                      (thinking…)
                                      Reset
                                      or sign in with
                                      • facebook
                                      • google
                                        Password icon
                                        I agree to the terms of service
                                        Signed in as (Sign out)

                                        We’ll send you updates on this idea

                                        0 comments  ·  Other PowerShell  ·  Flag idea as inappropriate…  ·  Admin →
                                      • Failed to update Help for the module(s) 'NetEventPacketCapture' with UI culture(s) {en-GB}

                                        Votes from Connect: 3

                                        Original Date Submitted: 7/31/2015 8:55:14 AM

                                        Description:
                                        ********Contact Information********
                                        Handle: David Gardiner
                                        Site Name: PowerShell
                                        Feedback ID: 1611008
                                        ***************************************

                                        Frequency: Always Happens
                                        Regression: No, this is new to the most recent version

                                        Problem Description:
                                        Using Update-Help or Save-Help on a Windows 10 computer configured with en-GB as the Windows display language fails with an error.

                                        Update-Help : Failed to update Help for the module(s) 'NetEventPacketCapture' with UI culture(s) {en-GB} : The value
                                        of the HelpInfoUri key in the module manifest must resolve to a container or root URL on a website where the help
                                        files are…

                                        1 vote
                                        Sign in
                                        Check!
                                        (thinking…)
                                        Reset
                                        or sign in with
                                        • facebook
                                        • google
                                          Password icon
                                          I agree to the terms of service
                                          Signed in as (Sign out)

                                          We’ll send you updates on this idea

                                          0 comments  ·  Other PowerShell  ·  Flag idea as inappropriate…  ·  Admin →
                                        • The call operator should support invoking .NET methods and also support splatting

                                          Votes from Connect: 5

                                          Original Date Submitted: 9/8/2014 11:00:11 PM

                                          Description:
                                          ********Contact Information********
                                          Handle: Oisín Grehan
                                          Site Name: PowerShell
                                          Feedback ID: 966940
                                          ***************************************

                                          Frequency: Always Happens
                                          Regression: Yes, this happens in previous beta versions

                                          Problem Description:
                                          As of v5, the call (&) operator cannot invoke .NET methods. With the implied deprecation of new-object in v5 by way of the "new(...)" synthetic static constructor method, this becomes a more obvious lack.

                                          One thing new-object has that the new v5 static method "new" does not is splatting support. Syntactically, this seems to make most sense when combined with support for invoking .NET…

                                          1 vote
                                          Sign in
                                          Check!
                                          (thinking…)
                                          Reset
                                          or sign in with
                                          • facebook
                                          • google
                                            Password icon
                                            I agree to the terms of service
                                            Signed in as (Sign out)

                                            We’ll send you updates on this idea

                                            0 comments  ·  Other PowerShell  ·  Flag idea as inappropriate…  ·  Admin →
                                          • Don't see your idea?

                                          Feedback and Knowledge Base