<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>wandering_engineer</author_name>
  <author_url>https://blog.hatena.ne.jp/wandering_engineer/</author_url>
  <blog_title>彷徨うITエンジニアの雑記</blog_title>
  <blog_url>https://wanderingengineer.hatenablog.com/</blog_url>
  <categories>
    <anon>Powershell</anon>
    <anon>windows</anon>
  </categories>
  <description>簡易的な進捗カウンタをコンソールに表示したい UNIXシェルみたいに、コマンド出力をそのまま文字列として扱いたい 簡易的な進捗カウンタをコンソールに表示したい Write-Host -NoNewline (&quot;`r&quot; + &quot;hogehoge&quot;) を使う `r = CR(キャリッジ・リターン)でカーソルが左端に移動してコンソール表示を上書き $N = 1000 for($i = 0; $i -lt $N; $i++) { # 進捗を10単位でコンソールに表示 if(($i % 10) -eq 0){ Write-Host -NoNewline (&quot;`r&quot; + &quot;PROGRESS: ${i} / $…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwanderingengineer.hatenablog.com%2Fentry%2F2021%2F01%2F31%2F173636&quot; title=&quot;Powershellメモ3 - 彷徨うITエンジニアの雑記&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2021-01-31 17:36:36</published>
  <title>Powershellメモ3</title>
  <type>rich</type>
  <url>https://wanderingengineer.hatenablog.com/entry/2021/01/31/173636</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
