This browser is no longer supported. Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
![WindowsScript(MicroSoft)](https://cdn-ak-scissors.b.st-hatena.com/image/square/d6e4cb632c7025e9f5e05fd314fbf6dcd6144e8d/height=288;version=1;width=512/https%3A%2F%2Flearn.microsoft.com%2Fen-us%2Fmedia%2Fopen-graph-image.png)
■VBScript(Visual Basic Scripting Edition)を活用すれば,システム管理をはじめとする様々な作業を自動化できるが,原因不明のエラーに悩まされることも多い。 ■VBScriptのコードを記述する場合に生じるエラーの多くは,比較的少数の原因によるものである。これらの原因,つまり変数,エラー処理構文,引用符,特殊文字または予約文字——の扱いを取り上げ,それらが引き起こす問題と解決法を紹介する。 仮にあなたが,Active Directory(AD)にある古いユーザー・アカウントを自動的に削除するスクリプトを何時間もかけて作成したところだとする。あなたはVBScriptについては初心者だが,毎月古いADのユーザー・アカウントを削除する作業はあまりに面倒なので,スクリプトを書く苦労は十分報われると確信していた。期待を胸に,完成したスクリプトをテスト用のネットワーク
WshShellオブジェクト (Wscript.Shell) [概要] WSHが提供する、便利な機能を呼び出すためのオブジェクトです。 [機能を提供するファイル] wshom.ocx Windows Scripting Host Runtime Library [呼び出し方] Set WSHShell=Wscript.CreateObject("Wscript.Shell") [主なメソッド] AppActivate (strTitle) [WSH2.0以上] 任意のウィンドウをアクティブにするメソッドです。引数strTitleには、ウィンドウのタイトルを指定します。 strTitleに前方/後方一致するタイトルを持つウィンドウがあれば、それをアクティブにし、Trueを返します。見つからなかった場合はFalseを返します。 (例) : '「AppTitle」というタイトルを持つウィンドウが
Summary: Using PowerShell to identify RPC ports in use by capturing content from PowerShell We'd like to introduce you today to one of our newest bloggers! It's a froopingly awesome friend of ours, Joel Vickery, PFE. (did I mention Dr. Scripto is a big fan of books written by Douglas Adams?....oops!) Take it away Joel! Thanks Doc! So ...
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く