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. |
-
PS4.0: (Get-Variable MyInvocation -Scope 1).Value fails when powershell.exe run from MSBuild
Votes from Connect: 3
Original Date Submitted: 11/7/2014 10:07:44 PM
Description:
Contact Information
Handle: sba
Site Name: PowerShell
Feedback ID: 1023770
Frequency: Always Happens
Regression: No, this is new to the most recent versionProblem Description:
I have a script that contains the following code:--------------8<----------------
function Get-ScriptDirectory{$Invocation = (Get-Variable MyInvocation -Scope 1).Value
try {
Split-Path $Invocation.MyCommand.Path -ea 0
}
catch {
Write-Warning 'You need to call this function from within a saved script.'
}}
$scriptdir = Get-ScriptDirectory
Set-Location $scriptdir -ErrorAction Stop
--------------8<----------------(this originates from PS2.0 days)
The script runs fine, except if it's run from MSBuild…
1 vote -
PowerShell script cannot be ran outside of Console if path contains spaces
Votes from Connect: 11
Original Date Submitted: 5/29/2013 2:52:43 AM
Description:
Contact Information
Handle: deadlydog
Site Name: PowerShell
Feedback ID: 788806
Frequency: Always Happens
Regression: Yes, this happens in all previous versionsProblem Description:
If you try and run a PowerShell script from File Explorer (e.g. Windows Explorer) by double clicking on it, or from the context menu using Open With -> Windows PowerShell the script will not run; instead the PowerShell console will display an error that the given file path is not valid, since only the first portion (up to the first space) of the script file path…
1 vote -
Please add documentation in French language for PowerShell 3.0
Votes from Connect: 114
Original Date Submitted: 1/11/2013 5:50:47 PM
Description:
Contact Information
Handle: Arnaud Petitjean
Site Name: PowerShell
Feedback ID: 776313
Frequency: Always Happens
Regression: No, this is new to the most recent versionProblem Description:
* Unlike the previous versions (1.0 and 2.0) *, in PowerShell 3.0 there are no help files available in French language.I would consider missing help as top priority here. Even for peoples who can read English, there is a big danger to misunderstood something. Reading documentation in a foreign language can be very challenging.
Calling the -online Help every time I need…
1 vote -
Invoke-RestMethod is truncating results
Votes from Connect: 11
Original Date Submitted: 9/29/2012 1:53:59 AM
Description:
Contact Information
Handle: Trevor Sullivan
Site Name: PowerShell
Feedback ID: 765261
Frequency: Always Happens
Regression: No, this is new to the most recent versionProblem Description:
The Invoke-RestMethod cmdlet in PowerShell v3 is truncating the results that come back from the Windows Azure REST API (querying for a list of ServiceBus queues), formatted as a XML AtomPub document. Within the results of the AtomPub document, only every other AtomPub "title" is returned from Invoke-RestMethod, rather than a complete result set.This behavior can be confirmed by using the parameters…
1 vote -
Make module availability network-discoverable
Votes from Connect: 10
Original Date Submitted: 4/21/2012 9:43:26 PM
Description:
Contact Information
Handle: PowerShellDon
Site Name: PowerShell
Feedback ID: 738071
Frequency: Always Happens
Regression: No, this is new to the most recent versionProblem Description:
I suggest a Register-Module cmdlet, which can be used to register a given module, on a given machine, optionally within a given AD site, as being publicly available. Registration would be in DNS, likely as SRV records (much like an AD domain controller)."Get-Module -List" would then list local modules as well as modules advertised in DNS for the user's current site (or modules…
1 vote -
PowerShell (pre-) compiled Scripts
Votes from Connect: 17
Original Date Submitted: 3/26/2012 6:09:59 PM
Description:
Contact Information
Handle: Peter Kriegel
Site Name: PowerShell
Feedback ID: 733298
Frequency: Sometimes Happens
Regression: I don't know if this issue existed previouslyProblem Description:
Make it Possible to save PowerShell scripts in a compiled format (binary byte-code).Since PowerShell V 3.0 uses the DLR, every PowerShell V 3.0 script has to be compiled during the first run of the script. This may have a speed disadvantage. To speed up the execution of scripts, it may be useful to store scripts in a compiled binary format and run them…
1 vote -
Filtering Filesystem objects based on a DateTime value
Votes from Connect: 13
Original Date Submitted: 3/5/2012 6:41:31 PM
Description:
Contact Information
Handle: Shay Levi
Site Name: PowerShell
Feedback ID: 728747
Frequency: Always Happens
Regression: Yes, this happens in all previous versionsProblem Description:
In PowerShell 3.0, the Test-Path cmdlet supports two new parameters: NewerThan and OlderThan. Both parameters accepts a DateTime object and return $true if the object's LastWriteTime is less/greater than the specified date.One of the tasks IT admins need to perform often is getting old files. It would be great if Get-ChildItem could support those parameters as well, allowing us to filter objects based on…
1 vote -
$OutputRedirectionEncoding --- like $OutputEncoding
Votes from Connect: 2
Original Date Submitted: 2/4/2012 8:58:39 AM
Description:
Contact Information
Handle: S.K. _
Site Name: PowerShell
Feedback ID: 723240
Frequency: Always Happens
Regression: No, this is new to the most recent versionProblem Description:
Please modifiable Encoding of '>'.$OutputRedirectionEncoding = [Text.Encoding]::Default
ls > file.txt # output as Default Encoding$OutputRedirectionEncoding = [text.encoding]::GetEncoding("euc-jp")
ps > process.txt # output as EUC-JPProduct Studio item created by Connect Synchronizer due to creation of feedback ID 723240 (http://connect.microsoft.com/PowerShell/feedback/ViewFeedback.aspx?FeedbackID=723240).
Repro Steps:
Expected Results:Internal BugId: 3324
1 vote -
V3 TypeAccelerator cmdlets
Votes from Connect: 10
Original Date Submitted: 2/3/2012 4:36:38 AM
Description:
Contact Information
Handle: jrich
Site Name: PowerShell
Feedback ID: 722645
Frequency: Always Happens
Regression: No, this is new to the most recent versionProblem Description:
cmdlets for working with the type accelerators would be nice, get/add/removeProduct Studio item created by Connect Synchronizer due to creation of feedback ID 722645 (http://connect.microsoft.com/PowerShell/feedback/ViewFeedback.aspx?FeedbackID=722645).
Repro Steps:
using old method to get type accelerators no longer works
Expected Results:
a way to view type acceleratorsInternal BugId: 3323
1 vote -
Error mounting and unmounting using subst and net use
Votes from Connect: 11
Original Date Submitted: 1/20/2012 4:28:52 AM
Description:
Contact Information
Handle: Atrus1701
Site Name: PowerShell
Feedback ID: 719412
Frequency: Always Happens
Regression: I don't know if this issue existed previouslyProblem Description:
I've created a script that will run as Administrator and needs to mount two drives. One drive is mounted using 'subst' and the other through 'net use'. Before mounting, I check to see if the drive is already in use and unmount them if they are. Afterward, I mount these drives to the path I need. It seems that if a drive is already mounted,…1 vote -
Module Partially Loads With Import-Module
Votes from Connect: 13
Original Date Submitted: 1/6/2012 5:20:17 AM
Description:
Contact Information
Handle: Steve Murawski
Site Name: PowerShell
Feedback ID: 716857
Frequency: Always Happens
Regression: Yes, this happens in previous released versionsProblem Description:
When Import-Module is called with one of the Alias, Cmdlet, Function, or Variable parameters, but not any of the others, the module only partially loads (based on what parameter you specified), but attempting to access commands that were not directly referenced by the specified parameter results in (replace the name of the command with whatever command you want to test with).The term 'Get-DataCollectorSet' is…
1 vote -
Controlling automatic importing with PSDisableModuleAutoLoading
Votes from Connect: 10
Original Date Submitted: 12/30/2011 6:54:11 PM
Description:
Contact Information
Handle: Shay Levi
Site Name: PowerShell
Feedback ID: 716021
Frequency: Always Happens
Regression: No, this is new to the most recent versionProblem Description:
In PowerShell 3.0 CTP2 we can configure how automatic importing works by using the PSDisableModuleAutoLoading environment variable. However, when we launch a fresh instance of PowerShell, the variable is not present in the Env: drive which makes it very hard to discover.One has to know the variable name in advance in order to set its value.
I suggest to include the variable…
1 vote -
v3 - consider adding a -listavailable to get-psprovider to show available providers
Votes from Connect: 12
Original Date Submitted: 12/10/2011 6:51:41 AM
Description:
Contact Information
Handle: Oisin Grehan
Site Name: PowerShell
Feedback ID: 712875
Frequency: Always Happens
Regression: No, this is new to the most recent versionProblem Description:
So, I don't know if anyone else noticed it yet, but the WSMAN drive is no longer mounted at start up: It's autoloaded. The problem I have with this is that it doesn't seem to be a valid candidate for get-command, even if wsman: were a function (which it's not, it appears, unlike "c:") So the problem here is unless you know it's…1 vote -
Consider adding a preference variable to allow v1 style snapins to behave as binary modules
Votes from Connect: 16
Original Date Submitted: 12/10/2011 12:34:32 AM
Description:
Contact Information
Handle: Oisin Grehan
Site Name: PowerShell
Feedback ID: 712798
Frequency: Always Happens
Regression: Yes, this happens in previous released versionsProblem Description:
Currently we have to treat snapins and modules differently in powershell. Registered snapins won't show up in the output of get-module -listavailable. I would like to see a preference variable added that would allow snapins to be listed, loaded and unloaded with the module cmdlets. For example, the quest AD snapin, the TFS power tools etc don't show up in the output of get-module -list…1 vote -
Add -?? "common parameter" to retrieve full help
Votes from Connect: 10
Original Date Submitted: 12/10/2011 12:03:55 AM
Description:
Contact Information
Handle: JoshGav
Site Name: PowerShell
Feedback ID: 712794
Frequency: Always Happens
Regression: Yes, this happens in previous released versionsProblem Description:
Often the user wants to retrieve the full help when executing a command, not just the default help topics. Add a "-??" parameter to complement the "-?" parameter, with the -?? returning the same as Get-Help -Full.This feedback came from a student at a PFE PowerShell workshop.
Product Studio item created by Connect Synchronizer due to creation of feedback ID 712794 (http://connect.microsoft.com/PowerShell/feedback/ViewFeedback.aspx?FeedbackID=712794).
Repro…
1 vote -
New Where-Object Syntax Error
Votes from Connect: 18
Original Date Submitted: 9/23/2011 7:23:48 PM
Description:
Contact Information
Handle: Steve Murawski
Site Name: PowerShell
Feedback ID: 690427
Frequency: Always Happens
Regression: No, this is new to the most recent versionProblem Description:
The new Where-Object syntax does not properly evaluate calling a method on a property that returns a Boolean.Product Studio item created by Connect Synchronizer due to creation of feedback ID 690427 (http://connect.microsoft.com/PowerShell/feedback/ViewFeedback.aspx?FeedbackID=690427).
Repro Steps:
This will error:
Get-Command | ? parameters.containskey('Credential') | sort nameThis will not:
Get-Command | ? {$_.parameters.containskey('Credential')} | sort nameExpected Results:
Both commands should list…1 vote -
We need a Get-Parameter cmdlet
Votes from Connect: 41
Original Date Submitted: 9/8/2011 8:47:16 PM
Description:
Contact Information
Handle: HalR
Site Name: PowerShell
Feedback ID: 687640
Frequency: Always Happens
Regression: Yes, this happens in all previous versionsProblem Description:
Something similar to the Get-Parameter function published on PoshCode (see http://poshcode.org/?lang=&q=get-parameter for latest version) needs to be included in PowerShell. The purpose of Get-Parameter is to parse the output of a cmdlet or function's CommandInfo returned from Get-Command, and turn it into a more useful format by which the end user can discover more about:
- what paraemtersets exist?
- what triggers a parameterset? (i.e. which…1 vote -
Easy access to current date and time
Votes from Connect: 56
Original Date Submitted: 4/12/2011 2:47:03 PM
Description:
Contact Information
Handle: Shay Levi
Site Name: PowerShell
Feedback ID: 659747
Frequency: Always Happens
Regression: Yes, this happens in all previous versionsProblem Description:
PowerShell has an automatic variable, $pwd. One of its great usage is that its value is evaluated each time you call it and you can access its members without enclosing it in parenthesis.I would like to suggest a new automatic variable (tied variable), $Now, that returns the current date and time each time it's called.
Having $Now as a new automatic variable in PowerShell…
1 vote -
AutoHelp with Get-Help and Advanced Functions - needs improving
Votes from Connect: 13
Original Date Submitted: 12/27/2008 11:39:54 PM
Description:
Contact Information
Handle: tfl
Site Name: PowerShell
Feedback ID: 389767
Frequency: Always Happens
Regression: No, this is new to the most recent versionProblem Description:
I think the new auto-help stuff is fantastic. But it's a tad buggy and inconsistent.To demonstrate this, I've created a simle advanced function file (get-autohelp.ps1) attached. You will need to save this file then run get-help against it to see the errors I note.
Here are the issues:
You can not specify a .NAME section in auto-help. If you do, then the output…
1 vote
- Don't see your idea?