The certificate for Win7AndW2K8R2-KB3191566-x64.msu has expire and installing WMF 5.1 fails with the following error in Event Log/Windows Logs/Setup

Windows update "Update for Windows (KB3191566)" could not be installed because of error 2148204801 "A required certificate is not within its validity period when verifying against the current system clock or the timestamp in the signed file." (Command line: ""C:\Windows\system32\wusa.exe" "C:\Users\username\Downloads\Win7AndW2K8R2-KB3191566-x64\Win7AndW2K8R2-KB3191566-x64.msu" ")

We have -ErrorVariable and -WarningVariable. To capture verbose output to a variable, you can $VerboseRecords = (Write-Verbose -Verbose "test") 4>&1 # and find it in $VerboseRecords.Message, but wouldn't it make sense to add a -VerboseVariable? Maybe even a -WriteHostVariable?

-> get-childitem first line says Directory: c:\windows, and then it lists users directory contents. Is this intended behavior? If it is, it's quite confusing. Same with earlier versions. This is also very confusing when using filter to search subdirectories.

I would expect "directory:" to show the listed directory's name, not the current.

Add an optional switch to show the progress of an ongoing copy operation. Could be useful for large operation. Basically replicate as much information as the Explorer does, without the performance graph.

I am grateful for the addition of classes in PS, and I know why PowerShell classes do not support true data hiding, but it is a significant shortcoming. It does not allow full control of setting a property for example. I can write my own class method for setting it, but it can be changed outside of that method. And if that method also updates the value of another class property, it can get changed directly, without going through the desired logic so the class method can be bypassed.
And it is nice to have the get_ and set_ automatically defined for class properties, but at times I want to disallow a set_ and I am unable to do so (as far as I can tell). If there is a way to do so already, please let me know.
So I would like hidden to be hidden or a private attribute or whatever. Without it, we are reduced to a somewhat cleaner bit of procedural programming.

I am grateful for the addition of classes in PS, and I know why PowerShell classes do not support true data hiding, but it is a significant shortcoming. It does not allow full control of setting a property for example. I can write my own class method for setting it, but it can be changed outside of that method. And if that method also updates the value of another class property, it can get changed directly, without going through the desired logic so the class method can be bypassed.
And it is nice to have the get_ and set_ automatically…

I need to open Powershell console (within the same window) as different user with /netonly option known from the runas.exe command. I would like to avoid typing manually passwords, because I will use this console to run some scripts automatically.

According to this documentation Add-Content should create a folder when it does not exist: "This command creates a new directory and file and copies the content of an existing file to the newly created file."

Problem
------------------------------------------------------
When we run a job inside a transcript, the Verbose and the Warning streams of the jobs are not displayed in the transcript. However, we can see the in the console correctly.

Problem
------------------------------------------------------
When we run a job inside a transcript, the Verbose and the Warning streams of the jobs are not displayed in the transcript. However, we can see the in the console correctly.

With Powershell Core v6 in GA status, it would be nice to see it scaled to other architecture, including OpenPOWER (This would include IBM's Power8 and the more recent Power9 hardware). This would allow management of OSes on that hardware with Powershell Core.

PS H:\src\test> Get-Content .\Get-Type.ps1 -Stream Zone.Identifier
[ZoneTransfer]
ZoneId=3
My execution policy is set to RemoteSigned, but the function can be loaded without error. Why does this not produce an error?

There is a bug that causes a function to be called much more slowly than it should if an array parameter has both Mandatory and Type specified. I'm guessing something is causing the system to iterate through the array, so the larger the array, the longer to call the function.

With both Mandatory and Type specified, it takes a whole second to call a function with a 10MB byte array. If a 1byte array is used, it takes less than a millisecond to call the function. If only one, the other, or neither are specified, then it takes less than a millisecond to the function.

I'm on Windows 10 with PS version 5.1.15063.674, and have reproduced on 6.0.0-beta.9. Others have confirmed. Below is code to reproduce the scenarios. You will need to change the first line to point to a large enough file to see the difference.

There is a bug that causes a function to be called much more slowly than it should if an array parameter has both Mandatory and Type specified. I'm guessing something is causing the system to iterate through the array, so the larger the array, the longer to call the function.

With both Mandatory and Type specified, it takes a whole second to call a function with a 10MB byte array. If a 1byte array is used, it takes less than a millisecond to call the function. If only one, the other, or neither are specified, then it takes less than…