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. |
-
Collapsed region in dark mode is hardly visible
When using the dark theme in ISE, a collapsed region is hardly visible because the font color is black and the background darkblue. There is no way the set the colors for a collapse region in the theme editor.
37 votes -
PowerShell ISE does not have the ability to restart the console independent of restarting the entire ISE
Restarting the Powershell process independent of the entire ISE would be a beneficial feature for ISE users during testing and debugging, to clear variables, sessions, scopes, classes, etc... If you are working in the ISE and have several script files open on the editor it is cumbersome to have to save files, restart the entire ISE application and reopen files etc...
37 votesThis will be enabled when PowerShell ISE moves to PowerShell Editor Services as its core.
-
DSC ESENT Database management
In a recent change, the new database for the on-prem Pullserver is now ESENT. Had a question for clarification.
As an old Exchange guy, I have fears that immediately pop into mind. The logs files do not appear to be using circular logging (a way of self cleaning and restricting the amount of log files) – Is this true?
If so, then I’m guess that the log files will continue to grow until the disk is full – which happens to exchange if the log files are not truncated. Is there a way today or in the future we will…
36 votes -
Add to ISE "Export script as an exe" & also add a XAML editor to design GUI front ends for the exported scripts.
Add to the ISE a "Export/Compile script as an exe" feature & also add a XAML editor to design GUI front ends for the exported scripts.
It is free in VS2015 Community so why not incorporate it in the ISE?
35 votes -
Allow whitespace between final newline and quotation mark in here-string
Votes from Connect: 10
Original Date Submitted: 12/10/2011 12:21:15 AM
Description:
Contact Information
Handle: JoshGav
Site Name: PowerShell
Feedback ID: 712796
Frequency: Always Happens
Regression: Yes, this happens in previous released versionsProblem Description:
The final delimiter in a here-string is defined as newline-quotemarks-atsign. This means that the "@ has to be at the beginning of the final line, with no whitespace preceding it. This ruins attempts at tab indentation in scripts and functions. Whitespace should be allowed as part of the ending pattern between the newline and quotemarks so that tab indentation can be cleanly utilized.Product Studio item…
35 votes -
Migrate Sconfig.vbs to PowerShell
With all Microsoft Tools going to PowerShell, I think it would be better for this config tool to be a PowerShell rather than VB Script.
35 votes -
Write-Progress output is not displayed properly when multiple ISE tabs are open in PowerShell 3.0
Votes from Connect: 11
Original Date Submitted: 2/6/2013 3:35:55 AM
Description:
Contact Information
Handle: DougBB
Site Name: PowerShell
Feedback ID: 778597
Frequency: Always Happens
Regression: No, this is new to the most recent versionProblem Description:
Under certain circumstances, when Write-Progress is used in Windows PowerShell ISE and a new tab is opened, the Write-Progress output does not display properly. Closing tabs makes it appear.Product Studio item created by Connect Synchronizer due to creation of feedback ID 778597 (http://connect.microsoft.com/PowerShell/feedback/ViewFeedback.aspx?FeedbackID=778597).
Repro Steps:
1. Run "powershell_ise.exe -noprofile"
2. Paste the following code in the script pane:
…$i = 1..100
34 votesInteresting bug…thanks for the report. Please continue to vote here if you feel this bug is of high impact, and we will prioritize it accordingly against other work.
Thanks,
Joey -
Allow Register-PSRepository to persist credentials
NuGet feeds allow security around both listing/retrieving packages as well as pushing packages. NuGet.exe and other clients further allow you to persist credentials for listing/retrieving packages using the "nuget sources" command. (https://docs.nuget.org/consume/command-line-reference#sources-command)
This persistence is important for two reasons:
1) When you push a package to a secured NuGet feed, NuGet clients generally do a list/read operation first. That list/read operation doesn't contain any API key that you pass along in the push operation. In order for a push to succeed with an API key, you also need to have credentials set for the read operation. You can…
33 votesThanks for the input. We are investigating this, but can make no commitment at this time.
-
Missing trigger options in New-ScheduledTaskTrigger
Votes from Connect: 3
Original Date Submitted: 10/30/2014 5:41:25 PM
Description:
Contact Information
Handle: ulrichb
Site Name: PowerShell
Feedback ID: 1015225
Frequency: Always Happens
Regression: Yes, this happens in all previous versionsProblem Description:
New-ScheduledTaskTrigger offers just a subset of the trigger options. Things like "On an (event log) event", or "On workstation (un)lock" are missing.We just found ugly workarounds to add these (e.g. event log) triggers by using "schtasks.exe /create /xml" or using the COM "TaskScheduler" class.
New-ScheduledTaskTrigger should allow specifying all options the Task Scheduler UI offers. As there already exists an XML representation of these triggers…
33 votes -
PS5: Get-Help -ShowWindow doesn't display help on parameters
Votes from Connect: 23
Original Date Submitted: 7/15/2015 10:30:37 PM
Description:
Contact Information
Handle: sba
Site Name: PowerShell
Feedback ID: 1549114
Frequency: PowerShell
Regression: Run Get-Help for any command with the -ShowWindow parameterProblem Description:
When I do "Get-Help <command> -ShowWindow", the resulting window doesn't contain the help on parameters, even if "Parameters" is checked under "Settings" (the default)Product Studio item created by Connect Synchronizer due to creation of feedback ID 1549114 (http://connect.microsoft.com/PowerShell/feedback/ViewFeedback.aspx?FeedbackID=1549114).
Repro Steps:
Run Get-Help for any command with the -ShowWindow parameterExpected Results:
The resulting window should contain full help.Internal BugId: 15650
32 votes -
Out-GridView needs a -DisplayProperty parameter
Votes from Connect: 42
Original Date Submitted: 4/10/2015 11:19:28 PM
Description:
Contact Information
Handle: Trevor Sullivan [MVP]
Site Name: PowerShell
Feedback ID: 1238786
Problem Description:
The Out-GridView command displays all of the properties of each object that is fed into it. Consequently, in order to make the tool more usable, the Select-Object command can be used to inclusively filter the key properties of each object, to display to the end user. Unfortunately, this process results in a modified object, that cannot be used for all intended purposes.Instead of using Select-Object, a -DisplayProperty parameter should be added to Out-GridView, so…
32 votesThis is something we’d like to fix, but we’re still evaluating at a high-level how to make future improvements to Out-GridView.
Thanks,
Joey -
Windows PowerShell ISE: Add ability to save/load session state
Votes from Connect: 33
Original Date Submitted: 6/20/2013 11:48:19 PM
Description:
Contact Information
Handle: deadlydog
Site Name: PowerShell
Feedback ID: 790578
Frequency: Always Happens
Regression: Yes, this happens in all previous versionsProblem Description:
It would be great if PS ISE had the ability to allow you to save and restore all of your open tabs and files. Ideally, there would be an option to automatically save the session when ISE is closed, and automatically load it when ISE is started.The PowerShell Team has blogged about how to save/load your session by writing an add-on (http://blogs.msdn.com/b/powershell/archive/2010/06/05/export-and-import-powershell-ise-opened-files.aspx), and…
32 votes -
WinRM should register it's proper SPN
The WinRM service should register the HTTP/computername:5985 and HTTP/computername.fqdn:5985 (or configured port) SPNs so that clients can locate the proper Kerberos principal to authenticate against. Currently anything that uses Kerberos over http:80 can claim its valid SPN and break Kerberos authentication for WinRM.
31 votes -
Add Powershell/ISE to Taskbar by default
As Powershell is the most common Management Tool on a server, please re-add the Powershell icon to the Taskbar. And also, make it possible to start ISE directly without first starting powershell once.
First searching for it through the Start menu is a burden, especially when we deploy several of servers each day and need access to posh each time.31 votes -
We need a proper set of built-in, easy-to-use, dedicated registry cmdlets
Managing registry keys and values on local and remote systems with PowerShell is a pain.
Reviewing the articles, forums and blogs on the Internet clearly shows that new PowerShell users struggle to understand how to use registry provider drives and the cmdlets like New-Item, Get-ItemProperty, New-ItemProperty, and so on. This has prompted the creation of a variety of home-brew modules and functions to deal with the problem, like this one, which is extremely useful, but is not built into PowerShell by default of course:
https://gallery.technet.microsoft.com/RegistryLibrarypsm1-b38a81ba
PowerShell needs a proper set of built-in, dedicated registry cmdlets that 1) are easy to…
30 votes -
PSv4+ New-PSSession with -CertificateThumbprint only works with ADCS generated certificates
I am unable to authenticate with a client certificate generated from OpenSSL or New-SelfSignedCertificate from a Windows 10 or 2012R2 powershell remoting client (likely broken in 8.1 but I did not test). I receive the following error:
new-PSSession : The WinRM client cannot process the request. If you are using a machine certificate, it must contain a DNS name in the Subject Alternative Name extension or in the Subject Name field, and no UPN name. If you are using a user certificate, the Subject Alternative Name extension must contain a UPN name and must not contain a DNS name. Change…
30 votes -
ISE hangs after using a Windows Forms dialog
Votes from Connect: 12
Original Date Submitted: 4/4/2015 8:50:49 AM
Description:
Contact Information
Handle: Arnoud Jansveld
Site Name: PowerShell
Feedback ID: 1224213
Frequency: PowerShell ISE
Regression: function Show-Form
{[reflection.assembly]::LoadWithPartialName("System.Windows.Forms") >$null
$form = New-Object System.Windows.Forms.Form
$label = New-Object System.Windows.Forms.Label
$label.Text = "Please close this form"
$label.AutoSize = $true
$form.Controls.Add($label)
$form.ShowDialog()}
$result = Show-Form
Workaround (slow):
$result = Start-Job ${function:Show-Form} | Receive-Job -Wait -AutoRemoveJob
"Form result: " + $result.ToString()
Write-Warning "The following step may hang PowerShell ISE, save your work!"
Read-Host -Prompt "Hit Enter or Ctrl-C to abort"This generates a WM_SETTINGCHANGE broadcast message
Problem Description:
After using ShowDialog() to…30 votesThanks for the report! We’re looking to see if this can get fixed in a future release of ISE Preview: https://blogs.msdn.microsoft.com/powershell/2016/01/20/introducing-the-windows-powershell-ise-preview/
-Joey
-
Invoke-RestMethod and Invoke-WebRequest Encoding bug
Invoke-RestMethod and Invoke-WebRequest Encoding bug
This is 4 years old bug,from Invoke-RestMethod and Invoke-WebRequest was born.
【Cause of the bug】
Utf8 web page incorrectly identified as iso8859-1.
Mistakenly convert THE! utf8("false ISO-8859-1") source string to utf8.
There may be more encoding incorrectly identified,encoding incorrectly conversion errors.【bug with powershell version】
all version
powershell 5.0 with windows10 10586 :yes tested.【test code】
Invoke-WebRequest -Uri 'http://www.msn.com' # return chinese messy code
(Invoke-WebRequest -Uri 'http://www.msn.com').BaseResponse.CharacterSet # utf8 web page,but return ISO-8859-1Invoke-RestMethod -Uri 'http://www.msn.com'
【how to fix】
convert string encoding.
from utf8 to THE! "false ISO-8859-1"$utf8 =…
29 votes -
DSC StatusRetentionTimeInDays is not deleting files
WMF 5 RTM
StatusRetentionTimeInDays is not deleting files in C:\Windows\System32\Configuration\ConfigurationStatus as per http://powershell.org/forums/topic/cwindowssystem32configurationconfigurationstatus-directory-growing/#post-40747
28 votes -
PowerShell Remoting using private key authentication
Enable PowerShell Remoting login using private key authentication similar to the SSH protocol. Entering passwords all the time the log into remote PowerShell is tedious. Being able to use local secure private key to log into many cloud server instances would ease the process of creating new remote sessions.
28 votes
- Don't see your idea?