Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

What is the PowerShell 7 update process? #20741

Copy link
Copy link
@schittli

Description

@schittli
Issue body actions

Prerequisites

Steps to reproduce

  1. Install PowerShell 7
  2. Wait, until there is a new version
  3. Try to update PowerShell 7

With step 3, the nightmare begins. Not even https://github.com/PowerShell/PowerShell/blob/master/README.md
has any note about "how to update PowerShell 7". Since years.

Expected behavior

1. Of course, this is obvious and a shame that M$ Customers have to explain it, here, M$ must explain how customers can easily update PowerShell 7: 
https://github.com/PowerShell/PowerShell/blob/master/README.md
2. I expect two simple PowerShell Cmdlets, e.g.:
   - `Check-PowerShell-Update` which returns $True if there is a new release and with `-GetDetails` M$ Customers can get additional information like the installed and new version numbers and a link to the Release Notes
   - `Update-PowerShell` which, of course, updates PowerShell
3. If M$ is not able to assure a working update by offering two Cmdlets, I hope there are still some great engineers who know how to do the job. Or does M$ need to do this job for free people who spend their spare time, too?

Actual behavior

1. M$ Customers must use Google to get information about how PowerShell 7 could easily be updated.
2. Fun fact: M$ Bing offers still less useful links for its own product - after years.

Environment data

Name                           Value
----                           -----
PSVersion                      7.3.9
PSEdition                      Core
GitCommitId                    7.3.9
OS                             Microsoft Windows 10.0.19045
Platform                       Win32NT
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion      2.3
SerializationVersion           1.1.0.1
WSManStackVersion              3.0

OS Data

@{Version=10.0.19045; Caption=Microsoft Windows 10 Enterprise}

Windows update log

PS C:\Temp
λ  12  Get-WindowsUpdateLog

Converting C:\WINDOWS\logs\WindowsUpdate into C:\Users\schittli\Desktop\WindowsUpdate.log ...

Eingabe
----------------
Datei(en):
     C:\Windows\Logs\WindowsUpdate\WindowsUpdate.20231119.032918.394.90.etl
     C:\Windows\Logs\WindowsUpdate\WindowsUpdate.20231119.032918.394.91.etl
     C:\Windows\Logs\WindowsUpdate\WindowsUpdate.20231119.032918.394.92.etl
     C:\Windows\Logs\WindowsUpdate\WindowsUpdate.20231119.032918.394.93.etl
     C:\Windows\Logs\WindowsUpdate\WindowsUpdate.20231119.032918.394.94.etl
     C:\Windows\Logs\WindowsUpdate\WindowsUpdate.20231119.032918.394.95.etl
     C:\Windows\Logs\WindowsUpdate\WindowsUpdate.20231119.032918.394.96.etl
     C:\Windows\Logs\WindowsUpdate\WindowsUpdate.20231119.032918.394.97.etl
     C:\Windows\Logs\WindowsUpdate\WindowsUpdate.20231119.032918.394.98.etl
     C:\Windows\Logs\WindowsUpdate\WindowsUpdate.20231119.044048.941.1.etl

0.00%5.41%10.81%16.22%21.62%27.03%32.43%37.84%43.24%48.65%54.05%59.46%64.86%70.27%75.68%81.08%86.49%91.89%97.30%100.00%

Ausgabe
----------------
Speicherabbilddatei:           C:\Users\schittli\AppData\Local\Temp\WindowsUpdateLog\wuetl.CSV.tmp.00000

Der Befehl wurde erfolgreich ausgeführt.





















Eingabe
----------------
Datei(en):
     C:\Windows\Logs\WindowsUpdate\WindowsUpdate.20231119.053153.844.1.etl
     C:\Windows\Logs\WindowsUpdate\WindowsUpdate.20231119.074048.215.1.etl
     C:\Windows\Logs\WindowsUpdate\WindowsUpdate.20231119.084048.232.1.etl
     C:\Windows\Logs\WindowsUpdate\WindowsUpdate.20231119.094048.032.1.etl
     C:\Windows\Logs\WindowsUpdate\WindowsUpdate.20231119.104048.060.1.etl
     C:\Windows\Logs\WindowsUpdate\WindowsUpdate.20231119.114048.078.1.etl
     C:\Windows\Logs\WindowsUpdate\WindowsUpdate.20231119.114048.078.2.etl
     C:\Windows\Logs\WindowsUpdate\WindowsUpdate.20231119.135031.299.1.etl
     C:\Windows\Logs\WindowsUpdate\WindowsUpdate.20231119.141528.875.1.etl
     C:\Windows\Logs\WindowsUpdate\WindowsUpdate.20231119.142715.251.1.etl

