個人的な黒歴史で恐縮ですが、大学生の頃、図書館で私物のノートPCの操作を誤り、秘蔵のエッチビデオを大音量で再生してしまったことがあります。もしあの時 @m_fukuchan さんの「PowerShell」スクリプトさえあれば、筆者の名誉は守られたことでしょう(当時 ...
会員(無料)になると、いいね!でマイページに保存できます。 PowerShellとは、マイクロソフトにより開発されたスクリプト言語とその実行環境の総称である。マイクロソフトのスクリプトといえば、かつてコマンドプロンプトやWindows Script Host(WSH)などの ...
前回の成果物「csv2barchart.ps1」は次の通りだ。 #!/usr/bin/env pwsh #===== # 引数を処理 # -CSVFile パス グラフのCSVデータファイルパス # -PNGFile パス 生成するPNG画像のファイルパス # -OutFile パス 中間生成されるHTML ...
前回の記事では、PowerShellプロンプトからコマンドプロンプト(cmd.exeが実体)を起動する例を紹介しましたが、今回は、逆にコマンドプロンプトからPowerShellのコマンドレットやスクリプトを実行する方法を紹介します。日常的なシステム管理にPowerShellを利用 ...
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 ...
Microsoft’s mighty Windows administration framework gets even better with the help of these resources. Most are free, and the three for-fee tools are well worth the cost. Ah, PowerShell. A simple blue ...
Gone in seconds with the right PowerShell command.
In my previous post, I showed you how to create a clickable button in Excel. That button displayed a simple message box. Now, I want to show you how to use the button to kick off a PowerShell script.
「Windows PowerShell」の機能を拡張するモジュールパック「PowerShell Pack」が、15日に公開された。「Windows PowerShell」v2に対応しており、編集部にてWindows Vista上の「Windows PowerShell」v2 RC(リリース候補)版で動作を確認した。現在、マイクロソフトが運営する開発者 ...
Microsoft Windows PowerShell has been a long time coming. Windows has never enjoyed the powerful shell scripting environments that its Unix rivals have long included. That’s changed now with the ...