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.
  • Hot ideas
  • Top ideas
  • New ideas
  • My feedback
  1. set-volume whatif

    Set-Volume along with a number of other commands in the storage module offer, but do not honor, the -WhatIf switch parameter.

    1 vote
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)

    We’ll send you updates on this idea

    0 comments  ·  Other PowerShell  ·  Flag idea as inappropriate…  ·  Admin →
  2. Active Directory

    CrazyMarioBros

    1 vote
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)

    We’ll send you updates on this idea

    0 comments  ·  Other PowerShell  ·  Flag idea as inappropriate…  ·  Admin →
  3. Not an idea, but a question

    I need to gather info for our auditors. I need a list of ALL Active Directory users with certain properties, but those requiring a false or true output are the ones that came out wrong for me. Objects like samaccountname came out just fine, but filters like isPreauthNotRequired gave me a weird and long output: Microsoft.ActiveDirectory.Management.ADPropertyValueCollection

    Here is my command:
    Get-ADUser -Filter * -Properties * | Select-Object samaccountname, isPreAuthNotRequired, isActive, isPwdEncryptedTextAllowed, displayname, isPwdNotRequired, userprincipalname, isDisabled, isExpired, distinguishedname | export-csv -path c:\export\allusers.csv

    1 vote
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)

    We’ll send you updates on this idea

    0 comments  ·  Other PowerShell  ·  Flag idea as inappropriate…  ·  Admin →
  4. PowerShell should produce a CSV file that Excel can import.

    Find-Module -Repository PSGallery |

    Export-Csv -Path .\psgallery-modules.csv -Delimiter ',' -NoTypeInformation
    

    Microsoft Excel cannot import the result successfully. In particular, cells which contain multiple lines become new rows in the spreadsheet.

    1 vote
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)

    We’ll send you updates on this idea

    0 comments  ·  Other PowerShell  ·  Flag idea as inappropriate…  ·  Admin →
  5. native VPN IKEv2 client does not support server Redirect

    IKE Redirection is how VPNs provide load balancing.
    iPhone and MacOS support this natively.

    https://tools.ietf.org/html/rfc5685

    Please add!

    1 vote
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)

    We’ll send you updates on this idea

    0 comments  ·  Other PowerShell  ·  Flag idea as inappropriate…  ·  Admin →
  6. get-aduser title

    I cant pull users Job title with AD-User command.

    -Properties * lists the title as an attribute but its returned empty even though all users have a job title assigned.

    Suspect this is a bug?

    1 vote
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)

    We’ll send you updates on this idea

    0 comments  ·  Other PowerShell  ·  Flag idea as inappropriate…  ·  Admin →
  7. Make the verb 'Deploy' symmetrical by adding a new verb 'Undeploy'

    The verb Deploy was added, but strangely no verb Undeploy was added at the same time.

    In many operations the verb Undeploy is relevant, meaning to revert or undo the Deployment action.

    Other Verbs that are paired with a 'Un' version:
    - Block / Unblock
    - Install / Uninstall
    - Lock / Unlock
    - Protect / Unprotect
    - Publish / Unpublish
    - Register / Unregister

    1 vote
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)

    We’ll send you updates on this idea

    0 comments  ·  Other PowerShell  ·  Flag idea as inappropriate…  ·  Admin →
  8. BUG: Get-ScheduledTask returns NULL for Value of MultipleInstances

    If in the settings tab of the scheduled task it is set to "Stop the existing instance", Get-ScheduledTask returns NULL for the value of MultipleInstances. The other three possible values return a string.

    To test:
    Edit the properties of an existing scheduled task, or create a new one. On the Settings tab, change "If the task is already running, then the following rule applies" to the value "Stop the existing instance".

    Execute in PowerShell:
    $task = Get-ScheduledTask -TaskPath '\' -TaskName 'your task name'
    $task.settings.MultipleInstances.GetType()

    Expected behavior:
    $task.settings.MultipleInstances should be a [string]

    Actual behavior:
    $task.settings.MultipleInstances is null

    Note that the value…

    1 vote
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)

    We’ll send you updates on this idea

    0 comments  ·  Other PowerShell  ·  Flag idea as inappropriate…  ·  Admin →
  9. When I attempt to communicate with serial devices using PowerShell in Ubuntu 18, I get an “access denied” message when I try to open the por

    When I attempt to communicate with serial devices using PowerShell in Ubuntu 18, I get an “access denied” message when I try to open the port. I can create the port object with no problem:

    $port = new-object system.io.ports.serialport ttyACM0

    And I can verify the created port:

    Echo $port

    …yields all the specifics. But when I try to open the port so that I can begin reading or writing:

    $port.open()

    …access is denied. Is this a procedural error on my part, or a short-coming in the cross platform PowerShell itself? I’ve tried this with onboard serial ports as well as…

    1 vote
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)

    We’ll send you updates on this idea

    0 comments  ·  Other PowerShell  ·  Flag idea as inappropriate…  ·  Admin →
  10. Sandboxing powershell.exe.config for different versions of PowerShell

    Windows PowerShell.exe supports a -Version command-line switch, which aligns the current PowerShell session to a particular version of PowerShell, e.g. powershell.exe -Version 2.0 will get you a PS shell which uses .NET 2.0 and PowerShell v2. This is still useful, because I still have to write scripts that work in older environments, even though I am running WinPS 5.1 myself.

    However, semi-recent Windows Updates have added configuration to powershell.exe.config (I think to support newer TLS ciphers), which are incompatible with powershell.exe -Version 2.0.

    The following simple code is a minimal test point:

    $wc = New-Object Net.WebClient
    
    $wc.DownloadString(&#39;<a rel="nofollow noreferrer"
    1 vote
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)

    We’ll send you updates on this idea

    0 comments  ·  Other PowerShell  ·  Flag idea as inappropriate…  ·  Admin →
  11. gridview tabulation

    Group multiple gridview in one windows.A tabulation system to navigate between grids.

    1 vote
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)

    We’ll send you updates on this idea

    0 comments  ·  Other PowerShell  ·  Flag idea as inappropriate…  ·  Admin →
  12. i need powershell to support the sed command

    i need powershell to support the sed command

    3 votes
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)

    We’ll send you updates on this idea

    1 comment  ·  Other PowerShell  ·  Flag idea as inappropriate…  ·  Admin →
  13. New-SmbShare fails without triggering Try

    I have a Powershell script to duplicate the shares from one machine onto another that is in the process of being mirrored. I am testing my script, including it's error handling by attempting to recreate all shares when half the drives have not been populated on the new machine. This should generate loads of "cannot create share, path not found" errors.

    Thus, this code within the loop:
    Try {
    New-SmbShare -Name "$($line.{Share Name})" -Path "$($line.{Folder Path})"
    echo "Created share $($line.{Share Name})" >>$logFile
    } Catch {
    Write-Error -Message "Exception Creating Windows share $($line.{Share Name}). Error is $_" -TargetObject $line
    echo "FAILED…

    1 vote
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)

    We’ll send you updates on this idea

    0 comments  ·  Other PowerShell  ·  Flag idea as inappropriate…  ·  Admin →
  14. TPM

    TPM isn’t the only workable option for disk encryption and in fact, is almost guaranteed to provide the user with a false sense of security.

    Sure, some encryption is better than none, but considering the fact that Microsoft has broken the trust it had with it's customers, when they were caught red-handed with their hands in the cookie jar, as well as their brazen Win10 campaign tactics that literally upended several businesses and that of the lives of so many other end users who woke up one morning to find all their files were gone because their computers were automatically

    1 vote
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)

    We’ll send you updates on this idea

    1 comment  ·  Other PowerShell  ·  Flag idea as inappropriate…  ·  Admin →
  15. Suggestion: Getting the size of Network Shares with Hard-Quotas factored in

    When you map a network drive to your computer and look at the available storage, the GUI shows you the storage available as set by any hard-quotas configured in File Server Resource Manager. However, when you run any sort of PowerShell script to query the drive, you get the result of the drive without any quota in place.

    It'd be great to have a query which shows the storage available and used with the quota factored in.

    As an example, I just had to write a script which emails me our share sizes once a day but instead of simply…

    1 vote
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)

    We’ll send you updates on this idea

    0 comments  ·  Other PowerShell  ·  Flag idea as inappropriate…  ·  Admin →
  16. Explorer 'Pinned Items' on the taskbar opening in PowerShell 7 rather than explorer

    I have pinned folders to my task bar under Explorer.exe. Since installing PowerShell 7 these links open in PowerShell rather than explorer.

    4 votes
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)

    We’ll send you updates on this idea

    1 comment  ·  Other PowerShell  ·  Flag idea as inappropriate…  ·  Admin →
  17. Windows clusters - Pipline doens't work in version 7 but works in 5.1

    Simple script to find cluster Listener fails to accept pipeline in version 7. Works fine in version 5.1

    $CurCluster = Get-Cluster -Name $ClusterName #Sets the Current Cluster to the clustername

    $Listener = ($CurCluster | Get-ClusterResource | Where-Object { $.ResourceType -eq 'Network Name' -and $.OwnerGroup -ne 'Cluster Group' }).Name #Gets the Listener Name if configured - if not conifugred then this will exit

    Running this code in PS 7 generates this error:

    Get-ClusterResource: The input object cannot be bound to any parameters for the command either because the command does not take pipeline input or the input and its…

    1 vote
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)

    We’ll send you updates on this idea

    0 comments  ·  Other PowerShell  ·  Flag idea as inappropriate…  ·  Admin →
  18. powershell display at boot up

    The following window displays when I start up my notebook computer: C:\WINDOWS\System32\WindowsPowerShell\v1.0\powershell.exe. How do I prevent that?

    1 vote
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)

    We’ll send you updates on this idea

    0 comments  ·  Other PowerShell  ·  Flag idea as inappropriate…  ·  Admin →
  19. Powershell display the letter Ø/ø wrong

    The letter Ø/ø is displaying as an O/o in PowerShell 5.1.18362.628. All other letters is displayed correctly, but not Ø/ø. I suspect that this is because 0 is looking similar, but Ø/ø is not the same as O/o so this is wrong.

    1 vote
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)

    We’ll send you updates on this idea

    0 comments  ·  Other PowerShell  ·  Flag idea as inappropriate…  ·  Admin →
  20. Get-UICulture DateTimeFormat ShortTimePattern cannot set 24h format

    On Windows 10 / Server 2012 / 2016 I can set the "short time format" by using the Get-UICulture and Set-Culture commandlets to the 12 hour format with AM/PM indicators.
    However, I can not change it from 12 hour format to 24 hour format. It remains in the 12 hour format - meanwhile there is no problem to set the 24h format from the Settings app in Windows.

    (In contrast to that, the LongTimePattern works fine both ways)

    Steps to reproduce

    (Get-UICulture).DateTimeFormat | Select ShortTimePattern,LongTimePattern | fl
    $modCulture = Get-UICulture
    ($modCulture.DateTimeFormat).ShortTimePattern = "h:mm"
    ($modCulture.DateTimeFormat).LongTimePattern = "h:mm:ss"
    Set-Culture $modCulture

    (Get-UICulture).DateTimeFormat |…

    1 vote
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)

    We’ll send you updates on this idea

    0 comments  ·  Other PowerShell  ·  Flag idea as inappropriate…  ·  Admin →
← Previous 1 3 4 5 24 25
  • Don't see your idea?

Feedback and Knowledge Base