2008-02-01から1ヶ月間の記事一覧
What you are seeing is that Format-Table transforms the objects into a stream of formatting directives. These are then consumed by one of the OUT- Commands (Out-Host, Out-File, Out-String, Out-Printer). This is why you can't pipe format-ta…
InternalHostRawUserInterfaceのCell関係のメソッドはBufferCell[,](BefferCellの二次元配列)を引数にとったり、戻り値にしたりするんですが、PowerShellのみで多次元配列を作る方法がわからないので困っていました。 # この場合は、NewBufferCellArrayで生…
はてなにはスーパーpre記法という、ソースコードをシンタックスハイライトして表示する機能があるのですが、これはPowerShellに対応していないようです。予約語の似ているRubyモードで貼り付けていこうかとも思ったのですが、PowerShell 2.0CTPではパーサを…
今日から、MVPめざして、ブログを始める事にしました。よろしくお願いします。
これからPowerShellについて書いていくにあたり、PowerShell.exeの画面をHTMLに変換するスクリプトを作ってみました。$hostを使っているので、PowerShell.exe以外ではうまく動かないかもしれません。というか、PowerShell.exeのGetBufferContentsと、SetBuff…