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. |
-
PowerShell ISE Preview: Remoting isn't working (connection takes forever)
PowerShell ISE Preview: Remoting isn't working (connection takes forever)
1 vote -
Bug: Syntax highlighting for DSC node block
Scenario: In a PowerShell DSC configuration block, you create a node block, by specifying a static node name. The node name has a dash in it.
In this case, the node name is colored blue, like a command, instead of purple, like a parameter value.
If the node name does not have a dash in it, then it is properly colored purple.
1 vote -
[BUG] PowerShell ISE hangs when opening multiple files if Files.CollectionChanged event has a subscriber
Powershell ISE (both 5.0 and ISEpreview) hangs when you open multiple files at the same time (open dialoge) when you subscribe to the event $psISE.CurrentPowerShellTab.Files.CollectionChanged .
Works fine when a single document is opened/closed.
$action = {
Write-Host "Test"
}
Register-ObjectEvent -InputObject $psISE.CurrentPowerShellTab.Files -EventName CollectionChanged -Action $action -SourceIdentifier "ToggeRegionExpansionOnOpen"
1 vote -
Start signing the ISE Preview module
The ISE preview module file "C:\Program Files\WindowsPowerShell\Modules\PowerShellISE-preview\5.1.1\PowerShellISE-preview.psm1" is not signed. Can you start signing it so it is available in an environment where running unsigned scripts is restricted by the execution policy.
I know there are ways around this but it would be nice to see the file signed by MS.
1 vote -
Execute multi-line command line using F8 without selecting the region.
Consider the following in the script pane:
Get-Command `
-Verb GetIf the cursor is on the first line containing "Get-Command" and if F8 is pressed, an "IncompleteString" error is generated. Since, there is a back-tick present at the end of the line, ISE should take the next line into account for execution.
1 vote -
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 sawNB: watching this you can see that…
1 vote -
Import-Module with -Name parameter breaks PowerShell ISE in WMF 5.0 April Preview
Votes from Connect: 10
Original Date Submitted: 5/19/2015 8:46:17 PM
Description:
Contact Information
Handle: azhskr
Site Name: PowerShell
Feedback ID: 1347198
Frequency: PowerShell ISE
Regression: Launch PowerShell ISE as either Administrator or non-Administrator
Get-Service BITS
Import-Module "Module Name"
Get-Module "Module Name"
Get-Service BITS
Remove-Module "Module Name"
Import-Module -Name "Module Name"
Get-Module -Name "Module Name"
Get-Module "Module Name"
Get-Service BITSProblem Description:
Using Import-Module -Name "Module Name" imports the module, but breaks all output in the ISE. Using Import-Module "Module Name" imports the module and doesn't affect the output.Product Studio item created by Connect Synchronizer due to creation of feedback…
1 vote -
New PowerShell Tab needs a toolbar button in ISE
Votes from Connect: 10
Original Date Submitted: 1/18/2012 10:56:31 PM
Description:
Contact Information
Handle: HalR
Site Name: PowerShell
Feedback ID: 719121
Frequency: Always Happens
Regression: Yes, this happens in all previous versionsProblem Description:
I would argue that in the ISE, the console should be treated co-equal to the script pane. If that's the case, why isn't there a New PowerShell Tab button just like there is a new script button? I would love to see a new toolbar icon to that effect.Product Studio item created by Connect Synchronizer due to creation of feedback ID 719121 (http://connect.microsoft.com/PowerShell/feedback/ViewFeedback.aspx?FeedbackID=719121).
…
1 vote -
Saving file in the remote session has failed with error: Exception has been thrown by the target of an invocation..
Since a few weeks, when I edit a file in a PSSession in ISE I get this error message when I save the modifications:
Saving file: C:\path\file.ps1 in the remote session has failed with error: Exception has been thrown by the target of an invocation..
Not sure there is a link, but this problem appeared around the moment when this post has been published.
https://devblogs.microsoft.com/powershell/windows-security-change-affecting-powershell/
0 votes
- Don't see your idea?