先に答えから書いておく。次のように書き換えることで目的の処理を実現できる(window_move.ps1)。 #!/usr/bin/env pwsh ...
window_move.ps1は、ほとんどwindow_resizer.ps1を流用することができる。書き換えた結果は、次のようになる。 #!/usr/bin/env pwsh ...
個人的な黒歴史で恐縮ですが、大学生の頃、図書館で私物のノートPCの操作を誤り、秘蔵のエッチビデオを大音量で再生してしまったことがあります。もしあの時 @m_fukuchan さんの「PowerShell」スクリプトさえあれば、筆者の名誉は守られたことでしょう(当時 ...
Windowsのファイルエクスプローラには「プレビュー」という機能が用意されている。この機能を利用すると、ファイルエクスプローラからファイルの中身を閲覧することができる。デフォルトではこの機能というかビューウィンドウは表示されていないので ...
I have PDFs in a directory that I would like to sort based on a portion of their filename. I've come up with a solution (cobbled together from Google searches) that mostly works but am wondering if ...
米Microsoft Corporationは15日(現地時間)、「Windows PowerShell ISE」のアドオン「Script Browser for Windows PowerShell ISE」v1.0を公開した。Windows 7/Server 2008 R2/8/Server 2012/Server 2012 R2に対応するフリーソフトで、編集部にてWindows ...
CodeZine編集部では、現場で活躍するデベロッパーをスターにするためのカンファレンス「Developers Summit」や、エンジニアの生きざまをブーストするためのイベント「Developers Boost」など、さまざまなカンファレンスを企画・運営しています。 講演資料・動画 ...
On Windows 11 (and Windows 10), PowerShell is a powerful command-line interface designed to run commands and scripts that automate tasks and manage system settings. While it serves a similar purpose ...
PowerShell scripting doesn't have to haphazard. Here's how to tell PowerShell to build a script from the commands that you have already entered at the command line ...