From 7fb2b9262fa2e64680834051df52e0c6f288fb42 Mon Sep 17 00:00:00 2001 From: Colin Westwater Date: Sun, 16 Oct 2022 05:41:04 +0100 Subject: [PATCH] whoami, winget: add examples (#9069) --- pages/windows/whoami.md | 4 ++++ pages/windows/winget.md | 8 ++++++++ 2 files changed, 12 insertions(+) diff --git a/pages/windows/whoami.md b/pages/windows/whoami.md index 45f2c15ad..bd681d085 100644 --- a/pages/windows/whoami.md +++ b/pages/windows/whoami.md @@ -22,3 +22,7 @@ - Display the logon ID of the current user: `whoami /logonid` + +- Display all information for the current user: + +`whoami /all` diff --git a/pages/windows/winget.md b/pages/windows/winget.md index 0bd32ab54..38c907c7d 100644 --- a/pages/windows/winget.md +++ b/pages/windows/winget.md @@ -14,3 +14,11 @@ - Search for a package: `winget search {{package}}` + +- Upgrade all packages to latest versions: + +`winget upgrade --all` + +- List all packages installed that can be managed with winget: + +`winget list --source winget`