<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:dw="https://www.dreamwidth.org">
  <id>tag:dreamwidth.org,2016-09-14:2546963</id>
  <title>Alex</title>
  <subtitle>Alex</subtitle>
  <author>
    <name>Alex</name>
  </author>
  <link rel="alternate" type="text/html" href="https://pytyev.dreamwidth.org/"/>
  <link rel="self" type="text/xml" href="https://pytyev.dreamwidth.org/data/atom"/>
  <updated>2023-11-28T12:11:37Z</updated>
  <dw:journal username="pytyev" type="personal"/>
  <entry>
    <id>tag:dreamwidth.org,2016-09-14:2546963:113329</id>
    <link rel="alternate" type="text/html" href="https://pytyev.dreamwidth.org/113329.html"/>
    <link rel="self" type="text/xml" href="https://pytyev.dreamwidth.org/data/atom/?itemid=113329"/>
    <title>A new features discovered after upgrading home computers to Windows 11</title>
    <published>2023-11-28T11:55:56Z</published>
    <updated>2023-11-28T12:11:37Z</updated>
    <category term="packages"/>
    <category term="software"/>
    <category term="powershell"/>
    <category term="migration"/>
    <category term="windows"/>
    <dw:security>public</dw:security>
    <dw:reply-count>0</dw:reply-count>
    <content type="html">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.&lt;ol&gt;    &lt;li&gt;To move data (including metadata), one has to move all of the folders under %HOMEPATH% (the user's home directory) to another location, &lt;a href="https://web.archive.org/web/20231124220627/https://www.windowscentral.com/how-move-default-user-folders-new-drive-windows-10" target="_blank"&gt;one by one&lt;/a&gt;&lt;/li&gt;&lt;li&gt;To move binaries, one might consider package managers, such as &lt;a href="https://learn.microsoft.com/en-us/windows/package-manager/winget/" target="_blank"&gt;winget&lt;/a&gt;, &lt;a href="https://scoop.sh" target="_blank"&gt;scoop&lt;/a&gt;, or &lt;a href="https://docs.chocolatey.org/en-us/choco/setup#non-administrative-install" target="_blank"&gt;chocolatey&lt;/a&gt; (non-admin option, gonna be default for me)&lt;/li&gt;&lt;/ol&gt;However, even automated scenarios, e.g. based on PowerShell (which might look cross-platform, but still is not) are rather &lt;a href="https://github.com/PowerShell/PowerShell/issues/17685" target="_blank"&gt;tricky&lt;/a&gt;. Nevertheless, let's try &lt;a href="https://web.archive.org/web/20231121011019/https://lazyadmin.nl/powershell/update-powershell/" target="_blank"&gt;upgrading PowerShell&lt;/a&gt;:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;code&gt;winget list --id Microsoft.Powershell&lt;/code&gt;&lt;/li&gt;&lt;li&gt;&lt;code&gt;winget upgrade --id Microsoft.Powershell&lt;/code&gt;&lt;/li&gt;&lt;/ul&gt;Oops:&lt;br /&gt;&lt;code&gt;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.&lt;/code&gt;&lt;br type="_moz" /&gt;&lt;br type="_moz" /&gt;Here's my story:&lt;br /&gt;&lt;ol&gt;&lt;li&gt;The beginning: &lt;a href="https://pytyev.dreamwidth.org/112875.html" target="_blank"&gt;upgrading Windows 10 to 11&lt;/a&gt;&lt;/li&gt;&lt;/ol&gt;&lt;br /&gt;&lt;br /&gt;&lt;img src="https://www.dreamwidth.org/tools/commentcount?user=pytyev&amp;ditemid=113329" width="30" height="12" alt="comment count unavailable" style="vertical-align: middle;"/&gt; comments</content>
  </entry>
  <entry>
    <id>tag:dreamwidth.org,2016-09-14:2546963:26156</id>
    <link rel="alternate" type="text/html" href="https://pytyev.dreamwidth.org/26156.html"/>
    <link rel="self" type="text/xml" href="https://pytyev.dreamwidth.org/data/atom/?itemid=26156"/>
    <title>Поубивал бы</title>
    <published>2018-12-19T23:53:46Z</published>
    <updated>2018-12-19T23:53:46Z</updated>
    <category term="microsoft"/>
    <category term="repeating"/>
    <category term="2019"/>
    <category term="powershell"/>
    <category term="xxi"/>
    <dw:security>public</dw:security>
    <dw:reply-count>0</dw:reply-count>
    <content type="html">Скажите мне, уважаемые господа и товарищи пауэршельники и пауэршельницы, вас не выворачивает от &lt;s&gt;многословности, избыточности и тупизны&lt;/s&gt; негритянского технорэпа вроде такого:&lt;br /&gt;&lt;code&gt;&lt;br /&gt;[System.TimeZoneInfo]::GetSystemTimeZones()&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;Я бы, пока набирал, сблевал как минимум трижды. Во-первых, от необходимости брать в []. Во-вторых, от двойного ::. В-третьих&amp;hellip; нет, вы правда любите этот Microsoft-овский идиотизм?&lt;br /&gt;&lt;br /&gt;&lt;img src="https://www.dreamwidth.org/tools/commentcount?user=pytyev&amp;ditemid=26156" width="30" height="12" alt="comment count unavailable" style="vertical-align: middle;"/&gt; comments</content>
  </entry>
  <entry>
    <id>tag:dreamwidth.org,2016-09-14:2546963:25859</id>
    <link rel="alternate" type="text/html" href="https://pytyev.dreamwidth.org/25859.html"/>
    <link rel="self" type="text/xml" href="https://pytyev.dreamwidth.org/data/atom/?itemid=25859"/>
    <title>Что за идиоты плодят сайты с автопереводом stackoverflow и им подобных?</title>
    <published>2018-12-19T22:26:33Z</published>
    <updated>2018-12-19T22:26:33Z</updated>
    <category term="web"/>
    <category term="search"/>
    <category term="powershell"/>
    <category term="2018"/>
    <dw:security>public</dw:security>
    <dw:reply-count>0</dw:reply-count>
    <content type="html">Пример: пытаюсь найти пример простейшего действия на PowerShell, в ответ получаю вот такое:&lt;br /&gt;&lt;br /&gt;&lt;a href="https://coredump.su/questions/42271475/reading-a-text-file-and-finding-text-using-powershell" target="_blank"&gt;Reading a text file and finding text using PowerShell&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;Скажите, люди, вы правда хотите стать идиотами, похожими на роботов? Или вы уже ими стали?&lt;br /&gt;&lt;br /&gt;&lt;img src="https://www.dreamwidth.org/tools/commentcount?user=pytyev&amp;ditemid=25859" width="30" height="12" alt="comment count unavailable" style="vertical-align: middle;"/&gt; comments</content>
  </entry>
</feed>
