When moving my data and software from disk C to disk D, the task which has been consuming quite some time, I found two options I hadn't noticed before.
  1. To move data (including metadata), one has to move all of the folders under %HOMEPATH% (the user's home directory) to another location, one by one
  2. To move binaries, one might consider package managers, such as winget, scoop, or chocolatey (non-admin option, gonna be default for me)
However, even automated scenarios, e.g. based on PowerShell (which might look cross-platform, but still is not) are rather tricky. Nevertheless, let's try upgrading PowerShell:
  • winget list --id Microsoft.Powershell
  • winget upgrade --id Microsoft.Powershell
Oops:
A newer version was found, but the install technology is different from the current version installed. Please uninstall the package and install the newer version.

Here's my story:
  1. The beginning: upgrading Windows 10 to 11
Скажите мне, уважаемые господа и товарищи пауэршельники и пауэршельницы, вас не выворачивает от многословности, избыточности и тупизны негритянского технорэпа вроде такого:

[System.TimeZoneInfo]::GetSystemTimeZones()

Я бы, пока набирал, сблевал как минимум трижды. Во-первых, от необходимости брать в []. Во-вторых, от двойного ::. В-третьих… нет, вы правда любите этот Microsoft-овский идиотизм?
Пример: пытаюсь найти пример простейшего действия на PowerShell, в ответ получаю вот такое:

Reading a text file and finding text using PowerShell.

Скажите, люди, вы правда хотите стать идиотами, похожими на роботов? Или вы уже ими стали?
Page generated Sunday, June 15th, 2025 13:02
Powered by Dreamwidth Studios