0.00%13.68%27.35%41.03%54.70%68.38%82.05%95.73%100.00%

Ausgabe
----------------
Speicherabbilddatei:           C:\Users\schittli\AppData\Local\Temp\WindowsUpdateLog\wuetl.CSV.tmp.00001

Der Befehl wurde erfolgreich ausgeführt.










Eingabe
----------------
Datei(en):
     C:\Windows\Logs\WindowsUpdate\WindowsUpdate.20231119.170006.169.1.etl
     C:\Windows\Logs\WindowsUpdate\WindowsUpdate.20231119.180006.754.1.etl
     C:\Windows\Logs\WindowsUpdate\WindowsUpdate.20231119.210242.469.1.etl
     C:\Windows\Logs\WindowsUpdate\WindowsUpdate.20231119.223045.813.1.etl
     C:\Windows\Logs\WindowsUpdate\WindowsUpdate.20231120.002445.463.1.etl
     C:\Windows\Logs\WindowsUpdate\WindowsUpdate.20231120.014416.628.1.etl
     C:\Windows\Logs\WindowsUpdate\WindowsUpdate.20231120.023521.608.1.etl
     C:\Windows\Logs\WindowsUpdate\WindowsUpdate.20231120.025209.562.1.etl
     C:\Windows\Logs\WindowsUpdate\WindowsUpdate.20231120.045906.561.1.etl
     C:\Windows\Logs\WindowsUpdate\WindowsUpdate.20231120.054250.647.1.etl

0.00%17.02%34.04%51.06%68.09%85.11%100.00%

Ausgabe
----------------
Speicherabbilddatei:           C:\Users\schittli\AppData\Local\Temp\WindowsUpdateLog\wuetl.CSV.tmp.00002

Der Befehl wurde erfolgreich ausgeführt.








Eingabe
----------------
Datei(en):
     C:\Windows\Logs\WindowsUpdate\WindowsUpdate.20231120.055905.676.1.etl
     C:\Windows\Logs\WindowsUpdate\WindowsUpdate.20231120.085316.272.1.etl
     C:\Windows\Logs\WindowsUpdate\WindowsUpdate.20231120.100234.831.1.etl
     C:\Windows\Logs\WindowsUpdate\WindowsUpdate.20231120.101417.975.1.etl
     C:\Windows\Logs\WindowsUpdate\WindowsUpdate.20231120.102551.420.1.etl
     C:\Windows\Logs\WindowsUpdate\WindowsUpdate.20231120.115527.284.1.etl
     C:\Windows\Logs\WindowsUpdate\WindowsUpdate.20231120.130628.522.1.etl
     C:\Windows\Logs\WindowsUpdate\WindowsUpdate.20231120.130628.522.2.etl
     C:\Windows\Logs\WindowsUpdate\WindowsUpdate.20231120.130628.522.3.etl
     C:\Windows\Logs\WindowsUpdate\WindowsUpdate.20231120.130628.522.4.etl

0.00%9.20%18.39%27.59%36.78%45.98%55.17%64.37%73.56%82.76%91.95%100.00%

Ausgabe
----------------
Speicherabbilddatei:           C:\Users\schittli\AppData\Local\Temp\WindowsUpdateLog\wuetl.CSV.tmp.00003

Der Befehl wurde erfolgreich ausgeführt.













Eingabe
----------------
Datei(en):
     C:\Windows\Logs\WindowsUpdate\WindowsUpdate.20231120.130628.522.5.etl
     C:\Windows\Logs\WindowsUpdate\WindowsUpdate.20231120.130628.522.6.etl
     C:\Windows\Logs\WindowsUpdate\WindowsUpdate.20231120.132615.510.1.etl
     C:\Windows\Logs\WindowsUpdate\WindowsUpdate.20231120.133658.898.1.etl
     C:\Windows\Logs\WindowsUpdate\WindowsUpdate.20231120.135307.951.1.etl
     C:\Windows\Logs\WindowsUpdate\WindowsUpdate.20231120.140937.953.1.etl
     C:\Windows\Logs\WindowsUpdate\WindowsUpdate.20231120.150304.460.1.etl
     C:\Windows\Logs\WindowsUpdate\WindowsUpdate.20231120.151652.816.1.etl
     C:\Windows\Logs\WindowsUpdate\WindowsUpdate.20231120.165401.696.1.etl
     C:\Windows\Logs\WindowsUpdate\WindowsUpdate.20231120.183101.807.1.etl

