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. |
-
New-AzAutomationConnection Cmdlet incorrectly states that -ResourceGroupName parameter value exeeds length of 90.
There appears to be a bug when using this Cmdlet, where the -ResourceGroupName parameter incorrectly states that the parameter value for the resource group exceeds a length of 90 when a variable is used, i.e. $rgName (string length is actually 19 <CZEU2-APP-NP-RGP-01>. When the hard coded value of: "CZEU2-APP-NP-RGP-01" is used however, the Cmdlet works as designed.
12 votes -
Smartcard support
Add Smartcard support to Get-Credential in Powershell 7. Add a cmdlet for enumerating certificates on a smartcard
6 votes -
"Get-ADGroupMember: An operations error occurred" with cross-forest members
Any group that contains a user account that is cross-forest to the group object is hitting the non-descriptive error in the title when running Get-ADGroupMember. I can successfully run the command with on groups where all members are in the same forest as the group object.
The current workaround is to use Get-ADGroup and expand the Members property and then make a subsequent Get-ADObject call for each member. This takes about 5x longer to run.
7 votes -
add tcpdump equivalent cmdlet in powershell
I hope powershell have a cool module about the network tool ,make them work like tcpdump , netcat in linux.
It's very very cool things , will make me fly in our daily task.
17 votes -
[BUG] Get-LocalGroupMember and unresolved SID throws error
If there is an unresolved SID in a local group the cmdlet Get-LocalGroupMember (and maybe others) throws and error.
Module: Microsoft.PowerShell.LocalAccounts
Get-LocalGroupMember : Failed to compare two elements in the array.
At line:1 char:1
+ Get-LocalGroupMember -Group 'RDS Endpoint Servers'
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~+ CategoryInfo : NotSpecified: (:) [Get-LocalGroupMember], InvalidOperationException
+ FullyQualifiedErrorId : An unspecified error occurred.,Microsoft.PowerShell.Commands.GetLocalGroupMemberCommandIf the SID is removed, the cmdlet once again works as expected.
3 votes -
New-SMBShare -Temporary seems to do nothing
New-SMBShare -Temporary should remove the share after a reboot but that's nothing happening
2 votes -
get-localgroup does not have SID parameter
Get-Localgroup does not have SID parameter when running x86 version.
Version: 5.1.17763.771 (x86)
Running "(Get-LocalGroup -SID 'S-1-5-32-544').Name" will return error about non matched param.2 votes -
Get-VMProcessor doesn't show state of ExposeVirtualizationExtensions
Set-VMProcessor -ExposeVirtualizationExtensions $true -VMName <VMNAME>
Get-VMProcessor -VMName <VMNAME>
This should show a column for ExposeVirtualizationExtensions but it doesn't
1 vote -
DHCP Server Class - ASCII data is missing
The output of the Get-DhcpServerv4Class cmdlet give me the information that I need, except for one AsciiData value. I don't know if that is something computed from the corresponding Data value.
PS C:\temp> Get-DhcpServerv4Class -ComputerName $ComputerName -Type "Vendor" | Where-Object {$_.Description -notlike "Microsoft*"}
Name Type Data AsciiData Description
Cisco Aironet 1200 Vendor 0x436973636f2041502063... Cisco AP c1200 Vendor Class Indentifi...
airespace Vendor 0x4169726573706163652e... Airespace.AP1200 1010
Airespace 2700 Vendor 0x436973636f2041502063... Cisco AP c2700 Cisco Aironet 2700 Series
Mitel IP Phone Options Vendor 0x697070686f6e652e6d69... Mitel-specific options...
PXEClient (BIOS) Vendor 0x505845436c69656e743a... PXEClient:Arch:00000 PXEClient (BIOS)
PXEClient (UEFI x64) Vendor 0x505845436c69656e743a... PXEClient:Arch:00007 PXEClient (UEFI x64)1 vote -
Get-Content -Head and -Tail doesn't work well on large files
I want to look a few lines of a large file, but Get-Content with -Head and -Tail option still reports insufficient memory issue.
1 vote -
Cannot change Temp folder path used fora Exchange Online Power-Shell Module imports
Cannot change Temp folder path used for Exchange Online Power-Shell Module (With MFA) imports. How do we change the path from using the temp folder
1 vote -
[Bug] module actrivedirectory 1.0.1.0 - Set-Location on PSDrive with PSProvider active directory
There seems to be a problem to use Set-Location on a specific mounted Active Directory PSDrive, with the new Version of activedirectory module 1.0.1.0
the commands bellow do all work on module 1.0.0.0
PSDrive mapping:
New-PSDrive -Name "myAD" -PSProvider ActiveDirectory -Root "DC=A,DC=B,DC=C,DC=D"works:
Set-Location "myAD:"does not work anymore:
Set-Location "myAD:\OU=subOU"does not work
PS myAD:> cd subOUdoes not work
PS myAD:> set-location "subOU"Error:
Set-Location : The object name has bad syntax
At line:1 char:1
+ Set-Location "OU=subOU,DC=A,DC=B,DC=C,DC=D"
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~+ CategoryInfo : NotSpecified: (\\RootDSE\\Root...s,DC=C,DC=D:String) [Set-Location], ADException
+ FullyQualifiedErrorId : ADProvider:ItemExists::ADError,Microsoft.PowerShell.Commands.SetLocationCommandSet-Location : Cannot find path 'myAD:\RootDSE\OU=subOU,DC=A,DC=B,DC=C,DC=D,DC=A' because…
1 vote -
Get-DnsClient and Get-DnsClientServerAddress output format incorrect
I feedback with https://github.com/PowerShell/PowerShell/issues/10987
Get-DnsClient and Get-DnsClientServerAddress output format incorrect.You can see the markdown render of github issue.
1 vote -
ActiveDirectory PowerShell module isn't thread-safe
Accessing Active Directory Web Services (ADWS) by launching and running a number of PowerShell Runspaces in parallel from within the same process makes ADWS fail with error message "invalid enumeration context".
Apparently, the ActiveDirectory PowerShell module is not thread-safe.
Please fix soon. There is no workaround for this issue.
See this repository for steps to reproduce:
2 votes -
Fix powershell Get-SecureUEFI to support the variable dbt.
Get-SecureBootUEFI used the wrong GUID (EFIGLOBALVARIABLE_GUID) so cause it can not get dbt.
In UEFI spec 2.8, define the EFIIMAGESECURITYDATABASE2(dbt) should use the EFIIMAGESECURITYDATABASE_GUID, so this is the power shell command issue, you can refer to UEFI spec 2.8 - 32.6.1 UEFI Image Variable GUID & Variable Name for detail.
1 vote -
UpdateServices Module - Request for UpdateReleaseDate
UpdateServices Module, cmdlet Get-WsusUpdate. This cmdlet does not allow filtering by updates' "ReleaseDate". It also does not return value of updates' "ReleaseDate". GUI tool (WSUS mmc) does show "Release Date" column when showing updates, and allows updates sorting by "Release Date". I would ask that UpdateServices Module includes "UpdateReleaseDate" both as input (filtering) value and output value. Thanx.
1 vote -
PowerShell Basic Statistics Module
It will be fantastic if powershell have a simple or basic module for statistics and data analytics ..... calculating average and min , max is not enough .... please more data analytics functions would make powershell able to meet the new technology expectations
1 vote -
convertto-json fails on result from Get-AzDiagnosticSetting
The user reported an issue of Convertto-json cmdlet.
Here is the details. Please take a loot at it.1 vote -
Wrong path delimiters in archive (non-UNC)
The "compress-archive" module stores path delimiters in non UNC format (backslashes instead of slashes) which differs from the builtin zipper in Win10 (Send to Zip-Archive).
This leads to unrecognized files on decompression by i.e. Microsoft Dynamics NAV 2016 (decrompression of an imported zipfile "ControlAddIn.Zip")
If you build the same archive with the Win10-Zipper, the files are recognized correctly.
Used PS-Version : 5.1 build 18362 rev 145
Win10-Pro 64bit version: 10.0.18362.267
Command executed from Visual Studio:
powershell Compress-Archive -Path ".\ControlAddIn\AddIn*" -CompressionLevel Fastest -DestinationPath "$(SolutionDir)ControlAddIn.zip"
I cannot append the two Zip-Archives to let you compare these files by yourself therefore I post…1 vote -
Scheduledtask commands should support whatif
The -ScheduledTask commands that modify state should support the WhatIf parameter. They don't appear to currently as of Server 2016.
Specifying -WhatIf to Disable-ScheduledTask says the parameter is unknown.
1 vote
- Don't see your idea?