# 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.
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.
• Hot ideas
• Top ideas
• New ideas
• My feedback
1. ## Powershell Ghost Error Messages

How can I get to discuss my issue with a human being regarding Powershell creating Ghost Error messages similar to what I started out but still is bug of some kind. During my testing, my script coding was modified to work properly. How may I rid myself from these Ghost Error messages? How can i connect up with a Microsoft Powershell Individual with the correct expertise?

1 vote
(thinking…)
Signed in as (Sign out)

We’ll send you updates on this idea

2. ## high CPU

Found out when my CPU is high (99%-100) (i do set executionpolicy to remotesign/unrestricted also)
When i run the PS script, it will ask for executionpolicy.
but when i low CPU, it will just run the script.

suspect value (executionpolicy remotesign) unable to pass thru to script.ps1 on time. so it prompt out everytime when CPU is high.
do we have some setting to tune this. delay it, so that executionpolicy have more time to pass the value to script.ps1.

Script:
$sourcefolder="D:\A743"$datenow = get-date
$processdate = (get-date).Adddays(-3) ## get-childitem$sourcefolder -file | where-object { $_.lastwritetime -le$processdate } | remove-item

1 vote
(thinking…)
Signed in as (Sign out)

We’ll send you updates on this idea

3. ## "Open Powershell window here" broken if file path contains an exclamation point

If I Shift+RightClick and select "Open PowerShell window here" in a folder that starts with an exclamation point, PowerShell will open, but it won't open at the desired path.

1 vote
(thinking…)
Signed in as (Sign out)

We’ll send you updates on this idea

4. ## Bug: New-Item Junction creates bad reparse points when pointing at SMB shares

Creating directory junctions with "cmd /c mklink" fails when pointing at network shares, claiming it only works with local volumes. PowerShell happily creates the junction, but the result is unusable as child items cannot be enumerated.

where: $lotsOfComputers is 20-150 other computers on the LAN in our AD environment This is the sequence of events: First, the command completes quickly, the expected computers reboot, and no errors are displayed. I can then type in the console exactly 1 new line of input and hit enter, after which the PowerShell console hangs for a long period of time (several minutes), possibly in correlation to the size of the array of computers. Once it begins hanging it does not register any new keyboard input onscreen during the hang (but it does… 1 vote Sign in (thinking…) Sign in with: Facebook Google Signed in as (Sign out) We’ll send you updates on this idea 15. ## CircuitPowerShell Microsoft should make CircuitPowerShell to further enable IoT like there is CircuitPython. https://forums.adafruit.com/viewtopic.php?f=60&t=143726 1 vote Sign in (thinking…) Sign in with: Facebook Google Signed in as (Sign out) We’ll send you updates on this idea 16. ## OpenSource NetTCPIP and put it in a GitHub repo. I am extremely annoyed by Test-NetConnection and would like to make it better. Why is there not a skip ICMP flag, or a timeout flag? Please, OpenSource this so the community could improve this tooling for all. 4 votes Sign in (thinking…) Sign in with: Facebook Google Signed in as (Sign out) We’ll send you updates on this idea 17. ## cmdlets for Overriding Language not working in buid 1709/1803 cmdlets for Overriding Language not working in buid 1709/1803 Set-WinDefaultInputMethodOverride -InputTip ***-XXXXXX Set-WinUILanguageOverride -Language XXXXXX Does not change settings and generate no error message in PS 3 votes Sign in (thinking…) Sign in with: Facebook Google Signed in as (Sign out) We’ll send you updates on this idea 18. ## Unable to use PowerShell Transcription with Active Directory Administrative Console (ADAC) Setup group policy to enable PowerShell Transcripting. From a machine that has that policy applied, launch ADAC. The error "Cannot connect to any domain. Refresh or try again when connection is available." pops up and ADAC can't be used. https://github.com/PowerShell/PowerShell/issues/3021 7 votes Sign in (thinking…) Sign in with: Facebook Google Signed in as (Sign out) We’ll send you updates on this idea 19. ## utf-8 without bom Bug: Scripts encoded with utf-8 without bom are producing errors when the character "Ä" is used between double quotation marks. Frequency: always How to reproduce: Create a powershell file with the following contents:$test = "Ä"

Save it with the encoding "utf-8 without bom" (often just called utf-8. The counterpart, utf-8 with bom, can also be called "utf-8 signature").

Run the file, and you will get the following error:

At C:\location\to\file\test.ps1:1 char:9
+ $test = "Ã„" + ~~~~ The string is missing the terminator: ". + CategoryInfo : ParserError: (:) [], ParseException + FullyQualifiedErrorId : TerminatorExpectedAtEndOfString  7 votes Sign in (thinking…) Sign in with: Facebook Google Signed in as (Sign out) We’ll send you updates on this idea 20. ## Bug? Test-Connection forces enumeration of reparse points I've noticed some behavior in PowerShell that I can't explain, but I'm hoping that someone else can. If I want to build a list of file objects from drive C:\, and I want to ignore shortcut folders (reparse points) such as C:\Documents and Settings. The following command works well:$FileList = @(Get-ChildItem -Path C:\ -Recurse -Force -Attributes !ReparsePoint);
$FileList | Where-Object {$_.DirectoryName -like "Documents and Settings"};

The Where-Object command returns no files as expected, since C:\Documents and Settings\ is a reparse point.

However, if I run the Test-Connection command first, then the Get-ChildItem command appears to ignore the…