0.00%16.84%33.68%50.53%67.37%84.21%100.00%

Ausgabe
----------------
Speicherabbilddatei:           C:\Users\schittli\AppData\Local\Temp\WindowsUpdateLog\wuetl.CSV.tmp.00004

Der Befehl wurde erfolgreich ausgeführt.








Eingabe
----------------
Datei(en):
     C:\Windows\Logs\WindowsUpdate\WindowsUpdate.20231120.194125.996.1.etl
     C:\Windows\Logs\WindowsUpdate\WindowsUpdate.20231120.195541.775.1.etl
     C:\Windows\Logs\WindowsUpdate\WindowsUpdate.20231120.200807.654.1.etl
     C:\Windows\Logs\WindowsUpdate\WindowsUpdate.20231120.210226.261.1.etl
     C:\Windows\Logs\WindowsUpdate\WindowsUpdate.20231120.214453.317.1.etl
     C:\Windows\Logs\WindowsUpdate\WindowsUpdate.20231120.232158.053.1.etl
     C:\Windows\Logs\WindowsUpdate\WindowsUpdate.20231120.233333.322.1.etl
     C:\Windows\Logs\WindowsUpdate\WindowsUpdate.20231121.005857.202.1.etl
     C:\Windows\Logs\WindowsUpdate\WindowsUpdate.20231121.013456.248.1.etl
     C:\Windows\Logs\WindowsUpdate\WindowsUpdate.20231121.013456.248.2.etl

0.00%14.68%29.36%44.04%58.72%73.39%88.07%100.00%

Ausgabe
----------------
Speicherabbilddatei:           C:\Users\schittli\AppData\Local\Temp\WindowsUpdateLog\wuetl.CSV.tmp.00005

Der Befehl wurde erfolgreich ausgeführt.









Eingabe
----------------
Datei(en):
     C:\Windows\Logs\WindowsUpdate\WindowsUpdate.20231121.013456.248.3.etl
     C:\Windows\Logs\WindowsUpdate\WindowsUpdate.20231121.032047.924.1.etl
     C:\Windows\Logs\WindowsUpdate\WindowsUpdate.20231121.032047.924.2.etl
     C:\Windows\Logs\WindowsUpdate\WindowsUpdate.20231121.050817.225.1.etl
     C:\Windows\Logs\WindowsUpdate\WindowsUpdate.20231121.060817.062.1.etl
     C:\Windows\Logs\WindowsUpdate\WindowsUpdate.20231121.090816.871.1.etl
     C:\Windows\Logs\WindowsUpdate\WindowsUpdate.20231121.100816.883.1.etl
     C:\Windows\Logs\WindowsUpdate\WindowsUpdate.20231121.103724.277.1.etl
     C:\Windows\Logs\WindowsUpdate\WindowsUpdate.20231121.112239.610.1.etl
     C:\Windows\Logs\WindowsUpdate\WindowsUpdate.20231121.113524.948.1.etl

0.00%14.29%28.57%42.86%57.14%71.43%85.71%100.00%

Ausgabe
----------------
Speicherabbilddatei:           C:\Users\schittli\AppData\Local\Temp\WindowsUpdateLog\wuetl.CSV.tmp.00006

Der Befehl wurde erfolgreich ausgeführt.









Eingabe
----------------
Datei(en):
     C:\Windows\Logs\WindowsUpdate\WindowsUpdate.20231121.120711.432.1.etl
     C:\Windows\Logs\WindowsUpdate\WindowsUpdate.20231121.121852.683.1.etl

0.00%100.00%

Ausgabe
----------------
Speicherabbilddatei:           C:\Users\schittli\AppData\Local\Temp\WindowsUpdateLog\wuetl.CSV.tmp.00007

Der Befehl wurde erfolgreich ausgeführt.



WindowsUpdate.log written to C:\Users\schittli\Desktop\WindowsUpdate.log


PS C:\Temp
λ  13

Visuals

No response

Reactions are currently unavailable

Metadata

Metadata

Labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    Morty Proxy This is a proxified and sanitized view of the page, visit original site.