タグ

関連タグで絞り込む (0)

  • 関連タグはありません

タグの絞り込みを解除

PowerShellに関するkaito834のブックマーク (9)

  • PowerShellのワンライナをWScript.ShellのExec()すると、終了待ちが解けない。 - Windows Script Programming

    kaito834
    kaito834 2011/11/24
    「PowerShellが標準入力を待つからのようです。この待ちを解くには、スクリプトから、StdIn.Closeするか、あるいは、コマンドラインの先頭に、"cmd /c <nul "を付けます。」
  • Microsoft Q&A

    This browser is no longer supported. Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.

    Microsoft Q&A
    kaito834
    kaito834 2011/11/09
    Windows PowerShell におけるコマンドレット(Cmdlet)「Get-HotFix」で、Excel の更新プログラムが見つからないとのQ&A。MSIインストーラ、Office Update からインストールされたものは「Get-HotFix」で取得できない。
  • Get-HotFix

    ローカル コンピューターおよびリモート コンピューターに適用された修正プログラムを取得します。 構文 Get-HotFix [[-Id] <string[]>] [-ComputerName <string[]>] [-Credential <PSCredential>] [<CommonParameters>] Get-HotFix [-説明 <string[]>] [-ComputerName <string[]>] [-Credential <PSCredential>] [<CommonParameters>] 説明 Get-Hotfix コマンドレットは、コンポーネント ベースのサービスによってローカル コンピューターまたはリモート コンピューターに適用された修正プログラムを取得します。 パラメーター -ComputerName <string[]> リモート コンピューターを指

    Get-HotFix
    kaito834
    kaito834 2011/11/08
    Windows PowerShell におけるコマンドレット「Get-HotFix」。Win32_QuickFixEngineering がベース。すべての更新プログラムが含まれるわけではないようだ(注を参照)。「Get-HotFix <KBXXXXXX>」(正規表現不可)。
  • Windows PowerShell Cmdlet のヘルプ トピック

    このブラウザーはサポートされなくなりました。 Microsoft Edge にアップグレードすると、最新の機能、セキュリティ更新プログラム、およびテクニカル サポートを利用できます。

    Windows PowerShell Cmdlet のヘルプ トピック
    kaito834
    kaito834 2011/11/08
    Windows PowerShell におけるコマンドレット(Cmdlet)の一覧。
  • オブジェクトの処理

    発行: 2009年5月 適用対象: Windows PowerShell 2.0, Windows PowerShell 3.0, Windows PowerShell 4.0 最初は気付かないかもしれませんが、Windows PowerShell を操作しているということは、実際には .NET Framework オブジェクトを操作していることになります。経験を重ねるうちに、オブジェクト処理の威力を理解できるようになり、オブジェクトを使用していることに気付くと共に、オブジェクト的な考え方をするようになっていると思われます。 技術的に言えば、.NET Framework オブジェクトは、データおよびそのデータに関連付けられている操作から構成される .NET Framework クラスのインスタンスです。言い換えると、オブジェクトとは、プロパティ (特性のようなもの) とメソッド (オブジェ

    オブジェクトの処理
    kaito834
    kaito834 2011/11/08
    Windows PowerShell におけるコマンドレットは、.NET Framework オブジェクトのインスタンスを作ること。オブジェクトを調べるには、<cmdlet> | get-member。
  • WMI オブジェクトの取得 (Get-WmiObject)

    This browser is no longer supported. Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.

    WMI オブジェクトの取得 (Get-WmiObject)
    kaito834
    kaito834 2011/11/08
    PowerShell の特徴:(1)テキストではなくオブジェクトが入出力。(2)組み込みコマンドが豊富、(3)すべてのコマンドで同じパーサーを使用、(4)これまでのWindowsコマンドも使用可能。
  • Windows PowerShell ファースト ステップ ガイド

    Windows PowerShell は、主にシステム管理者を対象に設計された、Windows の新しいコマンドライン シェルです。Windows PowerShell には、対話型のプロンプトとスクリプト環境が備えられており、これらは別々に使用することも、組み合わせて使用することもできます。 ほとんどのシェルではテキストを受け取って返しますが、Windows PowerShell は .NET Framework 共通言語ランタイム (CLR) および .NET Framework 上に構築されているため、.NET Framework オブジェクトを受け取って返すことができます。このように環境が質的に変更されたことにより、Windows の管理と構成を行うためのまったく新しいツールおよび手段を手にすることができます。 Windows PowerShell では、シェルに組み込まれている

    Windows PowerShell ファースト ステップ ガイド
    kaito834
    kaito834 2011/11/08
    「ほとんどのシェルではテキストを受け取って返しますが、Windows PowerShell は .NET Framework 共通言語ランタイム (CLR) および .NET Framework 上に構築されているため、.NET Framework オブジェクトを受け取って返す...」
  • Windows PowerShell

    PowerShell is a cross-platform task automation solution made up of a command-line shell, a scripting language, and a configuration management framework. PowerShell runs on Windows, Linux, and macOS. Command-line Shell PowerShell is a modern command shell that includes the best features of other popular shells. Unlike most shells that only accept and return text, PowerShell accepts and returns .NET

    Windows PowerShell
    kaito834
    kaito834 2011/11/08
    Microsoft TechNet における Windows PowerShell の説明。ヘルプが見たい場合は、「get-help」。
  • Tee-Object

    コマンド出力をファイルまたは変数に保存し、コンソールに表示します。 構文 Tee-Object [-FilePath] <string> [-InputObject <psobject>] [<CommonParameters>] Tee-Object -変数 <string> [-InputObject <psobject>] [<CommonParameters>] 説明 Tee-Object コマンドレットは、"T" 字形のようにコマンド出力を 2 方向に送信します。ファイルまたは変数に出力を保存し、パイプラインにも送信します。Tee-Object がパイプラインの最後のコマンドである場合は、コマンドの出力がコンソールに表示されます。 パラメーター -FilePath <string> オブジェクトを保存するファイルを指定します。ワイルドカードを使用できますが、単一の名前に解決される

    Tee-Object
    kaito834
    kaito834 2011/11/08
    Windows PowerShell の Tee-Object を使えば、Linux における「tee」コマンドと同様のことができることを知った。
  • 1