[{"content":"リモート デスクトップ セッション ホスト サーバー署名ツール\nrdpsign C:\\Windows\\system32\\rdpsign.exe /? Output:\n日本語\rすべての rdp ファイルが正常に署名されました。 英語\rAll rdp file(s) have been succesfully signed. STDERR:\nJa\r名前 rdpsign [オプション] [署名する項目] オプション /sha256 HASH 署名証明書の SHA256 ハッシュを指定します。 /q Quiet モード: 成功時には出力なし、失敗時には最小限の出力を返します。 /v 詳細モード: 警告、メッセージ、状態をすべて表示します。 /l 署名をテストし、実際に入力内容を置換することなく、結果を出力します。入力ファイルが stdin に存在する場合は無視します。 En\rNAME rdpsign [options] [items to sign] OPTIONS /sha256 HASH Specified the SHA256 hash of the signing certificate. /q Quiet mode: No output when success, minimal output when failed. /v Verbose mode: Display all warnings, messages, and status. /l Test signing and output results without actually replacing any of the inputs. Ignores when input files are on stdin. Return Code: 1\n","date":"2022-09-29T05:53:32Z","permalink":"https://pen2.com/cmd/ja/rdpsign/","title":"rdpsign"},{"content":"DSREG コマンド ライン ツール\ndsregcmd C:\\Windows\\system32\\dsregcmd.exe /? Output:\nDSREGCMD switches /? : Displays the help message for DSREGCMD /status : Displays the device join status /status_old : Displays the device join status in old format /join : Schedules and monitors the Autojoin task to Hybrid Join the device /leave : Performs Hybrid Unjoin /debug : Displays debug messages /refreshprt : Refreshes PRT in the CloudAP cache /UpdateDevice : Update device attributes to Azure AD Return Code: 0\n","date":"2022-09-29T05:53:28Z","permalink":"https://pen2.com/cmd/ja/dsregcmd/","title":"dsregcmd"},{"content":"リモート デスクトップ接続\nmstsc C:\\Windows\\system32\\mstsc.exe /? Output:\n日本語\r[Window Title] リモート デスクトップ接続の使用法 [Content] MSTSC [\u0026lt;接続ファイル\u0026gt;] [/v:\u0026lt;サーバー[:ポート]\u0026gt;] [/g:\u0026lt;ゲートウェイ\u0026gt;] [/admin] [/f[ullscreen]] [/w:\u0026lt;幅\u0026gt; /h:\u0026lt;高さ\u0026gt;] [/public] | [/span] [/multimon] [/edit \u0026#34;接続ファイル\u0026#34;] [/restrictedAdmin] [/remoteGuard] [/prompt] [/shadow:\u0026lt;セッション ID\u0026gt; [/control] [/noConsentPrompt]] \u0026#34;接続ファイル\u0026#34; -- 接続用の .RDP ファイルの名前を指定します。 /v:\u0026lt;サーバー[:ポート]\u0026gt; -- 接続先のリモート PC を指定します。 /g:\u0026lt;ゲートウェイ\u0026gt; -- 接続に使用する RD ゲートウェイ サーバーを指定します。このパラメーターは、エンドポイントのリモート PC が /v で指定されている場合にのみ読み込まれます。 /admin -- リモート PC 管理用のセッションに接続します。 /f -- リモート デスクトップを全画面モードで開始します。 /w:\u0026lt;幅\u0026gt; -- リモート デスクトップ ウィンドウの幅を指定します。 /h:\u0026lt;高さ\u0026gt; -- リモート デスクトップ ウィンドウの高さを指定します。 /public -- リモート デスクトップをパブリック モードで実行します。 /span -- リモート デスクトップの幅と高さをローカル仮想デスクトップと同じにします (必要であれば、複数のモニターにまたがって表示します)。複数のモニターにまたがって表示するには、モニター全体が長方形になるように配置する必要があります。 /multimon -- リモート デスクトップ サービス セッションのモニターのレイアウトを、クライアント側の現在の構成と同じになるようにします。 /edit -- 指定した .RDP 接続ファイルを編集用として開きます。 /restrictedAdmin -- リモート PC に制限付き管理モードで接続します。このモードでは、リモート PC に資格情報が送信されないので、接続先 PC が侵害されている場合でも接続元が保護されます。ただし、リモート PC からの接続は他の PC によって認証されるとは限らず、アプリケーションの機能や互換性に影響する可能性があります。このパラメーターは /admin を表します。 /remoteGuard -- Remote Guard を使用してデバイスをリモート デバイスに接続します。Remote Guard は、リモート PC に資格情報が送信されることを防ぐので、接続先のリモート PC が侵害されている場合でも資格情報を保護できます。制限付き管理モードとは異なり、Remote Guard は、すべての要求をデバイスにリダイレクトして戻すことによって、リモート PC から行われた接続もサポートします。 /prompt -- リモート PC に接続する際、資格情報の入力を求めるメッセージが表示されます。 /shadow:\u0026lt;セッション ID\u0026gt; -- シャドウ処理するセッションの ID を指定します。 /control -- シャドウ処理の際にセッションの制御を可能にします。 /noConsentPrompt -- ユーザーの同意がなくてもシャドウ処理ができるようにします。 [OK] 英語\r[Window Title] Remote Desktop Connection Usage [Content] MSTSC [\u0026lt;connection file\u0026gt;] [/v:\u0026lt;server[:port]\u0026gt;] [/g:\u0026lt;gateway\u0026gt;] [/admin] [/f[ullscreen]] [/w:\u0026lt;width\u0026gt; /h:\u0026lt;height\u0026gt;] [/public] | [/span] [/multimon] [/edit \u0026#34;connection file\u0026#34;] [/restrictedAdmin] [/remoteGuard] [/prompt] [/shadow:\u0026lt;sessionID\u0026gt; [/control] [/noConsentPrompt]] \u0026#34;connection file\u0026#34; -- Specifies the name of an .RDP file for the connection. /v:\u0026lt;server[:port]\u0026gt; -- Specifies the remote PC to which you want to connect. /g:\u0026lt;gateway\u0026gt; -- Specifies the RD Gateway server to use for the connection. This parameter is only read if the endpoint remote PC is specified with /v. /admin -- Connects you to the session for administering a remote PC. /f -- Starts Remote Desktop in full-screen mode. /w:\u0026lt;width\u0026gt; -- Specifies the width of the Remote Desktop window. /h:\u0026lt;height\u0026gt; -- Specifies the height of the Remote Desktop window. /public -- Runs Remote Desktop in public mode. /span -- Matches the remote desktop width and height with the local virtual desktop, spanning across multiple monitors, if necessary. To span across monitors, the monitors must be arranged to form a rectangle. /multimon -- Configures the Remote Desktop Services session monitor layout to be identical to the current client-side configuration. /edit -- Opens the specified .RDP connection file for editing. /restrictedAdmin -- Connects you to the remote PC in Restricted Administration mode. In this mode, credentials won\u0026#39;t be sent to the remote PC, which can protect you if you connect to a PC that has been compromised. However, connections made from the remote PC might not be authenticated by other PCs, which might impact application functionality and compatibility. This parameter implies /admin. /remoteGuard -- Connects your device to a remote device using Remote Guard. Remote Guard prevents credentials from being sent to the remote PC, which can help protect your credentials if you connect to a remote PC that has been compromised. Unlike Restricted Administration mode, Remote Guard also supports connections made from the remote PC by redirecting all requests back to your device. /prompt -- Prompts you for your credentials when you connect to the remote PC. /shadow:\u0026lt;sessionID\u0026gt; -- Specifies the ID of the session to shadow. /control -- Allows control of the session when shadowing. /noConsentPrompt -- Allows shadowing without user consent. [OK] Return Code: 1\n","date":"2022-09-29T05:53:28Z","permalink":"https://pen2.com/cmd/ja/mstsc/","title":"mstsc"},{"content":"CertReq.exe\ncertreq C:\\Windows\\system32\\certreq.exe /? Output:\n日本語\r使用法: CertReq -? CertReq [-v] -? CertReq [-Command] -? CertReq [-Submit] [Options] [RequestFileIn [CertFileOut [CertChainFileOut [FullResponseFileOut]]]] 要求を証明機関に送信します。 オプション: -attrib AttributeString -binary -PolicyServer PolicyServer -config ConfigString -Anonymous -Kerberos -ClientCertificate ClientCertId -UserName UserName -p Password -crl -rpc -AdminForceMachine -RenewOnBehalfOf -NoChallenge CertReq -Retrieve [Options] RequestId [CertFileOut [CertChainFileOut [FullResponseFileOut]]] 以前の要求に対する応答を証明機関から取得します。 オプション: -binary -PolicyServer PolicyServer -config ConfigString -Anonymous -Kerberos -ClientCertificate ClientCertId -UserName UserName -p Password -crl -rpc -AdminForceMachine CertReq -New [Options] [PolicyFileIn [RequestFileOut]] PolicyFileIn で指示されたとおりに新しい要求を作成します オプション: -attrib AttributeString -binary -cert CertId -PolicyServer PolicyServer -config ConfigString -Anonymous -Kerberos -ClientCertificate ClientCertId -UserName UserName -p Password -pin Pin -user -machine -xchg ExchangeCertFile CertReq -Accept [Options] [CertChainFileIn | FullResponseFileIn | CertFileIn] 以前の新しい要求に対する応答を受け付け、インストールします。 オプション: -user -machine -pin Pin CertReq -Policy [Options] [RequestFileIn [PolicyFileIn [RequestFileOut [PKCS10FileOut]]]] 既存の CA 証明書または既存の要求からクロス証明 または限定従属の要求を構築します。 オプション: -attrib AttributeString -binary -cert CertId -PolicyServer PolicyServer -Anonymous -Kerberos -ClientCertificate ClientCertId -UserName UserName -p Password -pin Pin -noEKU -AlternateSignatureAlgorithm -HashAlgorithm HashAlgorithm CertReq -Sign [Options] [RequestFileIn [RequestFileOut]] 登録エージェントまたは認定された従属署名証明書で 証明書要求に署名します。 オプション: -binary -cert CertId -PolicyServer PolicyServer -Anonymous -Kerberos -ClientCertificate ClientCertId -UserName UserName -p Password -pin Pin -crl -noEKU -HashAlgorithm HashAlgorithm CertReq -Enroll [オプション] TemplateName CertReq -Enroll -cert CertId [オプション] Renew [ReuseKeys] 証明書を登録または更新します。 オプション: -PolicyServer PolicyServer -user -machine -pin Pin CertReq -EnrollAIK [Options] [KeyContainerName] AIK 証明書を登録します。 オプション: -config CertReq -EnrollCredGuardCert [オプション] TemplateName [ExtensionInfFile] コンピューター アカウントの Credential Guard 証明書を登録します。 オプション: -config CertReq -EnrollLogon [Options] ADFS を通じて Hello for Business のログオン証明書を登録します。 オプション: -q CertReq -Post [オプション] http 要求を POST します。 オプション: -attrib AttributeString -config URL 英語\rUsage: CertReq -? CertReq [-v] -? CertReq [-Command] -? CertReq [-Submit] [Options] [RequestFileIn [CertFileOut [CertChainFileOut [FullResponseFileOut]]]] Submit a request to a Certification Authority. Options: -attrib AttributeString -binary -PolicyServer PolicyServer -config ConfigString -Anonymous -Kerberos -ClientCertificate ClientCertId -UserName UserName -p Password -crl -rpc -AdminForceMachine -RenewOnBehalfOf -NoChallenge CertReq -Retrieve [Options] RequestId [CertFileOut [CertChainFileOut [FullResponseFileOut]]] Retrieve a response to a previous request from a Certification Authority. Options: -binary -PolicyServer PolicyServer -config ConfigString -Anonymous -Kerberos -ClientCertificate ClientCertId -UserName UserName -p Password -crl -rpc -AdminForceMachine CertReq -New [Options] [PolicyFileIn [RequestFileOut]] Create a new request as directed by PolicyFileIn Options: -attrib AttributeString -binary -cert CertId -PolicyServer PolicyServer -config ConfigString -Anonymous -Kerberos -ClientCertificate ClientCertId -UserName UserName -p Password -pin Pin -user -machine -xchg ExchangeCertFile CertReq -Accept [Options] [CertChainFileIn | FullResponseFileIn | CertFileIn] Accept and install a response to a previous new request. Options: -user -machine -pin Pin CertReq -Policy [Options] [RequestFileIn [PolicyFileIn [RequestFileOut [PKCS10FileOut]]]] Construct a cross certification or qualified subordination request from an existing CA certificate or from an existing request. Options: -attrib AttributeString -binary -cert CertId -PolicyServer PolicyServer -Anonymous -Kerberos -ClientCertificate ClientCertId -UserName UserName -p Password -pin Pin -noEKU -AlternateSignatureAlgorithm -HashAlgorithm HashAlgorithm CertReq -Sign [Options] [RequestFileIn [RequestFileOut]] Sign a certificate request with an enrollment agent or qualified subordination signing certificate. Options: -binary -cert CertId -PolicyServer PolicyServer -Anonymous -Kerberos -ClientCertificate ClientCertId -UserName UserName -p Password -pin Pin -crl -noEKU -HashAlgorithm HashAlgorithm CertReq -Enroll [Options] TemplateName CertReq -Enroll -cert CertId [Options] Renew [ReuseKeys] Enroll for or renew a certificate. Options: -PolicyServer PolicyServer -user -machine -pin Pin CertReq -EnrollAIK [Options] [KeyContainerName] Enroll for AIK certificate. Options: -config CertReq -EnrollCredGuardCert [Options] TemplateName [ExtensionInfFile] Enroll for machine account Credential Guard certificate. Options: -config CertReq -EnrollLogon [Options] Enroll for Hello for Business Logon certificate via ADFS. Options: -q CertReq -Post [Options] POST an http request. Options: -attrib AttributeString -config URL Return Code: 0\n","date":"2022-09-29T05:53:27Z","permalink":"https://pen2.com/cmd/ja/certreq/","title":"certreq"},{"content":"CertUtil.exe\ncertutil C:\\Windows\\system32\\certutil.exe /? Output:\n日本語\r動詞: -dump -- 構成情報またはファイルをダンプします -dumpPFX -- PFX 構造をダンプします -asn -- ASN.1 ファイルの解析 -decodehex -- 16 進エンコード ファイルをデコードします -decode -- Base 64 エンコード ファイルをデコードします -encode -- ファイルを Base 64 にエンコードします -deny -- 保留中の要求を拒否します -resubmit -- 保留中の要求を再送信します -setattributes -- 保留中の要求の属性を設定します -setextension -- 保留中の要求の拡張機能を設定します -revoke -- 証明書を失効します -isvalid -- 現在の証明書のディスポジションを表示します -getconfig -- 既定の構成の文字列を取得します -ping -- Active Directory 証明書サービスの要求インターフェイスを PING します -pingadmin -- Active Directory 証明書サービスの管理者インターフェイスを PING します -CAInfo -- CA 情報を表示します -ca.cert -- CA の証明書を取得します -ca.chain -- CA の証明書チェーンを取得します -GetCRL -- CRL を取得します -CRL -- 新しい CRL を公開します [または Delta CRL のみ] -shutdown -- Active Directory 証明書サービスをシャットダウンします -installCert -- 証明機関の証明書をインストールします -renewCert -- 証明機関の証明書を更新します -schema -- 証明書スキーマをダンプします -view -- 証明書の表示をダンプします -db -- 未処理データベースをダンプします -deleterow -- サーバー データベースの行を削除します -backup -- Active Directory 証明書サービスのバックアップを作成します -backupDB -- Active Directory 証明書サービス データベースのバックアップを作成します -backupKey -- Active Directory 証明書サービスの証明書と秘密キーのバックアップを作成します -restore -- Active Directory 証明書サービスを復元します -restoreDB -- Active Directory 証明書サービス データベースを復元します -restoreKey -- Active Directory 証明書サービスの証明書と秘密キーを復元します -importPFX -- 証明書および秘密キーをインポートします -dynamicfilelist -- ダイナミック ファイル リストを表示します -databaselocations -- データベースの場所を表示します -hashfile -- ファイルに暗号化ハッシュを生成し表示します -store -- 証明書ストアをダンプします -enumstore -- 証明書ストアを列挙する -addstore -- 証明書をストアに追加します -delstore -- 証明書をストアから削除します -verifystore -- ストアの証明書を確認します -repairstore -- キーの関連付けの修復、または証明書プロパティやキーのセキュリティ記述子の更新を行います -viewstore -- 証明書ストアをダンプします -viewdelstore -- 証明書をストアから削除します -UI -- CryptUI を呼び出します -attest -- キーの構成証明要求を確認します -dsPublish -- 証明書または CRL を Active Directory に公開します -ADTemplate -- AD テンプレートの表示 -Template -- 登録ポリシー テンプレートの表示 -TemplateCAs -- テンプレートの CA を表示します -CATemplates -- CA のテンプレートを表示します -SetCASites -- CA のサイト名の管理 -enrollmentServerURL -- CA に関連付けられた登録サーバーの URL を表示、追加、または削除します -ADCA -- AD CA の表示 -CA -- 登録ポリシー CA の表示 -Policy -- 登録ポリシーの表示 -PolicyCache -- 登録ポリシー キャッシュ エントリを表示または削除します -CredStore -- 資格情報ストアのエントリを表示、追加または削除します -InstallDefaultTemplates -- 既定の証明書テンプレートをインストールする -URLCache -- URL キャッシュ エントリを表示または削除します -pulse -- パルス自動登録イベントまたは NGC タスク -MachineInfo -- Active Directory コンピューター オブジェクト情報を表示します -DCInfo -- ドメイン コントローラー情報を表示します -EntInfo -- エンタープライズ情報を表示します -TCAInfo -- CA 情報を表示します -SCInfo -- スマート カード情報を表示します -SCRoots -- スマート カード ルート証明書の管理 -DeleteHelloContainer -- Hello ログオン コンテナーを削除します。 ** このオプションを使用した後、削除を完了するには、サインアウトする必要があります。** -verifykeys -- 公開/秘密キー セットを確認します -verify -- 証明書、CRL、またはチェーンを確認します -verifyCTL -- AuthRoot または Disallowed Certificates CTL を検証します -syncWithWU -- Windows Update と同期します -generateSSTFromWU -- Windows Update から SST を生成します -generatePinRulesCTL -- 暗証番号ルールの CTL を生成します -downloadOcsp -- OCSP 応答をダウンロードし、ディレクトリに書き込みます -generateHpkpHeader -- 指定されたファイルまたはディレクトリの証明書を使用して HPKP ヘッダーを生成します -flushCache -- lsass.exe などの選択したプロセスで、指定したキャッシュをフラッシュします -addEccCurve -- ECC 曲線を追加します -deleteEccCurve -- ECC 曲線を削除します -displayEccCurve -- ECC 曲線を表示します -sign -- CRL または証明書に再び署名します -vroot -- Web 仮想ルートとファイルの共有を作成または削除します -vocsproot -- OCSP Web プロキシの Web 仮想ルートを作成または削除します -addEnrollmentServer -- 登録サーバー アプリケーションを追加します -deleteEnrollmentServer -- 登録サーバー アプリケーションを削除します -addPolicyServer -- ポリシー サーバー アプリケーションを追加 -deletePolicyServer -- ポリシー サーバー アプリケーションを削除 -oid -- ObjectId の表示、または表示名の設定をします -error -- エラー コード メッセージ テキストを表示します -getreg -- レジストリ値を表示します -setreg -- レジストリ値を設定します -delreg -- レジストリ値を削除します -ImportKMS -- キーのアーカイブのユーザー キーおよび証明書をサーバー データベースにインポートします -ImportCert -- データベースに証明書ファイルをインポートします -GetKey -- アーカイブされた秘密キーの回復 BLOB の取得、回復スクリプトの生成、 またはアーカイブされたキーの回復を行います -RecoverKey -- アーカイブされた秘密キーを回復します -MergePFX -- PFX ファイルの結合 -ConvertEPF -- PFX ファイルを EPF ファイルに変換します -add-chain -- (-AddChain) 証明書チェーンの追加 -add-pre-chain -- (-AddPrechain) 前証明書チェーンの追加 -get-sth -- (-GetSTH) 署名付きツリー ヘッドの取得 -get-sth-consistency -- (-GetSTHConsistency) 署名付きツリー ヘッド変更の取得 -get-proof-by-hash -- (-GetProofByHash) ハッシュによる照明を取得する -get-entries -- (-GetEntries) エントリを取得する -get-roots -- (-GetRoots) ルートを取得する -get-entry-and-proof -- (-GetEntryAndProof) エントリと照明を取得する -VerifyCT -- 証明書の SCT を検証する -? -- この使用法のメッセージを表示します CertUtil -? -- 動詞の一覧 (コマンドの一覧) を表示します CertUtil -dump -? -- \u0026#34;dump\u0026#34; 動詞のヘルプ テキストを表示します CertUtil -v -? -- すべての動詞のヘルプ テキストをすべて表示します CertUtil: -? コマンドは正常に完了しました。 英語\rVerbs: -dump -- Dump configuration information or file -dumpPFX -- Dump PFX structure -asn -- Parse ASN.1 file -decodehex -- Decode hexadecimal-encoded file -decode -- Decode Base64-encoded file -encode -- Encode file to Base64 -deny -- Deny pending request -resubmit -- Resubmit pending request -setattributes -- Set attributes for pending request -setextension -- Set extension for pending request -revoke -- Revoke Certificate -isvalid -- Display current certificate disposition -getconfig -- Get default configuration string -ping -- Ping Active Directory Certificate Services Request interface -pingadmin -- Ping Active Directory Certificate Services Admin interface -CAInfo -- Display CA Information -ca.cert -- Retrieve the CA\u0026#39;s certificate -ca.chain -- Retrieve the CA\u0026#39;s certificate chain -GetCRL -- Get CRL -CRL -- Publish new CRLs [or delta CRLs only] -shutdown -- Shutdown Active Directory Certificate Services -installCert -- Install Certification Authority certificate -renewCert -- Renew Certification Authority certificate -schema -- Dump Certificate Schema -view -- Dump Certificate View -db -- Dump Raw Database -deleterow -- Delete server database row -backup -- Backup Active Directory Certificate Services -backupDB -- Backup Active Directory Certificate Services database -backupKey -- Backup Active Directory Certificate Services certificate and private key -restore -- Restore Active Directory Certificate Services -restoreDB -- Restore Active Directory Certificate Services database -restoreKey -- Restore Active Directory Certificate Services certificate and private key -importPFX -- Import certificate and private key -dynamicfilelist -- Display dynamic file List -databaselocations -- Display database locations -hashfile -- Generate and display cryptographic hash over a file -store -- Dump certificate store -enumstore -- Enumerate certificate stores -addstore -- Add certificate to store -delstore -- Delete certificate from store -verifystore -- Verify certificate in store -repairstore -- Repair key association or update certificate properties or key security descriptor -viewstore -- Dump certificate store -viewdelstore -- Delete certificate from store -UI -- invoke CryptUI -attest -- Verify Key Attestation Request -dsPublish -- Publish certificate or CRL to Active Directory -ADTemplate -- Display AD templates -Template -- Display Enrollment Policy templates -TemplateCAs -- Display CAs for template -CATemplates -- Display templates for CA -SetCASites -- Manage Site Names for CAs -enrollmentServerURL -- Display, add or delete enrollment server URLs associated with a CA -ADCA -- Display AD CAs -CA -- Display Enrollment Policy CAs -Policy -- Display Enrollment Policy -PolicyCache -- Display or delete Enrollment Policy Cache entries -CredStore -- Display, add or delete Credential Store entries -InstallDefaultTemplates -- Install default certificate templates -URLCache -- Display or delete URL cache entries -pulse -- Pulse autoenrollment event or NGC task -MachineInfo -- Display Active Directory machine object information -DCInfo -- Display domain controller information -EntInfo -- Display enterprise information -TCAInfo -- Display CA information -SCInfo -- Display smart card information -SCRoots -- Manage smart card root certificates -DeleteHelloContainer -- Delete Hello Logon container. ** Users need to sign out after using this option for it to complete. ** -verifykeys -- Verify public/private key set -verify -- Verify certificate, CRL or chain -verifyCTL -- Verify AuthRoot or Disallowed Certificates CTL -syncWithWU -- Sync with Windows Update -generateSSTFromWU -- Generate SST from Windows Update -generatePinRulesCTL -- Generate Pin Rules CTL -downloadOcsp -- Download OCSP Responses and Write to Directory -generateHpkpHeader -- Generate HPKP header using certificates in specified file or directory -flushCache -- Flush specified caches in selected process, such as, lsass.exe -addEccCurve -- Add ECC Curve -deleteEccCurve -- Delete ECC Curve -displayEccCurve -- Display ECC Curve -sign -- Re-sign CRL or certificate -vroot -- Create/delete web virtual roots and file shares -vocsproot -- Create/delete web virtual roots for OCSP web proxy -addEnrollmentServer -- Add an Enrollment Server application -deleteEnrollmentServer -- Delete an Enrollment Server application -addPolicyServer -- Add a Policy Server application -deletePolicyServer -- Delete a Policy Server application -oid -- Display ObjectId or set display name -error -- Display error code message text -getreg -- Display registry value -setreg -- Set registry value -delreg -- Delete registry value -ImportKMS -- Import user keys and certificates into server database for key archival -ImportCert -- Import a certificate file into the database -GetKey -- Retrieve archived private key recovery blob, generate a recovery script, or recover archived keys -RecoverKey -- Recover archived private key -MergePFX -- Merge PFX files -ConvertEPF -- Convert PFX files to EPF file -add-chain -- (-AddChain) Add certificate chain -add-pre-chain -- (-AddPrechain) Add pre-certificate chain -get-sth -- (-GetSTH) Get signed tree head -get-sth-consistency -- (-GetSTHConsistency) Get signed tree head changes -get-proof-by-hash -- (-GetProofByHash) Get proof by hash -get-entries -- (-GetEntries) Get entries -get-roots -- (-GetRoots) Get roots -get-entry-and-proof -- (-GetEntryAndProof) Get entry and proof -VerifyCT -- Verify certificate SCT -? -- Display this usage message CertUtil -? -- Display a verb list (command list) CertUtil -dump -? -- Display help text for the \u0026#34;dump\u0026#34; verb CertUtil -v -? -- Display all help text for all verbs CertUtil: -? command completed successfully. Return Code: 0\n","date":"2022-09-29T05:53:27Z","permalink":"https://pen2.com/cmd/ja/certutil/","title":"certutil"},{"content":"Kerberos チケット キャッシュを管理するためのツール\nklist C:\\Windows\\system32\\klist.exe /? Output:\n日本語\r使用法: klist.exe [コマンド] コマンドの一覧: [tickets] [-lh \u0026lt;LogonId.HighPart\u0026gt;] [-li \u0026lt;LogonId.LowPart\u0026gt;] tgt [-lh \u0026lt;LogonId.HighPart\u0026gt;] [-li \u0026lt;LogonId.LowPart\u0026gt;] purge [-lh \u0026lt;LogonId.HighPart\u0026gt;] [-li \u0026lt;LogonId.LowPart\u0026gt;] sessions [-lh \u0026lt;LogonId.HighPart\u0026gt;] [-li \u0026lt;LogonId.LowPart\u0026gt;] kcd_cache [-lh \u0026lt;LogonId.HighPart\u0026gt;] [-li \u0026lt;LogonId.LowPart\u0026gt;] get \u0026lt;SPN\u0026gt; [-lh \u0026lt;LogonId.HighPart\u0026gt;] [-li \u0026lt;LogonId.LowPart\u0026gt;] [-kdcoptions \u0026lt;options\u0026gt;] [-cacheoptions \u0026lt;options\u0026gt;] add_bind \u0026lt;DOMAIN\u0026gt; \u0026lt;DC\u0026gt; query_bind purge_bind cloud_debug 英語\rUsage: klist.exe [command] Command list: [tickets] [-lh \u0026lt;LogonId.HighPart\u0026gt;] [-li \u0026lt;LogonId.LowPart\u0026gt;] tgt [-lh \u0026lt;LogonId.HighPart\u0026gt;] [-li \u0026lt;LogonId.LowPart\u0026gt;] purge [-lh \u0026lt;LogonId.HighPart\u0026gt;] [-li \u0026lt;LogonId.LowPart\u0026gt;] sessions [-lh \u0026lt;LogonId.HighPart\u0026gt;] [-li \u0026lt;LogonId.LowPart\u0026gt;] kcd_cache [-lh \u0026lt;LogonId.HighPart\u0026gt;] [-li \u0026lt;LogonId.LowPart\u0026gt;] get \u0026lt;SPN\u0026gt; [-lh \u0026lt;LogonId.HighPart\u0026gt;] [-li \u0026lt;LogonId.LowPart\u0026gt;] [-kdcoptions \u0026lt;options\u0026gt;] [-cacheoptions \u0026lt;options\u0026gt;] add_bind \u0026lt;DOMAIN\u0026gt; \u0026lt;DC\u0026gt; query_bind purge_bind cloud_debug Return Code: 4294967295\n","date":"2022-09-29T05:53:27Z","permalink":"https://pen2.com/cmd/ja/klist/","title":"klist"},{"content":"Microsoft Robocopy\nrobocopy C:\\Windows\\system32\\Robocopy.exe /? Output:\n日本語\r------------------------------------------------------------------------------- ROBOCOPY :: Windows の堅牢性の高いファイル コピー ------------------------------------------------------------------------------- 開始: 2006年1月2日 15:04:05 使用法:: ROBOCOPY コピー元 コピー先 [ファイル [ファイル]...] [オプション] コピー元 :: コピー元ディレクトリ (ドライブ:\\パスまたは \\\\サーバー \\共有\\パス)。 コピー先 :: コピー先ディレクトリ (ドライブ:\\パスまたは \\\\サーバー \\共有\\パス)。 ファイル :: コピーするファイル (名前/ワイルドカード: 既定値は「*.*」 です) :: :: コピー オプション: :: /S :: サブディレクトリをコピーしますが、空のディレクトリはコピ ーしません。 /E :: 空のディレクトリを含むサブディレクトリをコピーします。 /LEV:n :: コピー元ディレクトリ ツリーの上位 n レベルのみをコピーし ます。 /Z :: 再起動可能モードでファイルをコピーします。 /B :: バックアップ モードでファイルをコピーします。 /ZB :: 再起動可能モードを使用します。アクセスが拒否された場合、 バックアップ モードを使用します。 /J :: バッファーなし I/O を使用してコピーします (大きなファイル で推奨)。 /EFSRAW :: 暗号化されたすべてのファイルを EFS RAW モードでコピーし ます。 /COPY:コピーフラグ :: ファイルにコピーする情報 (既定値は /COPY:DAT)。 (copyflags : D=データ、A=属性、T=タイムスタンプ、X=代替データ ストリームをスキップ)。 (S= セキュリティ =NTFS ACL、O= 所有者情報、U= 監査情報)。 /SEC :: セキュリティと共にファイルをコピーします (/COPY:DATS と 同等)。 /COPYALL :: ファイル情報をすべてコピーします (/COPY:DATSOU と同等)。 /NOCOPY :: ファイル情報をコピーしません (/PURGE と共に使用すると便 利)。 /SECFIX :: スキップしたファイルも含むすべてのファイルのファイル セ キュリティを修正します。 /TIMFIX :: スキップしたファイルも含むすべてのファイルのファイル時刻 を修正します。 /PURGE :: 既にコピー元に存在しないコピー先のファイル/ディレクトリ を削除します。 /MIR :: ディレクトリ ツリーをミラー化します (/E および /PURGE と 同等)。 /MOV :: ファイルを移動します (コピー後にコピー元から削除)。 /MOVE :: ファイルとディレクトリを移動します (コピー後にコピー元か ら削除)。 /A+:[RASHCNET] :: コピーされたファイルに指定の属性を追加します。 /A-:[RASHCNET] :: コピーされたファイルから指定の属性を削除します。 /CREATE :: ディレクトリ ツリーと長さ 0 のファイルのみを作成します。 /FAT :: 8.3 FAT ファイル名のみを使用してコピー先ファイルを作成し ます。 /256 :: 256 文字を超える非常に長いパスのサポートをオフにします。 /MON:n :: コピー元を監視し、n 回を超える変更があった場合に再度実行 します。 /MOT:m :: コピー元を監視し、m 分後に変更があった場合に再度実行 します。 /RH:hhmm-hhmm :: 実行時間 - 新しいコピーを開始できる時刻です。 /PF :: 実行時間をファイルごと (パスごとではない) に確認します。 /IPG:n :: 低速回線で帯域幅を解放するためのパケット間ギャップ (ミリ 秒)。 /SJ :: 接合のターゲットとしてではなく接合として Junctions をコピーします。 /SL:: リンクのターゲットとしてではなくリンクとしてシンボリック リンクをコピーします。 /MT[:n] :: n 個のスレッドのマルチスレッド コピーを実行します (既定値 8)。 n は 1 から 128 までの値である必要があります。 このオプションは、/IPG および /EFSRAW オプションと互換性がありません。 パフォーマンス向上のため、/LOG オプションを使用して出力をリダイレクトします。 /DCOPY:コピーフラグ :: ディレクトリにコピーする情報 (既定値は /DCOPY:DA)。 (copyflags : D=データ、A=属性、T=タイムスタンプ、E=EA、X=代替データ ストリームをスキップ)。 /NODCOPY :: ディレクトリ情報をコピーしません (既定では /DCOPY:DA が実行されます)。 /NOOFFLOAD :: Windows のオフロードをコピーするメカニズムを使用せずに、 ファイルをコピーします。 /COMPRESS :: ファイル転送中にネットワーク圧縮を要求します (適用可能な場合)。 :: :: ファイル選択オプション: :: /A :: アーカイブ属性が設定されているファイルのみをコピーしま す。 /M :: アーカイブ属性のあるファイルのみをコピーし、リセットしま す。 /IA:[RASHCNETO] :: 指定されたいずれかの属性が設定されているファイルのみを含 みます。 /XA:[RASHCNETO] :: 指定されたいずれかの属性が設定されているファイルを除外し ます。 /XF file [ファイル]... :: 指定された名前/パス/ワイルドカードに一致するファイルを 除外します。 /XD dir [ディレクトリ]... :: 指定された名前/パスに一致するディレクトリを除外します。 /XC :: 変更されたファイルを除外します。 /XN :: 新しいファイルを除外します。 /XO :: 古いファイルを除外します。 /XX :: コピー先にだけ存在するファイルとディレクトリを除外し ます。 /XL :: コピー元にだけ存在するファイルとディレクトリを除外し ます。 /IS :: 同一ファイルを含みます。 /IT :: 異常なファイルを含めます。 /MAX:n :: 最大ファイル サイズ - n バイトより大きいファイルを除外し ます。 /MIN:n :: 最小ファイル サイズ - n バイトより小さいファイルを除外し ます。 /MAXAGE:n :: 最長ファイル有効期間 - n 日より古いファイルを除外します。 /MINAGE:n :: 最短ファイル有効期間 - n 日より新しいファイルを除外しま す。 /MAXLAD:n :: 最大最終アクセス日 - n で指定する値以後に使用していない ファイルを除外します。 /MINLAD:n :: 最小最終アクセス日 - n で指定する値以後に使用されたファ イルを除外します。 (n \u0026lt; 1900 の場合、n = n 日です。それ以外は、n = YYYYMMDD の日付です)。 /FFT :: FAT ファイル時間 (2 秒の粒度) を想定します。 /DST :: 1 時間の DST 時間差を補正します。 /XJ:: シンボリック リンク (ファイルとディレクトリの両方) と接合ポイントを除外します。 /XJD:: ディレクトリのシンボリック リンクと接合ポイントを除外します。 /XJF :: ファイルのシンボリック リンクを除外します。 /IM :: 変更されたファイルを含めます (変更日時が異なる)。 :: :: 再試行オプション: :: /R:n :: 失敗したコピーに対する再試行数: 既定値は 1,000,000。 /W:n :: 再試行と再試行の間の待機時間: 既定値は、30 秒です。 /REG :: /既定の設定としてレジストリに R:n と /W:n を保存します。 /TBD :: 共有名が定義されるのを待ちます (再試行エラー 67)。 /LFSM :: 空き領域不足モードで動作し、コピーの一時停止と再開を有効にします (「注釈」を参照)。 /LFSM:n[KMG] :: 下限サイズを n [K:kilo,M:mega,G:giga] バイトで指定した /LFSM。 :: :: ログ オプション: :: /L :: リストのみ - いずれのファイルにも、コピー、タイムスタン プの追加、または削除を実施しません。 /X :: 選択されたファイルのみではなく、余分なファイルをすべて報 告します。 /V :: スキップされたファイルを示す詳細出力を作成します。 /TS :: 出力にコピー元ファイルのタイム スタンプを含めます。 /FP :: 出力にファイルの完全なパス名を含めます。 /BYTES :: サイズをバイトで出力します。 /NS :: サイズなし - ファイル サイズをログに記録しません。 /NC :: クラスなし - ファイル クラスをログに記録しません。 /NFL :: ファイル リストなし - ファイル名をログに記録しません。 /NDL :: ディレクトリなし - ディレクトリ名をログに記録しません。 /NP :: 進行状況なし - コピーの完了率を表示しません。 /ETA :: コピーするファイルの推定完了時刻を表示します。 /LOG:ファイル :: ログ ファイルに状態を出力します (既存のログを上書きしま す)。 /LOG+:ファイル :: ログ ファイルに状態を出力します (既存のログ ファイルに 追加します)。 /UNILOG:ファイル :: ログ ファイルに UNICODE で状態を出力します (既存のログを 上書きします)。 /UNILOG+:ファイル :: ログ ファイルに UNICODE で状態を出力します (既存のログに 追加します)。 /TEE :: コンソール ウィンドウとログ ファイルに出力します。 /NJH :: ジョブ ヘッダーがありません。 /NJS :: ジョブ要約がありません。 /UNICODE :: 状態を UNICODE で出力します。 :: :: ジョブ オプション: :: /JOB:ジョブ名 :: 名前の付いたジョブ ファイルからパラメーターを取得します。 /SAVE:ジョブ名 :: 名前の付いたジョブ ファイルにパラメーターを保存します。 /QUIT :: コマンド ラインの処理後に終了します (パラメーターの表示の ため)。 /NOSD :: コピー元ディレクトリを指定しません。 /NODD :: コピー先ディレクトリを指定しません。 /IF :: 後続のファイルを含みます。 :: :: 注釈 : :: ボリュームのルート ディレクトリに対して /PURGE または /MIR を使用すると、これまでは、 robocopy は要求された操作をシステム ボリューム情報ディレクトリ内のファイル にも適用していました。この動作は変更されました。 どちらかを指定すると、robocopy はその名前を持つファイルまたはディレクトリを (コピー セッションの最上位レベルのソースと宛先ディレクトリで) スキップします。 変更されたファイルの分類は、コピー元とコピー先両方の ファイル システムが変更タイムスタンプ (NTFS など) をサポートしていて、 コピー元とコピー先のファイルの変更日時が異なり、しかし それ以外は同じ場合に適用されます。これらのファイルは既定ではコピーされません。/IM を指定して、 それらを含めます。 /DCOPY:E フラグは、拡張属性コピーを ディレクトリに対して試行することを要求します。現時点では robocopy が継続されます (ディレクトリの EA をコピーできなかった場合)。このフラグは /COPYALL 内。 /LFSM を使用することで、robocopy に \u0026#39;空き領域不足モード\u0026#39; での動作を要求します。 そのモードでは、次の場合に robocopy が一時停止します。すなわち、ファイルのコピーによって コピー先ボリュームの空き領域が \u0026#39;下限\u0026#39; 値を下回る場合です。この値は フラグの LFSM:n[KMG] 形式によって明示的に指定できます。 /LFSM が明示的な下限値なしで指定されている場合、下限は コピー先ボリュームのサイズの 10% に設定されます。 空き領域不足モードは、/MT、/EFSRAW、/B、および/ZB と互換性がありません。 英語\r------------------------------------------------------------------------------- ROBOCOPY :: Robust File Copy for Windows ------------------------------------------------------------------------------- Started : Monday, January 01, 2006 15:04:06 AM Usage :: ROBOCOPY source destination [file [file]...] [options] source :: Source Directory (drive:\\path or \\\\server\\share\\path). destination :: Destination Dir (drive:\\path or \\\\server\\share\\path). file :: File(s) to copy (names/wildcards: default is \u0026#34;*.*\u0026#34;). :: :: Copy options : :: /S :: copy Subdirectories, but not empty ones. /E :: copy subdirectories, including Empty ones. /LEV:n :: only copy the top n LEVels of the source directory tree. /Z :: copy files in restartable mode. /B :: copy files in Backup mode. /ZB :: use restartable mode; if access denied use Backup mode. /J :: copy using unbuffered I/O (recommended for large files). /EFSRAW :: copy all encrypted files in EFS RAW mode. /COPY:copyflag[s] :: what to COPY for files (default is /COPY:DAT). (copyflags : D=Data, A=Attributes, T=Timestamps, X=Skip alt data streams). (S=Security=NTFS ACLs, O=Owner info, U=aUditing info). /SEC :: copy files with SECurity (equivalent to /COPY:DATS). /COPYALL :: COPY ALL file info (equivalent to /COPY:DATSOU). /NOCOPY :: COPY NO file info (useful with /PURGE). /SECFIX :: FIX file SECurity on all files, even skipped files. /TIMFIX :: FIX file TIMes on all files, even skipped files. /PURGE :: delete dest files/dirs that no longer exist in source. /MIR :: MIRror a directory tree (equivalent to /E plus /PURGE). /MOV :: MOVe files (delete from source after copying). /MOVE :: MOVE files AND dirs (delete from source after copying). /A+:[RASHCNET] :: add the given Attributes to copied files. /A-:[RASHCNET] :: remove the given Attributes from copied files. /CREATE :: CREATE directory tree and zero-length files only. /FAT :: create destination files using 8.3 FAT file names only. /256 :: turn off very long path (\u0026gt; 256 characters) support. /MON:n :: MONitor source; run again when more than n changes seen. /MOT:m :: MOnitor source; run again in m minutes Time, if changed. /RH:hhmm-hhmm :: Run Hours - times when new copies may be started. /PF :: check run hours on a Per File (not per pass) basis. /IPG:n :: Inter-Packet Gap (ms), to free bandwidth on slow lines. /SJ :: copy Junctions as junctions instead of as the junction targets. /SL :: copy Symbolic Links as links instead of as the link targets. /MT[:n] :: Do multi-threaded copies with n threads (default 8). n must be at least 1 and not greater than 128. This option is incompatible with the /IPG and /EFSRAW options. Redirect output using /LOG option for better performance. /DCOPY:copyflag[s] :: what to COPY for directories (default is /DCOPY:DA). (copyflags : D=Data, A=Attributes, T=Timestamps, E=EAs, X=Skip alt data streams). /NODCOPY :: COPY NO directory info (by default /DCOPY:DA is done). /NOOFFLOAD :: copy files without using the Windows Copy Offload mechanism. /COMPRESS :: Request network compression during file transfer, if applicable. :: :: File Selection Options : :: /A :: copy only files with the Archive attribute set. /M :: copy only files with the Archive attribute and reset it. /IA:[RASHCNETO] :: Include only files with any of the given Attributes set. /XA:[RASHCNETO] :: eXclude files with any of the given Attributes set. /XF file [file]... :: eXclude Files matching given names/paths/wildcards. /XD dirs [dirs]... :: eXclude Directories matching given names/paths. /XC :: eXclude Changed files. /XN :: eXclude Newer files. /XO :: eXclude Older files. /XX :: eXclude eXtra files and directories. /XL :: eXclude Lonely files and directories. /IS :: Include Same files. /IT :: Include Tweaked files. /MAX:n :: MAXimum file size - exclude files bigger than n bytes. /MIN:n :: MINimum file size - exclude files smaller than n bytes. /MAXAGE:n :: MAXimum file AGE - exclude files older than n days/date. /MINAGE:n :: MINimum file AGE - exclude files newer than n days/date. /MAXLAD:n :: MAXimum Last Access Date - exclude files unused since n. /MINLAD:n :: MINimum Last Access Date - exclude files used since n. (If n \u0026lt; 1900 then n = n days, else n = YYYYMMDD date). /FFT :: assume FAT File Times (2-second granularity). /DST :: compensate for one-hour DST time differences. /XJ :: eXclude symbolic links (for both files and directories) and Junction points. /XJD :: eXclude symbolic links for Directories and Junction points. /XJF :: eXclude symbolic links for Files. /IM :: Include Modified files (differing change times). :: :: Retry Options : :: /R:n :: number of Retries on failed copies: default 1 million. /W:n :: Wait time between retries: default is 30 seconds. /REG :: Save /R:n and /W:n in the Registry as default settings. /TBD :: Wait for sharenames To Be Defined (retry error 67). /LFSM :: Operate in low free space mode, enabling copy pause and resume (see Remarks). /LFSM:n[KMG] :: /LFSM, specifying the floor size in n [K:kilo,M:mega,G:giga] bytes. :: :: Logging Options : :: /L :: List only - don\u0026#39;t copy, timestamp or delete any files. /X :: report all eXtra files, not just those selected. /V :: produce Verbose output, showing skipped files. /TS :: include source file Time Stamps in the output. /FP :: include Full Pathname of files in the output. /BYTES :: Print sizes as bytes. /NS :: No Size - don\u0026#39;t log file sizes. /NC :: No Class - don\u0026#39;t log file classes. /NFL :: No File List - don\u0026#39;t log file names. /NDL :: No Directory List - don\u0026#39;t log directory names. /NP :: No Progress - don\u0026#39;t display percentage copied. /ETA :: show Estimated Time of Arrival of copied files. /LOG:file :: output status to LOG file (overwrite existing log). /LOG+:file :: output status to LOG file (append to existing log). /UNILOG:file :: output status to LOG file as UNICODE (overwrite existing log). /UNILOG+:file :: output status to LOG file as UNICODE (append to existing log). /TEE :: output to console window, as well as the log file. /NJH :: No Job Header. /NJS :: No Job Summary. /UNICODE :: output status as UNICODE. :: :: Job Options : :: /JOB:jobname :: take parameters from the named JOB file. /SAVE:jobname :: SAVE parameters to the named job file /QUIT :: QUIT after processing command line (to view parameters). /NOSD :: NO Source Directory is specified. /NODD :: NO Destination Directory is specified. /IF :: Include the following Files. :: :: Remarks : :: Using /PURGE or /MIR on the root directory of the volume formerly caused robocopy to apply the requested operation on files inside the System Volume Information directory as well. This is no longer the case; if either is specified, robocopy will skip any files or directories with that name in the top-level source and destination directories of the copy session. The modified files classification applies only when both source and destination filesystems support change timestamps (e.g., NTFS) and the source and destination files have different change times but are otherwise the same. These files are not copied by default; specify /IM to include them. The /DCOPY:E flag requests that extended attribute copying should be attempted for directories. Note that currently robocopy will continue if a directory\u0026#39;s EAs could not be copied. This flag is also not included in /COPYALL. Using /LFSM requests robocopy to operate in \u0026#39;low free space mode\u0026#39;. In that mode, robocopy will pause whenever a file copy would cause the destination volume\u0026#39;s free space to go below a \u0026#39;floor\u0026#39; value, which can be explicitly specified by the LFSM:n[KMG] form of the flag. If /LFSM is specified with no explicit floor value, the floor is set to ten percent of the destination volume\u0026#39;s size. Low free space mode is incompatible with /MT, /EFSRAW, /B, and /ZB. Return Code: 16\n","date":"2022-09-29T05:53:25Z","permalink":"https://pen2.com/cmd/ja/robocopy/","title":"robocopy"},{"content":"Windows Security Health Service\nsecurityhealthservice C:\\Windows\\system32\\SecurityHealthService.exe /? Output:\nUnknown switch. Return Code: 2147942487\n","date":"2022-09-29T05:53:09Z","permalink":"https://pen2.com/cmd/ja/securityhealthservice/","title":"securityhealthservice"},{"content":"MicrosoftR Logon Server テスト ユーティリティ\nnltest C:\\Windows\\system32\\nltest.exe /? STDERR:\nJa\r使用法: nltest [/OPTIONS] /SERVER:\u0026lt;ServerName\u0026gt; - \u0026lt;ServerName\u0026gt; を指定します。 /QUERY - \u0026lt;ServerName\u0026gt; の Netlogon サービスを照会します。 /REPL - \u0026lt;ServerName\u0026gt; の BDC に部分的な同期を強制します。 /SYNC - \u0026lt;ServerName\u0026gt; の BDC に完全な同期を強制します。 /PDC_REPL - \u0026lt;ServerName\u0026gt; の PDC から UAS にメッセージの変更を強制します。 /SC_QUERY:\u0026lt;DomainName\u0026gt; - \u0026lt;ServerName\u0026gt; の \u0026lt;Domain\u0026gt; のセキュリティで保護されたチャネルを照会します。 /SC_RESET:\u0026lt;DomainName\u0026gt; [\\\u0026lt;DcName\u0026gt;] - \u0026lt;ServerName\u0026gt; の \u0026lt;Domain\u0026gt; のセキュリティで保護されたチャネルを \u0026lt;DcName\u0026gt; にリセットします。 /SC_VERIFY:\u0026lt;DomainName\u0026gt; - \u0026lt;ServerName\u0026gt; の \u0026lt;Domain\u0026gt; のセキュリティで保護されたチャネルを検証します。 /SC_CHANGE_PWD:\u0026lt;DomainName\u0026gt; - \u0026lt;ServerName\u0026gt; の \u0026lt;Domain\u0026gt; のセキュリティで保護されたチャネルのパスワードを変更します。 /DCLIST:\u0026lt;DomainName\u0026gt; - \u0026lt;DomainName\u0026gt; の DC 一覧を取得します。 /DCNAME:\u0026lt;DomainName\u0026gt; - \u0026lt;DomainName\u0026gt; の PDC 名を取得します。 /DSGETDC:\u0026lt;DomainName\u0026gt; - DsGetDcName を呼び出します。 /PDC /DS /DSP /GC /KDC /TIMESERV /GTIMESERV /WS /NETBIOS /DNS /IP /FORCE /WRITABLE /AVOIDSELF /LDAPONLY /BACKG /DS_6 /DS_8 /DS_9 /DS_10 /KEYLIST /TRY_NEXT_CLOSEST_SITE /SITE:\u0026lt;SiteName\u0026gt; /ACCOUNT:\u0026lt;AccountName\u0026gt; /RET_DNS /RET_NETBIOS /DNSGETDC:\u0026lt;DomainName\u0026gt; - DsGetDcOpen/Next/Close を呼び出します。 /PDC /GC /KDC /WRITABLE /LDAPONLY /FORCE /SITESPEC /DSGETFTI:\u0026lt;DomainName\u0026gt; - DsGetForestTrustInformation を呼び出します。 /UPDATE_TDO /LSAQUERYFTI:\u0026lt;TrustedForest\u0026gt; - LsaQueryForestTrustInformation を呼び出します。 /DSGETSITE - DsGetSiteName を呼び出します。 /DSGETSITECOV - DsGetDcSiteCoverage を呼び出します。 /DSADDRESSTOSITE:[コンピューター名] - DsAddressToSiteNamesEx を呼び出します。 /ADDRESSES:\u0026lt;Address1,Address2,...\u0026gt; /PARENTDOMAIN - このコンピューターの親ドメイン名を取得します。 /WHOWILL:\u0026lt;Domain\u0026gt;* \u0026lt;User\u0026gt; [\u0026lt;Iteration\u0026gt;] - \u0026lt;Domain\u0026gt; に \u0026lt;User\u0026gt; がログオンできるかどうかを確認します。 /FINDUSER:\u0026lt;User\u0026gt; - どの信頼されたドメインに \u0026lt;User\u0026gt; がログオンするかを確認します。 /TRANSPORT_NOTIFY - netlogon に新しいトランスポートを通知します。 /DBFLAG:\u0026lt;HexFlags\u0026gt; - 新しいデバッグ フラグ /USER:\u0026lt;UserName\u0026gt; - \u0026lt;ServerName\u0026gt; のユーザー情報を照会します。 /TIME:\u0026lt;Hex LSL\u0026gt; \u0026lt;Hex MSL\u0026gt; - NT GMT 時刻を ASCII に変換します。 /LOGON_QUERY - 累積のログオン試行回数を照会します。 /DOMAIN_TRUSTS - \u0026lt;ServerName\u0026gt; のドメインの信頼を照会します。 /PRIMARY /FOREST /DIRECT_OUT /DIRECT_IN /ALL_TRUSTS /V /DSREGDNS - すべての DC 固有 DNS レコードの登録を強制します。 /DSDEREGDNS:\u0026lt;DNS ホスト名\u0026gt; - 指定した DC の DC 固有 DNS レコードの登録を解除します。 /DOM:\u0026lt;DnsDomainName\u0026gt; /DOMGUID:\u0026lt;DomainGuid\u0026gt; /DSAGUID:\u0026lt;DsaGUID\u0026gt; /DSQUERYDNS - すべての DC 固有 DNS レコードの最終更新状態を照会します。 /BDC_QUERY:\u0026lt;DomainName\u0026gt; - \u0026lt;DomainName\u0026gt; の BDC のレプリケーションの状態を照会します。 /LIST_DELTAS:\u0026lt;FileName\u0026gt; - ログ ファイルの変更内容を表示します。 /CDIGEST:\u0026lt;Message\u0026gt; /DOMAIN:\u0026lt;DomainName\u0026gt; - クライアント ダイジェストを取得します。 /SDIGEST:\u0026lt;Message\u0026gt; /RID:\u0026lt;RID in hex\u0026gt; - サーバー ダイジェストを取得します。 /SHUTDOWN:\u0026lt;Reason\u0026gt; [\u0026lt;Sexonds\u0026gt;] - \u0026lt;Reason\u0026gt; が原因で \u0026lt;ServerName\u0026gt; をシャットダウンします。 /SHUTDOWN_ABORT - システムのシャットダウンを中止します。 En\rUsage: nltest [/OPTIONS] /SERVER:\u0026lt;ServerName\u0026gt; - Specify \u0026lt;ServerName\u0026gt; /QUERY - Query \u0026lt;ServerName\u0026gt; netlogon service /REPL - Force partial sync on \u0026lt;ServerName\u0026gt; BDC /SYNC - Force full sync on \u0026lt;ServerName\u0026gt; BDC /PDC_REPL - Force UAS change message from \u0026lt;ServerName\u0026gt; PDC /SC_QUERY:\u0026lt;DomainName\u0026gt; - Query secure channel for \u0026lt;Domain\u0026gt; on \u0026lt;ServerName\u0026gt; /SC_RESET:\u0026lt;DomainName\u0026gt;[\\\u0026lt;DcName\u0026gt;] - Reset secure channel for \u0026lt;Domain\u0026gt; on \u0026lt;ServerName\u0026gt; to \u0026lt;DcName\u0026gt; /SC_VERIFY:\u0026lt;DomainName\u0026gt; - Verify secure channel for \u0026lt;Domain\u0026gt; on \u0026lt;ServerName\u0026gt; /SC_CHANGE_PWD:\u0026lt;DomainName\u0026gt; - Change a secure channel password for \u0026lt;Domain\u0026gt; on \u0026lt;ServerName\u0026gt; /DCLIST:\u0026lt;DomainName\u0026gt; - Get list of DC\u0026#39;s for \u0026lt;DomainName\u0026gt; /DCNAME:\u0026lt;DomainName\u0026gt; - Get the PDC name for \u0026lt;DomainName\u0026gt; /DSGETDC:\u0026lt;DomainName\u0026gt; - Call DsGetDcName /PDC /DS /DSP /GC /KDC /TIMESERV /GTIMESERV /WS /NETBIOS /DNS /IP /FORCE /WRITABLE /AVOIDSELF /LDAPONLY /BACKG /DS_6 /DS_8 /DS_9 /DS_10 /KEYLIST /TRY_NEXT_CLOSEST_SITE /SITE:\u0026lt;SiteName\u0026gt; /ACCOUNT:\u0026lt;AccountName\u0026gt; /RET_DNS /RET_NETBIOS /DNSGETDC:\u0026lt;DomainName\u0026gt; - Call DsGetDcOpen/Next/Close /PDC /GC /KDC /WRITABLE /LDAPONLY /FORCE /SITESPEC /DSGETFTI:\u0026lt;DomainName\u0026gt; - Call DsGetForestTrustInformation /UPDATE_TDO /LSAQUERYFTI:\u0026lt;TrustedForest\u0026gt; - Call LsaQueryForestTrustInformation /DSGETSITE - Call DsGetSiteName /DSGETSITECOV - Call DsGetDcSiteCoverage /DSADDRESSTOSITE:[MachineName] - Call DsAddressToSiteNamesEx /ADDRESSES:\u0026lt;Address1,Address2,...\u0026gt; /PARENTDOMAIN - Get the name of the parent domain of this machine /WHOWILL:\u0026lt;Domain\u0026gt;* \u0026lt;User\u0026gt; [\u0026lt;Iteration\u0026gt;] - See if \u0026lt;Domain\u0026gt; will log on \u0026lt;User\u0026gt; /FINDUSER:\u0026lt;User\u0026gt; - See which trusted domain will log on \u0026lt;User\u0026gt; /TRANSPORT_NOTIFY - Notify netlogon of new transport /DBFLAG:\u0026lt;HexFlags\u0026gt; - New debug flag /USER:\u0026lt;UserName\u0026gt; - Query User info on \u0026lt;ServerName\u0026gt; /TIME:\u0026lt;Hex LSL\u0026gt; \u0026lt;Hex MSL\u0026gt; - Convert NT GMT time to ascii /LOGON_QUERY - Query number of cumulative logon attempts /DOMAIN_TRUSTS - Query domain trusts on \u0026lt;ServerName\u0026gt; /PRIMARY /FOREST /DIRECT_OUT /DIRECT_IN /ALL_TRUSTS /V /DSREGDNS - Force registration of all DC-specific DNS records /DSDEREGDNS:\u0026lt;DnsHostName\u0026gt; - Deregister DC-specific DNS records for specified DC /DOM:\u0026lt;DnsDomainName\u0026gt; /DOMGUID:\u0026lt;DomainGuid\u0026gt; /DSAGUID:\u0026lt;DsaGuid\u0026gt; /DSQUERYDNS - Query the status of the last update for all DC-specific DNS records /BDC_QUERY:\u0026lt;DomainName\u0026gt; - Query replication status of BDCs for \u0026lt;DomainName\u0026gt; /LIST_DELTAS:\u0026lt;FileName\u0026gt; - display the content of given change log file /CDIGEST:\u0026lt;Message\u0026gt; /DOMAIN:\u0026lt;DomainName\u0026gt; - Get client digest /SDIGEST:\u0026lt;Message\u0026gt; /RID:\u0026lt;RID in hex\u0026gt; - Get server digest /SHUTDOWN:\u0026lt;Reason\u0026gt; [\u0026lt;Seconds\u0026gt;] - Shutdown \u0026lt;ServerName\u0026gt; for \u0026lt;Reason\u0026gt; /SHUTDOWN_ABORT - Abort a system shutdown Return Code: 1\n","date":"2022-09-29T05:13:51Z","permalink":"https://pen2.com/cmd/ja/nltest/","title":"nltest"},{"content":"Client License Platform migration tool\nclipup C:\\Windows\\system32\\ClipUp.exe /? Output:\nDone. Return Code: 0\n","date":"2022-09-29T05:13:49Z","permalink":"https://pen2.com/cmd/ja/clipup/","title":"clipup"},{"content":"クエリ グループ ポリシー RSOP データ\ngpresult C:\\Windows\\system32\\gpresult.exe /? Output:\n日本語\rGPRESULT [/S システム [/U ユーザー名 [/P [パスワード]]]] [/SCOPE スコープ] [/USER ターゲット ユーザー名] [/R | /V | /Z] [(/X | /H) \u0026lt;ファイル名\u0026gt; [/F]] 説明: このコマンド ライン ツールにより、ターゲット ユーザーとコンピューター の RSoP (ポリシーの結果セット) 情報を表示します。 パラメーター一覧: /S システム 接続先のリモート システムを指定します。 /U [ドメイン\\]ユーザー コマンドを実行するユーザー コンテキスト を指定します。 /X、/H と同時に使用することはできません。 /P [パスワード] 指定のユーザー コンテキストのパスワードを 指定します。省略すると入力が促されます。 /X、/H と同時に使用することはできません。 /SCOPE スコープ ユーザーまたはコンピューターの設定を表示 するかどうかを指定します。 有効な値は \u0026#34;USER\u0026#34; と \u0026#34;COMPUTER\u0026#34; です。 /USER [ドメイン\\]ユーザー どのユーザーの RSoP データを表示するか を指定します。 /X \u0026lt;ファイル名\u0026gt; レポートを XML 形式で現在の場所に保存します。 ファイル名は \u0026lt;ファイル名\u0026gt; パラメーターで指定 します (Windows Vista SP1 以降および Windows Server 2008 以降で有効)。 /H \u0026lt;ファイル名\u0026gt; レポートを HTML 形式で現在の場所に保存します。 ファイル名は \u0026lt;ファイル名\u0026gt; パラメーターで指定 します (Windows Vista SP1 および Windows Server 2008 以降で有効)。 /F /X または /H コマンドで指定されたファイル名を gpresult で強制的に上書きします。 /R RSoP 要約データを表示します。 /V 詳細な情報が表示されるように指定します。 これにより、優先順位 1 で適用された設定の より詳細な情報が表示されます。 /Z さらに詳しい情報が表示されるように指定 します。これにより、情報には、優先順位 1 またはそれより高い優先順位で適用された 設定のさらに詳細な情報が表示されます。 これにより、複数の場所で設定されたか どうかを確認することができます。 詳しくは、グループ ポリシーのオンライン ヘルプ トピックを参照してください。 /? このヘルプを表示します。 例: GPRESULT /R GPRESULT /H GPReport.html GPRESULT /USER ターゲット ユーザー名 /V GPRESULT /S システム /USER ターゲット ユーザー名 /SCOPE COMPUTER /Z GPRESULT /S システム /U ユーザー名 /P パスワード /SCOPE USER /V 英語\rGPRESULT [/S system [/U username [/P [password]]]] [/SCOPE scope] [/USER targetusername] [/R | /V | /Z] [(/X | /H) \u0026lt;filename\u0026gt; [/F]] Description: This command line tool displays the Resultant Set of Policy (RSoP) information for a target user and computer. Parameter List: /S system Specifies the remote system to connect to. /U [domain\\]user Specifies the user context under which the command should run. Can not be used with /X, /H. /P [password] Specifies the password for the given user context. Prompts for input if omitted. Cannot be used with /X, /H. /SCOPE scope Specifies whether the user or the computer settings need to be displayed. Valid values: \u0026#34;USER\u0026#34;, \u0026#34;COMPUTER\u0026#34;. /USER [domain\\]user Specifies the user name for which the RSoP data is to be displayed. /X \u0026lt;filename\u0026gt; Saves the report in XML format at the location and with the file name specified by the \u0026lt;filename\u0026gt; parameter. (valid in Windows Vista SP1 and later and Windows Server 2008 and later) /H \u0026lt;filename\u0026gt; Saves the report in HTML format at the location and with the file name specified by the \u0026lt;filename\u0026gt; parameter. (valid in Windows at least Vista SP1 and at least Windows Server 2008) /F Forces Gpresult to overwrite the file name specified in the /X or /H command. /R Displays RSoP summary data. /V Specifies that verbose information should be displayed. Verbose information provides additional detailed settings that have been applied with a precedence of 1. /Z Specifies that the super-verbose information should be displayed. Super- verbose information provides additional detailed settings that have been applied with a precedence of 1 and higher. This allows you to see if a setting was set in multiple places. See the Group Policy online help topic for more information. /? Displays this help message. Examples: GPRESULT /R GPRESULT /H GPReport.html GPRESULT /USER targetusername /V GPRESULT /S system /USER targetusername /SCOPE COMPUTER /Z GPRESULT /S system /U username /P password /SCOPE USER /V Return Code: 0\n","date":"2022-09-29T05:13:49Z","permalink":"https://pen2.com/cmd/ja/gpresult/","title":"gpresult"},{"content":"言語パック インストーラー\nlpksetup C:\\Windows\\system32\\lpksetup.exe /? Output:\n日本語\r[Window Title] 表示言語のインストールまたはアンインストール [Main Instruction] 表示言語のインストールまたはアンインストール [Content] モード: lpksetup /? lpksetup /i [{* | 言語一覧}] [/p 言語パックのパス] [オプション] lpksetup /u [言語一覧] [オプション] ヘルプ /? - このヘルプ テキストを表示します。 インストール /i - 指定された言語パックをインストールします。/u オプションと共に使用することはできません。/i オプションの後に * または言語一覧を含めず、 /s オプションを使用しない場合は、プログラムが開始し、グラフィック ユーザー インターフェイス (GUI) を介してインストールできます。 * - 言語パックのパスまたは Lpksetup.exe が置かれているディレクトリにあるすべての言語パックを表すワイルドカード文字を指定します。 言語一覧-スペースで区切られた一覧内の1つ以上の言語名を指定します。指定された各言語について、\u0026#34;language-REGION\u0026#34;(\u0026#34;language\u0026#34;は 小文字のISO639言語コード、\u0026#34;REGION\u0026#34;は大文字のISO 3166-1の国/地域識別子)という言語名の形式を使用します(例:en-US、fr-FR、en-GB、zh-CN)。 /p - インストールする言語パックのパスを示します。/s オプションと /i オプションを両方使用する場合は、/p オプションが必要です。 言語パックのパス - ディレクトリまたはフォルダーのパスです (例: c:\\langpackfolder\\ または \\\\networkshare\\langpackfolder)。 アンインストール /u - 指定された1つ以上の言語パックをアンインストールします。/iオプションと共に使用することはできません。/uオプションの後に言語一覧を含めず、 /sオプションを使用しない場合は、プログラムが開始し、GUIを介してアンインストールできます。 言語一覧-スペースで区切られた一覧内の1つ以上の言語名を指定します。指定された各言語について、\u0026#34;language-REGION\u0026#34;(\u0026#34;language\u0026#34;は 小文字のISO639言語コード、\u0026#34;REGION\u0026#34;は大文字のISO 3166-1の国/地域識別子)という言語名の形式を使用します(例:en-US、fr-FR、en-GB、zh-CN)。 オプション: /r - 操作完了後に再起動を必要としないようにします。再起動の必要性についてのメッセージがイベント ログに記録されます。 /f - コンピューターを再起動する必要がある場合は、他のユーザーがコンピューターにログオンしていても、操作の完了後に再起動が強制的に実行されます。 /a-処理前に、一覧表示されたすべての言語パックがインストール可能または削除可能であることを確認します。インストール可能または削除可能な 言語パックがない場合はエラーが返され、指定されたどの言語パックもインストールまたは削除されません。 /aオプションを含めない場合は、処理に失敗したものを除き、指定されたすべての言語パックがインストールまたは削除され、イベントログにエントリが 作成され、成功した操作が返されます。 /s - ユーザー入力を必要としないサイレントまたは無人の操作を実行します。GUI は抑制されます。 例: 指定された場所に置かれたすべての言語パックをインストールします: lpksetup /i * /p \u0026lt;言語パックのパス\u0026gt; 2 つの言語パックをアンインストールします - Lpksetup は GUI モードで開始しますが、ユーザーによる介入は求められません: lpksetup /u ja-JP es-ES 指定された場所に保存された 3 つの言語パックをインストールします: lpksetup /i ja-JP en-US es-ES /r /s /p \u0026lt;言語パックのパス\u0026gt; [閉じる(C)] 英語\r[Window Title] Install or uninstall display languages [Main Instruction] Install or uninstall display languages [Content] MODES: lpksetup /? lpksetup /i [{* | language_list}] [/p language_pack_path] [options] lpksetup /u [language_list] [options] Help /? - Display this help text. Install /i - Installs the specified language packs. Cannot be used with the /u option. If you do not include * or language_list after the /i option, and if the /s option is not used, the program will start and you can install through the graphical user interface (GUI). * - Specifies a wildcard character that represents all language packs found in language_pack_path or the directory where Lpksetup.exe is located. language_list - Specifies the names of one or more languages in a space-delimited list. Use the language name format \u0026#34;language-REGION\u0026#34; for each language specified, where language is the lowercase ISO 639 language code and REGION is the uppercase ISO 3166-1 country/region identifier, e.g., en-US, fr-FR, en-GB, zh-CN. /p - Indicates the path of the language packs to install. If the /s and /i option are both used, the /p option is required. language_pack_path - Can be a directory or a folder path, e.g., c:\\langpackfolder\\ or \\\\networkshare\\langpackfolder. Uninstall /u - Uninstalls the specified language pack or packs. Cannot be used with the /i option. If you do not include language_list after the /u option, and if the /s option is not used, the program will start and you can uninstall through the GUI. language_list - Specifies the names of one or more languages in a space-delimited list. Use the language name format \u0026#34;language-REGION\u0026#34; for each language specified, where language is the lowercase ISO 639 language code and REGION is the uppercase ISO 3166-1 country/region identifier, e.g., en-US, fr-FR, en-GB, zh-CN. OPTIONS: /r - Suppresses the need to restart after an operation is completed. A message will be logged to the event log about the need to restart. /f - If the computer must restart, forces a restart even if there are other users logged on to the computer after an operation is completed. /a - Verifies that all listed language packs can be installed or removed before processing. If any of the language packs cannot be installed or removed, an error is returned and none of the specified language packs are installed or removed. If you do not include the /a option, all specified language packs are installed or removed except the one that failed, an entry is created in the Event log, and the operation is returned as successful. /s - Performs a silent and unattended operation that requires no user input. The GUI is suppressed. EXAMPLES: Install all language packs that are located at the given location: lpksetup /i * /p \u0026lt;language_pack_path\u0026gt; Uninstall two language packs - Lpksetup will be started in GUI mode but will not require user intervention: lpksetup /u ja-JP es-ES Install three language packs stored at the given location: lpksetup /i ja-JP en-US es-ES /r /s /p \u0026lt;language_pack_path\u0026gt; [Close] Return Code: 1\n","date":"2022-09-29T05:13:42Z","permalink":"https://pen2.com/cmd/ja/lpksetup/","title":"lpksetup"},{"content":"refsutil.exe\nrefsutil 管理者権限(Administrator)\rC:\\Windows\\system32\\refsutil.exe /? Output:\n日本語\r---- サポートされているコマンド ---- fixboot ブート セクターの修復 leak リークの検出と修正 salvage 破損したボリュームのサルベージ操作 triage 破損の処理 英語\r---- Commands Supported ---- fixboot Repair boot sectors leak Leak Detection and Fixing salvage Salvage operations for corrupt volume triage Handle corruptions Return Code: 0\n","date":"2022-09-29T05:13:37Z","permalink":"https://pen2.com/cmd/ja/refsutil/","title":"refsutil"},{"content":"MdmDiagnosticsTool\nmdmdiagnosticstool C:\\Windows\\system32\\MdmDiagnosticsTool.exe /? Output:\nUsage1: C:\\Windows\\system32\\MdmDiagnosticsTool.exe -out \u0026lt;output folder path\u0026gt; * Output MDM diagnostics info only to given folder path specified in -out parameter. eg: C:\\Windows\\system32\\MdmDiagnosticsTool.exe -out c:\\temp\\outputfolder Usage2: C:\\Windows\\system32\\MdmDiagnosticsTool.exe -area \u0026lt;area name(s)\u0026gt; -cab \u0026lt;output cab file path\u0026gt; * Collect predefined area logs and create a log cab to given cab file. * Supported area name example: Autopilot DeviceProvisioning Tpm * It also supports multiple areas, separated by \u0026#39;;\u0026#39;, example: Autopilot;DeviceEnrollment;Tpm * Please find all possible areas in registry under: HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\MdmDiagnostics\\Area eg: C:\\Windows\\system32\\MdmDiagnosticsTool.exe -area Autopilot;Tpm -cab c:\\temp\\AutopilotDiag.cab Usage3: C:\\Windows\\system32\\MdmDiagnosticsTool.exe -area \u0026lt;area name(s)\u0026gt; -zip \u0026lt;output zip file path\u0026gt; * Collect predefined area logs and create a log zip to given zip file. Areas supported are the same as Usage2 for creating cab Usage4: C:\\Windows\\system32\\MdmDiagnosticsTool.exe -xml \u0026lt;xml file of information to gather\u0026gt; -zip \u0026lt;output zip file path\u0026gt; -server \u0026lt;MDM Server to alert\u0026gt; * Collect information specified in the xml and create a log zip to given zip file. Return Code: 2147942487\n","date":"2022-09-29T05:13:35Z","permalink":"https://pen2.com/cmd/ja/mdmdiagnosticstool/","title":"mdmdiagnosticstool"},{"content":"ライセンス診断ツール\nLicensingDiag C:\\Windows\\system32\\licensingdiag.exe /? Output:\n日本語\r--------------------------- Microsoft ライセンス診断ツール --------------------------- 使用法: LicensingDiag -cab \u0026lt;CAB ファイルのパス名\u0026gt; --------------------------- OK --------------------------- 英語\r--------------------------- Microsoft Licensing Diagnostic Tool --------------------------- Usage: LicensingDiag -cab \u0026lt;CAB file path name\u0026gt; --------------------------- OK --------------------------- Return Code: 1\n","date":"2022-09-29T05:13:33Z","permalink":"https://pen2.com/cmd/ja/licensingdiag/","title":"licensingdiag"},{"content":"ブート構成データ エディター\nbcdedit C:\\Windows\\system32\\bcdedit.exe /? Output:\n日本語\rBCDEDIT - ブート構成データ ストア エディター Bcdedit.exe コマンド ライン ツールは、ブート構成データ ストアを修正します。 ブート構成データ ストアにはブート構成パラメーターが含まれ、オペレーティング システムのブート方法を制御します。これらのパラメーターは、以前は Boot.ini ファイル (BIOS ベースのオペレーティング システム内) か、不揮発性 RAM エントリ (拡張ファームウェア インターフェイスベースのオペレーティング システム内) に ありました。Bcdedit.exe を使用して、ブート構成データ ストアのエントリを追加、 削除、編集、および付加することができます。 詳細なコマンドとオプション情報については、「bcdedit.exe /? / \u0026lt;コマンド\u0026gt;」を入力 してください。たとえば、/createstore コマンドについて詳細情報を表示するには 以下のように入力します。 bcdedit.exe /? /createstore ヘルプ ファイルのトピック順の一覧を参照するには、\u0026#34;bcdedit /? TOPICS\u0026#34; を実行 します。 ストアの操作のコマンド ====================== /store 現在のシステムの既定以外の BCD ストアを指定するために使用されます。 /createstore 新しい空のブート構成データ ストアを作成します。 /export システム ストアの内容をファイルにエクスポートします。 このファイルは、システム ストアの状態を復元するために後から使用 することができます。 /import /export コマンドで作成されたバックアップ ファイルを使用して、 システム ストアの状態を復元します。 /sysstore システム ストア デバイスを設定します (EFI システムにのみ有効 です。設定内容は再起動後まで維持されません。システム ストア デバイスが明確に指定されていない場合にのみ使用されます)。 ストア内のエントリの操作のコマンド ================================== /copy ストアにエントリのコピーを作成します。 /create ストアに新しいエントリを作成します。 /delete ストアからエントリを削除します。 /mirror ストアにエントリのミラーを作成します。 これらのコマンドで使用する ID の情報については bcdedit /? ID を実行して ください。 エントリ オプションの操作のコマンド =================================== /deletevalue ストアからエントリ オプションを削除します。 /set ストアにエントリ オプションの値を設定します。 これらのコマンドで使用するデータの種類の一覧については bcdedit /? TYPES を実行 してください。 有効なデータ形式の一覧については bcdedit /? FORMATS を実行してください。 出力を制御するコマンド ====================== /enum ストアのエントリを一覧表示します。 /v 既知の識別子名を使用するのではなく、エントリ識別子を完全な 形式で表示するコマンド ライン オプションです。 ACTIVE な種類のエントリ識別子の完全な形式を表示するコマンド として /v を使用します。 \u0026#34;bcdedit\u0026#34; の実行は \u0026#34;bcdedit /enum ACTIVE\u0026#34; の実行と同じです。 ブート マネージャーを制御するコマンド =================================== /bootsequence ブート マネージャーの 1 回限りのブート シーケンスを設定します。 /default ブート マネージャーが使用する既定のエントリを設定します。 /displayorder ブート マネージャーがマルチブート メニューを表示する順序を設定 します。 /timeout ブート マネージャーのタイムアウト値を設定します。 /toolsdisplayorder ブート マネージャーがツール メニューを表示する順序を設定 します。 ブート アプリケーションの緊急管理サービスを制御するコマンド =========================================================== /bootems ブート アプリケーションの緊急管理サービスを有効または無効に します。 /ems オペレーティング システム エントリの緊急管理サービスを有効 または無効にします。 /emssettings グローバルな緊急管理サービスのパラメーターを設定します。 デバッグを制御するコマンド ========================== /bootdebug ブート アプリケーションのブート デバッグを有効または無効に します。 /dbgsettings グローバル デバッガー パラメーターを設定します。 /debug オペレーティング システム エントリのカーネル デバッグを有効 または無効にします。 /hypervisorsettings ハイパーバイザー パラメーターを設定します。 リモート イベント ログを制御するコマンド ========================================= /eventsettings グローバルなリモート イベント ログ パラメーターを設定します。 /event オペレーティング システム エントリのリモート イベント ログを 有効または無効にします。 英語\rBCDEDIT - Boot Configuration Data Store Editor The Bcdedit.exe command-line tool modifies the boot configuration data store. The boot configuration data store contains boot configuration parameters and controls how the operating system is booted. These parameters were previously in the Boot.ini file (in BIOS-based operating systems) or in the nonvolatile RAM entries (in Extensible Firmware Interface-based operating systems). You can use Bcdedit.exe to add, delete, edit, and append entries in the boot configuration data store. For detailed command and option information, type bcdedit.exe /? \u0026lt;command\u0026gt;. For example, to display detailed information about the /createstore command, type: bcdedit.exe /? /createstore For an alphabetical list of topics in this help file, run \u0026#34;bcdedit /? TOPICS\u0026#34;. Commands that operate on a store ================================ /store Used to specify a BCD store other than the current system default. /createstore Creates a new and empty boot configuration data store. /export Exports the contents of the system store to a file. This file can be used later to restore the state of the system store. /import Restores the state of the system store using a backup file created with the /export command. /sysstore Sets the system store device (only affects EFI systems, does not persist across reboots, and is only used in cases where the system store device is ambiguous). Commands that operate on entries in a store =========================================== /copy Makes copies of entries in the store. /create Creates new entries in the store. /delete Deletes entries from the store. /mirror Creates mirror of entries in the store. Run bcdedit /? ID for information about identifiers used by these commands. Commands that operate on entry options ====================================== /deletevalue Deletes entry options from the store. /set Sets entry option values in the store. Run bcdedit /? TYPES for a list of datatypes used by these commands. Run bcdedit /? FORMATS for a list of valid data formats. Commands that control output ============================ /enum Lists entries in the store. /v Command-line option that displays entry identifiers in full, rather than using names for well-known identifiers. Use /v by itself as a command to display entry identifiers in full for the ACTIVE type. Running \u0026#34;bcdedit\u0026#34; by itself is equivalent to running \u0026#34;bcdedit /enum ACTIVE\u0026#34;. Commands that control the boot manager ====================================== /bootsequence Sets the one-time boot sequence for the boot manager. /default Sets the default entry that the boot manager will use. /displayorder Sets the order in which the boot manager displays the multiboot menu. /timeout Sets the boot manager time-out value. /toolsdisplayorder Sets the order in which the boot manager displays the tools menu. Commands that control Emergency Management Services for a boot application ========================================================================== /bootems Enables or disables Emergency Management Services for a boot application. /ems Enables or disables Emergency Management Services for an operating system entry. /emssettings Sets the global Emergency Management Services parameters. Command that control debugging ============================== /bootdebug Enables or disables boot debugging for a boot application. /dbgsettings Sets the global debugger parameters. /debug Enables or disables kernel debugging for an operating system entry. /hypervisorsettings Sets the hypervisor parameters. Command that control remote event logging ========================================= /eventsettings Sets the global remote event logging parameters. /event Enables or disables remote event logging for an operating system entry. Return Code: 0\n","date":"2022-09-29T05:13:29Z","permalink":"https://pen2.com/cmd/ja/bcdedit/","title":"bcdedit"},{"content":"Microsoft Windows Malicious Software Removal Tool\nMRT C:\\Windows\\system32\\MRT.exe /? Output:\n日本語\r--------------------------- 悪意のあるソフトウェアの削除ツール --------------------------- 使用法: /Q または /quiet - 無人モードです。設定されていると、UI は表示されません。 /? または /help - 使用法を表示します。 /N - 検出のみのモードです。 /F - 強制的にフル スキャンを行います。 /F:Y - /F と同じですが、感染しているファイルを自動的にクリーンアップします。 --------------------------- OK --------------------------- 英語\r--------------------------- Malicious Software Removal Tool --------------------------- Usage: /Q or /quiet - quiet mode; if set, no UI is shown /? or /help - displays usage information /N - detect-only mode /F - force full scan /F:Y - same as above, but automatically clean infected files. --------------------------- OK --------------------------- Return Code: 1\n","date":"2022-09-29T05:07:37Z","permalink":"https://pen2.com/cmd/ja/mrt/","title":"mrt"},{"content":"Windows PowerShell\npowershell C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe /? Output:\n日本語\rPowerShell[.exe] [-PSConsoleFile \u0026lt;ファイル\u0026gt; | -Version \u0026lt;バージョン\u0026gt;] [-NoLogo] [-NoExit] [-Sta] [-Mta] [-NoProfile] [-NonInteractive] [-InputFormat {Text | XML}] [-OutputFormat {Text | XML}] [-WindowStyle \u0026lt;スタイル\u0026gt;] [-EncodedCommand \u0026lt;Base64 エンコードのコマンド\u0026gt;] [-ConfigurationName \u0026lt;文字列\u0026gt;] [-File \u0026lt;ファイル パス\u0026gt; \u0026lt;引数\u0026gt;] [-ExecutionPolicy \u0026lt;実行ポリシー\u0026gt;] [-Command { - | \u0026lt;スクリプト ブロック\u0026gt; [-args \u0026lt;引数の配列\u0026gt;] | \u0026lt;文字列\u0026gt; [\u0026lt;コマンド パラメーター\u0026gt;] } ] PowerShell[.exe] -Help | -? | /? -PSConsoleFile 指定された Windows PowerShell コンソール ファイルを読み込みます。コンソー ル ファイルの作成には、Windows PowerShell の Export-Console を使用します。 -Version 指定されたバージョンの Windows PowerShell を起動します。 このパラメーターでバージョン番号 (\u0026#34;-version 2.0\u0026#34; など) を入力します。 -NoLogo スタートアップ時に著作権の見出しを非表示にします。 -NoExit スタートアップ コマンドを実行後、終了しません。 -Sta シングルスレッド アパートメントを使用して、シェルを起動します。 既定ではシングルスレッド アパートメント (STA) です。 -Mta マルチスレッド アパートメントを使用して、シェルを起動します。 -NoProfile Windows PowerShell プロファイルを読み込みません。 -NonInteractive ユーザーに対話的なプロンプトを表示しません。 -InputFormat Windows PowerShell に送られたデータの形式を指定します。有効な値は、\u0026#34;Text\u0026#34; (テキスト文字列) または \u0026#34;XML\u0026#34; (シリアル化 CLIXML 形式) です。 -OutputFormat Windows PowerShell からの出力の形式を決定します。有効な値は、\u0026#34;Text\u0026#34; (テ キスト文字列) または \u0026#34;XML\u0026#34; (シリアル化 CLIXML 形式) です。 -WindowStyle ウィンドウ スタイルを Normal、Minimized、Maximized、または Hidden に設定します。 -EncodedCommand Base-64 エンコードの文字列のコマンドを受け付けます。複雑な引用符や中かっ こが必要なコマンドを Windows PowerShell に送るには、このパラメーターを使 用します。 -ConfigurationName Windows PowerShell が実行される構成エンドポイントを指定します。 ローカル コンピューターに登録された任意のエンドポイントを指定できます。 たとえば、既定の Windows PowerShell リモート処理エンドポイントや、特定の ユーザー機能を持つカスタム エンドポイントなどを指定できます。 -File 指定されたスクリプトをローカル スコープ (\u0026#34;ドット ソース\u0026#34;) で実行して、 スクリプトによって作成された関数と変数を現在のセッションで使用できるように します。スクリプト ファイルのパスとパラメーターを入力します。 File はコマンド内で最後のパラメーターである必要があります。File パラメーター 名の後に入力された文字は、スクリプト ファイルのパスとスクリプトのパラメー ターとして解釈されるためです。 -ExecutionPolicy 現在のセッションの既定の実行ポリシーを設定し、 $env:PSExecutionPolicyPreference 環境変数に保存します。 このパラメーターでは、レジストリに設定されている Windows PowerShell 実行 ポリシーは変更されません。 -Command PowerShell のコマンド プロンプトに入力された場合と同様に、指定されたコマ ンド (および任意のパラメーター) を実行します。NoExit が指定されていない場 合は、そのまま終了します。Command の値には、\u0026#34;-\u0026#34;、文字列、またはスクリプト ブロックを指定できます。 Command の値が \u0026#34;-\u0026#34; の場合、コマンド テキストは標準入力から読み込まれます。 Command の値がスクリプト ブロックの場合は、スクリプト ブロックを中かっこ ({}) で囲む必要があります。スクリプト ブロックを指定できるのは、Windows PowerShell で PowerShell.exe を実行している場合だけです。スクリプト ブロ ックの結果は、ライブ オブジェクトではなく逆シリアル化 XML オブジェクトと して親シェルに返されます。 Command の値が文字列の場合、Command はコマンド内で最後のパラメーターである 必要があります。コマンドの後に入力された文字は、コマンド引数として解釈さ れるためです。 Windows PowerShell コマンドを実行する文字列を記述するには、次の形式を使用します。 \u0026#34;\u0026amp; {\u0026lt;コマンド\u0026gt;}\u0026#34; 引用符によりこれが文字列であることを示し、呼び出し演算子 (\u0026amp;) によりコマ ンドが実行されます。 -Help, -?, /? このメッセージを表示します。Windows PowerShell で PowerShell.exe のコマン ドを入力する場合、コマンド パラメーターの前にスラッシュ (/) ではなくハイ フン (-) を入力してください。Cmd.exe では、ハイフンまたはスラッシュのいずれかを使用できます。 例 PowerShell -PSConsoleFile SqlSnapIn.Psc1 PowerShell -version 2.0 -NoLogo -InputFormat text -OutputFormat XML PowerShell -ConfigurationName AdminRoles PowerShell -Command {Get-EventLog -LogName security} PowerShell -Command \u0026#34;\u0026amp; {Get-EventLog -LogName security}\u0026#34; # -EncodedCommand パラメーターを使用する場合: $command = \u0026#39;dir \u0026#34;c:\\program files\u0026#34; \u0026#39; $bytes = [System.Text.Encoding]::Unicode.GetBytes($command) $encodedCommand = [Convert]::ToBase64String($bytes) powershell.exe -encodedCommand $encodedCommand 英語\rPowerShell[.exe] [-PSConsoleFile \u0026lt;file\u0026gt; | -Version \u0026lt;version\u0026gt;] [-NoLogo] [-NoExit] [-Sta] [-Mta] [-NoProfile] [-NonInteractive] [-InputFormat {Text | XML}] [-OutputFormat {Text | XML}] [-WindowStyle \u0026lt;style\u0026gt;] [-EncodedCommand \u0026lt;Base64EncodedCommand\u0026gt;] [-ConfigurationName \u0026lt;string\u0026gt;] [-File \u0026lt;filePath\u0026gt; \u0026lt;args\u0026gt;] [-ExecutionPolicy \u0026lt;ExecutionPolicy\u0026gt;] [-Command { - | \u0026lt;script-block\u0026gt; [-args \u0026lt;arg-array\u0026gt;] | \u0026lt;string\u0026gt; [\u0026lt;CommandParameters\u0026gt;] } ] PowerShell[.exe] -Help | -? | /? -PSConsoleFile Loads the specified Windows PowerShell console file. To create a console file, use Export-Console in Windows PowerShell. -Version Starts the specified version of Windows PowerShell. Enter a version number with the parameter, such as \u0026#34;-version 2.0\u0026#34;. -NoLogo Hides the copyright banner at startup. -NoExit Does not exit after running startup commands. -Sta Starts the shell using a single-threaded apartment. Single-threaded apartment (STA) is the default. -Mta Start the shell using a multithreaded apartment. -NoProfile Does not load the Windows PowerShell profile. -NonInteractive Does not present an interactive prompt to the user. -InputFormat Describes the format of data sent to Windows PowerShell. Valid values are \u0026#34;Text\u0026#34; (text strings) or \u0026#34;XML\u0026#34; (serialized CLIXML format). -OutputFormat Determines how output from Windows PowerShell is formatted. Valid values are \u0026#34;Text\u0026#34; (text strings) or \u0026#34;XML\u0026#34; (serialized CLIXML format). -WindowStyle Sets the window style to Normal, Minimized, Maximized or Hidden. -EncodedCommand Accepts a base-64-encoded string version of a command. Use this parameter to submit commands to Windows PowerShell that require complex quotation marks or curly braces. -ConfigurationName Specifies a configuration endpoint in which Windows PowerShell is run. This can be any endpoint registered on the local machine including the default Windows PowerShell remoting endpoints or a custom endpoint having specific user role capabilities. -File Runs the specified script in the local scope (\u0026#34;dot-sourced\u0026#34;), so that the functions and variables that the script creates are available in the current session. Enter the script file path and any parameters. File must be the last parameter in the command, because all characters typed after the File parameter name are interpreted as the script file path followed by the script parameters. -ExecutionPolicy Sets the default execution policy for the current session and saves it in the $env:PSExecutionPolicyPreference environment variable. This parameter does not change the Windows PowerShell execution policy that is set in the registry. -Command Executes the specified commands (and any parameters) as though they were typed at the Windows PowerShell command prompt, and then exits, unless NoExit is specified. The value of Command can be \u0026#34;-\u0026#34;, a string. or a script block. If the value of Command is \u0026#34;-\u0026#34;, the command text is read from standard input. If the value of Command is a script block, the script block must be enclosed in braces ({}). You can specify a script block only when running PowerShell.exe in Windows PowerShell. The results of the script block are returned to the parent shell as deserialized XML objects, not live objects. If the value of Command is a string, Command must be the last parameter in the command , because any characters typed after the command are interpreted as the command arguments. To write a string that runs a Windows PowerShell command, use the format: \u0026#34;\u0026amp; {\u0026lt;command\u0026gt;}\u0026#34; where the quotation marks indicate a string and the invoke operator (\u0026amp;) causes the command to be executed. -Help, -?, /? Shows this message. If you are typing a PowerShell.exe command in Windows PowerShell, prepend the command parameters with a hyphen (-), not a forward slash (/). You can use either a hyphen or forward slash in Cmd.exe. EXAMPLES PowerShell -PSConsoleFile SqlSnapIn.Psc1 PowerShell -version 2.0 -NoLogo -InputFormat text -OutputFormat XML PowerShell -ConfigurationName AdminRoles PowerShell -Command {Get-EventLog -LogName security} PowerShell -Command \u0026#34;\u0026amp; {Get-EventLog -LogName security}\u0026#34; # To use the -EncodedCommand parameter: $command = \u0026#39;dir \u0026#34;c:\\program files\u0026#34; \u0026#39; $bytes = [System.Text.Encoding]::Unicode.GetBytes($command) $encodedCommand = [Convert]::ToBase64String($bytes) powershell.exe -encodedCommand $encodedCommand Return Code: 0\n","date":"2022-07-07T23:51:22Z","permalink":"https://pen2.com/cmd/ja/powershell/","title":"powershell"},{"content":"BitLocker ドライブ暗号化ウィザード\nbitlockerwizard C:\\Windows\\system32\\BitLockerWizard.exe /? STDERR:\nBitlocker Wizard Launcher Usage: BitlockerWizard X: \u0026lt;P|R|S|T\u0026gt; P is mapped to FVEUI_AFTER_TPM_PPI_NO_REBOOT R is mapped to FVEUI_AFTER_TPM_PPI_REBOOT S is mapped to FVEUI_MODE_CREATE_NO_REBOOT T is mapped to FVEUI_MODE_CREATE_AFTER_REBOOT U is mapped to FVEUI_MODE_DUPLICATEKEY V is mapped to FVEUI_MODE_RESUME W is mapped to FVEUI_AFTER_REPARTITION X is mapped to FVEUI_PARAM_AFTER_REPARTITION_TPM_PPI Y is mapped to FVEUI_PARAM_SAVE_RECOVERY Z is mapped to FVEUI_PARAM_PASSPHRASE K is mapped to FVEUI_PARAM_STARTUPKEY J is mapped to FVEUI_PARAM_CHANGE_PIN I is mapped to FVEUI_PARAM_STARTUP_UNLOCK Return Code: 0\n","date":"2022-07-07T23:51:18Z","permalink":"https://pen2.com/cmd/ja/bitlockerwizard/","title":"bitlockerwizard"},{"content":"MicrosoftR BLB バックアップのコマンド ライン インターフェイス\nwbadmin C:\\Windows\\system32\\wbadmin.exe /? Output:\n日本語\rwbadmin 1.0 - バックアップ コマンドライン ツール (C) Copyright Microsoft Corporation. All rights reserved. ---- サポートされるコマンド ---- ENABLE BACKUP -- 毎日のバックアップ スケジュールを作成または変更 します。 DISABLE BACKUP -- スケジュールされたバックアップを無効にします。 START BACKUP -- 1 回限りのバックアップを実行します。 STOP JOB -- 現在実行中のバックアップまたは回復操作を 停止します。 GET VERSIONS -- 指定した場所から回復できるバックアップの詳細を 一覧にします。 GET ITEMS -- バックアップに含まれる項目の一覧を表示します。 GET STATUS -- 現在実行中の操作の状態を報告します。 DELETE BACKUP -- 1 つ以上のバックアップを削除します。 英語\rwbadmin 1.0 - Backup command-line tool (C) Copyright Microsoft Corporation. All rights reserved. ---- Commands Supported ---- ENABLE BACKUP -- Creates or modifies a daily backup schedule. DISABLE BACKUP -- Disables the scheduled backups. START BACKUP -- Runs a one-time backup. STOP JOB -- Stops the currently running backup or recovery operation. GET VERSIONS -- Lists details of backups that can be recovered from a specified location. GET ITEMS -- Lists items contained in a backup. GET STATUS -- Reports the status of the currently running operation. DELETE BACKUP -- Deletes one or more backups. Return Code: 4294967295\n","date":"2022-07-07T23:51:18Z","permalink":"https://pen2.com/cmd/ja/wbadmin/","title":"wbadmin"},{"content":" scp C:\\Windows\\System32\\OpenSSH\\scp.exe STDERR:\nusage: scp [-346BCpqrTv] [-c cipher] [-F ssh_config] [-i identity_file] [-J destination] [-l limit] [-o ssh_option] [-P port] [-S program] source ... target Return Code: 1\n","date":"2022-07-07T23:51:12Z","permalink":"https://pen2.com/cmd/ja/scp/","title":"scp"},{"content":" sftp C:\\Windows\\System32\\OpenSSH\\sftp.exe -h STDERR:\nusage: sftp [-46aCfpqrv] [-B buffer_size] [-b batchfile] [-c cipher] [-D sftp_server_path] [-F ssh_config] [-i identity_file] [-J destination] [-l limit] [-o ssh_option] [-P port] [-R num_requests] [-S program] [-s subsystem | sftp_server] destination Return Code: 1\n","date":"2022-07-07T23:51:12Z","permalink":"https://pen2.com/cmd/ja/sftp/","title":"sftp"},{"content":" ssh C:\\Windows\\System32\\OpenSSH\\ssh.exe -? STDERR:\nunknown option -- ? usage: ssh [-46AaCfGgKkMNnqsTtVvXxYy] [-B bind_interface] [-b bind_address] [-c cipher_spec] [-D [bind_address:]port] [-E log_file] [-e escape_char] [-F configfile] [-I pkcs11] [-i identity_file] [-J [user@]host[:port]] [-L address] [-l login_name] [-m mac_spec] [-O ctl_cmd] [-o option] [-p port] [-Q query_option] [-R address] [-S ctl_path] [-W host:port] [-w local_tun[:remote_tun]] destination [command] Return Code: 255\n","date":"2022-07-07T23:51:12Z","permalink":"https://pen2.com/cmd/ja/ssh/","title":"ssh"},{"content":" ssh-add C:\\Windows\\System32\\OpenSSH\\ssh-add.exe -? STDERR:\nError connecting to agent: No such file or directory Return Code: 2\n","date":"2022-07-07T23:51:12Z","permalink":"https://pen2.com/cmd/ja/ssh-add/","title":"ssh-add"},{"content":" ssh-agent C:\\Windows\\System32\\OpenSSH\\ssh-agent.exe STDERR:\nunable to start ssh-agent service, error :1058 Return Code: 255\n","date":"2022-07-07T23:51:12Z","permalink":"https://pen2.com/cmd/ja/ssh-agent/","title":"ssh-agent"},{"content":" ssh-keygen C:\\Windows\\System32\\OpenSSH\\ssh-keygen.exe /? STDERR:\nToo many arguments. usage: ssh-keygen [-q] [-b bits] [-C comment] [-f output_keyfile] [-m format] [-N new_passphrase] [-t dsa | ecdsa | ed25519 | rsa] ssh-keygen -p [-f keyfile] [-m format] [-N new_passphrase] [-P old_passphrase] ssh-keygen -i [-f input_keyfile] [-m key_format] ssh-keygen -e [-f input_keyfile] [-m key_format] ssh-keygen -y [-f input_keyfile] ssh-keygen -c [-C comment] [-f keyfile] [-P passphrase] ssh-keygen -l [-v] [-E fingerprint_hash] [-f input_keyfile] ssh-keygen -B [-f input_keyfile] ssh-keygen -D pkcs11 ssh-keygen -F hostname [-lv] [-f known_hosts_file] ssh-keygen -H [-f known_hosts_file] ssh-keygen -R hostname [-f known_hosts_file] ssh-keygen -r hostname [-g] [-f input_keyfile] ssh-keygen -G output_file [-v] [-b bits] [-M memory] [-S start_point] ssh-keygen -f input_file -T output_file [-v] [-a rounds] [-J num_lines] [-j start_line] [-K checkpt] [-W generator] ssh-keygen -I certificate_identity -s ca_key [-hU] [-D pkcs11_provider] [-n principals] [-O option] [-V validity_interval] [-z serial_number] file ... ssh-keygen -L [-f input_keyfile] ssh-keygen -A [-f prefix_path] ssh-keygen -k -f krl_file [-u] [-s ca_public] [-z version_number] file ... ssh-keygen -Q -f krl_file file ... ssh-keygen -Y check-novalidate -n namespace -s signature_file ssh-keygen -Y sign -f key_file -n namespace file ... ssh-keygen -Y verify -f allowed_signers_file -I signer_identity -n namespace -s signature_file [-r revocation_file] Return Code: 1\n","date":"2022-07-07T23:51:12Z","permalink":"https://pen2.com/cmd/ja/ssh-keygen/","title":"ssh-keygen"},{"content":" ssh-keyscan C:\\Windows\\System32\\OpenSSH\\ssh-keyscan.exe -? STDERR:\nunknown option -- ? usage: ssh-keyscan [-46cDHv] [-f file] [-p port] [-T timeout] [-t type] [host | addrlist namelist] Return Code: 1\n","date":"2022-07-07T23:51:12Z","permalink":"https://pen2.com/cmd/ja/ssh-keyscan/","title":"ssh-keyscan"},{"content":" scriptrunner C:\\Windows\\system32\\ScriptRunner.exe /? Output:\nUsage: ScriptRunner.exe -appvscript scriptFileName [Arguments] [-appvscriptrunnerparameters [-wait] [-timeout=\u0026lt;TimeInSeconds\u0026gt;] [-rollbackonerror]] -appvscript scriptFileName [Arguments] [-appvscriptrunnerparameters [-wait] [-timeout=\u0026lt;TimeInSeconds\u0026gt;] [-rollbackonerror]] ... Default values for -appvscriptrunnerparameters: No wait, No timeout, No rollback on error Every parameter must be separated by a unicode space character (U+0020) Example: ScriptRunner.exe -appvscript foo.cmd arg1 arg2 -appvscriptrunnerparameters -wait -timeout=30 -rollbackonerror -appvscript foobar.exe arg1 arg2 Return Code: 0\n","date":"2022-07-07T23:50:52Z","permalink":"https://pen2.com/cmd/ja/scriptrunner/","title":"scriptrunner"},{"content":"Linux 用 Microsoft Windows サブシステム ランチャー\nwsl C:\\Windows\\system32\\wsl.exe \u0026ndash;help Output:\n日本語\rCopyright (c) Microsoft Corporation. All rights reserved. 使用法: wsl.exe [引数] 引数: --install \u0026lt;Options\u0026gt; Windows Subsystem for Linux の機能をインストールします。オプションが指定されていない場合は、 既定のディストリビューションと共に、推奨される機能がインストールされます。 既定のディストリビューションおよびその他の有効な配布物の一覧を表示するには、 \u0026#39;wsl --list --online\u0026#39; を使用してください。 オプション: --distribution, -d [Argument] ダウンロードしてインストールするディストリビューションを名前で指定します。 引数: 有効なディストリビューション名 (大文字と小文字は区別されません)。 例: wsl --install -d Ubuntu wsl --install --distribution Debian --list, -l [Options] ディストリビューションを一覧表示します。 オプション： --online, -o \u0026#39;wsl --install\u0026#39; を使用してインストールするために使用できるディストリビューションの一覧を表示します。 --help 使用方法に関する情報を表示します 英語\rCopyright (c) Microsoft Corporation. All rights reserved. Usage: wsl.exe [Argument] Arguments: --install \u0026lt;Options\u0026gt; Install Windows Subsystem for Linux features. If no options are specified, the recommended features will be installed along with the default distribution. To view the default distribution as well as a list of other valid distributions, use \u0026#39;wsl --list --online\u0026#39;. Options: --distribution, -d [Argument] Specifies the distribution to be downloaded and installed by name. Arguments: A valid distribution name (not case sensitive). Examples: wsl --install -d Ubuntu wsl --install --distribution Debian --list, -l [Options] Lists distributions. Options: --online, -o Displays a list of available distributions for install with \u0026#39;wsl --install\u0026#39;. --help Display usage information. Return Code: 1\n","date":"2022-07-07T23:50:40Z","permalink":"https://pen2.com/cmd/ja/wsl/","title":"wsl"},{"content":"UPPrinterInstaller\nupprinterinstaller C:\\Windows\\system32\\UPPrinterInstaller.exe /? Output:\nusage: UPPrinterInstaller.exe \u0026lt;[-install | -i] | [-uninstall | -u]\u0026gt; \u0026lt;[-printersharedid | -psi] [printersharedid]\u0026gt; \u0026lt;[-omadmaccountid | -oai] [omadmacountid]\u0026gt; \u0026lt;[-correlationid | -cri] [correlationid]\u0026gt; Required parameters: -install or -uninstall -printersharedid printersharedid -omadmaccountid omadmaccountid -correlationid correlationid Example: UPPritnerInstaller.exe -install -printersharedid E7CBB880-A194-450A-ACC7-86AEE809B971 -omadmaccountid 8A917C42-BE97-49EA-AD77-6EF9FE143E04 -correlationid 8A7E7CDE-D0EE-4C45-86FB-3570C3D5F81F Return Code: 2147942487\n","date":"2022-07-07T23:50:39Z","permalink":"https://pen2.com/cmd/ja/upprinterinstaller/","title":"upprinterinstaller"},{"content":"Windows 認識サービス\nspectrum C:\\Windows\\system32\\Spectrum.exe /? Output:\nUnrecognized parameter: /? Parameters: /debug to run the service executable in debug mode /safemode to set up the service to run in safe mode /safemode:off to disable safe mode if enabled Return Code: 2147942487\n","date":"2022-07-07T23:50:38Z","permalink":"https://pen2.com/cmd/ja/spectrum/","title":"spectrum"},{"content":"パケット モニター\npktmon C:\\Windows\\system32\\PktMon.exe /? Output:\npktmon \u0026lt;command\u0026gt; [OPTIONS | help] Advanced packet capture and event collection. Commands filter Manage packet filters. list List packet processing components. start Start packet capture and event collection. stop Stop data collection. status Query current status. unload Unload PktMon driver. counters Display current packet counters. reset Reset packet counters to zero. etl2txt Convert log file to text format. etl2pcap Convert log file to pcapng format. hex2pkt Decode packet in hexadecimal format. help Show help text for specific command. Example: pktmon start help Return Code: 0\n","date":"2022-07-07T23:50:36Z","permalink":"https://pen2.com/cmd/ja/pktmon/","title":"pktmon"},{"content":"Kerberos セットアップ ツール\nksetup C:\\Windows\\system32\\ksetup.exe /? Output:\n日本語\r使用法: /SetRealm \u0026lt;DnsDomainName\u0026gt; このコンピューターを RFC1510 Kerberos 領域のメンバーにします /MapUser \u0026lt;Principal\u0026gt; [Account] Kerberos プリンシパル (\u0026#39;*\u0026#39; = 任意のプリンシパル) を アカウント (\u0026#39;*\u0026#39; = 同じ名前のアカウント) にマップします; アカウント名を省略すると、指定したプリンシパルの マッピングが削除されます /AddKdc \u0026lt;RealmName\u0026gt; [KdcName] 特定の領域の KDC エントリを定義します。 KdcName を省略すると、DNS を使用して KDC を検索できます。 /DelKdc \u0026lt;RealmName\u0026gt; [KdcName] 領域の KDC エントリを削除します。 KdcName を省略すると、領域エントリ自体が削除されます。 /AddKpasswd \u0026lt;Realmname\u0026gt; \u0026lt;KpasswdName\u0026gt; 領域の Kpasswd サーバー アドレスを追加します /DelKpasswd \u0026lt;Realmname\u0026gt; \u0026lt;KpasswdName\u0026gt; 領域の Kpasswd サーバー アドレスを削除します /Server \u0026lt;Servername\u0026gt; 変更の対象となる Windows コンピューターの名前を指定します。 /SetComputerPassword \u0026lt;Password\u0026gt; コンピューターのドメイン アカウント (またはホスト プリンシパル) の パスワードを設定します /RemoveRealm \u0026lt;RealmName\u0026gt; レジストリからこの領域の情報をすべて削除します。 /Domain [DomainName] このドメインを使用します (DomainName が指定されていない場合は検出します) /ChangePassword \u0026lt;OldPasswd\u0026gt; \u0026lt;NewPasswd\u0026gt; Kpasswd を使用して、ログオンしているユーザーのパスワードを変更します。 \u0026#39;*\u0026#39; を使用して、パスワードの入力を要求します。 /ListRealmFlags (no args) ksetup で認識される使用可能な領域フラグを表示します /SetRealmFlags \u0026lt;realm\u0026gt; \u0026lt;flag\u0026gt; [flag] [flag] [...] 指定した領域の RealmFlags を設定します /AddRealmFlags \u0026lt;realm\u0026gt; \u0026lt;flag\u0026gt; [flag] [flag] [...] RealmFlags を領域に追加します /DelRealmFlags \u0026lt;realm\u0026gt; \u0026lt;flag\u0026gt; [flag] [flag] [...] 領域から RealmFlags を削除します。 /DumpState (no args) 特定のコンピューター上の Kerberos 構成を分析します。 /AddHostToRealmMap \u0026lt;host\u0026gt; \u0026lt;realm\u0026gt; \u0026lt;ホスト\u0026gt; から \u0026lt;領域\u0026gt; へのマッピングをレジストリに追加します。 /DelHostToRealmMap \u0026lt;host\u0026gt; \u0026lt;realm\u0026gt; \u0026lt;ホスト\u0026gt; から \u0026lt;領域\u0026gt; への既存のマッピングをレジストリから削除します。 /SetEncTypeAttr \u0026lt;domainname\u0026gt; \u0026lt;enctypes\u0026gt; \u0026lt;ドメイン\u0026gt; から \u0026lt;暗号化の種類\u0026gt; への暗号化の種類の信頼属性を設定します (複数の種類はスペースで区切る必要があります)。 サポートされる暗号化の種類は次のとおりです: DES-CBC-CRC、DES-CBC-MD5、RC4-HMAC-MD5、 AES128-CTS-HMAC-SHA1-96、AES256-CTS-HMAC-SHA1-96 /GetEncTypeAttr \u0026lt;domainname\u0026gt; \u0026lt;ドメイン\u0026gt; の暗号化の種類の信頼属性を取得します。 /AddEncTypeAttr \u0026lt;domainname\u0026gt; \u0026lt;enctypes\u0026gt; \u0026lt;暗号化の種類\u0026gt; を \u0026lt;ドメイン\u0026gt; の暗号化の種類の信頼属性に追加します (複数の種類はスペースで区切る必要があります)。 /DelEncTypeAttr \u0026lt;domainname\u0026gt; \u0026lt;ドメイン\u0026gt; の暗号化の種類の信頼属性を削除します。 英語\rUSAGE: /SetRealm \u0026lt;DnsDomainName\u0026gt; Makes this computer a member of an RFC1510 Kerberos Realm /MapUser \u0026lt;Principal\u0026gt; [Account] Maps a Kerberos Principal (\u0026#39;*\u0026#39; = any principal) to an account (\u0026#39;*\u0026#39; = an account by same name); If account name is omitted, mapping is deleted for the specified principal /AddKdc \u0026lt;RealmName\u0026gt; [KdcName] Defines a KDC entry for the given realm. If KdcName omitted, DNS may be used to locate KDCs. /DelKdc \u0026lt;RealmName\u0026gt; [KdcName] deletes a KDC entry for the realm. If KdcName omitted, the realm entry itself is deleted. /AddKpasswd \u0026lt;Realmname\u0026gt; \u0026lt;KpasswdName\u0026gt; Add Kpasswd server address for a realm /DelKpasswd \u0026lt;Realmname\u0026gt; \u0026lt;KpasswdName\u0026gt; Delete Kpasswd server address for a realm /Server \u0026lt;Servername\u0026gt; specify name of a Windows machine to target the changes. /SetComputerPassword \u0026lt;Password\u0026gt; Sets the password for the computer\u0026#39;s domain account (or host principal) /RemoveRealm \u0026lt;RealmName\u0026gt; delete all information for this realm from the registry. /Domain [DomainName] use this domain (if DomainName is unspecified, detect it) /ChangePassword \u0026lt;OldPasswd\u0026gt; \u0026lt;NewPasswd\u0026gt; Use Kpasswd to change the logged-on user\u0026#39;s password. Use \u0026#39;*\u0026#39; to be prompted for passwords. /ListRealmFlags (no args) Lists the available Realm flags that ksetup knows /SetRealmFlags \u0026lt;realm\u0026gt; \u0026lt;flag\u0026gt; [flag] [flag] [...] Sets RealmFlags for a specific realm /AddRealmFlags \u0026lt;realm\u0026gt; \u0026lt;flag\u0026gt; [flag] [flag] [...] Adds additional RealmFlags to a realm /DelRealmFlags \u0026lt;realm\u0026gt; \u0026lt;flag\u0026gt; [flag] [flag] [...] Deletes RealmFlags from a realm. /DumpState (no args) Analyze the kerberos configuration on the given machine. /AddHostToRealmMap \u0026lt;host\u0026gt; \u0026lt;realm\u0026gt; Adds a mapping for \u0026lt;host\u0026gt; to \u0026lt;realm\u0026gt; to the registry. /DelHostToRealmMap \u0026lt;host\u0026gt; \u0026lt;realm\u0026gt; Deletes existing mapping for \u0026lt;host\u0026gt; to \u0026lt;realm\u0026gt; from the registry. /SetEncTypeAttr \u0026lt;domainname\u0026gt; \u0026lt;enctypes\u0026gt; Sets the encryption types trust attribute for \u0026lt;domain\u0026gt; to \u0026lt;enctypes\u0026gt; (multiple types should be separated by spaces). Supported encryption types are: DES-CBC-CRC, DES-CBC-MD5, RC4-HMAC-MD5, AES128-CTS-HMAC-SHA1-96, AES256-CTS-HMAC-SHA1-96 /GetEncTypeAttr \u0026lt;domainname\u0026gt; Gets the encryption types trust attribute for \u0026lt;domain\u0026gt;. /AddEncTypeAttr \u0026lt;domainname\u0026gt; \u0026lt;enctypes\u0026gt; Adds \u0026lt;enctypes\u0026gt; to the encryption types trust attribute for \u0026lt;domain\u0026gt; (multiple types should be separated by spaces). /DelEncTypeAttr \u0026lt;domainname\u0026gt; Deletes the encryption types trust attribute for \u0026lt;domain\u0026gt;. Return Code: 0\n","date":"2022-07-07T23:50:35Z","permalink":"https://pen2.com/cmd/ja/ksetup/","title":"ksetup"},{"content":"ディスク パフォーマンス構成ユーティリティ\ndiskperf C:\\Windows\\system32\\diskperf.exe -? Output:\n日本語\rDISKPERF===================== システム ディスク パフォーマンス カウンターを開始または停止します。 コマンド スイッチを指定しないで使うと、DISKPERF は指定された Windows 2000 コンピューターで有効にしたディスク パフォーマンス カウンターをレポートします。 ディスク パフォーマンス カウンターは、各物理ドライブ、論理ドライブ、または 記憶域ボリュームのパフォーマンスをレポートするように指定できます。これら の 2 つのセットのパフォーマンス カウンターは別々に測定されるので注意して ください。ユーザーはコマンド スイッチを使って別々に有効または無効にして 使用できます。 注意: このコマンドはリモートの Windows 2000 を制御するためだけに使用 します。新しいシステムでは、これらのパフォーマンス カウンターは 自動的に有効になります。 DISKPERF [-Y[D|V] | -N[D|V]] [\\\\コンピューター名] -Y システムが再起動したときに、システムがすべてのディスク パフォーマンス カウンターを開始するように設定します。 -YD システムが再起動したときに、物理ドライブのディスク パフォーマンス カウンターを有効にします。 -YV システムが再起動したときに、論理ドライブまたは記憶域 ボリュームのディスク パフォーマンス カウンターを有効にします。 -N システムが再起動したときに、システムがすべてのディスク パフォーマンス カウンターを無効にするように設定します。 -ND 物理ドライブのディスク パフォーマンス カウンターを無効にします。 -NV 論理ドライブのディスク パフォーマンス カウンターを無効にします。 \\\\コンピューター名 ディスク パフォーマンス カウンターを使うとき、 参照または設定するコンピューターの名前です。 コンピューターは、Windows 2000 システムである必要が あります。 注意: ディスク パフォーマンス カウンターは Windows 2000 以降のシステム では恒久的に有効です。 英語\rDISKPERF===================== Starts and stops system disk performance counters. Used without the command switches, DISKPERF reports what disk performance counters are enabled on the specified Windows 2000 computer. Disk performance counters can be specified to report the performance of the individual physical drives, or the individual logical drives or storage volumes. Note that these two sets of performance counters are measured independently. The user has the option of enabling and disabling them independently using the command line switches. NOTE: This command can only be used to control remote Windows 2000 systems. In newer systems, these performance counters are automatically enabled. DISKPERF [-Y[D|V] | -N[D|V]] [\\\\computername] -Y Sets the system to start all disk performance counters when the system is restarted. -YD Enables the disk performance counters for physical drives. when the system is restarted. -YV Enables the disk performance counters for logical drives or storage volumes when the system is restarted. -N Sets the system to disable all disk performance counters when the system is restarted. -ND Disables the disk performance counters for physical drives. -NV Disables the disk performance counters for logical drives. \\\\computername Is the name of the computer you want to see or set disk performance counter use. The computer must be a Windows 2000 system. NOTE: Disk performance counters are permanently enabled on systems beyond Windows 2000. Return Code: 0\n","date":"2022-07-07T23:50:34Z","permalink":"https://pen2.com/cmd/ja/diskperf/","title":"diskperf"},{"content":"イベント トレース レポート ツール\ntracerpt C:\\Windows\\system32\\tracerpt.exe /? Output:\n日本語\rMicrosoft R TraceRpt.Exe (10.0.19041.1741) 使用法: C:\\Windows\\system32\\tracerpt.exe \u0026lt;[-l] \u0026lt;value [value [...]]\u0026gt;|-rt \u0026lt;session_name [session_name [...]]\u0026gt;\u0026gt; [オプション] オプション: -? 状況に応じたヘルプを表示します。 -config \u0026lt;filename\u0026gt; コマンド オプションが記述されている設定ファイ ルです。 -y すべての質問に対して確認を求めずに、\u0026#34;はい\u0026#34; で 応答します。 -f \u0026lt;XML|HTML\u0026gt; レポート形式 -of \u0026lt;CSV|EVTX|XML\u0026gt; ダンプ形式。既定値は XML です。 -en \u0026lt;ANSI|Unicode\u0026gt; 出力ファイルのエンコードです。CSV 出力形式の み有効です。 -df \u0026lt;filename\u0026gt; Microsoft 特有のカウントまたはレポート スキー マ ファイルです。 -import \u0026lt;filename [filename [...]]\u0026gt; イベント スキーマ インポート ファイル -int \u0026lt;filename\u0026gt; 解釈されたイベント構造を指定したファイルに出力 します。 -rts イベント トレース ヘッダーのタイムスタンプを報 告します。-o とのみ使用できます。-report や -summary は使用できません。 -tmf \u0026lt;filename\u0026gt; トレース メッセージ形式定義ファイル -tp \u0026lt;value\u0026gt; TMF ファイル検索パス。\u0026#39;;\u0026#39; で区切って複数のパス を使用できます。 -i \u0026lt;value\u0026gt; プロバイダー イメージ パスを指定します。一致す る PDB はシンボル サーバーにあります。\u0026#39;;\u0026#39; で区 切って複数のパスを使用できます。 -pdb \u0026lt;value\u0026gt; シンボル サーバーのパスを指定します。\u0026#39;;\u0026#39; で区 切って複数のパスを使用できます。 -gmt WPP ペイロードのタイムスタンプを GMT 時刻に変 換します -rl \u0026lt;value\u0026gt; システム レポート レベル 1 から 5 で、既定値は 1 です。 -summary [filename] 要約レポート テキスト ファイルです。既定値は、 summary.txt です。 -o [filename] テキスト出力ファイルです。既定値は、 dumpfile.xml です。 -report [filename] テキスト出力レポートファイルです。既定値は、 workload.xml です。 -lr 緩和された制限です。イベント スキーマに一致し ないイベントに最適な方法を使用します。 -export [filename] イベント スキーマ エクスポート ファイルです。 既定値は、schema.man です。 [-l] \u0026lt;value [value [...]]\u0026gt; 処理するイベント トレース ログ ファイルです。 -rt \u0026lt;session_name [session_name [...]]\u0026gt; リアルタイム イベント トレース セッシ ョン データ ソースです。 例: tracerpt logfile1.etl logfile2.etl -o logdump.xml -of XML tracerpt logfile.etl -o logdmp.xml -of XML -lr -summary logdmp.txt -report logrpt.xml tracerpt logfile1.etl logfile2.etl -o -report tracerpt logfile.etl counterfile.blg -report logrpt.xml -df schema.xml tracerpt -rt \u0026#34;NT Kernel Logger\u0026#34; -o logfile.csv -of CSV 英語\rMicrosoft r TraceRpt.Exe (10.0.19041.1741) Usage: C:\\Windows\\system32\\tracerpt.exe \u0026lt;[-l] \u0026lt;value [value [...]]\u0026gt;|-rt \u0026lt;session_name [session_name [...]]\u0026gt;\u0026gt; [options] Options: -? Displays context sensitive help. -config \u0026lt;filename\u0026gt; Settings file containing command options. -y Answer yes to all questions without prompting. -f \u0026lt;XML|HTML\u0026gt; Report format. -of \u0026lt;CSV|EVTX|XML\u0026gt; Dump format, the default is XML. -en \u0026lt;ANSI|Unicode\u0026gt; Output file encoding. Only allowed with CSV output format. -df \u0026lt;filename\u0026gt; Microsoft specific counting/reporting schema file. -import \u0026lt;filename [filename [...]]\u0026gt; Event Schema import file. -int \u0026lt;filename\u0026gt; Dump interpreted event structure into specified file. -rts Report raw timestamp in event trace header. Can only be used with -o, not -report or -summary. -tmf \u0026lt;filename\u0026gt; Trace Message Format definition file -tp \u0026lt;value\u0026gt; TMF file search path. Multiple paths can be used, separated with \u0026#39;;\u0026#39;. -i \u0026lt;value\u0026gt; Specifies the provider image path. The matching PDB will be located in the Symbol Server. Multiple paths can be used, separated with \u0026#39;;\u0026#39;. -pdb \u0026lt;value\u0026gt; Specifies the symbol server path. Multiple paths can be used, separated with \u0026#39;;\u0026#39;. -gmt Convert WPP payload timestamps to GMT time -rl \u0026lt;value\u0026gt; System Report Level from 1 to 5, the default value is 1. -summary [filename] Summary report text file. Default is summary.txt. -o [filename] Text output file. Default is dumpfile.xml. -report [filename] Text output report file. Default is workload.xml. -lr Less restrictive; use best effort for events not matching event schema. -export [filename] Event Schema export file. Default is schema.man. [-l] \u0026lt;value [value [...]]\u0026gt; Event Trace log file to process. -rt \u0026lt;session_name [session_name [...]]\u0026gt; Real-time Event Trace Session data source. Examples: tracerpt logfile1.etl logfile2.etl -o logdump.xml -of XML tracerpt logfile.etl -o logdmp.xml -of XML -lr -summary logdmp.txt -report logrpt.xml tracerpt logfile1.etl logfile2.etl -o -report tracerpt logfile.etl counterfile.blg -report logrpt.xml -df schema.xml tracerpt -rt \u0026#34;NT Kernel Logger\u0026#34; -o logfile.csv -of CSV Return Code: 1\n","date":"2022-07-07T23:50:34Z","permalink":"https://pen2.com/cmd/ja/tracerpt/","title":"tracerpt"},{"content":"AppContainer ネットワーク分離診断ツール\nchecknetisolation C:\\Windows\\system32\\CheckNetIsolation.exe /? Output:\n日本語\r使用法: CheckNetIsolation [Module] Module のリスト: LoopbackExempt - アプリケーションの開発を容易にする、AppContainer とパッケージ ファミリのループバックの除外 を制御します。 Debug - AppContainer またはパッケージ ファミリのネットワーク トラフィックのトラブルシューティング セッションを 開始します。使用されているネットワーク機能、使用 されていないネットワーク機能、および見つからない ネットワーク機能と、アプリケーションによって生成 されたネットワーク トラフィックを含むレポートが 生成されます。 -? - このヘルプ メッセージを表示します。 英語\rUsage: CheckNetIsolation [Module] List Of Modules: LoopbackExempt - controls the loopback exemption of AppContainers and Package Families to ease application development. Debug - Starts a network traffic troubleshooting session of an AppContainer or Package Family. Generates a report of network capabilities that are used, not used or missing, together with the network traffic generated by the application. -? - Displays this help message. Return Code: 0\nLoopbackExempt C:\\Windows\\system32\\CheckNetIsolation.exe LoopbackExempt /? Output:\n日本語\r使用法: CheckNetIsolation LoopbackExempt [operation] [-n=] [-p=] operation のリスト: -a - ループバック除外リストに AppContainer または パッケージ ファミリを追加します。 -d - ループバック除外リストから AppContainer または パッケージ ファミリを削除します。 -c - ループバックを除外された AppContainer および パッケージ ファミリのリストを消去します。 -s - ループバックを除外された AppContainer および パッケージ ファミリのリストを表示します。 引数のリスト: -n= - AppContainer 名またはパッケージ ファミリ名。 -p= - AppContainer またはパッケージ ファミリの セキュリティ識別子 (SID)。 -? - LoopbackExempt モジュールのこのヘルプ メッセージを表示します。 成功しました。 英語\rUsage: CheckNetIsolation LoopbackExempt [operation] [-n=] [-p=] List of operations: -a - Add the AppContainer or Package Family to the loopback exempted list. -d - Delete an AppContainer or Package Family from the loopback exempted list. -c - Clear the list of loopback exempted AppContainers and Package Families. -s - Show a list of loopback exempted AppContainers and Package Families. List of arguments: -n= - AppContainer Name or Package Family Name. -p= - AppContainer or Package Family Security Identifier (SID). -? - Displays this help message for the LoopbackExempt module. OK. Return Code: 0\nDebug C:\\Windows\\system32\\CheckNetIsolation.exe debug /? Output:\n日本語\r使用法: CheckNetIsolation Debug [-n=] [-p=] 引数のリスト: -n= - AppContainer 名またはパッケージ ファミリ名。 -p= - AppContainer またはパッケージ ファミリのセキュリティ ID (SID)。 -cac - デバッグ セッションに子 AppContainer からのイベントを 含めるかどうかを指定します。 -? - デバッグ モジュールのこのヘルプ メッセージを表示します。 成功しました。 英語\rUsage: CheckNetIsolation Debug [-n=] [-p=] List of arguments: -n= - AppContainer Name or Package Family Name. -p= - AppContainer or Package Family Security Identifier (SID). -cac - Indicate that the debug session should include events from Child AppContainers. -? - Displays this help message for the Debug module. OK. Return Code: 0\n","date":"2022-07-07T23:50:33Z","permalink":"https://pen2.com/cmd/ja/checknetisolation/","title":"checknetisolation"},{"content":"パフォーマンス ログ ユーティリティ\nlogman C:\\Windows\\system32\\logman.exe /? Output:\n日本語\rMicrosoft R Logman.exe (10.0.19041.1741) 使用法: C:\\Windows\\system32\\logman.exe [create|query|start|stop|delete|update|import|export] [オプション] アクション: create 新しいデータ コレクターを作成します。 query データ コレクター プロパティを照会します。名前 が指定されていない場合は、すべてのデータ コレ クターの一覧が表示されます。 start 既存のデータ コレクターを開始して、開始時刻を 手動に設定します。 stop 既存のデータ コレクターを停止して、終了時刻を 手動に設定します。 delete 既存のデータ コレクターを削除します。 update 既存のデータ コレクターのプロパティを更新しま す。 import データ コレクター セットを XML ファイルからイ ンポートします。 export データ コレクター セットを XML ファイルにエク スポートします。 パラメーター: counter カウンター データ コレクターを作成します。 trace トレース データ コレクターを作成します。 alert 警告データ コレクターを作成します。 cfg 構成データ コレクターを作成します。 providers 登録されたプロバイダーを表示します。 オプション (counter): -c \u0026lt;パス [パス [...]]\u0026gt; 収集するパフォーマンス カウンターです。 -cf \u0026lt;ファイル名\u0026gt; 収集するパフォーマンス カウンターを一覧表示し たファイルです。1 行に 1 カウンターです。 -f \u0026lt;bin|bincirc|csv|tsv|sql\u0026gt; データ コレクターのログ形式を指定します。SQL データベース形式の場合は、コマンド ラインに DNS!log オプションと併せて -o オプションを使用 する必要があります。既定値はバイナリです。 -sc \u0026lt;値\u0026gt; パフォーマンス カウンター データ コレクターで 収集するサンプルの最大数です。 -si \u0026lt;[[hh:]mm:]ss\u0026gt; パフォーマンス カウンター データ コレクターの サンプル間隔です。 オプション (trace): -f \u0026lt;bin|bincirc|csv|tsv|sql\u0026gt; データ コレクターのログ形式を指定します。SQL データベース形式の場合は、コマンド ラインに DNS!log オプションと併せて -o オプションを使用 する必要があります。既定値はバイナリです。 -mode \u0026lt;trace_mode\u0026gt; イベント トレース セッション ロガー モードです 。詳細については、 https://go.microsoft.com/fwlink/?LinkID=136464 を参照してください。 -ct \u0026lt;perf|system|cycle\u0026gt; 各イベントのタイム スタンプの記録時に使用する 時間精度を指定します。クエリ パフォーマンス カ ウンター、システム時刻、または CPU サイクルを 使用できます。 -ln \u0026lt;ロガー名\u0026gt; イベント トレース セッションのロガー名です。 -ft \u0026lt;[[hh:]mm:]ss\u0026gt; イベント トレース セッション フラッシュ タイマ ーです。 -[-]p \u0026lt;プロバイダー [フラグ [レベル]]\u0026gt; 有効にされる単一イベント トレース プロ バイダーです。この場合、\u0026#39;フラグ\u0026#39; と \u0026#39;キーワー ド\u0026#39; は同義です。 -pf \u0026lt;ファイル名\u0026gt; 有効にする複数のイベント トレース プロバイダー の一覧を出力するファイルです。 -[-]rt リアルタイム モードでトレース セッションを実行 します。 -[-]ul ユーザー モードでイベント トレース セッション を実行します。 -bs \u0026lt;値\u0026gt; イベント トレース セッション バッファー サイズ (KB) です。 -nb \u0026lt;最小値 最大値\u0026gt; イベント トレース セッションの最少バッファー数 と最大バッファー数です。 オプション (alert): -[-]el イベント ログのレポートを有効/無効にします。 -th \u0026lt;threshold [threshold [...]]\u0026gt; アラートのカウンターおよびしきい値を指定し ます。 -[-]rdcs \u0026lt;name\u0026gt; アラートが発生したときに開始するデータ コレク ター セットです。 -[-]tn \u0026lt;task\u0026gt; アラートが発生したときに実行するタスクです。 -[-]targ \u0026lt;argument\u0026gt; タスクの引数です。 -si \u0026lt;[[hh:]mm:]ss\u0026gt; パフォーマンス カウンター データ コレクターの サンプル間隔です。 オプション (cfg): -[-]ni ネットワーク インターフェイスの照会を有効/無効 にします。 -reg \u0026lt;path [path [...]]\u0026gt; 収集するレジストリの値です。 -mgt \u0026lt;query [query [...]]\u0026gt; 収集する WMI オブジェクトです。 -ftc \u0026lt;path [path [...]]\u0026gt; 収集するファイルへのフル パスです。 オプション: -? 状況に応じたヘルプを表示します。 -s \u0026lt;computer\u0026gt; 指定されたリモート システム上でコマンドを実行 します。 -config \u0026lt;ファイル名\u0026gt; コマンド オプションが記述されている設定ファイ ルです。 [-n] \u0026lt;名前\u0026gt; ターゲット オブジェクト名です。 -pid \u0026lt;pid\u0026gt; プロセス識別子です。 -xml \u0026lt;ファイル名\u0026gt; インポートまたはエクスポートする XML ファイル の名前です。 -as 非同期に作業の要求を行います。 -[-]u \u0026lt;ユーザー [パスワード]\u0026gt; 実行するユーザー名です。パスワードに * を入力 するとパスワードを要求します。パスワードのプロ ンプトでパスワードを入力するときに、入力してい るパスワードは、表示されません。 -m \u0026lt;[start] [stop]\u0026gt; スケジュールされた開始または停止時刻ではなく、 手動の開始または停止に変更します。 -rf \u0026lt;[[hh:]mm:]ss\u0026gt; 指定した時間にデータ コレクターを実行します。 -b \u0026lt;yyyy/MM/dd H:mm:ss[午前|午後]\u0026gt; 指定した時刻にデータ コレクターを開始しま す。 -e \u0026lt;yyyy/MM/dd H:mm:ss[午前|午後]\u0026gt; 指定した時刻にデータ コレクターを終了しま す。 -o \u0026lt;パス|dsn!ログ\u0026gt; 出力ログ ファイルのパスまたは SQL データベース の DSN とログ セット名です。既定のパスは \u0026#39;%systemdrive%\\PerfLogs\\Admin\u0026#39; です。 -[-]r 指定した開始時刻と終了時刻でデータ コレクター を毎日繰り返します。 -[-]a 既存のログ ファイルに追加します。 -[-]ow 既存のログ ファイルを上書きします。 -[-]v \u0026lt;nnnnnn|mmddhhmm\u0026gt; ログ名の後に、ファイルのバージョン情報を添付し ます。 -[-]rc \u0026lt;task\u0026gt; ログが閉じられるごとに指定されたコマンドを実行 します。 -[-]max \u0026lt;値\u0026gt; 最大ログ ファイル サイズ (MB) または SQL ログ の最大レコード数です。 -[-]cnf \u0026lt;[[hh:]mm:]ss\u0026gt; 指定した時間が経過したとき、または最大サイズに 達したときに新しいファイルを作成します。 -y すべての質問に対して確認を求めずに、\u0026#34;はい\u0026#34; で 応答します。 -fd 既存のイベント トレース セッションのすべてのア クティブなバッファーをディスクにフラッシュ します。 -ets コマンドを保存またはスケジュールしないで、直接 イベント トレース セッションに送信します。 注意: 余分な [-] は、オプションを打ち消します。 たとえば --u は、-u オプションをオフにします。 詳細情報: Microsoft TechNet - https://go.microsoft.com/fwlink/?LinkID=136332 例: logman start perf_log logman update perf_log -si 10 -f csv -v mmddhhmm logman create counter perf_log -c \u0026#34;\\Processor(_Total)\\% Processor Time\u0026#34; logman create counter perf_log -c \u0026#34;\\Processor(_Total)\\% Processor Time\u0026#34; -max 10 -rf 01:00 logman create trace trace_log -nb 16 256 -bs 64 -o c:\\logfile logman create alert new_alert -th \u0026#34;\\Processor(_Total)\\% Processor Time\u0026gt;50\u0026#34; logman create cfg cfg_log -reg \u0026#34;HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion\\\\\u0026#34; logman create cfg cfg_log -mgt \u0026#34;root\\cimv2:SELECT * FROM Win32_OperatingSystem\u0026#34; logman query providers logman query providers Microsoft-Windows-Diagnostics-Networking logman start process_trace -p Microsoft-Windows-Kernel-Process 0x10 win:Informational -ets logman start usermode_trace -p \u0026#34;Service Control Manager Trace\u0026#34; -ul -ets logman query usermode_trace -p \u0026#34;Service Control Manager Trace\u0026#34; -ul -ets logman stop usermode_trace -p \u0026#34;Service Control Manager Trace\u0026#34; -ul -ets logman start process_trace -p Microsoft-Windows-Kernel-Process -mode newfile -max 1 -o output%d.etl -ets logman start \u0026#34;NT Kernel Logger\u0026#34; -o log.etl -ets logman start \u0026#34;NT Kernel Logger\u0026#34; -p \u0026#34;Windows Kernel Trace\u0026#34; (process,thread) -ets 英語\rMicrosoft r Logman.exe (10.0.19041.1741) Usage: C:\\Windows\\system32\\logman.exe [create|query|start|stop|delete|update|import|export] [options] Verbs: create Create a new data collector. query Query data collector properties. If no name is given all data collectors are listed. start Start an existing data collector and set the begin time to manual. stop Stop an existing data collector and set the end time to manual. delete Delete an existing data collector. update Update an existing data collector\u0026#39;s properties. import Import a data collector set from an XML file. export Export a data collector set to an XML file. Adverbs: counter Create a counter data collector. trace Create a trace data collector. alert Create an alert data collector. cfg Create a configuration data collector. providers Show registered providers. Options (counter): -c \u0026lt;path [path [...]]\u0026gt; Performance counters to collect. -cf \u0026lt;filename\u0026gt; File listing performance counters to collect, one per line. -f \u0026lt;bin|bincirc|csv|tsv|sql\u0026gt; Specifies the log format for the data collector. For SQL database format, you must use the -o option in the command line with the DNS!log option. The defaults is binary. -sc \u0026lt;value\u0026gt; Maximum number of samples to collect with a performance counter data collector. -si \u0026lt;[[hh:]mm:]ss\u0026gt; Sample interval for performance counter data collectors. Options (trace): -f \u0026lt;bin|bincirc|csv|tsv|sql\u0026gt; Specifies the log format for the data collector. For SQL database format, you must use the -o option in the command line with the DNS!log option. The defaults is binary. -mode \u0026lt;trace_mode\u0026gt; Event Trace Session logger mode. For more information visit - https://go.microsoft.com/fwlink/?LinkID=136464 -ct \u0026lt;perf|system|cycle\u0026gt; Specifies the clock resolution to use when logging the time stamp for each event. You can use query performance counter, system time, or CPU cycle. -ln \u0026lt;logger_name\u0026gt; Logger name for Event Trace Sessions. -ft \u0026lt;[[hh:]mm:]ss\u0026gt; Event Trace Session flush timer. -[-]p \u0026lt;provider [flags [level]]\u0026gt; A single Event Trace provider to enable. The terms \u0026#39;Flags\u0026#39; and \u0026#39;Keywords\u0026#39; are synonymous in this context. -pf \u0026lt;filename\u0026gt; File listing multiple Event Trace providers to enable. -[-]rt Run the Event Trace Session in real-time mode. -[-]ul Run the Event Trace Session in user mode. -bs \u0026lt;value\u0026gt; Event Trace Session buffer size in kb. -nb \u0026lt;min max\u0026gt; Number of Event Trace Session buffers. Options (alert): -[-]el Enable/Disable event log reporting. -th \u0026lt;threshold [threshold [...]]\u0026gt; Specify counters and their threshold values for and alert. -[-]rdcs \u0026lt;name\u0026gt; Data collector set to start when alert fires. -[-]tn \u0026lt;task\u0026gt; Task to run when alert fires. -[-]targ \u0026lt;argument\u0026gt; Task arguments. -si \u0026lt;[[hh:]mm:]ss\u0026gt; Sample interval for performance counter data collectors. Options (cfg): -[-]ni Enable/Disable network interface query. -reg \u0026lt;path [path [...]]\u0026gt; Registry values to collect. -mgt \u0026lt;query [query [...]]\u0026gt; WMI objects to collect. -ftc \u0026lt;path [path [...]]\u0026gt; Full path to the files to collect. Options: -? Displays context sensitive help. -s \u0026lt;computer\u0026gt; Perform the command on specified remote system. -config \u0026lt;filename\u0026gt; Settings file containing command options. [-n] \u0026lt;name\u0026gt; Name of the target object. -pid \u0026lt;pid\u0026gt; Process identifier. -xml \u0026lt;filename\u0026gt; Name of the XML file to import or export. -as Perform the requested operation asynchronously. -[-]u \u0026lt;user [password]\u0026gt; User to Run As. Entering a * for the password produces a prompt for the password. The password is not displayed when you type it at the password prompt. -m \u0026lt;[start] [stop]\u0026gt; Change to manual start or stop instead of a scheduled begin or end time. -rf \u0026lt;[[hh:]mm:]ss\u0026gt; Run the data collector for the specified period of time. -b \u0026lt;M/d/yyyy h:mm:ss[AM|PM]\u0026gt; Begin the data collector at specified time. -e \u0026lt;M/d/yyyy h:mm:ss[AM|PM]\u0026gt; End the data collector at specified time. -o \u0026lt;path|dsn!log\u0026gt; Path of the output log file or the DSN and log set name in a SQL database. The default path is \u0026#39;%systemdrive%\\PerfLogs\\Admin\u0026#39;. -[-]r Repeat the data collector daily at the specified begin and end times. -[-]a Append to an existing log file. -[-]ow Overwrite an existing log file. -[-]v \u0026lt;nnnnnn|mmddhhmm\u0026gt; Attach file versioning information to the end of the log name. -[-]rc \u0026lt;task\u0026gt; Run the command specified each time the log is closed. -[-]max \u0026lt;value\u0026gt; Maximum log file size in MB or number of records for SQL logs. -[-]cnf \u0026lt;[[hh:]mm:]ss\u0026gt; Create a new file when the specified time has elapsed or when the max size is exceeded. -y Answer yes to all questions without prompting. -fd Flushes all the active buffers of an existing Event Trace Session to disk. -ets Send commands to Event Trace Sessions directly without saving or scheduling. Note: Where [-] is listed, an extra - negates the option. For example --u turns off the -u option. More Information: Microsoft TechNet - https://go.microsoft.com/fwlink/?LinkID=136332 Examples: logman start perf_log logman update perf_log -si 10 -f csv -v mmddhhmm logman create counter perf_log -c \u0026#34;\\Processor(_Total)\\% Processor Time\u0026#34; logman create counter perf_log -c \u0026#34;\\Processor(_Total)\\% Processor Time\u0026#34; -max 10 -rf 01:00 logman create trace trace_log -nb 16 256 -bs 64 -o c:\\logfile logman create alert new_alert -th \u0026#34;\\Processor(_Total)\\% Processor Time\u0026gt;50\u0026#34; logman create cfg cfg_log -reg \u0026#34;HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion\\\\\u0026#34; logman create cfg cfg_log -mgt \u0026#34;root\\cimv2:SELECT * FROM Win32_OperatingSystem\u0026#34; logman query providers logman query providers Microsoft-Windows-Diagnostics-Networking logman start process_trace -p Microsoft-Windows-Kernel-Process 0x10 win:Informational -ets logman start usermode_trace -p \u0026#34;Service Control Manager Trace\u0026#34; -ul -ets logman query usermode_trace -p \u0026#34;Service Control Manager Trace\u0026#34; -ul -ets logman stop usermode_trace -p \u0026#34;Service Control Manager Trace\u0026#34; -ul -ets logman start process_trace -p Microsoft-Windows-Kernel-Process -mode newfile -max 1 -o output%d.etl -ets logman start \u0026#34;NT Kernel Logger\u0026#34; -o log.etl -ets logman start \u0026#34;NT Kernel Logger\u0026#34; -p \u0026#34;Windows Kernel Trace\u0026#34; (process,thread) -ets Return Code: 1\n","date":"2022-07-07T23:50:33Z","permalink":"https://pen2.com/cmd/ja/logman/","title":"logman"},{"content":"パフォーマンス ログの再記録ユーティリティ\nrelog C:\\Windows\\system32\\relog.exe /? Output:\n日本語\rMicrosoft R Relog.exe (10.0.19041.1741) Relog は、サンプリング レートの変更、ファイル形式の変更、またはその両方によっ て、既存のパフォーマンス ログのデータから新しいパフォーマンス ログを作成します 。Windows NT 4.0 圧縮ログを含むすべてのパフォーマンス ログの形式はサポートされ ます。 使い方: C:\\Windows\\system32\\relog.exe \u0026lt;ファイル名 [ファイル名 ...]\u0026gt; [オプション] パラメーター: \u0026lt;ファイル名 [ファイル名 ...]\u0026gt; ログを再記録するためのパフォーマンス ファイル です。 オプション: -? 状況に応じたヘルプを表示します。 -a 出力を既存のバイナリ ファイルに追加します。 -c \u0026lt;パス [パス ...]\u0026gt; 入力ログからフィルターしようとするカウンターで す。 -cf \u0026lt;ファイル名\u0026gt; 入力ログからフィルターするパフォーマンス カウ ンターを一覧表示したファイルです。既定値は、元 のログ ファイルのすべてのカウンターです。 -f \u0026lt;CSV|TSV|BIN|SQL\u0026gt; 出力ファイルの形式です。 -t \u0026lt;値\u0026gt; n 番目ごとのレコードを出力ファイルに書き込みま す。既定値は、すべてのレコードです。 -o 出力ファイルのパスまたは SQL データベースです。 -b \u0026lt;yyyy/MM/dd H:mm:ss[午前|午後]\u0026gt; 出力ファイルに最初のレコードを書き込む 開始時刻です。 -e \u0026lt;yyyy/MM/dd H:mm:ss[午前|午後]\u0026gt; 出力ファイルに最後のレコードを書き込む 終了時刻です。 -config \u0026lt;ファイル名\u0026gt; コマンド オプションが記述されている設定ファイ ルです。 -q 入力ファイルのパフォーマンス カウンターの一覧 を出力します。 -y すべての質問に対して確認を求めずに、\u0026#34;はい\u0026#34; で 応答します。 例: relog logfile.csv -c \u0026#34;\\Processor(_Total)\\% Processor Time\u0026#34; -o logfile.blg relog logfile.blg -cf counters.txt -f bin relog logfile.blg -f csv -o logfile.csv -t 2 relog logfile.blg -q -o counters.txt 英語\rMicrosoft r Relog.exe (10.0.19041.1741) Relog creates new performance logs from data in existing performance logs by changing the sampling rate and/or converting the file format. Supports all performance log formats, including Windows NT 4.0 compressed logs. Usage: C:\\Windows\\system32\\relog.exe \u0026lt;filename [filename ...]\u0026gt; [options] Parameters: \u0026lt;filename [filename ...]\u0026gt; Performance file to relog. Options: -? Displays context sensitive help. -a Append output to the existing binary file. -c \u0026lt;path [path ...]\u0026gt; Counters to filter from the input log. -cf \u0026lt;filename\u0026gt; File listing performance counters to filter from the input log. Default is all counters in the original log file. -f \u0026lt;CSV|TSV|BIN|SQL\u0026gt; Output file format. -t \u0026lt;value\u0026gt; Only write every nth record into the output file. Default is to write every record. -o Output file path or SQL database. -b \u0026lt;M/d/yyyy h:mm:ss[AM|PM]\u0026gt; Begin time for the first record to write into the output file. -e \u0026lt;M/d/yyyy h:mm:ss[AM|PM]\u0026gt; End time for the last record to write into the output file. -config \u0026lt;filename\u0026gt; Settings file containing command options. -q List performance counters in the input file. -y Answer yes to all questions without prompting. Examples: relog logfile.csv -c \u0026#34;\\Processor(_Total)\\% Processor Time\u0026#34; -o logfile.blg relog logfile.blg -cf counters.txt -f bin relog logfile.blg -f csv -o logfile.csv -t 2 relog logfile.blg -q -o counters.txt Return Code: 0\n","date":"2022-07-07T23:50:33Z","permalink":"https://pen2.com/cmd/ja/relog/","title":"relog"},{"content":"コマンド ライン パフォーマンス モニター\ntypeperf C:\\Windows\\system32\\typeperf.exe /? Output:\n日本語\rMicrosoft R TypePerf.exe (10.0.19041.1741) Typeperf は、パフォーマンス データをコマンド ウィンドウまたはログ ファイルに書 き込みます。Typeperf を停止するには、Ctrl+C キーを押します。 使い方: C:\\Windows\\system32\\typeperf.exe { \u0026lt;カウンター [カウンター ...]\u0026gt; | -cf \u0026lt;ファイル名\u0026gt; | -q [オブジェクト] | -qx [オブジェクト] } [オプション] パラメーター: \u0026lt;カウンター [カウンター ...]\u0026gt; 監視するパフォーマンス カウンターです。 オプション: -? 状況に応じたヘルプを表示します。 -f \u0026lt;CSV|TSV|BIN|SQL\u0026gt; 出力ファイルの形式です。既定は CSV です。 -cf \u0026lt;ファイル名\u0026gt; 監視するパフォーマンス カウンターを含んでいる ファイルです。1 行に 1 カウンターです。 -si \u0026lt;[[hh:]mm:]ss\u0026gt; サンプリングの間隔です。既定値は、1 秒です。 -o \u0026lt;ファイル名\u0026gt; 出力ファイルまたは SQL データベースのパスです 。既定値は、STDOUT です。 -q [オブジェクト] インストールされているカウンターの一覧を表示し ます (インスタンスなし)。1 つのオブジェクトに 対するカウンターを一覧表示するには、Processor のようにオブジェクト名を含めてください。 -qx [オブジェクト] インストールされているインスタンスの一覧を表示 します。1 つのオブジェクトに対するカウンターを 一覧表示するには、Processor のようにオブジェク ト名を含めてください。 -sc \u0026lt;サンプリング\u0026gt; 収集するサンプリングの数です。既定値は、 Ctrl+C を押すまでのサンプリングです。 -config \u0026lt;ファイル名\u0026gt; コマンド オプションが記述されている設定ファイ ルです。 -s \u0026lt;コンピューター名\u0026gt; カウンターのパスにサーバーが指定されていない場 合に監視するサーバーです。 -y すべての質問に対して確認を求めずに、\u0026#34;はい\u0026#34; で 応答します。 注意: カウンターは、\u0026#34;\\\\Server1\\Processor(0)\\% User Time\u0026#34; のような \u0026#34;\\\\\u0026lt;コンピューター\u0026gt;\\\u0026lt;オブジェクト\u0026gt;(\u0026lt;インスタンス\u0026gt;)\\\u0026lt;カウンター\u0026gt;\u0026#34; 形式の パフォーマンス カウンターの完全な名前です。 例: typeperf \u0026#34;\\Processor(_Total)\\% Processor Time\u0026#34; typeperf -cf counters.txt -si 5 -sc 50 -f TSV -o domain2.tsv typeperf -qx PhysicalDisk -o counters.txt 英語\rMicrosoft r TypePerf.exe (10.0.19041.1741) Typeperf writes performance data to the command window or to a log file. To stop Typeperf, press CTRL+C. Usage: C:\\Windows\\system32\\typeperf.exe { \u0026lt;counter [counter ...]\u0026gt; | -cf \u0026lt;filename\u0026gt; | -q [object] | -qx [object] } [options] Parameters: \u0026lt;counter [counter ...]\u0026gt; Performance counters to monitor. Options: -? Displays context sensitive help. -f \u0026lt;CSV|TSV|BIN|SQL\u0026gt; Output file format. Default is CSV. -cf \u0026lt;filename\u0026gt; File containing performance counters to monitor, one per line. -si \u0026lt;[[hh:]mm:]ss\u0026gt; Time between samples. Default is 1 second. -o \u0026lt;filename\u0026gt; Path of output file or SQL database. Default is STDOUT. -q [object] List installed counters (no instances). To list counters for one object, include the object name, such as Processor. -qx [object] List installed counters with instances. To list counters for one object, include the object name, such as Processor. -sc \u0026lt;samples\u0026gt; Number of samples to collect. Default is to sample until CTRL+C. -config \u0026lt;filename\u0026gt; Settings file containing command options. -s \u0026lt;computer_name\u0026gt; Server to monitor if no server is specified in the counter path. -y Answer yes to all questions without prompting. Note: Counter is the full name of a performance counter in \u0026#34;\\\\\u0026lt;Computer\u0026gt;\\\u0026lt;Object\u0026gt;(\u0026lt;Instance\u0026gt;)\\\u0026lt;Counter\u0026gt;\u0026#34; format, such as \u0026#34;\\\\Server1\\Processor(0)\\% User Time\u0026#34;. Examples: typeperf \u0026#34;\\Processor(_Total)\\% Processor Time\u0026#34; typeperf -cf counters.txt -si 5 -sc 50 -f TSV -o domain2.tsv typeperf -qx PhysicalDisk -o counters.txt Return Code: 0\n","date":"2022-07-07T23:50:33Z","permalink":"https://pen2.com/cmd/ja/typeperf/","title":"typeperf"},{"content":"MicrosoftR グループ ポリシー更新ユーティリティ\ngpupdate C:\\Windows\\system32\\gpupdate.exe /? Output:\n日本語\r説明: グループ ポリシーの複数の設定を最新の情報に更新します。 構文: Gpupdate [/Target:{Computer | User}] [/Force] [/Wait:\u0026lt;値\u0026gt;] [/Logoff] [/Boot] [/Sync] パラメーター: 値 説明 /Target:{Computer | User} ユーザーのみまたはコンピューターのみの ポリシー設定を更新するかを指定します。 既定では、どちらのポリシー設定も更新 されます。 /Force すべてのポリシー設定を適用し直します。 既定では、設定が変更されたポリシーの みが適用し直されます。 /Wait:{値} ポリシー処理の完了を待つ時間 (秒) を 設定します。既定は 600 秒です。 \u0026#39;0\u0026#39; は完了を待たないことを意味します。 \u0026#39;-1\u0026#39; は完了するまで待つことを意味します。 指定された時間が経過すると、コマンド プロンプトが返されますが、ポリシーの 処理は続行されます。 /Logoff グループ ポリシーの設定の更新完了後にログ オフします。これは、バックグラウンド更新 サイクルではポリシーを処理しないが、ユーザー のログオン時にポリシーを処理するクライアント 側の拡張に必要です。例としては、ユーザーを ターゲットとした \u0026#34;ソフトウェアのインストール\u0026#34; や \u0026#34;フォルダー リダイレクト\u0026#34; があげられます。 ログオフを必要とする拡張が呼び出されない 場合は、このオプションは影響しません。 /Boot グループ ポリシー設定の適用後にコンピューター を再起動します。これは、バックグラウンド更新 サイクルではポリシーを処理しないが、コン ピュータの起動時にポリシーを処理するクラ イアント側の拡張に必要です。例としては、 コンピューターをターゲットとした \u0026#34;ソフトウェ アのインストール\u0026#34; があげられます。再起動を 必要とする拡張が呼び出されない場合は、この オプションは影響しません。 /Sync 次のフォアグラウンド ポリシー アプリケー ションを同時に実行します。フォアグラウンド ポリシー アプリケーションはコンピューターの 起動時およびユーザーのログオン時に実行され ます。/Target パラメーターを使うと、これを ユーザー、コンピューター、または両方に指定する ことができます。指定された場合 /Force および /Wait パラメーターは無視されます。 英語\rDescription: Updates multiple Group Policy settings. Syntax: Gpupdate [/Target:{Computer | User}] [/Force] [/Wait:\u0026lt;value\u0026gt;] [/Logoff] [/Boot] [/Sync] Parameters: Value Description /Target:{Computer | User} Specifies that only User or only Computer policy settings are updated. By default, both User and Computer policy settings are updated. /Force Reapplies all policy settings. By default, only policy settings that have changed are applied. /Wait:{value} Sets the number of seconds to wait for policy processing to finish. The default is 600 seconds. The value \u0026#39;0\u0026#39; means not to wait. The value \u0026#39;-1\u0026#39; means to wait indefinitely. When the time limit is exceeded, the command prompt returns, but policy processing continues. /Logoff Causes a logoff after the Group Policy settings have been updated. This is required for those Group Policy client-side extensions that do not process policy on a background update cycle but do process policy when a user logs on. Examples include user-targeted Software Installation and Folder Redirection. This option has no effect if there are no extensions called that require a logoff. /Boot Causes a computer restart after the Group Policy settings are applied. This is required for those Group Policy client-side extensions that do not process policy on a background update cycle but do process policy at computer startup. Examples include computer-targeted Software Installation. This option has no effect if there are no extensions called that require a restart. /Sync Causes the next foreground policy application to be done synchronously. Foreground policy applications occur at computer start up and user logon. You can specify this for the user, computer or both using the /Target parameter. The /Force and /Wait parameters will be ignored if specified. Return Code: 4294967295\n","date":"2022-07-07T23:50:28Z","permalink":"https://pen2.com/cmd/ja/gpupdate/","title":"gpupdate"},{"content":"イベント コレクター コマンド ライン ユーティリティ\nwecutil C:\\Windows\\system32\\wecutil.exe /? Output:\n日本語\rWindows イベント コレクター ユーティリティ WS-Management プロトコルをサポートするリモート イベント ソースから転送された イベントへのサブスクリプションを作成し管理できます。 使用法: コマンド名とオプション名には短いバージョン (es、/f など) または長いバージョン (enum-subscription、/format など) を使用できます。コマンド、オプション、および オプションの値では、大文字と小文字が区別されません。 (\u0026lt; \u0026gt; で囲まれた文字列 = 変数) wecutil \u0026lt;コマンド\u0026gt; [\u0026lt;引数\u0026gt; [\u0026lt;引数\u0026gt;] ...] [/\u0026lt;オプション\u0026gt;:\u0026lt;値\u0026gt; [/\u0026lt;オプション\u0026gt;: \u0026lt;値\u0026gt;] ...] コマンド: es (enum-subscription) 存在するサブスクリプションを一覧表示し ます。 gs (get-subscription) サブスクリプション構成を取得します。 gr (get-subscriptionruntimestatus) サブスクリプションのランタイムの状態を取得 します。 ss (set-subscription) サブスクリプションの構成を設定します。 cs (create-subscription) 新しいサブスクリプションを作成します。 ds (delete-subscription) サブスクリプションを削除します。 rs (retry-subscription) サブスクリプションを再試行します。 qc (quick-config) Windows イベント コレクター サービスを構成し ます。 共通オプション: /h|? (help) wecutil プログラムの全般的ヘルプを表示します。 wecutil { -help | -h | -? } 引数とオプションについては、特定のコマンドの使用法を参照してください。 wecutil コマンド -? 英語\rWindows Event Collector Utility Enables you to create and manage subscriptions to events forwarded from remote event sources that support WS-Management protocol. Usage: You can use either the short (i.e. es, /f) or long (i.e. enum-subscription, /format) version of the command and option names. Commands, options and option values are case-insensitive. (ALL UPPER-CASE = VARIABLE) wecutil COMMAND [ARGUMENT [ARGUMENT] ...] [/OPTION:VALUE [/OPTION:VALUE] ...] Commands: es (enum-subscription) List existent subscriptions. gs (get-subscription) Get subscription configuration. gr (get-subscriptionruntimestatus) Get subscription runtime status. ss (set-subscription) Set subscription configuration. cs (create-subscription) Create new subscription. ds (delete-subscription) Delete subscription. rs (retry-subscription) Retry subscription. qc (quick-config) Configure Windows Event Collector service. Common options: /h|? (help) Get general help for the wecutil program. wecutil { -help | -h | -? } For arguments and options, see usage of specific commands: wecutil COMMAND -? Return Code: 0\n","date":"2022-07-07T23:50:28Z","permalink":"https://pen2.com/cmd/ja/wecutil/","title":"wecutil"},{"content":"ディスク デフラグ モジュール\ndefrag C:\\Windows\\system32\\Defrag.exe /? Output:\n日本語\rDefrag \u0026lt;ボリューム\u0026gt; \u0026lt;操作\u0026gt; [\u0026lt;Options\u0026gt;] ボリューム: /C | /AllVolumes 各ボリュームで、指定された操作の一覧から 優先操作のみを実行します。 /E | /VolumesExcept \u0026lt;ボリューム パス\u0026gt; 指定されたボリュームを除く各ボリュームで、指定された すべての操作を実行します。例外一覧が空の場合は、 /AllVolumes として動作します。 ボリューム パス ドライブ文字に続けてコロン、マウント ポイントまたは ボリューム名を指定します。複数のボリュームを指定できます。 指定された各ボリュームで、指定されたすべての操作を実行します。 操作: /A | /Analyze 分析を実行します。 /B | /BootOptimize 起動パフォーマンスを高めるためにブート最適化を実行します。 /D | /Defrag 従来のデフラグを実行します (これは既定値です)。階層型 ボリュームでは、従来のデフラグはキャパシティ層でのみ 実行されます。 /G | /TierOptimize 階層型ボリュームで、ファイルを最適化して適切なストレージ層に 配置します。 /K | /SlabConsolidate シン プロビジョニングされたボリュームで、スラブの統合を実行して スラブの使用効率を高めます。 /L | /Retrim シン プロビジョニングされたボリュームで、空きスラブを解放するために 再トリムを実行します。SSD では、書き込みパフォーマンスを改善するために再トリムを実行します。 /O | /Optimize メディアの種類ごとに適した最適化を実行します。 /T | /TrackProgress 特定のボリュームに対して実行中の操作の進行状況を追跡します。1 つの インスタンスは 1 つのボリュームについてのみ進行状況を表示できます。 別のボリュームの進行状況を表示するには、別のインスタンスを起動してください。 /U | /PrintProgress 操作の進行状況を画面に出力します。 /V | /Verbose 断片化の統計情報を含む詳細を出力します。 /X | /FreespaceConsolidate 空き領域の統合を実行し、空き領域をボリュームの終わりに 移動します (シン プロビジョニングされたボリュームであっても)。 階層型ボリュームでは、統合はキャパシティ層でのみ実行 されます。 オプション: /H | /NormalPriority この操作を通常の優先度で実行します (既定では \u0026#34;低\u0026#34;)。 /I | /MaxRuntime n TierOptimize 指定時にのみ使用可能です。階層の最適化は 各ボリュームで最大 n 秒間実行されます。 /LayoutFile \u0026lt;ファイル パス\u0026gt; BootOptimize 指定時にのみ使用可能です。このファイルには、 最適化する対象のファイルの一覧が含まれています。既定の場所は %windir%\\Prefetch\\layout.ini です。 /M | /MultiThread [n] この操作をバックグラウンドで各ボリュームに対して並列に実行します。 TierOptimize の場合、最大 n 個のスレッドで並列してストレージ層を 最適化します。n の既定値は 8 です。その他すべての最適化では n が無視されます。 /OnlyPreferred ボリュームが明示的に指定されている場合、指定された各ボリュームで、 指定されたすべての操作をデフラグで実行します。このスイッチにより、 指定された各ボリュームで、指定された操作の一覧から 優先操作のみをデフラグで実行できます。 例: Defrag C: /U /V Defrag C: D: /TierOptimize /MultiThread Defrag C:\\mountpoint /Analysis /U Defrag /C /H /V 英語\rDefrag \u0026lt;Volumes\u0026gt; \u0026lt;Operations\u0026gt; [\u0026lt;Options\u0026gt;] Volumes: /C | /AllVolumes On each volume run only the preferred operations from the given list of operations. /E | /VolumesExcept \u0026lt;volume paths\u0026gt; Perform all the given operations on each volume except. those specified. If the exception list is empty, this behaves as /AllVolumes. volume paths Specifies the drive letter followed by a colon, mount point or volume name. More than one volume can be specified. Run all the given operations on each specified volume.. Operations: /A | /Analyze Perform analysis. /B | /BootOptimize Perform boot optimization to increase boot performance. /D | /Defrag Perform traditional defrag (this is the default). On a tiered volume, traditional defrag is performed only on the Capacity tier. /G | /TierOptimize On tiered volumes, optimize files to reside on the appropriate storage tier. /K | /SlabConsolidate On thinly provisioned volumes, perform slab consolidation to increase slab usage efficiency. /L | /Retrim On thinly provisioned volumes, perform retrim to release free slabs. On SSDs perform retrim to improve write performance. /O | /Optimize Perform the proper optimization for each media type. /T | /TrackProgress Track progress of a running operation for a given volume. An instance can show progress only for a single volume. To see progress for another volume launch another instance. /U | /PrintProgress Print the progress of the operation on the screen. /V | /Verbose Print verbose output containing the fragmentation statistics. /X | /FreespaceConsolidate Perform free space consolidation, moves free space towards the end of the volume (even on thin provisioned volumes). On tiered volumes consolidation is performed only on the Capacity tier. Options: /H | /NormalPriority Run the operation at normal priority (default is low). /I | /MaxRuntime n Available only with TierOptimize. Tier optimization would run for at most n seconds on each volume. /LayoutFile \u0026lt;file path\u0026gt; Available only with BootOptimize. This file contains the list of files to be optimized. The default location is %windir%\\Prefetch\\layout.ini. /M | /MultiThread [n] Run the operation on each volume in parallel in the background. For TierOptimize, at most n threads optimize the storage tiers in parallel. Default value of n is 8. All other optimizations ignore n. /OnlyPreferred When volumes are specified explicitly, defrag performs all the given operations on each specified volume. This switch lets defrag run only the preferred operations, from the given list of operations, on each specified volume. Examples: Defrag C: /U /V Defrag C: D: /TierOptimize /MultiThread Defrag C:\\mountpoint /Analysis /U Defrag /C /H /V Return Code: 0\n","date":"2022-07-07T23:50:27Z","permalink":"https://pen2.com/cmd/ja/defrag/","title":"defrag"},{"content":"監査ポリシー プログラム\nauditpol C:\\Windows\\system32\\auditpol.exe /? Output:\n日本語\r使用法: AuditPol コマンド [\u0026lt;サブコマンド\u0026gt;\u0026lt;オプション\u0026gt;] コマンド (1 回の実行で使用できるコマンドは 1 つのみ) /? ヘルプ (状況に応じた) を表示します。 /get 現在の監査ポリシーを表示します。 /set 監査ポリシーを設定します。 /list 選択可能なポリシー要素を表示します。 /backup 監査ポリシーをファイルに保存します。 /restore ファイルから監査ポリシーを復元します。 /clear 監査ポリシーの内容を消去します。 /remove 指定されたユーザーのユーザーごとの監査ポリシーを削除します。 /resourceSACL グローバル リソース SACL 各コマンドの詳細については、AuditPol \u0026lt;コマンド\u0026gt; /? を使用してください 英語\rUsage: AuditPol command [\u0026lt;sub-command\u0026gt;\u0026lt;options\u0026gt;] Commands (only one command permitted per execution) /? Help (context-sensitive) /get Displays the current audit policy. /set Sets the audit policy. /list Displays selectable policy elements. /backup Saves the audit policy to a file. /restore Restores the audit policy from a file. /clear Clears the audit policy. /remove Removes the per-user audit policy for a user account. /resourceSACL Configure global resource SACLs Use AuditPol \u0026lt;command\u0026gt; /? for details on each command Return Code: 0\nauditpol get C:\\Windows\\system32\\auditpol.exe /get /? Output:\n日本語\r使用法: AuditPol /get [/user[:\u0026lt;ユーザー名\u0026gt;|\u0026lt;{sid}\u0026gt;]] [/category:*|\u0026lt;名前\u0026gt;|\u0026lt;{guid}\u0026gt;[,:\u0026lt;名前\u0026gt;|\u0026lt;{guid}\u0026gt;...]] [/subcategory:\u0026lt;名前\u0026gt;|\u0026lt;{guid}\u0026gt;[,:\u0026lt;名前\u0026gt;|\u0026lt;{guid}\u0026gt;...]] [/option:\u0026lt;オプション名\u0026gt;] [/sd] [/r] このコマンドは、現在の監査ポリシーを表示します。 コマンド /? ヘルプ (状況に応じた) を表示します。 /user ユーザーごとの監査ポリシーが必要なユーザーのための セキュリティ プリンシパル。/category オプションまたは /subcategory オプションを指定する必要があります。ユーザー は、SID または名前で指定できます。ユーザー アカウント を指定しない場合は、システム監査ポリシーが必要です。 /category GUID または名前で指定される 1 つ以上の監査カテゴリ。 アスタリスク (\u0026#34;*\u0026#34;) を使用して、すべての監査カテゴリが照会 されるように指定することもできます。 /subcategory GUID または名前で指定される 1 つ以上の監査 サブカテゴリ。 /sd 監査ポリシーへのアクセスを委任するために使用される セキュリティ記述子を取得します。 /option CrashOnAuditFail、FullPrivilegeAuditing、 AuditBaseObjects、または AuditBaseDirectories のための既存ポリシーを取得します。 /r レポート (CSV) 形式で出力を表示します。 使用例: auditpol /get /user:ドメイン\\ユーザー /Category:\u0026#34;詳細追跡\u0026#34;,\u0026#34;オブジェクト アクセス\u0026#34; auditpol /get /Subcategory:{0cce9212-69ae-11d9-bed3-505054503030} /r auditpol /get /option:CrashOnAuditFail auditpol /get /user:{S-1-5-21-397123417-1234567} /Category:\u0026#34;システム\u0026#34; auditpol /get /sd 英語\rUsage: AuditPol /get [/user[:\u0026lt;username\u0026gt;|\u0026lt;{sid}\u0026gt;]] [/category:*|\u0026lt;name\u0026gt;|\u0026lt;{guid}\u0026gt;[,:\u0026lt;name\u0026gt;|\u0026lt;{guid}\u0026gt;...]] [/subcategory:\u0026lt;name\u0026gt;|\u0026lt;{guid}\u0026gt;[,:\u0026lt;name\u0026gt;|\u0026lt;{guid}\u0026gt;...]] [/option:\u0026lt;option name\u0026gt;] [/sd] [/r] This command displays the current audit policy. Commands /? Help (context-sensitive) /user The security principal for whom the per-user audit policy is queried. Either the /category or /subcategory option must be specified. The user may be specified as a SID or name. If no user account is specified, then the system audit policy is queried. /category One or more audit categories specified by GUID or name. An asterisk (\u0026#34;*\u0026#34;) may be used to indicate that all audit categories should be queried. /subcategory One or more audit subcategories specified by GUID or name. /sd Retrieves the security descriptor used to delegate access to the audit policy. /option Retrieve existing policy for CrashOnAuditFail, FullPrivilegeAuditing, AuditBaseObjects or AuditBaseDirectories. /r Display the output in report (CSV) format. Sample usage: auditpol /get /user:domain\\user /Category:\u0026#34;Detailed Tracking\u0026#34;,\u0026#34;Object Access\u0026#34; auditpol /get /Subcategory:{0cce9212-69ae-11d9-bed3-505054503030} /r auditpol /get /option:CrashOnAuditFail auditpol /get /user:{S-1-5-21-397123417-1234567} /Category:\u0026#34;System\u0026#34; auditpol /get /sd Return Code: 0\nauditpol set C:\\Windows\\system32\\auditpol.exe /set /? Output:\n日本語\r使用法: AuditPol /set [/user[:\u0026lt;ユーザー名\u0026gt;|\u0026lt;{sid}\u0026gt;][/include][/exclude]] [/category:\u0026lt;名前\u0026gt;|\u0026lt;{guid}\u0026gt;[,:\u0026lt;名前\u0026gt;|\u0026lt;{guid}\u0026gt;...]] [/success:\u0026lt;enable\u0026gt;|\u0026lt;disable\u0026gt;][/failure:\u0026lt;enable\u0026gt;|\u0026lt;disable\u0026gt;] [/subcategory:\u0026lt;名前\u0026gt;|\u0026lt;{guid}\u0026gt;[,:\u0026lt;名前\u0026gt;|\u0026lt;{guid}\u0026gt;...]] [/success:\u0026lt;enable\u0026gt;|\u0026lt;disable\u0026gt;][/failure:\u0026lt;enable\u0026gt;|\u0026lt;disable\u0026gt;] [/option:\u0026lt;オプション名\u0026gt; /value:\u0026lt;enable\u0026gt;|\u0026lt;disable\u0026gt;] このコマンドは、現在の監査ポリシーを設定します。 コマンド /? ヘルプ (状況に応じた) を表示します。 /user ユーザーごとの監査ポリシーが必要なユーザーのための category/subcategory によって指定されるセキュリティ プリンシパルが設定されます。 カテゴリまたはサブカテゴリのオプションを、SID または名前で 指定しなければなりません。 /include /user と一緒に指定します。システム監査ポリシーで指定されて いなくても、そのユーザーのユーザーごとのポリシーによって 監査が生成されるように指定します。この設定は、 既定の設定であり、/include オプションも /exclude オプションも明示的に指定されて いない場合は自動的に適用されます。 /exclude /user と一緒に指定します。システム監査ポリシーの有無にかかわらず、 そのユーザーのユーザーごとのポリシーによって監査が 行われないように指定します。この設定は、Administrators ローカル グループのメンバーであるユーザーにとって好ましい設定ではありません。 /category GUID または名前で指定される 1 つ以上の監査カテゴリ。 ユーザーを指定しなかった場合は、システム ポリシーが設定されます。 /subcategory GUID または名前で指定される 1 つ以上の監査サブカテゴリ。 ユーザーを指定しなかった場合は、システム ポリシーが設定されます。 /success 成功の監査を指定します。/success オプションも /failure も 明示的に指定しなかった場合は、この設定が既定の設定になり、 自動的に適用されます。この設定は、 設定を enable にするか disable にするかを示す パラメーターと一緒に使用しなければなりません。 /failure 失敗の監査を指定します。この設定は、 設定を enable にするか disable にするかを示すパラメーターと一緒に 使用しなければなりません。 /option CrashOnAuditFail、FullPrivilegeAuditing、 AuditBaseObjects、または AuditBaseDirectories のための監査ポリシーを設定します /sd 監査ポリシーへのアクセスを委任するために使用される セキュリティ記述子を設定します。セキュリティ記述子は、 SDDL を使用して指定しなければなりません。セキュリティ記述子は、 DACL を持っていなければなりません。 例: auditpol /set /user:ドメイン\\ユーザー /Category:\u0026#34;システム\u0026#34; /success:enable /include auditpol /set /subcategory:{0cce9212-69ae-11d9-bed3-505054503030} /failure:disable auditpol /set /option:CrashOnAuditFail /value:enable auditpol /set /sd:D:(A;;DCSWRPDTRC;;;BA)(A;;DCSWRPDTRC;;;SY) コマンドは正常に実行されました。 英語\rUsage: AuditPol /set [/user[:\u0026lt;username\u0026gt;|\u0026lt;{sid}\u0026gt;][/include][/exclude]] [/category:\u0026lt;name\u0026gt;|\u0026lt;{guid}\u0026gt;[,:\u0026lt;name\u0026gt;|\u0026lt;{guid}\u0026gt;...]] [/success:\u0026lt;enable\u0026gt;|\u0026lt;disable\u0026gt;][/failure:\u0026lt;enable\u0026gt;|\u0026lt;disable\u0026gt;] [/subcategory:\u0026lt;name\u0026gt;|\u0026lt;{guid}\u0026gt;[,:\u0026lt;name\u0026gt;|\u0026lt;{guid}\u0026gt;...]] [/success:\u0026lt;enable\u0026gt;|\u0026lt;disable\u0026gt;][/failure:\u0026lt;enable\u0026gt;|\u0026lt;disable\u0026gt;] [/option:\u0026lt;option name\u0026gt; /value:\u0026lt;enable\u0026gt;|\u0026lt;disable\u0026gt;] This command sets the current audit policy. Commands /? Help (context-sensitive) /user The security principal for whom per-user audit policy specified by the category/subcategory is set. Either the category or subcategory option must be specified, as a SID or name. /include Specified with /user; indicates that user\u0026#39;s per-user policy will cause audit to be generated even if not specified by the system audit policy. This setting is the default and is automatically applied if neither the /include nor /exclude options are explicitly specified. /exclude Specified with /user; indicates that the user\u0026#39;s per-user policy will cause audit to be suppressed regardless of the system audit policy. This setting is not honored for users who are members of the Administrators local group. /category One or more audit categories specified by GUID or name. If no user is specified, the system policy is set. /subcategory One or more audit subcategories specified by GUID or name. If no user is specified, system policy is set. /success Specifies success auditing. This setting is the default and is automatically applied if neither the /success nor /failure options are explicitly specified. This setting must be used with a parameter indicating whether to enable or disable the setting. /failure Specifies failure auditing. This setting must be used with a parameter indicating whether to enable or disable the setting. /option Set the audit policy for CrashOnAuditFail, FullPrivilegeAuditing, AuditBaseObjects or AuditBaseDirectories. /sd Sets the security descriptor used to delegate access to the audit policy. The security descriptor must be specified using SDDL. The security descriptor must have a DACL. Example: auditpol /set /user:domain\\user /Category:\u0026#34;System\u0026#34; /success:enable /include auditpol /set /subcategory:{0cce9212-69ae-11d9-bed3-505054503030} /failure:disable auditpol /set /option:CrashOnAuditFail /value:enable auditpol /set /sd:D:(A;;DCSWRPDTRC;;;BA)(A;;DCSWRPDTRC;;;SY) The command was successfully executed. Return Code: 0\nauditpol list C:\\Windows\\system32\\auditpol.exe /list /? Output:\n日本語\r使用法: AuditPol /list [/user|/category|/subcategory[:\u0026lt;カテゴリ名\u0026gt;|\u0026lt;{guid}\u0026gt;|*] [/v] [/r] このコマンドは、監査ポリシー カテゴリ、サブカテゴリを一覧表示するか、またはユーザーごとの 監査ポリシーが定義されているユーザーを一覧表示します。 コマンド /? ヘルプ (状況に応じた) を表示します。 /user ユーザーごとの監査ポリシーが定義されている すべてのユーザーを取得します。/v オプションと一緒に指定した場合は、 ユーザーの SID も表示されます。 /category システムが理解できるカテゴリの名前を 表示します。/v オプションと一緒に使用すると、カテゴリの GUID も表示されます。 /subcategory 指定されたカテゴリ内のサブカテゴリについて、システムが理解できる サブカテゴリの名前を表示します。 /v オプションと一緒に使用すると、 サブカテゴリの GUID も表示されます。 例: auditpol /list /user auditpol /list /category /v auditpol /list /subcategory:\u0026#34;詳細追跡\u0026#34;,\u0026#34;オブジェクト アクセス\u0026#34; 英語\rUsage: AuditPol /list [/user|/category|/subcategory[:\u0026lt;categoryname\u0026gt;|\u0026lt;{guid}\u0026gt;|*] [/v] [/r] This command lists audit policy categories, subcategories, or lists users for whom per-user audit policy is defined. Commands /? Help (context-sensitive) /user Retrieves all users for whom per-user audit policy has been defined. If used with the /v option, the sid of the user is also displayed. /category Displays the names of categories understood by the system. If used with the /v option, the category GUID is also displayed. /subcategory Displays the names of subcategories understood by the system, for subcategories in a specified category. The subcategory GUIDs are also displayed if the /v option is used. Example: auditpol /list /user auditpol /list /category /v auditpol /list /subcategory:\u0026#34;Detailed Tracking\u0026#34;,\u0026#34;Object Access\u0026#34; Return Code: 0\nauditpol backup C:\\Windows\\system32\\auditpol.exe /backup /? Output:\n日本語\r使用法: AuditPol /backup /file:\u0026lt;ファイル名\u0026gt; このコマンドは、システム監査ポリシーの設定とすべてのユーザーのユーザーごとの 監査ポリシーの設定とすべての監査オプションを 1 つのファイルにバックアップします。 バックアップは、CSV 形式のテキスト ファイルに書き込まれます。 オプション /? ヘルプ (状況に応じた) を表示します。 /file 監査ポリシーのバックアップ先とするファイルの名前を 指定します。 例: auditpol /backup /file:c:\\auditpolicy.csv コマンドは正常に実行されました。 英語\rUsage: AuditPol /backup /file:\u0026lt;filename\u0026gt; This command backs up system audit policy settings and per-user audit policy settings for all users and all auditing options into a file. The backup will be written to a CSV-formatted text file. Options /? Help (context-sensitive). /file Specifies the name of the file to which the audit policy will be backed-up. Example: auditpol /backup /file:c:\\auditpolicy.csv The command was successfully executed. Return Code: 0\nauditpol restore C:\\Windows\\system32\\auditpol.exe /restore /? Output:\n日本語\r使用法: AuditPol /restore /file:\u0026lt;ファイル名\u0026gt; このコマンドは、/backup コマンドで作成したファイルからシステム監査ポリシーの設定、 すべてのユーザーのユーザーごとの監査ポリシーの設定、およびすべての監査オプションを 復元します。 Options /? ヘルプ (状況に応じた) を表示します。 /file 読み取る監査ポリシーの入ったファイルを 指定します。このファイルは、/backup オプションで作成されたものか、 またはそのファイル形式の構文に従ったファイルでなければ なりません。 例: auditpol /restore /file:c:\\auditpolicy.csv コマンドは正常に実行されました。 英語\rUsage: AuditPol /restore /file:\u0026lt;filename\u0026gt; This command restores system audit policy settings, per-user audit policy settings for all users and all auditing options from a file created with the /backup command. Options /? Help (context-sensitive). /file Specifies the file where the audit policy should be read from. The file must have been created by the /backup option or must be syntactically consistent with that file format. Example: auditpol /restore /file:c:\\auditpolicy.csv The command was successfully executed. Return Code: 0\nauditpol clear C:\\Windows\\system32\\auditpol.exe /clear /? Output:\n日本語\r使用法: AuditPol /clear [/y] このコマンドは、すべてのユーザーのユーザーごとの監査ポリシーを削除し、すべてのサブカテゴリの システム監査ポリシーをリセットし、すべての監査オプションを無効に設定します。 オプション /? ヘルプ (状況に応じた) を表示します。 /y すべての監査ポリシーの内容を消去するかを確認するプロンプトが 表示されないようにします。 例: auditpol /clear auditpol /clear /y コマンドは正常に実行されました。 英語\rUsage: AuditPol /clear [/y] This command deletes per-user audit policy for all users, resets system audit policy for all subcategories and sets all the auditing options to disabled. Options /? Help (context-sensitive). /y Suppresses the prompt to confirm if all the audit policy should be cleared. Example: auditpol /clear auditpol /clear /y The command was successfully executed. Return Code: 0\nauditpol remove C:\\Windows\\system32\\auditpol.exe /remove /? Output:\n日本語\r使用法: AuditPol /remove [/user[:\u0026lt;ユーザー名\u0026gt;|\u0026lt;{sid}\u0026gt;]] [/allusers] このコマンドは、指定されたアカウントのユーザーごとの監査ポリシーを削除します。 オプション /? ヘルプ (状況に応じた) を表示します。 /user ユーザーごとの監査ポリシーを削除するユーザーの SID またはユーザー名を指定します。 /allusers すべてのユーザーのユーザーごとの監査ポリシーを削除します。 例: auditpol /remove /user:{S-1-5-21-397123417-1234567} auditpol /remove /allusers コマンドは正常に実行されました。 英語\rUsage: AuditPol /remove [/user[:\u0026lt;username\u0026gt;|\u0026lt;{sid}\u0026gt;]] [/allusers] This command removes per-user audit policy for a specified account. Options /? Help (context-sensitive). /user Specifies the SID or user name for the user for whom per-user audit policy is to be deleted /allusers Deletes per-user audit policy for all users. Example: auditpol /remove /user:{S-1-5-21-397123417-1234567} auditpol /remove /allusers The command was successfully executed. Return Code: 0\nauditpol resourceSACL C:\\Windows\\system32\\auditpol.exe /resourceSACL /? Output:\n日本語\r使用法: AuditPol /resourceSACL [/set /type:\u0026lt;リソース\u0026gt; [/success] [/failure] /user:\u0026lt;ユーザー\u0026gt; [/access:\u0026lt;アクセス フラグ\u0026gt;] [/condition:\u0026lt;式\u0026gt;]] [/remove /type:\u0026lt;リソース\u0026gt; /user:\u0026lt;ユーザー\u0026gt; [/type:\u0026lt;リソース\u0026gt;]] [/clear [/type:\u0026lt;リソース\u0026gt;]] [/view [/user:\u0026lt;ユーザー\u0026gt;] [/type:\u0026lt;リソース\u0026gt;]] このコマンドはグローバル オブジェクト アクセスの監査の設定を構成します。 イベントがシステムによって生成されるためには、対応するオブジェクト アクセス サブカテゴリを有効にする必要があります。詳細については、「auditpol /set /?」を 入力してください。 コマンド /? コマンドのヘルプを表示します。 /set 指定したリソースの種類のリソース システム アクセス制御リストに 新規エントリを追加する、または既存のエントリを更新します。 /remove 指定したユーザーのすべてのエントリをリソースの種類で指定 したグローバル オブジェクト アクセス監査リストから削除 します。 /clear 指定したリソースの種類のグローバル オブジェクト アクセス 監査リストからすべてのエントリを削除します。 /view 指定したリソースの種類とユーザーのグローバル オブジェクト アクセス監査のエントリを一覧表示します。ユーザーの指定 はオプションです。 引数 /type オブジェクト アクセス監査を構成するリソース。 サポートされる引数値は File と Key です。これらの値では 大文字と小文字が区別されることに注意してください。 File: ディレクトリとファイル。 Key: レジストリ キー。 /success 成功の監査を指定します。 /failure 失敗の監査を指定します。 /user ユーザーを次のいずれかの形式で指定します。 - ドメイン名\\アカウント (例: DOM\\Administrators) - スタンドアロン サーバー\\グループ - アカウント (LookupAccountName API を参照) - {S-1-x-x-x-x}。x は 10 進数表記です。 また、SID 全体を中かっこで囲む必要があります。 例: {S-1-5-21-5624481-130208933-164394174-1001} 警告: SID 形式を使用する場合、アカウントが存在するかどうかの チェックは行われません。 /access アクセス許可は、次の 2 種類のいずれかの形式で指定 できます。 - 単一の権限を連続して指定する: 汎用的なアクセス権: GA - 汎用すべて GR - 汎用読み取り GW - 汎用書き込み GX - 汎用実行 ファイルのアクセス権: FA - ファイルへのすべてのアクセス FR - ファイルの汎用読み取り FW - ファイルへの汎用書き込み FX - ファイルの汎用実行 レジストリ キーのアクセス権: KA - キーへのすべてのアクセス KR - キーの読み取り KW - キーへの書き込み KX - キーの実行 例: \u0026#39;/access:FRFW\u0026#39; を実行すると監査イベントの読み取りと 書き込みの操作が可能になります。 - 16 進数の値はアクセス マスク (例: 0x1200a9) を示します。 これは、SDDL 標準に含まれないリソース固有のビット マスクを 使用する場合に有用です。省略した場合は、フル アクセスが 使用されます。 /condition 次のような属性に基づく式を追加します。 ドキュメントの秘密度は HBI です (\u0026#34;High\u0026#34;) \u0026#34;(@Resource.Sensitivity == \\\u0026#34;High\\\u0026#34;)\u0026#34; 例: auditpol /resourceSACL /set /type:Key /user:MYDOMAIN\\myuser /success auditpol /resourceSACL /set /type:File /user:MYDOMAIN\\myuser /success /failure /access:FRFW auditpol /resourceSACL /set /type:File /user:everyone /success /failure /access:FRFW /condition:\u0026#34;(@Resource.Sensitivity == \\\u0026#34;High\\\u0026#34;)\u0026#34; auditpol /resourceSACL /type:File /clear auditpol /resourceSACL /remove /type:File /user:{S-1-5-21-56248481-1302087933-1644394174-1001} auditpol /resourceSACL /type:File /view auditpol /resourceSACL /type:File /view /user:MYDOMAIN\\myuser コマンドは正常に実行されました。 英語\rUsage: AuditPol /resourceSACL [/set /type:\u0026lt;resource\u0026gt; [/success] [/failure] /user:\u0026lt;user\u0026gt; [/access:\u0026lt;access flags\u0026gt;] [/condition:\u0026lt;expression\u0026gt;]] [/remove /type:\u0026lt;resource\u0026gt; /user:\u0026lt;user\u0026gt; [/type:\u0026lt;resource\u0026gt;]] [/clear [/type:\u0026lt;resource\u0026gt;]] [/view [/user:\u0026lt;user\u0026gt;] [/type:\u0026lt;resource\u0026gt;]] This command configures settings for global object access auditing. The corresponding object access subcategory needs to be enabled for the events to be generated by the system. Type auditpol /set /? for more information. Commands /? Displays Help for the command. /set Adds a new entry to or updates an existing entry in the resource system access control list for the resource type specified. /remove Removes all entries for the given user from the global object access auditing list specified by the resource type. /clear Removes all entries from the global object access auditing list for the specified resource type. /view Lists the global object access auditing entries for the specified resource type and user. Specifying a user is optional. Arguments /type The resource for which object access auditing is being configured. The supported argument values are File and Key. Note that these values are case sensitive. File: Directories and files. Key: Registry keys. /success Specifies success auditing. /failure Specifies failure auditing. /user Specifies a user in one of the following forms: - DomainName\\Account (such as DOM\\Administrators) - StandaloneServer\\Group - Account (see LookupAccountName API) - {S-1-x-x-x-x}. x is expressed in decimal, and the entire SID must be enclosed in curly braces. For example: {S-1-5-21-5624481-130208933-164394174-1001} Warning: If SID form is used, no check is done to verify the existence of this account. /access Specifies a permission mask that can be specified in one of two forms: - A sequence of simple rights: Generic access rights: GA - GENERIC ALL GR - GENERIC READ GW - GENERIC WRITE GX - GENERIC EXECUTE Access rights for files: FA - FILE ALL ACCESS FR - FILE GENERIC READ FW - FILE GENERIC WRITE FX - FILE GENERIC EXECUTE Access rights for registry keys: KA - KEY ALL ACCESS KR - KEY READ KW - KEY WRITE KX - KEY EXECUTE For example: \u0026#39;/access:FRFW\u0026#39; will enable audit events for read and write operations. - A hex value representing the access mask (such as 0x1200a9). This is useful when using resource-specific bit masks that are not part of the SDDL standard. If omitted, Full access is used. /condition Appends an attribute based expression like the following: Document sensitivity is HBI (\u0026#34;High\u0026#34;) \u0026#34;(@Resource.Sensitivity == \\\u0026#34;High\\\u0026#34;)\u0026#34; Examples: auditpol /resourceSACL /set /type:Key /user:MYDOMAIN\\myuser /success auditpol /resourceSACL /set /type:File /user:MYDOMAIN\\myuser /success /failure /access:FRFW auditpol /resourceSACL /set /type:File /user:everyone /success /failure /access:FRFW /condition:\u0026#34;(@Resource.Sensitivity == \\\u0026#34;High\\\u0026#34;)\u0026#34; auditpol /resourceSACL /type:File /clear auditpol /resourceSACL /remove /type:File /user:{S-1-5-21-56248481-1302087933-1644394174-1001} auditpol /resourceSACL /type:File /view auditpol /resourceSACL /type:File /view /user:MYDOMAIN\\myuser The command was successfully executed. Return Code: 0\n","date":"2022-07-07T23:50:26Z","permalink":"https://pen2.com/cmd/ja/auditpol/","title":"auditpol"},{"content":"Change CodePage Utility\nchcp C:\\Windows\\system32\\chcp.com /? Output:\n日本語\r現在のコード ページ番号を表示または設定します。 CHCP [nnn] nnn コード ページ番号を指定します。 現在のコード ページ番号を表示するときは、パラメーターを指定せずに CHCP と入力してください。 英語\rDisplays or sets the active code page number. CHCP [nnn] nnn Specifies a code page number. Type CHCP without a parameter to display the active code page number. Return Code: 0\nexample c:\\example\u0026gt;chcp 現在のコード ページ: 932 c:\\example\u0026gt;chcp 65001 Active code page: 65001 c:\\example\u0026gt;chcp 932 現在のコード ページ: 932 code page コードページの一覧はこちらのサイトから確認できます。\nコード ページ識別子 - Win32 apps Code Page Identifiers Identifier .NET Name Additional information 437 IBM437 OEM United States 932 shift_jis ANSI/OEM Japanese; Japanese (Shift-JIS) 1252 windows-1252 ANSI Latin 1; Western European (Windows) 10001 x-mac-japanese Japanese (Mac) 20290 IBM290 IBM EBCDIC Japanese Katakana Extended 20932 EUC-JP Japanese (JIS 0208-1990 and 0212-1990) 50220 iso-2022-jp ISO 2022 Japanese with no halfwidth Katakana; Japanese (JIS) 50221 csISO2022JP ISO 2022 Japanese with halfwidth Katakana; Japanese (JIS-Allow 1 byte Kana) 50222 iso-2022-jp ISO 2022 Japanese JIS X 0201-1989; Japanese (JIS-Allow 1 byte Kana - SO/SI) 50930 EBCDIC Japanese (Katakana) Extended 50931 EBCDIC US-Canada and Japanese 50939 EBCDIC Japanese (Latin) Extended and Japanese 51932 euc-jp EUC Japanese 65001 utf-8 Unicode (UTF-8) ","date":"2022-07-07T23:50:26Z","permalink":"https://pen2.com/cmd/ja/chcp/","title":"chcp"},{"content":"Windows 用ディスク領域クリーンアップ マネージャー\nCleanmgr C:\\Windows\\system32\\Cleanmgr.exe /? Output:\n--------------------------- USAGE --------------------------- cleanmgr [/SAGESET:n | /SAGERUN:n | TUNEUP:n | /LOWDISK | /VERYLOWDISK | /SETUP | /AUTOCLEAN] --------------------------- OK --------------------------- Return Code: 1\n","date":"2022-07-07T23:50:26Z","permalink":"https://pen2.com/cmd/ja/cleanmgr/","title":"cleanmgr"},{"content":"The curl executable\ncurl C:\\Windows\\system32\\curl.exe \u0026ndash;version Output:\ncurl 7.83.1 (Windows) libcurl/7.83.1 Schannel Release-Date: 2022-05-13 Protocols: dict file ftp ftps http https imap imaps pop3 pop3s smtp smtps telnet tftp Features: AsynchDNS HSTS IPv6 Kerberos Largefile NTLM SPNEGO SSL SSPI UnixSockets Return Code: 0\ncurl C:\\Windows\\system32\\curl.exe \u0026ndash;help all Output:\nUsage: curl [options...] \u0026lt;url\u0026gt; --abstract-unix-socket \u0026lt;path\u0026gt; Connect via abstract Unix domain socket --alt-svc \u0026lt;file name\u0026gt; Enable alt-svc with this cache file --anyauth Pick any authentication method -a, --append Append to target file when uploading --aws-sigv4 \u0026lt;provider1[:provider2[:region[:service]]]\u0026gt; Use AWS V4 signature authentication --basic Use HTTP Basic Authentication --cacert \u0026lt;file\u0026gt; CA certificate to verify peer against --capath \u0026lt;dir\u0026gt; CA directory to verify peer against -E, --cert \u0026lt;certificate[:password]\u0026gt; Client certificate file and password --cert-status Verify the status of the server cert via OCSP-staple --cert-type \u0026lt;type\u0026gt; Certificate type (DER/PEM/ENG/P12) --ciphers \u0026lt;list of ciphers\u0026gt; SSL ciphers to use --compressed Request compressed response --compressed-ssh Enable SSH compression -K, --config \u0026lt;file\u0026gt; Read config from a file --connect-timeout \u0026lt;fractional seconds\u0026gt; Maximum time allowed for connection --connect-to \u0026lt;HOST1:PORT1:HOST2:PORT2\u0026gt; Connect to host -C, --continue-at \u0026lt;offset\u0026gt; Resumed transfer offset -b, --cookie \u0026lt;data|filename\u0026gt; Send cookies from string/file -c, --cookie-jar \u0026lt;filename\u0026gt; Write cookies to \u0026lt;filename\u0026gt; after operation --create-dirs Create necessary local directory hierarchy --create-file-mode \u0026lt;mode\u0026gt; File mode for created files --crlf Convert LF to CRLF in upload --crlfile \u0026lt;file\u0026gt; Use this CRL list --curves \u0026lt;algorithm list\u0026gt; (EC) TLS key exchange algorithm(s) to request -d, --data \u0026lt;data\u0026gt; HTTP POST data --data-ascii \u0026lt;data\u0026gt; HTTP POST ASCII data --data-binary \u0026lt;data\u0026gt; HTTP POST binary data --data-raw \u0026lt;data\u0026gt; HTTP POST data, \u0026#39;@\u0026#39; allowed --data-urlencode \u0026lt;data\u0026gt; HTTP POST data URL encoded --delegation \u0026lt;LEVEL\u0026gt; GSS-API delegation permission --digest Use HTTP Digest Authentication -q, --disable Disable .curlrc --disable-eprt Inhibit using EPRT or LPRT --disable-epsv Inhibit using EPSV --disallow-username-in-url Disallow username in URL --dns-interface \u0026lt;interface\u0026gt; Interface to use for DNS requests --dns-ipv4-addr \u0026lt;address\u0026gt; IPv4 address to use for DNS requests --dns-ipv6-addr \u0026lt;address\u0026gt; IPv6 address to use for DNS requests --dns-servers \u0026lt;addresses\u0026gt; DNS server addrs to use --doh-cert-status Verify the status of the DoH server cert via OCSP-staple --doh-insecure Allow insecure DoH server connections --doh-url \u0026lt;URL\u0026gt; Resolve host names over DoH -D, --dump-header \u0026lt;filename\u0026gt; Write the received headers to \u0026lt;filename\u0026gt; --egd-file \u0026lt;file\u0026gt; EGD socket path for random data --engine \u0026lt;name\u0026gt; Crypto engine to use --etag-compare \u0026lt;file\u0026gt; Pass an ETag from a file as a custom header --etag-save \u0026lt;file\u0026gt; Parse ETag from a request and save it to a file --expect100-timeout \u0026lt;seconds\u0026gt; How long to wait for 100-continue -f, --fail Fail fast with no output on HTTP errors --fail-early Fail on first transfer error, do not continue --fail-with-body Fail on HTTP errors but save the body --false-start Enable TLS False Start -F, --form \u0026lt;name=content\u0026gt; Specify multipart MIME data --form-escape Escape multipart form field/file names using backslash --form-string \u0026lt;name=string\u0026gt; Specify multipart MIME data --ftp-account \u0026lt;data\u0026gt; Account data string --ftp-alternative-to-user \u0026lt;command\u0026gt; String to replace USER [name] --ftp-create-dirs Create the remote dirs if not present --ftp-method \u0026lt;method\u0026gt; Control CWD usage --ftp-pasv Use PASV/EPSV instead of PORT -P, --ftp-port \u0026lt;address\u0026gt; Use PORT instead of PASV --ftp-pret Send PRET before PASV --ftp-skip-pasv-ip Skip the IP address for PASV --ftp-ssl-ccc Send CCC after authenticating --ftp-ssl-ccc-mode \u0026lt;active/passive\u0026gt; Set CCC mode --ftp-ssl-control Require SSL/TLS for FTP login, clear for transfer -G, --get Put the post data in the URL and use GET -g, --globoff Disable URL sequences and ranges using {} and [] --happy-eyeballs-timeout-ms \u0026lt;milliseconds\u0026gt; Time for IPv6 before trying IPv4 --haproxy-protocol Send HAProxy PROXY protocol v1 header -I, --head Show document info only -H, --header \u0026lt;header/@file\u0026gt; Pass custom header(s) to server -h, --help \u0026lt;category\u0026gt; Get help for commands --hostpubmd5 \u0026lt;md5\u0026gt; Acceptable MD5 hash of the host public key --hostpubsha256 \u0026lt;sha256\u0026gt; Acceptable SHA256 hash of the host public key --hsts \u0026lt;file name\u0026gt; Enable HSTS with this cache file --http0.9 Allow HTTP 0.9 responses -0, --http1.0 Use HTTP 1.0 --http1.1 Use HTTP 1.1 --http2 Use HTTP 2 --http2-prior-knowledge Use HTTP 2 without HTTP/1.1 Upgrade --http3 Use HTTP v3 --ignore-content-length Ignore the size of the remote resource -i, --include Include protocol response headers in the output -k, --insecure Allow insecure server connections --interface \u0026lt;name\u0026gt; Use network INTERFACE (or address) -4, --ipv4 Resolve names to IPv4 addresses -6, --ipv6 Resolve names to IPv6 addresses --json \u0026lt;data\u0026gt; HTTP POST JSON -j, --junk-session-cookies Ignore session cookies read from file --keepalive-time \u0026lt;seconds\u0026gt; Interval time for keepalive probes --key \u0026lt;key\u0026gt; Private key file name --key-type \u0026lt;type\u0026gt; Private key file type (DER/PEM/ENG) --krb \u0026lt;level\u0026gt; Enable Kerberos with security \u0026lt;level\u0026gt; --libcurl \u0026lt;file\u0026gt; Dump libcurl equivalent code of this command line --limit-rate \u0026lt;speed\u0026gt; Limit transfer speed to RATE -l, --list-only List only mode --local-port \u0026lt;num/range\u0026gt; Force use of RANGE for local port numbers -L, --location Follow redirects --location-trusted Like --location, and send auth to other hosts --login-options \u0026lt;options\u0026gt; Server login options --mail-auth \u0026lt;address\u0026gt; Originator address of the original email --mail-from \u0026lt;address\u0026gt; Mail from this address --mail-rcpt \u0026lt;address\u0026gt; Mail to this address --mail-rcpt-allowfails Allow RCPT TO command to fail for some recipients -M, --manual Display the full manual --max-filesize \u0026lt;bytes\u0026gt; Maximum file size to download --max-redirs \u0026lt;num\u0026gt; Maximum number of redirects allowed -m, --max-time \u0026lt;fractional seconds\u0026gt; Maximum time allowed for transfer --metalink Process given URLs as metalink XML file --negotiate Use HTTP Negotiate (SPNEGO) authentication -n, --netrc Must read .netrc for user name and password --netrc-file \u0026lt;filename\u0026gt; Specify FILE for netrc --netrc-optional Use either .netrc or URL -:, --next Make next URL use its separate set of options --no-alpn Disable the ALPN TLS extension -N, --no-buffer Disable buffering of the output stream --no-clobber Do not overwrite files that already exist --no-keepalive Disable TCP keepalive on the connection --no-npn Disable the NPN TLS extension --no-progress-meter Do not show the progress meter --no-sessionid Disable SSL session-ID reusing --noproxy \u0026lt;no-proxy-list\u0026gt; List of hosts which do not use proxy --ntlm Use HTTP NTLM authentication --ntlm-wb Use HTTP NTLM authentication with winbind --oauth2-bearer \u0026lt;token\u0026gt; OAuth 2 Bearer Token -o, --output \u0026lt;file\u0026gt; Write to file instead of stdout --output-dir \u0026lt;dir\u0026gt; Directory to save files in -Z, --parallel Perform transfers in parallel --parallel-immediate Do not wait for multiplexing (with --parallel) --parallel-max \u0026lt;num\u0026gt; Maximum concurrency for parallel transfers --pass \u0026lt;phrase\u0026gt; Pass phrase for the private key --path-as-is Do not squash .. sequences in URL path --pinnedpubkey \u0026lt;hashes\u0026gt; FILE/HASHES Public key to verify peer against --post301 Do not switch to GET after following a 301 --post302 Do not switch to GET after following a 302 --post303 Do not switch to GET after following a 303 --preproxy [protocol://]host[:port] Use this proxy first -#, --progress-bar Display transfer progress as a bar --proto \u0026lt;protocols\u0026gt; Enable/disable PROTOCOLS --proto-default \u0026lt;protocol\u0026gt; Use PROTOCOL for any URL missing a scheme --proto-redir \u0026lt;protocols\u0026gt; Enable/disable PROTOCOLS on redirect -x, --proxy [protocol://]host[:port] Use this proxy --proxy-anyauth Pick any proxy authentication method --proxy-basic Use Basic authentication on the proxy --proxy-cacert \u0026lt;file\u0026gt; CA certificate to verify peer against for proxy --proxy-capath \u0026lt;dir\u0026gt; CA directory to verify peer against for proxy --proxy-cert \u0026lt;cert[:passwd]\u0026gt; Set client certificate for proxy --proxy-cert-type \u0026lt;type\u0026gt; Client certificate type for HTTPS proxy --proxy-ciphers \u0026lt;list\u0026gt; SSL ciphers to use for proxy --proxy-crlfile \u0026lt;file\u0026gt; Set a CRL list for proxy --proxy-digest Use Digest authentication on the proxy --proxy-header \u0026lt;header/@file\u0026gt; Pass custom header(s) to proxy --proxy-insecure Do HTTPS proxy connections without verifying the proxy --proxy-key \u0026lt;key\u0026gt; Private key for HTTPS proxy --proxy-key-type \u0026lt;type\u0026gt; Private key file type for proxy --proxy-negotiate Use HTTP Negotiate (SPNEGO) authentication on the proxy --proxy-ntlm Use NTLM authentication on the proxy --proxy-pass \u0026lt;phrase\u0026gt; Pass phrase for the private key for HTTPS proxy --proxy-pinnedpubkey \u0026lt;hashes\u0026gt; FILE/HASHES public key to verify proxy with --proxy-service-name \u0026lt;name\u0026gt; SPNEGO proxy service name --proxy-ssl-allow-beast Allow security flaw for interop for HTTPS proxy --proxy-ssl-auto-client-cert Use auto client certificate for proxy (Schannel) --proxy-tls13-ciphers \u0026lt;ciphersuite list\u0026gt; TLS 1.3 proxy cipher suites --proxy-tlsauthtype \u0026lt;type\u0026gt; TLS authentication type for HTTPS proxy --proxy-tlspassword \u0026lt;string\u0026gt; TLS password for HTTPS proxy --proxy-tlsuser \u0026lt;name\u0026gt; TLS username for HTTPS proxy --proxy-tlsv1 Use TLSv1 for HTTPS proxy -U, --proxy-user \u0026lt;user:password\u0026gt; Proxy user and password --proxy1.0 \u0026lt;host[:port]\u0026gt; Use HTTP/1.0 proxy on given port -p, --proxytunnel Operate through an HTTP proxy tunnel (using CONNECT) --pubkey \u0026lt;key\u0026gt; SSH Public key file name -Q, --quote \u0026lt;command\u0026gt; Send command(s) to server before transfer --random-file \u0026lt;file\u0026gt; File for reading random data from -r, --range \u0026lt;range\u0026gt; Retrieve only the bytes within RANGE --raw Do HTTP \u0026#34;raw\u0026#34;; no transfer decoding -e, --referer \u0026lt;URL\u0026gt; Referrer URL -J, --remote-header-name Use the header-provided filename -O, --remote-name Write output to a file named as the remote file --remote-name-all Use the remote file name for all URLs -R, --remote-time Set the remote file\u0026#39;s time on the local output --remove-on-error Remove output file on errors -X, --request \u0026lt;method\u0026gt; Specify request method to use --request-target \u0026lt;path\u0026gt; Specify the target for this request --resolve \u0026lt;[+]host:port:addr[,addr]...\u0026gt; Resolve the host+port to this address --retry \u0026lt;num\u0026gt; Retry request if transient problems occur --retry-all-errors Retry all errors (use with --retry) --retry-connrefused Retry on connection refused (use with --retry) --retry-delay \u0026lt;seconds\u0026gt; Wait time between retries --retry-max-time \u0026lt;seconds\u0026gt; Retry only within this period --sasl-authzid \u0026lt;identity\u0026gt; Identity for SASL PLAIN authentication --sasl-ir Enable initial response in SASL authentication --service-name \u0026lt;name\u0026gt; SPNEGO service name -S, --show-error Show error even when -s is used -s, --silent Silent mode --socks4 \u0026lt;host[:port]\u0026gt; SOCKS4 proxy on given host + port --socks4a \u0026lt;host[:port]\u0026gt; SOCKS4a proxy on given host + port --socks5 \u0026lt;host[:port]\u0026gt; SOCKS5 proxy on given host + port --socks5-basic Enable username/password auth for SOCKS5 proxies --socks5-gssapi Enable GSS-API auth for SOCKS5 proxies --socks5-gssapi-nec Compatibility with NEC SOCKS5 server --socks5-gssapi-service \u0026lt;name\u0026gt; SOCKS5 proxy service name for GSS-API --socks5-hostname \u0026lt;host[:port]\u0026gt; SOCKS5 proxy, pass host name to proxy -Y, --speed-limit \u0026lt;speed\u0026gt; Stop transfers slower than this -y, --speed-time \u0026lt;seconds\u0026gt; Trigger \u0026#39;speed-limit\u0026#39; abort after this time --ssl Try SSL/TLS --ssl-allow-beast Allow security flaw to improve interop --ssl-auto-client-cert Use auto client certificate (Schannel) --ssl-no-revoke Disable cert revocation checks (Schannel) --ssl-reqd Require SSL/TLS --ssl-revoke-best-effort Ignore missing/offline cert CRL dist points -2, --sslv2 Use SSLv2 -3, --sslv3 Use SSLv3 --stderr \u0026lt;file\u0026gt; Where to redirect stderr --styled-output Enable styled output for HTTP headers --suppress-connect-headers Suppress proxy CONNECT response headers --tcp-fastopen Use TCP Fast Open --tcp-nodelay Use the TCP_NODELAY option -t, --telnet-option \u0026lt;opt=val\u0026gt; Set telnet option --tftp-blksize \u0026lt;value\u0026gt; Set TFTP BLKSIZE option --tftp-no-options Do not send any TFTP options -z, --time-cond \u0026lt;time\u0026gt; Transfer based on a time condition --tls-max \u0026lt;VERSION\u0026gt; Set maximum allowed TLS version --tls13-ciphers \u0026lt;ciphersuite list\u0026gt; TLS 1.3 cipher suites to use --tlsauthtype \u0026lt;type\u0026gt; TLS authentication type --tlspassword \u0026lt;string\u0026gt; TLS password --tlsuser \u0026lt;name\u0026gt; TLS user name -1, --tlsv1 Use TLSv1.0 or greater --tlsv1.0 Use TLSv1.0 or greater --tlsv1.1 Use TLSv1.1 or greater --tlsv1.2 Use TLSv1.2 or greater --tlsv1.3 Use TLSv1.3 or greater --tr-encoding Request compressed transfer encoding --trace \u0026lt;file\u0026gt; Write a debug trace to FILE --trace-ascii \u0026lt;file\u0026gt; Like --trace, but without hex output --trace-time Add time stamps to trace/verbose output --unix-socket \u0026lt;path\u0026gt; Connect through this Unix domain socket -T, --upload-file \u0026lt;file\u0026gt; Transfer local FILE to destination --url \u0026lt;url\u0026gt; URL to work with -B, --use-ascii Use ASCII/text transfer -u, --user \u0026lt;user:password\u0026gt; Server user and password -A, --user-agent \u0026lt;name\u0026gt; Send User-Agent \u0026lt;name\u0026gt; to server -v, --verbose Make the operation more talkative -V, --version Show version number and quit -w, --write-out \u0026lt;format\u0026gt; Use output FORMAT after completion --xattr Store metadata in extended file attributes Return Code: 0\n","date":"2022-07-07T23:50:26Z","permalink":"https://pen2.com/cmd/ja/curl/","title":"curl"},{"content":"キーボード履歴ユーティリティ\ndoskey C:\\Windows\\system32\\doskey.exe /? Output:\n日本語\rコマンド ラインの編集、Windows コマンドの再呼び出し、マクロの作成を行います。 DOSKEY [/REINSTALL] [/LISTSIZE=サイズ] [/MACROS[:ALL | :実行ファイル名]] [/HISTORY] [/INSERT | /OVERSTRIKE] [/EXENAME=実行ファイル名] [/MACROFILE=ファイル名][マクロ名=[テキスト]] /REINSTALL Doskey の新しいコピーを組み込みます。 /LISTSIZE=サイズ コマンド履歴バッファーのサイズを設定します。 /MACROS すべての Doskey マクロを表示します。 /MACROS:ALL Doskey マクロを含むすべての実行可能ファイルの すべての Doskey マクロを表示します。 /MACROS:実行ファイル名 指定した実行可能ファイルのすべての Doskey マクロを 表示します。 /HISTORY メモリ内のすべてのコマンドを表示します。 /INSERT 入力したテキストが古いテキストに挿入されるように 指定します。 /OVERSTRIKE 入力したテキストが古いテキストを上書きするように 指定します。 /EXENAME=実行ファイル名 実行可能ファイルを指定します。 /MACROFILE=ファイル名 作成するマクロ ファイル名を指定します。 マクロ名 作成するマクロ名を指定します。 テキスト 登録するコマンドを指定します。 上下方向キーはコマンドを再度呼び出します。Esc はコマンド ラインをクリア します。F7 はコマンド履歴を表示します。Alt+F7 はコマンド履歴をクリアします。 F8 はコマンド履歴を検索します。F9 は数字によるコマンドを選択します。 Alt+F10 はマクロ定義をクリアします。 以下は、DOSKEY のマクロ定義で使用する特殊コードです: $T コマンド セパレーターです。マクロ中で複数のコマンドを定義できます。 $1-$9 バッチ パラメーターです。バッチ ファイル中の %1-%9 と同じ意味です。 $* コマンド ライン上のマクロ名に続くテキストで置き換えられるシンボルです。 英語\rEdits command lines, recalls Windows commands, and creates macros. DOSKEY [/REINSTALL] [/LISTSIZE=size] [/MACROS[:ALL | :exename]] [/HISTORY] [/INSERT | /OVERSTRIKE] [/EXENAME=exename] [/MACROFILE=filename] [macroname=[text]] /REINSTALL Installs a new copy of Doskey. /LISTSIZE=size Sets size of command history buffer. /MACROS Displays all Doskey macros. /MACROS:ALL Displays all Doskey macros for all executables which have Doskey macros. /MACROS:exename Displays all Doskey macros for the given executable. /HISTORY Displays all commands stored in memory. /INSERT Specifies that new text you type is inserted in old text. /OVERSTRIKE Specifies that new text overwrites old text. /EXENAME=exename Specifies the executable. /MACROFILE=filename Specifies a file of macros to install. macroname Specifies a name for a macro you create. text Specifies commands you want to record. UP and DOWN ARROWS recall commands; ESC clears command line; F7 displays command history; ALT+F7 clears command history; F8 searches command history; F9 selects a command by number; ALT+F10 clears macro definitions. The following are some special codes in Doskey macro definitions: $T Command separator. Allows multiple commands in a macro. $1-$9 Batch parameters. Equivalent to %1-%9 in batch programs. $* Symbol replaced by everything following macro name on command line. Return Code: 0\n","date":"2022-07-07T23:50:26Z","permalink":"https://pen2.com/cmd/ja/doskey/","title":"doskey"},{"content":"文字列検索 (grep) ユーティリティ\nfind C:\\Windows\\system32\\find.exe /? Output:\n日本語\rファイル (複数可) 内のテキスト文字列を検索します。 FIND [/V] [/C] [/N] [/I] [/OFF[LINE]] \u0026#34;文字列\u0026#34; [[ドライブ:][パス]ファイル名[...]] /V 指定した文字列を含まない行をすべて表示します。 /C 指定した文字列を含む行の数だけを表示します。 /N 行番号を表示します。 /I 大文字と小文字の区別をしないで検索します。 /OFF[LINE] オフライン属性が設定されたファイルをスキップしません。 \u0026#34;文字列\u0026#34; 検索する文字列を指定します。 [ドライブ:][パス]ファイル名 検索するファイル (複数可) を指定します。 パスが指定されていないときは、プロンプトで入力されたテキストまた は別のコマンドからパイプ処理で渡されたテキストを検索します。 英語\rSearches for a text string in a file or files. FIND [/V] [/C] [/N] [/I] [/OFF[LINE]] \u0026#34;string\u0026#34; [[drive:][path]filename[ ...]] /V Displays all lines NOT containing the specified string. /C Displays only the count of lines containing the string. /N Displays line numbers with the displayed lines. /I Ignores the case of characters when searching for the string. /OFF[LINE] Do not skip files with offline attribute set. \u0026#34;string\u0026#34; Specifies the text string to find. [drive:][path]filename Specifies a file or files to search. If a path is not specified, FIND searches the text typed at the prompt or piped from another command. Return Code: 0\n","date":"2022-07-07T23:50:26Z","permalink":"https://pen2.com/cmd/ja/find/","title":"find"},{"content":"DOS Device MODE Utility\nmode C:\\Windows\\system32\\mode.com /? Output:\n日本語\rシステム デバイスを設定します。 シリアル ポート: MODE COMm[:] [BAUD=b] [PARITY=p] [DATA=d] [STOP=s] [to=on|off] [xon=on|off] [odsr=on|off] [octs=on|off] [dtr=on|off|hs] [rts=on|off|hs|tg] [idsr=on|off] デバイス状態: MODE [デバイス] [/STATUS] リダイレクト印刷: MODE LPTn[:]=COMm[:] コード ページ選択: MODE CON[:] CP SELECT=yyy コード ページ状態: MODE CON[:] CP [/STATUS] 表示モード: MODE CON[:] [COLS=c] [LINES=n] キーボード速度: MODE CON[:] [RATE=r DELAY=d] 英語\rConfigures system devices. Serial port: MODE COMm[:] [BAUD=b] [PARITY=p] [DATA=d] [STOP=s] [to=on|off] [xon=on|off] [odsr=on|off] [octs=on|off] [dtr=on|off|hs] [rts=on|off|hs|tg] [idsr=on|off] Device Status: MODE [device] [/STATUS] Redirect printing: MODE LPTn[:]=COMm[:] Select code page: MODE CON[:] CP SELECT=yyy Code page status: MODE CON[:] CP [/STATUS] Display mode: MODE CON[:] [COLS=c] [LINES=n] Typematic rate: MODE CON[:] [RATE=r DELAY=d] Return Code: 0\n","date":"2022-07-07T23:50:26Z","permalink":"https://pen2.com/cmd/ja/mode/","title":"mode"},{"content":"Net Command\nnet1 C:\\Windows\\system32\\net1.exe /? STDERR:\nJa\rこのコマンドの構文は次のとおりです: NET [ ACCOUNTS | COMPUTER | CONFIG | CONTINUE | FILE | GROUP | HELP | HELPMSG | LOCALGROUP | PAUSE | SESSION | SHARE | START | STATISTICS | STOP | TIME | USE | USER | VIEW ] En\rThe syntax of this command is: NET [ ACCOUNTS | COMPUTER | CONFIG | CONTINUE | FILE | GROUP | HELP | HELPMSG | LOCALGROUP | PAUSE | SESSION | SHARE | START | STATISTICS | STOP | TIME | USE | USER | VIEW ] Return Code: 1\n","date":"2022-07-07T23:50:26Z","permalink":"https://pen2.com/cmd/ja/net1/","title":"net1"},{"content":"プリント ユーティリティ\nprint C:\\Windows\\system32\\print.exe /? Output:\n日本語\rテキスト ファイルを印刷します。 PRINT [/D:デバイス] [[ドライブ:][パス]ファイル名[...]] /D:デバイス 印刷デバイスを指定します。 英語\rPrints a text file. PRINT [/D:device] [[drive:][path]filename[...]] /D:device Specifies a print device. Return Code: 0\n","date":"2022-07-07T23:50:26Z","permalink":"https://pen2.com/cmd/ja/print/","title":"print"},{"content":"ファイルの置換ユーティリティ\nreplace C:\\Windows\\system32\\replace.exe /? Output:\n日本語\rファイルを置き換えます (更新)。 REPLACE [ドライブ1:][パス1]ファイル名 [ドライブ2:][パス2] [/A] [/P] [/R] [/W] REPLACE [ドライブ1:][パス1]ファイル名 [ドライブ2:][パス2] [/P] [/R] [/S] [/W] [/U] [ドライブ1:][パス1]ファイル名 置き換える送り側ファイル (複数可) を指定します。 [ドライブ2:][パス2] 置き換えられるファイルのある受け側のディレクトリを 指定します。 /A 新しいファイルを受け側のディレクトリに追加します。 /S または /U とは同時に使用できません。 /P ファイルの置き換えや追加をする前に確認するための プロンプトを表示します。 /R 読み取り専用のファイルも置き換えます。 /S 受け側ディレクトリのすべてのサブディレクトリの ファイルを置き換えます。 /A と同時には使用できません。 /W 始める前にディスクの挿入を待ちます。 /U 送り側ファイルよりも古いファイルのみを 置き換え (更新) ます。 /A と同時には使用できません。 英語\rReplaces files. REPLACE [drive1:][path1]filename [drive2:][path2] [/A] [/P] [/R] [/W] REPLACE [drive1:][path1]filename [drive2:][path2] [/P] [/R] [/S] [/W] [/U] [drive1:][path1]filename Specifies the source file or files. [drive2:][path2] Specifies the directory where files are to be replaced. /A Adds new files to destination directory. Cannot use with /S or /U switches. /P Prompts for confirmation before replacing a file or adding a source file. /R Replaces read-only files as well as unprotected files. /S Replaces files in all subdirectories of the destination directory. Cannot use with the /A switch. /W Waits for you to insert a disk before beginning. /U Replaces (updates) only files that are older than source files. Cannot use with the /A switch. Return Code: 0\n","date":"2022-07-07T23:50:26Z","permalink":"https://pen2.com/cmd/ja/replace/","title":"replace"},{"content":"Subst ユーティリティ\nsubst C:\\Windows\\system32\\subst.exe /? Output:\n日本語\rパスをドライブ名に関連付けます。 SUBST [ドライブ1: [ドライブ2:]パス] SUBST ドライブ1: /D ドライブ1: パスを割り当てる仮想ドライブを指定します。 [ドライブ2:]パス 仮想ドライブに割り当てる物理ドライブとパスを指定します。 /D 置換した (仮想) ドライブを削除します。 現在の仮想ドライブ一覧を表示するときは、パラメーターを指定せずに SUBST と入力してください。 英語\rAssociates a path with a drive letter. SUBST [drive1: [drive2:]path] SUBST drive1: /D drive1: Specifies a virtual drive to which you want to assign a path. [drive2:]path Specifies a physical drive and path you want to assign to a virtual drive. /D Deletes a substituted (virtual) drive. Type SUBST with no parameters to display a list of current virtual drives. Return Code: 0\n","date":"2022-07-07T23:50:26Z","permalink":"https://pen2.com/cmd/ja/subst/","title":"subst"},{"content":"bsdtar archive tool\ntar C:\\Windows\\system32\\tar.exe \u0026ndash;help Output:\ntar.exe(bsdtar): manipulate archive files First option must be a mode specifier: -c Create -r Add/Replace -t List -u Update -x Extract Common Options: -b # Use # 512-byte records per I/O block -f \u0026lt;filename\u0026gt; Location of archive (default \\\\.\\tape0) -v Verbose -w Interactive Create: tar.exe -c [options] [\u0026lt;file\u0026gt; | \u0026lt;dir\u0026gt; | @\u0026lt;archive\u0026gt; | -C \u0026lt;dir\u0026gt; ] \u0026lt;file\u0026gt;, \u0026lt;dir\u0026gt; add these items to archive -z, -j, -J, --lzma Compress archive with gzip/bzip2/xz/lzma --format {ustar|pax|cpio|shar} Select archive format --exclude \u0026lt;pattern\u0026gt; Skip files that match pattern -C \u0026lt;dir\u0026gt; Change to \u0026lt;dir\u0026gt; before processing remaining files @\u0026lt;archive\u0026gt; Add entries from \u0026lt;archive\u0026gt; to output List: tar.exe -t [options] [\u0026lt;patterns\u0026gt;] \u0026lt;patterns\u0026gt; If specified, list only entries that match Extract: tar.exe -x [options] [\u0026lt;patterns\u0026gt;] \u0026lt;patterns\u0026gt; If specified, extract only entries that match -k Keep (don\u0026#39;t overwrite) existing files -m Don\u0026#39;t restore modification times -O Write entries to stdout, don\u0026#39;t restore to disk -p Restore permissions (including ACLs, owner, file flags) bsdtar 3.5.2 - libarchive 3.5.2 zlib/1.2.5.f-ipp Return Code: 0\n","date":"2022-07-07T23:50:26Z","permalink":"https://pen2.com/cmd/ja/tar/","title":"tar"},{"content":"Tree Walk Utility\ntree C:\\Windows\\system32\\tree.com /? Output:\n日本語\rドライブやパスのフォルダー構造を図式表示します。 TREE [ドライブ:][パス] [/F] [/A] /F 各フォルダーのファイル名を表示します。 /A 拡張文字ではなく、ASCII 文字で表示します。 英語\rGraphically displays the folder structure of a drive or path. TREE [drive:][path] [/F] [/A] /F Display the names of the files in each folder. /A Use ASCII instead of extended characters. Return Code: 0\n","date":"2022-07-07T23:50:26Z","permalink":"https://pen2.com/cmd/ja/tree/","title":"tree"},{"content":"CodeIntegrity Diagnostic Tool\ncidiag C:\\Windows\\system32\\CIDiag.exe /? Output:\nUsage: \u0026#34;CIDiag.exe /start\u0026#34;, \u0026#34;CIDiag.exe /stop \u0026lt;outputpath\u0026gt;\u0026#34;, or \u0026#34;CIDiag.exe /stop /nologs \u0026lt;outputpath\u0026gt;\u0026#34; Return Code: 1\n","date":"2022-07-07T23:50:25Z","permalink":"https://pen2.com/cmd/ja/cidiag/","title":"cidiag"},{"content":" mbr2gpt C:\\Windows\\system32\\MBR2GPT.EXE /? Output:\nConverts a disk from MBR to GPT partitioning without modifying or deleting data on the disk. MBR2GPT.exe /validate|convert [/disk:\u0026lt;diskNumber\u0026gt;] [/logs:\u0026lt;logDirectory\u0026gt;] [/map:\u0026lt;source\u0026gt;=\u0026lt;destination\u0026gt;] [/allowFullOS] Where: /validate - Validates that the selected disk can be converted without performing the actual conversion. /convert - Validates that the selected disk can be converted and performs the actual conversion. /disk:\u0026lt;diskNumber\u0026gt; - Specifies the disk number of the disk to be processed. If not specified, the system disk is processed. /logs:\u0026lt;logDirectory\u0026gt; - Specifies the directory for logging. By default logs are created in the %windir% directory. /map:\u0026lt;source\u0026gt;=\u0026lt;destination\u0026gt; - Specifies the GPT partition type to be used for a given MBR partition type not recognized by Windows. Multiple /map switches are allowed. /allowFullOS - Allows the tool to be used from the full Windows environment. By default, this tool can only be used from the Windows Preinstallation Environment. Return Code: 0\n","date":"2022-07-07T23:49:58Z","permalink":"https://pen2.com/cmd/ja/mbr2gpt/","title":"mbr2gpt"},{"content":"Microsoft R Console Based Script Host\ncscript C:\\Windows\\system32\\cscript.exe /? Output:\n日本語\rMicrosoft (R) Windows Script Host Version 5.812 Copyright (C) Microsoft Corporation. All rights reserved. 使い方 : CScript scriptname.extension [オプション...] [引数...] オプション : //B バッチ モード : スクリプトのエラーおよびプロンプトを非表示にする //D アクティブ デバッグを使用可能にする //E:engine スクリプト実行時にエンジンを使用する //H:CScript 既定のスクリプト ホストを CScript.exe に変更する //H:WScript 既定のスクリプト ホストを WScript.exe に変更する (既定値) //I 対話モード (既定値、//B と逆の動作) //Job:xxxx WSF ジョブを実行する //Logo ロゴを表示する (既定値) //Nologo ロゴを表示しない : 実行時に見出しを表示しない //S このユーザーの現在のコマンド ライン オプションを保存する //T:nn 秒単位のタイムアウト時間 : スクリプトを実行できる時間の最大値 //X デバッガでスクリプトを実行する //U コンソールからリダイレクトされた I/O に Unicode を使用する 英語\rMicrosoft (R) Windows Script Host Version 5.812 Copyright (C) Microsoft Corporation. All rights reserved. Usage: CScript scriptname.extension [option...] [arguments...] Options: //B Batch mode: Suppresses script errors and prompts from displaying //D Enable Active Debugging //E:engine Use engine for executing script //H:CScript Changes the default script host to CScript.exe //H:WScript Changes the default script host to WScript.exe (default) //I Interactive mode (default, opposite of //B) //Job:xxxx Execute a WSF job //Logo Display logo (default) //Nologo Prevent logo display: No banner will be shown at execution time //S Save current command line options for this user //T:nn Time out in seconds: Maximum time a script is permitted to run //X Execute script in debugger //U Use Unicode for redirected I/O from the console Return Code: 0\n","date":"2022-07-07T23:49:55Z","permalink":"https://pen2.com/cmd/ja/cscript/","title":"cscript"},{"content":"タスク スケジューラ構成ツール\nschtasks C:\\Windows\\system32\\schtasks.exe /? Output:\n日本語\rSCHTASKS /パラメーター [引数] 説明: 管理者がローカルまたはリモートのシステム上のスケジュール タスクの作成、 削除、クエリ実行、変更、実行および終了を行います。 パラメーター一覧: /Create スケジュール タスクを新しく作成します。 /Delete スケジュール タスクを削除します。 /Query スケジュール タスクをすべて表示します。 /Change スケジュール タスクのプロパティを変更します。 /Run スケジュールされているタスクをオン デマンドで実行します。 /End 現在実行中のスケジュール タスクを停止します。 /ShowSid スケジュールされたタスクの名前に対応するセキュリティ ID を 表示します。 /? このヘルプを表示します。 Examples: SCHTASKS SCHTASKS /? SCHTASKS /Run /? SCHTASKS /End /? SCHTASKS /Create /? SCHTASKS /Delete /? SCHTASKS /Query /? SCHTASKS /Change /? SCHTASKS /ShowSid /? 英語\rSCHTASKS /parameter [arguments] Description: Enables an administrator to create, delete, query, change, run and end scheduled tasks on a local or remote system. Parameter List: /Create Creates a new scheduled task. /Delete Deletes the scheduled task(s). /Query Displays all scheduled tasks. /Change Changes the properties of scheduled task. /Run Runs the scheduled task on demand. /End Stops the currently running scheduled task. /ShowSid Shows the security identifier corresponding to a scheduled task name. /? Displays this help message. Examples: SCHTASKS SCHTASKS /? SCHTASKS /Run /? SCHTASKS /End /? SCHTASKS /Create /? SCHTASKS /Delete /? SCHTASKS /Query /? SCHTASKS /Change /? SCHTASKS /ShowSid /? Return Code: 0\n","date":"2022-07-07T23:49:55Z","permalink":"https://pen2.com/cmd/ja/schtasks/","title":"schtasks"},{"content":"Microsoft R Windows Based Script Host\nwscript C:\\Windows\\system32\\wscript.exe /? Output:\n日本語\r--------------------------- Windows Script Host --------------------------- 使い方 : WScript scriptname.extension [オプション...] [引数...] オプション : //B\tバッチ モード : スクリプトのエラーおよびプロンプトを非表示にする //D\tアクティブ デバッグを使用可能にする //E:engine\tスクリプト実行時にエンジンを使用する //H:CScript\t既定のスクリプト ホストを CScript.exe に変更する //H:WScript\t既定のスクリプト ホストを WScript.exe に変更する (既定値) //I\t対話モード (既定値、//B と逆の動作) //Job:xxxx\tWSF ジョブを実行する //Logo\tロゴを表示する (既定値) //Nologo\tロゴを表示しない : 実行時に見出しを表示しない //S\tこのユーザーの現在のコマンド ライン オプションを保存する //T:nn\t秒単位のタイムアウト時間 : スクリプトを実行できる時間の最大値 //X\tデバッガでスクリプトを実行する --------------------------- OK --------------------------- 英語\r--------------------------- Windows Script Host --------------------------- Usage: WScript scriptname.extension [option...] [arguments...] Options: //B\tBatch mode: Suppresses script errors and prompts from displaying //D\tEnable Active Debugging //E:engine\tUse engine for executing script //H:CScript\tChanges the default script host to CScript.exe //H:WScript\tChanges the default script host to WScript.exe (default) //I\tInteractive mode (default, opposite of //B) //Job:xxxx\tExecute a WSF job //Logo\tDisplay logo (default) //Nologo\tPrevent logo display: No banner will be shown at execution time //S\tSave current command line options for this user //T:nn\tTime out in seconds: Maximum time a script is permitted to run //X\tExecute script in debugger --------------------------- OK --------------------------- Return Code: 1\n","date":"2022-07-07T23:49:55Z","permalink":"https://pen2.com/cmd/ja/wscript/","title":"wscript"},{"content":"リモート アクセス ダイヤラー\nrasautou C:\\Windows\\system32\\rasautou.exe -? Output:\nUsage: rasautou [-f phonebook] [-a address] [-e entry] [-s] Return Code: 1\n","date":"2022-07-07T23:49:54Z","permalink":"https://pen2.com/cmd/ja/rasautou/","title":"rasautou"},{"content":"リモート アクセス コマンド ライン ダイヤル UI\nrasdial C:\\Windows\\system32\\rasdial.exe /? Output:\n日本語\r使用法: C:\\Windows\\system32\\rasdial.exe エントリ名 [ユーザー名 [パスワード|*]] [/DOMAIN:ドメイン] [/PHONE:電話番号] [/CALLBACK:コールバック番号] [/PHONEBOOK:電話帳ファイル] [/PREFIXSUFFIX] C:\\Windows\\system32\\rasdial.exe [エントリ名] /DISCONNECT C:\\Windows\\system32\\rasdial.exe \u0026#39;https://go.microsoft.com/fwlink/?LinkId=521839\u0026#39; にある プライバシーに関する声明を参照してください 英語\rUSAGE: C:\\Windows\\system32\\rasdial.exe entryname [username [password|*]] [/DOMAIN:domain] [/PHONE:phonenumber] [/CALLBACK:callbacknumber] [/PHONEBOOK:phonebookfile] [/PREFIXSUFFIX] C:\\Windows\\system32\\rasdial.exe [entryname] /DISCONNECT C:\\Windows\\system32\\rasdial.exe Please refer to our privacy statement at \u0026#39;https://go.microsoft.com/fwlink/?LinkId=521839\u0026#39; Return Code: 0\n","date":"2022-07-07T23:49:54Z","permalink":"https://pen2.com/cmd/ja/rasdial/","title":"rasdial"},{"content":"PnP 無人アクション\npnpunattend C:\\Windows\\system32\\PnPUnattend.exe /? Output:\n日本語\r: AuditSystem : PnPUnattend.exe [auditSystem | /help /? /h] [/s] [/L] auditSystem /help /? /h /s /L 英語\rDESCRIPTION: AuditSystem, Unattend online driver install USAGE: PnPUnattend.exe [auditSystem | /help /? /h] [/s] [/L] auditSystem Online driver install. /help /? /h This help. /s Search without installing. /L Print Logging information to the command line. Return Code: 87\n","date":"2022-07-07T23:49:53Z","permalink":"https://pen2.com/cmd/ja/pnpunattend/","title":"pnpunattend"},{"content":"Microsoft PnP ユーティリティ - ドライバー パッケージを追加、削除、エクスポート、および列挙するツール。\npnputil C:\\Windows\\system32\\pnputil.exe /? Output:\n日本語\rMicrosoft PnP ユーティリティ PNPUTIL [/add-driver \u0026lt;...\u0026gt; | /delete-driver \u0026lt;...\u0026gt; | /export-driver \u0026lt;...\u0026gt; | /enum-drivers | /enum-devices [\u0026lt;...\u0026gt;] |/enum-interfaces [\u0026lt;...\u0026gt;] | /disable-device \u0026lt;...\u0026gt; |/enable-device \u0026lt;...\u0026gt; | /restart-device \u0026lt;...\u0026gt; | /remove-device \u0026lt;...\u0026gt; | /scan-devices [\u0026lt;...\u0026gt;] | /?] コマンド: /add-driver \u0026lt;filename.inf | *.inf\u0026gt; [/subdirs] [/install] [/reboot] ドライバー パッケージをドライバー ストアに追加します。 /subdirs - サブディレクトリをスキャンしてドライバー パッケージを探します。 /install - 一致するすべてのデバイスでドライバーをインストール/更新します。 /再起動 - 操作を完了するために必要な場合は、システムを再起動します。 例: ドライバー パッケージの追加: pnputil /add-driver x:\\driver.inf 複数のドライバー パッケージを追加: pnputil /add-driver c:\\oem\\*.inf ドライバー パッケージの追加とインストール: pnputil /add-driver device.inf /install /delete-driver \u0026lt;oem#.inf\u0026gt; [/uninstall] [/force] [/reboot] ドライバー ストアからドライバー パッケージを削除します。 /uninstall - ドライバー パッケージを使用しているデバイスからドライバー パッケージをアンインストールします。 /force - デバイスで使用中であってもドライバー パッケージを削除します。 /再起動 - 操作を完了するために必要な場合は、システムを再起動します。 例: ドライバー パッケージの削除: pnputil /delete-driver oem0.inf ドライバー パッケージの強制削除: pnputil /delete-driver oem1.inf /force /export-driver \u0026lt;oem#.inf | *\u0026gt; \u0026lt;ターゲット ディレクトリ\u0026gt; ドライバー パッケージをドライバー ストアからターゲット ディレクトリにエクスポートします。 例: ドライバー パッケージのエクスポート : pnputil /export-driver oem6.inf . すべてのドライバー パッケージをエクスポート: pnputil /export-driver * c:\\backup /enum-drivers ドライバー ストアにあるサード パーティのドライバー パッケージをすべて列挙します。 例: すべての OEM ドライバー パッケージを列挙します: pnputil /enum-drivers /disable-device \u0026lt;インスタンス ID\u0026gt; [/reboot] システム上のデバイスを無効にします。 /再起動 - 操作を完了するために必要な場合は、システムを再起動します。 例: デバイスを無効にします: pnputil /disable-device \u0026#34;USB\\VID_045E\u0026amp;PID_00DB\\6\u0026amp;870CE29\u0026amp;0\u0026amp;1\u0026#34; /enable-device \u0026lt;インスタンス ID\u0026gt; [/reboot] システム上のデバイスを有効にします。 /再起動 - 操作を完了するために必要な場合は、システムを再起動します。 例: デバイスを有効にします: pnputil /enable-device \u0026#34;USB\\VID_045E\u0026amp;PID_00DB\\6\u0026amp;870CE29\u0026amp;0\u0026amp;1\u0026#34; /restart-device \u0026lt;インスタンス ID\u0026gt; [/reboot] システム上のデバイスを再起動します。 /再起動 - 操作を完了するために必要な場合は、システムを再起動します。 例: デバイスを再起動します: pnputil /restart-device \u0026#34;USB\\VID_045E\u0026amp;PID_00DB\\6\u0026amp;870CE29\u0026amp;0\u0026amp;1\u0026#34; /remove-device \u0026lt;インスタンス ID\u0026gt; [/subtree] [/reboot] システムからデバイスを削除しようとしました。 /subtree - 子デバイスも含めて、デバイス サブツリー全体を削除します。 /再起動 - 操作を完了するために必要な場合は、システムを再起動します。 例: デバイスの削除: pnputil /remove-device \u0026#34;USB\\VID_045E\u0026amp;PID_00DB\\6\u0026amp;870CE29\u0026amp;0\u0026amp;1\u0026#34; /scan-devices [/instanceid \u0026lt;インスタンス ID\u0026gt;] [/async] システムでデバイス ハードウェアの変更をスキャンします。 /instanceid \u0026lt;インスタンス ID\u0026gt; - デバイス サブツリーで変更をスキャンします。 /async - 変更を非同期にスキャンします。 例: デバイスのスキャン: pnputil /scan-devices /enum-devices [/connected | /disconnected] [/instanceid \u0026lt;インスタンス ID\u0026gt;] [/class \u0026lt;名前 | GUID\u0026gt;] [/problem [\u0026lt;code\u0026gt;]] [/ids] [/relations] [/drivers] システム上のすべてのデバイスを列挙します。 /connected | /disconnected - 接続されているデバイスでフィルターするか、 接続解除されているデバイスでフィルターします。 /instanceid \u0026lt;instance ID\u0026gt; - デバイス インスタンス ID でフィルターします。 /class \u0026lt;name | GUID\u0026gt; - デバイス クラス名または GUID でフィルターします。 /problem [\u0026lt;コード\u0026gt;] - 問題があるデバイスでフィルターするか、 特定の問題コードでフィルターします。 /ids - ハードウェア ID と互換性 ID を表示します。 /relations - 親と子のデバイスの関係を表示します。 /drivers - 一致するインストール済みドライバーを表示します。 例: システム上の接続されているデバイスのみを列挙します: pnputil /enum-devices /connected 特定のインスタンス ID を持つデバイスを列挙します: pnputil /enum-devices /instanceid \u0026#34;ACPI\\PNP0A08\\1\u0026#34; 特定のクラスを持つすべてのデバイスを列挙します: pnputil /enum-devices /class Display pnputil /enum-devices /class {4d36e97d-e325-11ce-bfc1-08002be10318} 特定の問題コードを持つすべてのデバイスを列挙します: pnputil /enum-devices /problem 28 pnputil /enum-devices /problem 0xA 問題のあるすべてのデバイスを列挙し、ハードウェア/互換性 ID を表示します: pnputil /enum-devices /problem /ids /enum-interfaces [/enabled | /disabled] [/class \u0026lt;GUID\u0026gt;] システム上のすべてのデバイス インターフェイスを列挙します。 /enabled | /disabled - 有効になっているインターフェイスでフィルターするか、 無効になっているインターフェイスでフィルターします。 /class \u0026lt;GUID\u0026gt; - インターフェイス クラス GUID でフィルターします。 例: システム上で有効になっているインターフェイスのみを列挙します: pnputil /enum-interfaces /enabled 特定のインターフェイス クラス GUID を持つすべてのインターフェイスを列挙します: pnputil /enum-interfaces /class {884b96c3-56ef-11d1-bc8c-00a0c91405dd} /? 使用法画面を表示します。 英語\rMicrosoft PnP Utility PNPUTIL [/add-driver \u0026lt;...\u0026gt; | /delete-driver \u0026lt;...\u0026gt; | /export-driver \u0026lt;...\u0026gt; | /enum-drivers | /enum-devices [\u0026lt;...\u0026gt;] | /enum-interfaces [\u0026lt;...\u0026gt;] | /disable-device \u0026lt;...\u0026gt; | /enable-device \u0026lt;...\u0026gt; | /restart-device \u0026lt;...\u0026gt; | /remove-device \u0026lt;...\u0026gt; | /scan-devices [\u0026lt;...\u0026gt;] | /?] Commands: /add-driver \u0026lt;filename.inf | *.inf\u0026gt; [/subdirs] [/install] [/reboot] Add driver package(s) into the driver store. /subdirs - traverse sub directories for driver packages. /install - install/update drivers on any matching devices. /reboot - reboot system if needed to complete the operation. Examples: Add driver package: pnputil /add-driver x:\\driver.inf Add multiple driver packages: pnputil /add-driver c:\\oem\\*.inf Add and install driver package: pnputil /add-driver device.inf /install /delete-driver \u0026lt;oem#.inf\u0026gt; [/uninstall] [/force] [/reboot] Delete driver package from the driver store. /uninstall - uninstall driver package from any devices using it. /force - delete driver package even when it is in use by devices. /reboot - reboot system if needed to complete the operation. Examples: Delete driver package: pnputil /delete-driver oem0.inf Force delete driver package: pnputil /delete-driver oem1.inf /force /export-driver \u0026lt;oem#.inf | *\u0026gt; \u0026lt;target directory\u0026gt; Export driver package(s) from the driver store into a target directory. Examples: Export driver package: pnputil /export-driver oem6.inf . Export all driver packages: pnputil /export-driver * c:\\backup /enum-drivers Enumerate all 3rd party driver packages in the driver store. Examples: Enumerate all OEM driver packages: pnputil /enum-drivers /disable-device \u0026lt;instance ID\u0026gt; [/reboot] Disable devices on the system. /reboot - reboot system if needed to complete the operation. Examples: Disable device: pnputil /disable-device \u0026#34;USB\\VID_045E\u0026amp;PID_00DB\\6\u0026amp;870CE29\u0026amp;0\u0026amp;1\u0026#34; /enable-device \u0026lt;instance ID\u0026gt; [/reboot] Enable devices on the system. /reboot - reboot system if needed to complete the operation. Examples: Enable device: pnputil /enable-device \u0026#34;USB\\VID_045E\u0026amp;PID_00DB\\6\u0026amp;870CE29\u0026amp;0\u0026amp;1\u0026#34; /restart-device \u0026lt;instance ID\u0026gt; [/reboot] Restart devices on the system. /reboot - reboot system if needed to complete the operation. Examples: Restart device: pnputil /restart-device \u0026#34;USB\\VID_045E\u0026amp;PID_00DB\\6\u0026amp;870CE29\u0026amp;0\u0026amp;1\u0026#34; /remove-device \u0026lt;instance ID\u0026gt; [/subtree] [/reboot] Attempt to remove a device from the system. /subtree - remove entire device subtree, including any child devices. /reboot - reboot system if needed to complete the operation. Examples: Remove device: pnputil /remove-device \u0026#34;USB\\VID_045E\u0026amp;PID_00DB\\6\u0026amp;870CE29\u0026amp;0\u0026amp;1\u0026#34; /scan-devices [/instanceid \u0026lt;instance ID\u0026gt;] [/async] Scan the system for any device hardware changes. /instanceid \u0026lt;instance ID\u0026gt; - scan device subtree for changes. /async - scan for changes asynchronously. Examples: Scan devices: pnputil /scan-devices /enum-devices [/connected | /disconnected] [/instanceid \u0026lt;instance ID\u0026gt;] [/class \u0026lt;name | GUID\u0026gt;] [/problem [\u0026lt;code\u0026gt;]] [/ids] [/relations] [/drivers] Enumerate all devices on the system. /connected | /disconnected - filter by connected devices or filter by disconnected devices. /instanceid \u0026lt;instance ID\u0026gt; - filter by device instance ID. /class \u0026lt;name | GUID\u0026gt; - filter by device class name or GUID. /problem [\u0026lt;code\u0026gt;] - filter by devices with problems or filter by specific problem code. /ids - display hardware IDs and compatible IDs. /relations - display parent and child device relations. /drivers - display matching and installed drivers. Examples: Enumerate only connected devices on the system: pnputil /enum-devices /connected Enumerate device with specific instance ID: pnputil /enum-devices /instanceid \u0026#34;ACPI\\PNP0A08\\1\u0026#34; Enumerate all devices with specific class: pnputil /enum-devices /class Display pnputil /enum-devices /class {4d36e97d-e325-11ce-bfc1-08002be10318} Enumerate all devices with specific problem code: pnputil /enum-devices /problem 28 pnputil /enum-devices /problem 0xA Enumerate all devices with problems and display hardware/compatible IDs: pnputil /enum-devices /problem /ids /enum-interfaces [/enabled | /disabled] [/class \u0026lt;GUID\u0026gt;] Enumerate all device interfaces on the system. /enabled | /disabled - filter by enabled interfaces or filter by disabled interfaces. /class \u0026lt;GUID\u0026gt; - filter by interface class GUID. Examples: Enumerate only enabled interfaces on the system: pnputil /enum-interfaces /enabled Enumerate all interfaces with specific interface class GUID: pnputil /enum-interfaces /class {884b96c3-56ef-11d1-bc8c-00a0c91405dd} /? Show usage screen. Return Code: 0\n","date":"2022-07-07T23:49:53Z","permalink":"https://pen2.com/cmd/ja/pnputil/","title":"pnputil"},{"content":"ドメインの参加のための無人セットアップ汎用コマンド\ndjoin C:\\Windows\\system32\\djoin.exe /? Output:\n日本語\r使用法: djoin.exe [/オプション] /PROVISION - ドメイン内のコンピューター アカウントをプロビジョニングします。 /DOMAIN \u0026lt;名前\u0026gt; - 参加先のドメインの \u0026lt;名前\u0026gt; /MACHINE \u0026lt;名前\u0026gt; - 指定したドメインに参加するコンピューターのホストの \u0026lt;名前\u0026gt; /MACHINEOU \u0026lt;OU\u0026gt; - アカウントの作成先の \u0026lt;OU\u0026gt;。省略可能です。 /DCNAME \u0026lt;DC\u0026gt; - アカウントの作成対象の \u0026lt;DC\u0026gt;。省略可能です。 /REUSE - 任意の既存アカウントを再利用します (パスワードは リセットされます)。 /SAVEFILE \u0026lt;ファイル パス\u0026gt; - プロビジョニング データを \u0026lt;ファイル パス\u0026gt; に 指定した場所のファイルに保存します。 /NOSEARCH - アカウントの競合の検出を省略します (DCNAME が必要) (高速)。 /DOWNLEVEL - Windows Server 2008 DC 以前の使用をサポートします。 /PRINTBLOB - 応答ファイルのための Base64 エンコード メタデータ BLOB を 返します。 /DEFPWD - 既定のコンピューター アカウント パスワードを使用します (非推奨)。 /ROOTCACERTS - ルート証明機関の証明書を含めます。省略可能です。 /CERTTEMPLATE \u0026lt;名前\u0026gt; - コンピューター証明書テンプレートの \u0026lt;名前\u0026gt;。省略 可能です。ルート証明機関の証明書を含めます。 /POLICYNAMES \u0026lt;名前\u0026gt; - セミコロンで区切られたポリシー名のリスト。省略可能 です。各名前は AD の GPO の displayName です。 /POLICYPATHS \u0026lt;パス\u0026gt; - セミコロンで区切られたポリシー パスのリスト。省略 可能です。各パスはレジストリ ポリシー ファイルへの パスです。 /NETBIOS \u0026lt;名前\u0026gt; - 指定したドメインに参加するコンピューターの NetBIOS の \u0026lt;名前\u0026gt;。省略可能です。 /PSITE \u0026lt;名前\u0026gt; - 指定したドメインに参加するコンピューターを配置する固定 サイトの \u0026lt;名前\u0026gt;。省略可能です。 /DSITE \u0026lt;名前\u0026gt; - 指定したドメインに参加するコンピューターを最初に配置する 動的サイトの \u0026lt;名前\u0026gt;。省略可能です。 /PRIMARYDNS \u0026lt;名前\u0026gt; - 指定したドメインに参加するコンピューターのプライ マリ DNS ドメインの \u0026lt;名前\u0026gt;。省略可能です。 /REQUESTODJ - 次回ブート時にオフライン ドメインの参加を要求します。 /LOADFILE \u0026lt;ファイル パス\u0026gt; - /SAVEFILE で前に指定した \u0026lt;ファイル パス\u0026gt; /WINDOWSPATH \u0026lt;パス\u0026gt; - オフライン イメージの Windows ディレクトリへの \u0026lt;パス\u0026gt; /LOCALOS - ローカルで実行されている OS を /WINDOWSPATH で指定できる ようにします。 このコマンドは、ローカルの管理者として実行する必要があります。 このオプションの変更を適用するには、再起動が必要です。 例: コンピューター アカウントをドメインにプロビジョニングする場合: djoin.exe /PROVISION /DOMAIN \u0026lt;ドメイン名\u0026gt; /MACHINE \u0026lt;コンピューター名\u0026gt; /SAVEFILE \u0026lt;ファイル パス\u0026gt; 注意: 他のパラメーターは省略可能です。 ローカル コンピューターにオフライン ドメインの参加の実行を要求する場合: djoin.exe /REQUESTODJ /LOADFILE \u0026lt;ファイル パス\u0026gt; /WINDOWSPATH \u0026lt;パス\u0026gt; 注意: 他のパラメーターは省略可能です。 英語\rUsage: djoin.exe [/OPTIONS] /PROVISION - Provision a computer account in the domain /DOMAIN \u0026lt;Name\u0026gt; - \u0026lt;Name\u0026gt; of the domain to join /MACHINE \u0026lt;Name\u0026gt; - Host \u0026lt;Name\u0026gt; of the computer joining the domain /MACHINEOU \u0026lt;OU\u0026gt; - Optional \u0026lt;OU\u0026gt; where the account is created /DCNAME \u0026lt;DC\u0026gt; - Optional \u0026lt;DC\u0026gt; to target for account creation /REUSE - Reuse any existing account (password will be reset) /SAVEFILE \u0026lt;FilePath\u0026gt; - Save provisioning data to a file at \u0026lt;FilePath\u0026gt; /NOSEARCH - Skip account conflict detection, requires DCNAME (faster) /DOWNLEVEL - Support using a Windows Server 2008 DC or earlier /PRINTBLOB - Return base64 encoded metadata blob for an answer file /DEFPWD - Use default machine account password (not recommended) /ROOTCACERTS - Opt. include root Certificate Authority certificates. /CERTTEMPLATE \u0026lt;Name\u0026gt; - Optional \u0026lt;Name\u0026gt; of machine certificate template. Includes root Certificate Authority certificates. /POLICYNAMES \u0026lt;Name(s)\u0026gt; - Opt. semicolon-separated list of policy names. Each name is the displayName of the GPO in AD. /POLICYPATHS \u0026lt;Path(s)\u0026gt; - Opt. semicolon-separated list of policy paths. Each path is a path to a registry policy file. /NETBIOS \u0026lt;Name\u0026gt; - Opt. Netbios \u0026lt;Name\u0026gt; of the computer joining the domain. /PSITE \u0026lt;Name\u0026gt; - Opt. \u0026lt;Name\u0026gt; of persistent site to put the computer joining the domain in. /DSITE \u0026lt;Name\u0026gt; - Opt. \u0026lt;Name\u0026gt; of dynamic site to initially put the computer joining the domain in. /PRIMARYDNS \u0026lt;Name\u0026gt; - Opt. \u0026lt;Name\u0026gt; of primary DNS domain of the computer joining the domain. /REQUESTODJ - Request offline domain join at next boot /LOADFILE \u0026lt;FilePath\u0026gt; - \u0026lt;FilePath\u0026gt; specified previously via /SAVEFILE /WINDOWSPATH \u0026lt;Path\u0026gt; - \u0026lt;Path\u0026gt; to the Windows directory in an offline image /LOCALOS - Allows /WINDOWSPATH to specify the locally running OS. This command must be run as a local Administrator. This option requires a reboot for changes to be applied. Examples: To provision a computer account in the domain: djoin.exe /PROVISION /DOMAIN \u0026lt;DomainName\u0026gt; /MACHINE \u0026lt;MachineName\u0026gt; /SAVEFILE \u0026lt;FilePath\u0026gt; Note: Other parameters are optional To request the local machine to perform an offline domain join: djoin.exe /REQUESTODJ /LOADFILE \u0026lt;FilePath\u0026gt; /WINDOWSPATH \u0026lt;Path\u0026gt; Note: Other parameters are optional Return Code: 0\n","date":"2022-07-07T23:49:51Z","permalink":"https://pen2.com/cmd/ja/djoin/","title":"djoin"},{"content":"Microsoft Windows 回復エージェント\nreagentc 管理者権限(Administrator)\rC:\\Windows\\system32\\ReAgentc.exe /? Output:\n日本語\rWindows 回復環境 (Windows RE) とシステム リセットを構成します。 REAGENTC.EXE \u0026lt;コマンド\u0026gt; \u0026lt;引数\u0026gt; 次のコマンドを指定できます。 /info - Windows RE とシステム リセットの構成情報を 表示します。 /setreimage - カスタム Windows RE イメージの場所を設定します。 /enable - Windows RE を有効にします。 /disable - Windows RE を無効にします。 /boottore - 次回のシステム起動時に Windows RE を起動するように システムを構成します。 /setbootshelllink - ブート メニューのリセットおよび復元ページにエントリ を追加します。 これらのコマンドと引数の詳細を表示するには、 「REAGENTC.EXE \u0026lt;コマンド\u0026gt; /?」と入力してください。 例: REAGENTC.EXE /setreimage /? REAGENTC.EXE /disable /? REAGENTC.EXE: 操作は成功しました。 英語\rConfigures the Windows Recovery Environment (Windows RE) and system reset. REAGENTC.EXE \u0026lt;command\u0026gt; \u0026lt;arguments\u0026gt; The following commands can be specified: /info - Displays Windows RE and system reset configuration information. /setreimage - Sets the location of the custom Windows RE image. /enable - Enables Windows RE. /disable - Disables Windows RE. /boottore - Configures the system to start Windows RE next time the system starts up. /setbootshelllink - Adds an entry to the Reset and Restore page in the boot menu. For more information about these commands and their arguments, type REAGENTC.EXE \u0026lt;command\u0026gt; /?. Examples: REAGENTC.EXE /setreimage /? REAGENTC.EXE /disable /? REAGENTC.EXE: Operation Successful. Return Code: 0\n","date":"2022-07-07T23:49:48Z","permalink":"https://pen2.com/cmd/ja/reagentc/","title":"reagentc"},{"content":"WMI サービス コントロール ユーティリティ\nwinmgmt C:\\Windows\\System32\\Wbem\\WinMgmt.exe /? Output:\n日本語\rWindows Management Instrumentation 使用法: winmgmt\t[/backup \u0026lt;ファイル名\u0026gt;] [/restore \u0026lt;ファイル名\u0026gt; \u0026lt;フラグ\u0026gt;] [/resyncperf] [/standalonehost [\u0026lt;レベル\u0026gt;]] [/sharedhost] [/verifyrepository [\u0026lt;パス\u0026gt;]] [/salvagerepository] [/resetrepository] /backup \u0026lt;ファイル名\u0026gt; WMI でレポジトリを指定ファイル名にバックアップします。 ファイル名引数には、ファイルへの完全なパスを指定する必要があります。 バックアップ処理が完了するまでレポジトリへの書き込み処理を 中断するため、この処理ではレポジトリへの書き込みロックが 必要です。 /restore \u0026lt;ファイル名\u0026gt; \u0026lt;フラグ\u0026gt; 指定したバックアップ ファイルから WMI レポジトリを手動で復元します。 ファイル名引数には、バックアップ ファイルへの完全なパスを指定する必要 があります。復元操作を実行するときは、操作の失敗時に書き戻すため、 既存のレポジトリを保存します。次に、レポジトリは、ファイル名引数で指定し たバックアップ ファイルから復元されます。レポジトリへの排他アクセスが できない場合、既存のクライアントは WMI から切断されます。フラグ引数は 1 (強制: ユーザーを切断し復元する) または 0 (既定: ユーザーが接続され ていない場合に復元する) にする必要があり、復元モードを指定します。 /resyncperf WMI でシステム パフォーマンス ライブラリを登録します。 /standalonehost [\u0026lt;レベル\u0026gt;] Winmgmt サービスを固定 DCOM エンドポイントがあるスタンドアロンの Svchost プロセスに移動します。既定のエンドポイントは \u0026#34;ncacn_ip_tcp.0.24158\u0026#34; です。ただし、エンドポイントは Dcomcnfg.exe を 実行すると変化することがあります。レベル引数は Svchost プロセスの認 証レベルです。レベルを指定しない場合、既定値は 4 (RPC_C_AUTHN_LEVEL_PKT) です。 /sharedhost Winmgmt サービスを共有 Svchost プロセスに移動します。 /verifyrepository [\u0026lt;パス\u0026gt;] WMI レポジトリに対して整合性チェックを行います。\u0026lt;パス\u0026gt; 引数なしに /verifyrepository スイッチを追加すると、WMI で現在使用されているライブ レポジトリが検査されます。パス引数を指定すると、 レポジトリの任意の保存済みコピーを検査できます。この場合、 パス引数にはレポジトリの保存済みコピーへの完全なパスを指定する必要が あります。保存済みレポジトリはレポジトリ フォルダー全体のコピーに する必要があります。 /salvagerepository WMI レポジトリに対して整合性チェックを行い、 不整合が検出された場合は、レポジトリを再構築します。 不整合のレポジトリの内容は、読み取れる場合は、再構築されたレポジトリ に結合されます。回収操作は、常に WMI サービスが現在使用しているレポジ トリを対象とします。#pragma autorecover プリプロセッサ ステートメントが 入った MOF ファイルはレポジトリに復元されます。 /resetrepository レポジトリはオペレーティング システムが最初にインストールされたときの 初期状態にリセットされます。#pragma autorecover プリプロセッサ ステート メントが入った MOF ファイルはレポジトリに復元されます。 英語\rWindows Management Instrumentation Usage: winmgmt\t[/backup \u0026lt;filename\u0026gt;] [/restore \u0026lt;filename\u0026gt; \u0026lt;flag\u0026gt;] [/resyncperf] [/standalonehost [\u0026lt;level\u0026gt;]] [/sharedhost] [/verifyrepository [\u0026lt;path\u0026gt;]] [/salvagerepository] [/resetrepository] /backup \u0026lt;filename\u0026gt; Causes WMI to back up the repository to the specified file name. The filename argument should contain the full path to the file location. This process requires a write lock on the repository so that write operations to the repository are suspended until the backup process is completed. /restore \u0026lt;filename\u0026gt; \u0026lt;flag\u0026gt; Manually restores the WMI repository from the specified backup file. The filename argument should contain the full path to the backup file location. To perform the restore operation, WMI saves the existing repository to write back if the operation fails. Then the repository is restored from the backup file that is specified in the filename argument. If exclusive access to the repository cannot be achieved, existing clients are disconnected from WMI. The flag argument must be a 1 (force - disconnect users and restore) or 0 (default - restore if no users connected) and specifies the restore mode. /resyncperf Registers the system performance libraries with WMI. /standalonehost [\u0026lt;level\u0026gt;] Moves the Winmgmt service to a standalone Svchost process that has a fixed DCOM endpoint. The default endpoint is \u0026#34;ncacn_ip_tcp.0.24158\u0026#34;. However, the endpoint may be changed by running Dcomcnfg.exe. The level argument is the authentication level for the Svchost process. If level is not specified, the default is 4 (RPC_C_AUTHN_LEVEL_PKT). /sharedhost Moves the Winmgmt service into the shared Svchost process. /verifyrepository [\u0026lt;path\u0026gt;] Performs a consistency check on the WMI repository. When you add the /verifyrepository switch without the \u0026lt;path\u0026gt; argument, then the live repository currently used by WMI is verified. When you specify the path argument, you can verify any saved copy of the repository. In this case, the path argument should contain the full path to the saved repository copy. The saved repository should be a copy of the entire repository folder. /salvagerepository Performs a consistency check on the WMI repository, and if an inconsistency is detected, rebuilds the repository. The content of the inconsistent repository is merged into the rebuilt repository, if it can be read. The salvage operation always works with the repository that the WMI service is currently using. MOF files that contain the #pragma autorecover preprocessor statement are restored to the repository. /resetrepository The repository is reset to the initial state when the operating system is first installed. MOF files that contain the #pragma autorecover preprocessor statement are restored to the repository. Return Code: 0\n","date":"2022-07-07T23:49:48Z","permalink":"https://pen2.com/cmd/ja/winmgmt/","title":"winmgmt"},{"content":"DISM イメージ サービス ユーティリティ\ndism 管理者権限(Administrator)\rC:\\Windows\\system32\\Dism.exe /? Output:\n日本語\r展開イメージのサービスと管理ツール バージョン: 10.0.19041.844 DISM.exe [dism_options] {Imaging_command} [\u0026lt;イメージング引数\u0026gt;] DISM.exe {/Image:\u0026lt;オフライン イメージのパス\u0026gt; | /Online} [dism_options] {servicing_command} [\u0026lt;サービス引数\u0026gt;] 説明: DISM は、Windows イメージの機能とパッケージを列挙、インストール、 アンインストール、構成、および更新します。使用できるコマンドは、サービス するイメージによって、またイメージがオフラインか実行中かによって異なります。 汎用イメージング コマンド: /Split-Image - 既存の .wim ファイルを複数の読み取り専用の 分割 WIM (SWM) ファイルに分割します。 /Apply-Image - イメージを適用します。 /Get-MountedImageInfo - マウントされた WIM および VHD イメージに関する 情報を表示します。 /Get-ImageInfo - WIM、VHD、または FFU ファイル内のイメージに関する情報を 表示します。 /Commit-Image - マウントされた WIM または VHD イメージへの変更を 保存します。 /Unmount-Image - マウントされた WIM または VHD イメージのマウントを 解除します。 /Mount-Image - WIM または VHD ファイルからイメージをマウント します。 /Remount-Image - 孤立したイメージ マウント ディレクトリを回復します。 /Cleanup-Mountpoints - マウント済みの破損したイメージに関連付けられ ているリソースを削除します。 WIM コマンド: /Apply-CustomDataImage - カスタム データ イメージに含まれているファイルを退避します。 /Capture-CustomImage - カスタマイズを WIMBoot システム上のデルタ WIM ファイルにキャプチャします。キャプチャされる ディレクトリには、すべてのサブフォルダーとデータが 含まれます。 /Get-WIMBootEntry - 指定したディスク ボリュームの WIMBoot 構成エントリを表示します。 /Update-WIMBootEntry - 指定したディスク ボリュームの WIMBoot 構成エントリを更新します。 /List-Image - 指定したイメージ内のファイルとフォルダーの一覧を 表示します。 /Delete-Image - 指定したボリューム イメージを、複数のボリューム イメージがある WIM ファイルから削除します。 /Export-Image - 指定したイメージのコピーを別のファイルにエクスポート します。 /Append-Image - 別のイメージを WIM ファイルに追加します。 /Capture-Image - ドライブのイメージを新しい WIM ファイルに キャプチャします。 キャプチャされるディレクトリには、すべての サブフォルダーとデータが含まれます。 /Get-MountedWimInfo - マウントされた WIM イメージに関する情報を表示します /Get-WimInfo - WIM ファイル内のイメージに関する情報を表示します。 /Commit-Wim - マウントされた WIM イメージへの変更を保存します。 /Unmount-Wim - マウントされた WIM イメージのマウントを解除します。 /Mount-Wim - WIM ファイルからイメージをマウントします。 /Remount-Wim - 孤立した WIM マウント ディレクトリを回復します。 /Cleanup-Wim - マウント済みの破損した WIM イメージに関連付けられ ているリソースを削除します。 FFU COMMANDS: /Capture-Ffu - Captures a physical disk image into a new FFU file. /Apply-Ffu - Applies an .ffu image. /Split-Ffu - Splits an existing .ffu file into multiple read-only split FFU files. /Optimize-Ffu - Optimizes a FFU file so that it can be applied to storage of a different size. イメージの指定: /Online - 実行中のオペレーティング システムをターゲットに します。 /Image - オフライン Windows イメージのルート ディレクトリ へのパスを指定します。 DISM オプション: /English - コマンド ライン出力を英語で表示します。 /Format - レポートの出力形式を指定します。 /WinDir - Windows ディレクトリへのパスを指定します。 /SysDriveDir - BootMgr という名前のシステム ローダー ファイルへの パスを指定します。 /LogPath - ログ ファイルのパスを指定します。 /LogLevel - ログに表示する出力レベルを指定します (1-4)。 /NoRestart - 自動再起動と再起動の確認要求を抑制します。 /Quiet - エラー メッセージを除き、すべての出力を抑制します。 /ScratchDir - スクラッチ ディレクトリへのパスを指定します。 これらの DISM オプションおよびその引数の詳細については、オプションの 直後に /? を指定してください。 例: DISM.exe /Mount-Wim /? DISM.exe /ScratchDir /? DISM.exe /Image:C:\\test\\offline /? DISM.exe /Online /? 英語\rDeployment Image Servicing and Management tool Version: 10.0.19041.844 DISM.exe [dism_options] {Imaging_command} [\u0026lt;Imaging_arguments\u0026gt;] DISM.exe {/Image:\u0026lt;path_to_offline_image\u0026gt; | /Online} [dism_options] {servicing_command} [\u0026lt;servicing_arguments\u0026gt;] DESCRIPTION: DISM enumerates, installs, uninstalls, configures, and updates features and packages in Windows images. The commands that are available depend on the image being serviced and whether the image is offline or running. GENERIC IMAGING COMMANDS: /Split-Image - Splits an existing .wim file into multiple read-only split WIM (SWM) files. /Apply-Image - Applies an image. /Get-MountedImageInfo - Displays information about mounted WIM and VHD images. /Get-ImageInfo - Displays information about images in a WIM, a VHD or a FFU file. /Commit-Image - Saves changes to a mounted WIM or VHD image. /Unmount-Image - Unmounts a mounted WIM or VHD image. /Mount-Image - Mounts an image from a WIM or VHD file. /Remount-Image - Recovers an orphaned image mount directory. /Cleanup-Mountpoints - Deletes resources associated with corrupted mounted images. WIM COMMANDS: /Apply-CustomDataImage - Dehydrates files contained in the custom data image. /Capture-CustomImage - Captures customizations into a delta WIM file on a WIMBoot system. Captured directories include all subfolders and data. /Get-WIMBootEntry - Displays WIMBoot configuration entries for the specified disk volume. /Update-WIMBootEntry - Updates WIMBoot configuration entry for the specified disk volume. /List-Image - Displays a list of the files and folders in a specified image. /Delete-Image - Deletes the specified volume image from a WIM file that has multiple volume images. /Export-Image - Exports a copy of the specified image to another file. /Append-Image - Adds another image to a WIM file. /Capture-Image - Captures an image of a drive into a new WIM file. Captured directories include all subfolders and data. /Get-MountedWimInfo - Displays information about mounted WIM images. /Get-WimInfo - Displays information about images in a WIM file. /Commit-Wim - Saves changes to a mounted WIM image. /Unmount-Wim - Unmounts a mounted WIM image. /Mount-Wim - Mounts an image from a WIM file. /Remount-Wim - Recovers an orphaned WIM mount directory. /Cleanup-Wim - Deletes resources associated with mounted WIM images that are corrupted. FFU COMMANDS: /Capture-Ffu - Captures a physical disk image into a new FFU file. /Apply-Ffu - Applies an .ffu image. /Split-Ffu - Splits an existing .ffu file into multiple read-only split FFU files. /Optimize-Ffu - Optimizes a FFU file so that it can be applied to storage of a different size. IMAGE SPECIFICATIONS: /Online - Targets the running operating system. /Image - Specifies the path to the root directory of an offline Windows image. DISM OPTIONS: /English - Displays command line output in English. /Format - Specifies the report output format. /WinDir - Specifies the path to the Windows directory. /SysDriveDir - Specifies the path to the system-loader file named BootMgr. /LogPath - Specifies the logfile path. /LogLevel - Specifies the output level shown in the log (1-4). /NoRestart - Suppresses automatic reboots and reboot prompts. /Quiet - Suppresses all output except for error messages. /ScratchDir - Specifies the path to a scratch directory. For more information about these DISM options and their arguments, specify an option immediately before /?. Examples: DISM.exe /Mount-Wim /? DISM.exe /ScratchDir /? DISM.exe /Image:C:\\test\\offline /? DISM.exe /Online /? Return Code: 0\n","date":"2022-07-07T23:49:46Z","permalink":"https://pen2.com/cmd/ja/dism/","title":"dism"},{"content":"Sxs トレース ツール\nsxstrace C:\\Windows\\system32\\sxstrace.exe /? Output:\n日本語\rWinSxs WinSxs トレース ユーティリティ。 使用法: SxsTrace [オプション] オプション: Trace -logfile:ファイル名 [-nostop] sxs のトレースを有効にします。 トレース ログはファイル名に保存されます。 -nostop を指定すると、トレースを停止するかどうかを確認しません。 Parse -logfile:ファイル名 -outfile:解析ファイル [-filter:AppName] 未処理のトレース ファイルを人が読める形式に変換し、結果を解析ファイルに 保存します。 出力をフィルターするには、-filter オプションを使用します。 Stoptrace まだ停止していない場合は、トレースを停止します。 例: SxsTrace Trace -logfile:SxsTrace.etl SxsTrace Parse -logfile:SxsTrace.etl -outfile:SxsTrace.txt 英語\rWinSxs Tracing Utility. Usage: SxsTrace [Options] Options: Trace -logfile:FileName [-nostop] Enabling tracing for sxs. Tracing log is saved to FileName. If -nostop is specified, will not prompt to stop tracing. Parse -logfile:FileName -outfile:ParsedFile [-filter:AppName] Translate the raw trace file into a human readable format and save the result to ParsedFile. Use -filter option to filter the output. Stoptrace Stop the trace if it is not stopped before. Example: SxsTrace Trace -logfile:SxsTrace.etl SxsTrace Parse -logfile:SxsTrace.etl -outfile:SxsTrace.txt Return Code: 1\n","date":"2022-07-07T23:49:43Z","permalink":"https://pen2.com/cmd/ja/sxstrace/","title":"sxstrace"},{"content":"フィルター マネージャー制御プログラム\nfltmc C:\\Windows\\system32\\fltMC.exe help Output:\n日本語\r有効なコマンド: load フィルター ドライバーを読み込みます unload フィルター ドライバーをアンロードします filters 現在システムに登録されているフィルターを一覧表示します instances 現在システムに登録されているフィルターまたは ボリュームのインスタンスを一覧表示します volumes システム内のすべてのボリューム/RDR を一覧表示します attach ボリュームにフィルター インスタンスを作成します detach ボリュームからフィルター インスタンスを削除します 特定コマンドのヘルプを表示するには fltmc help [コマンド] を実行してください 英語\rValid commands: load Loads a Filter driver unload Unloads a Filter driver filters Lists the Filters currently registered in the system instances Lists the Instances for a Filter or Volume currently registered in the system volumes Lists all volumes/RDRs in the system attach Creates a Filter Instance to a Volume detach Removes a Filter Instance from a Volume Use fltmc help [ command ] for help on a specific command Return Code: 0\n","date":"2022-07-07T23:49:39Z","permalink":"https://pen2.com/cmd/ja/fltmc/","title":"fltmc"},{"content":"Microsoft Windows Performance Recorder\nwpr C:\\Windows\\system32\\wpr.exe -help Output:\nMicrosoft Windows Performance Recorder Version 10.0.19041 (CoreSystem) Copyright (c) 2019 Microsoft Corporation. All rights reserved. Usage: wpr options ... -help\t- Provide command line help information -profiles\t- Enumerates the profile names and descriptions from a profile file -purgecache\t- Purges the dynamic symbols cache -start\t- Starts one or more profiles -marker\t- Fires an event marker -markerflush\t- Fires an event marker and flushes the working set -status\t- Displays status on active recording (if any) -profiledetails\t- Displays the detailed information about a set of profiles -providers\t- Displays detailed information about providers -cancel\t- Cancels recording initiated via WPR (if any) -stop\t- Stops recording initiated via WPR (if any) and saves -flush\t- Flushes logging sessions initiated through WPR (if any) -log\t- Configure debug logging to the event log -disablepagingexecutive\t- Change the Disable Paging Executive settings -heaptracingconfig\t- Change heap tracing settings for a process -snapshotconfig\t- Change snapshot settings for a process -capturestateondemand\t- Capture states for the configured providers in the current recording -pmcsources\t- Query the list of hardware counters available on the system -setprofint\t- Set sampled profile interval -profint\t- Query the current profile interval -resetprofint\t- Restores the default profile interval values -boottrace\t- Configures the registry entries for autologger/globallogger sessions -enableperiodicsnapshot\t- Enable Periodic Snapshot for the specified interval and given process id -disableperiodicsnapshot - Disable Periodic Snapshot for all process -singlesnapshot\t- On demand Snapshot for the specified process -instancename\t- Specifies a name to uniquely identify the tracing instance. Useful when managing multiple concurrent wpr sessions. Must be last parameter. Return Code: 0\n","date":"2022-07-07T23:49:37Z","permalink":"https://pen2.com/cmd/ja/wpr/","title":"wpr"},{"content":"VHD Conversion Tool\nconvertvhd C:\\Windows\\system32\\convertvhd.exe /? Output:\nVHD Conversion Tool [Version 1.00] Copyright (C) 2017 Microsoft Corporation. All rights reserved. STDERR:\nJa\ronecore\\vm\\dv\\storage\\vhd\\btt\\tools\\convertvhdmodule.cpp(112)\\convertvhd.exe!XXXXXXXXXXXXXXXX: (caller: XXXXXXXXXXXXXXXX) Exception(1) tid(XXXX) 80070057 ??????????????? Msg:[ USAGE: convertvhd.exe -source \u0026lt;filepath\u0026gt; -destination \u0026lt;filepath\u0026gt; [-btt] [-toPMem] convertvhd.exe -sourceToken \u0026lt;file handle\u0026gt; -destinationToken \u0026lt;file handle\u0026gt; [-btt] [-toPMem] ] onecore\\vm\\common\\vml\\VmModules.h(1492)\\convertvhd.exe!XXXXXXXXXXXXXXXX: (caller: XXXXXXXXXXXXXXXX) LogHr(1) tid(XXXX) 80070057 ??????????????? Msg:[onecore\\vm\\dv\\storage\\vhd\\btt\\tools\\convertvhdmodule.cpp(112)\\convertvhd.exe!XXXXXXXXXXXXXXXX: (caller: XXXXXXXXXXXXXXXX) Exception(1) tid(XXXX) 80070057 ??????????????? Msg:[ USAGE: convertvhd.exe -source \u0026lt;filepath\u0026gt; -destination \u0026lt;filepath\u0026gt; [-btt] [-toPMem] convertvhd.exe -sourceToken \u0026lt;file handle\u0026gt; -destinationToken \u0026lt;file handle\u0026gt; [-btt] [-toPMem] ] ] En\ronecore\\vm\\dv\\storage\\vhd\\btt\\tools\\convertvhdmodule.cpp(112)\\convertvhd.exe!XXXXXXXXXXXXXXXX: (caller: XXXXXXXXXXXXXXXX) Exception(1) tid(XXXX) 80070057 The parameter is incorrect. Msg:[ USAGE: convertvhd.exe -source \u0026lt;filepath\u0026gt; -destination \u0026lt;filepath\u0026gt; [-btt] [-toPMem] convertvhd.exe -sourceToken \u0026lt;file handle\u0026gt; -destinationToken \u0026lt;file handle\u0026gt; [-btt] [-toPMem] ] onecore\\vm\\common\\vml\\VmModules.h(1492)\\convertvhd.exe!XXXXXXXXXXXXXXXX: (caller: XXXXXXXXXXXXXXXX) LogHr(1) tid(XXXX) 80070057 The parameter is incorrect. Msg:[onecore\\vm\\dv\\storage\\vhd\\btt\\tools\\convertvhdmodule.cpp(112)\\convertvhd.exe!XXXXXXXXXXXXXXXX: (caller: XXXXXXXXXXXXXXXX) Exception(1) tid(XXXX) 80070057 The parameter is incorrect. Msg:[ USAGE: convertvhd.exe -source \u0026lt;filepath\u0026gt; -destination \u0026lt;filepath\u0026gt; [-btt] [-toPMem] convertvhd.exe -sourceToken \u0026lt;file handle\u0026gt; -destinationToken \u0026lt;file handle\u0026gt; [-btt] [-toPMem] ] ] Return Code: 1\n","date":"2022-07-07T23:49:28Z","permalink":"https://pen2.com/cmd/ja/convertvhd/","title":"convertvhd"},{"content":"DiskSnapshot.exe\ndisksnapshot C:\\Windows\\system32\\DiskSnapshot.exe -h STDERR:\nDiskSnapshot.exe [options] -c write detail data to console -i write detail data to console (same as -c) -s (deprecated) summary data to console -u process large volumes (no limit) -j [config] specifies an alternate config file -v [volume][path] specifies volume(+path) to process, e.g. \u0026#34;d:\u0026#34; or \u0026#34;d:\\foo\u0026#34; -d [input-file] print encoded versions of the strings in the input file, for decoding purposes -e prints out escalation keywords -k calculate checksums for files, used to investigate duplicated on-disk content (c arg required). -o [output-file] write detail data to a file Return Code: 0\n","date":"2022-07-07T23:49:26Z","permalink":"https://pen2.com/cmd/ja/disksnapshot/","title":"disksnapshot"},{"content":"イベント コマンド ライン ユーティリティ\nwevtutil C:\\Windows\\system32\\wevtutil.exe /? Output:\n日本語\rWindows イベント コマンド ライン ユーティリティ。 イベント ログおよび発行元に関する情報の取得、イベント マニフェストの インストールおよびアンインストール、クエリの実行、ログのエクスポート、 アーカイブおよびクリアを実施できます。 使用法: コマンドとオプション名は短いバージョン (ep /uni など) または 長いバージョン (enum-publishers /unicode など) を使用できます。 コマンド、オプションおよびその値は、大文字と小文字が区別されません。 変数はすべて大文字で記述しています。 wevtutil COMMAND [ARGUMENT [ARGUMENT] ...] [/OPTION:VALUE [/OPTION:VALUE] ...] コマンド: el | enum-logs ログ名を列挙します。 gl | get-log ログの構成情報を取得します。 sl | set-log 既存のログの構成を更新します。 ep | enum-publishers イベントの発行元を列挙します。 gp | get-publisher 発行元の構成情報を取得します。 im | install-manifest イベントの発行元とログをマニフェストから インストールします。 um | uninstall-manifest イベントの発行元とログをマニフェストから アンインストールします。 qe | query-events ログまたはログ ファイルからイベントを照会します。 gli | get-log-info ログ ステータス情報を取得します。 epl | export-log ログをエクスポートします。 al | archive-log エクスポートされたログを保管します。 cl | clear-log ログをクリアします。 一般的なオプション: /{r | remote}:VALUE 指定すると、リモート コンピューター上でコマンドが実行されます。 VALUE はリモート コンピューターです。 オプション /im および /um はリモート操作をサポートしていません。 /{u | username}:VALUE リモート コンピューターにログオンする別のユーザーを指定します。VALUE は \u0026#34;ドメイン\\ユーザー\u0026#34; または \u0026#34;ユーザー\u0026#34; の形式のユーザー名です。 オプション /r が指定されている場合にだけ適用できます。 /{p | password}:VALUE 指定されたユーザーのパスワードです。指定されていないか、VALUE に \u0026#34;*\u0026#34; が指定されている場合、ユーザーはパスワードの入力を求められます。 オプション /u が指定されている場合にだけ適用できます。 /{a | authentication}:[Default|Negotiate|Kerberos|NTLM] リモート コンピューターにアクセスするための認証の種類です。 既定値は \u0026#34;Negotiate\u0026#34; です。 /{uni | unicode}:[true|false] Unicode で出力を表示します。true の場合、出力は Unicode です。 特定のコマンドの詳細については、次のコマンドを入力してください。 wevtutil COMMAND /? 英語\rWindows Events Command Line Utility. Enables you to retrieve information about event logs and publishers, install and uninstall event manifests, run queries, and export, archive, and clear logs. Usage: You can use either the short (for example, ep /uni) or long (for example, enum-publishers /unicode) version of the command and option names. Commands, options and option values are not case-sensitive. Variables are noted in all upper-case. wevtutil COMMAND [ARGUMENT [ARGUMENT] ...] [/OPTION:VALUE [/OPTION:VALUE] ...] Commands: el | enum-logs List log names. gl | get-log Get log configuration information. sl | set-log Modify configuration of a log. ep | enum-publishers List event publishers. gp | get-publisher Get publisher configuration information. im | install-manifest Install event publishers and logs from manifest. um | uninstall-manifest Uninstall event publishers and logs from manifest. qe | query-events Query events from a log or log file. gli | get-log-info Get log status information. epl | export-log Export a log. al | archive-log Archive an exported log. cl | clear-log Clear a log. Common options: /{r | remote}:VALUE If specified, run the command on a remote computer. VALUE is the remote computer name. Options /im and /um do not support remote operations. /{u | username}:VALUE Specify a different user to log on to the remote computer. VALUE is a user name in the form domain\\user or user. Only applicable when option /r is specified. /{p | password}:VALUE Password for the specified user. If not specified, or if VALUE is \u0026#34;*\u0026#34;, the user will be prompted to enter a password. Only applicable when the /u option is specified. /{a | authentication}:[Default|Negotiate|Kerberos|NTLM] Authentication type for connecting to remote computer. The default is Negotiate. /{uni | unicode}:[true|false] Display output in Unicode. If true, then output is in Unicode. To learn more about a specific command, type the following: wevtutil COMMAND /? Return Code: 0\n","date":"2022-07-07T23:49:26Z","permalink":"https://pen2.com/cmd/ja/wevtutil/","title":"wevtutil"},{"content":" assoc help assoc Output:\n日本語\rファイル拡張子の関連付けを表示または変更します。 ASSOC [.拡張子[=[ファイル タイプ]]] .拡張子 ファイル タイプに関連付ける拡張子を指定します。 ファイル タイプ 拡張子に関連付けるファイル タイプを指定します。 パラメーターを指定しないで「ASSOC」と入力すると、現在のファイルの関連付け を表示します。ファイル拡張子を指定して ASSOC を実行すると、そのファイル 拡張子の現在のファイルの関連付けを表示します。ファイル タイプやコマンド を指定しないと、そのファイル拡張子の関連付けを削除します。 英語\rDisplays or modifies file extension associations ASSOC [.ext[=[fileType]]] .ext Specifies the file extension to associate the file type with fileType Specifies the file type to associate with the file extension Type ASSOC without parameters to display the current file associations. If ASSOC is invoked with just a file extension, it displays the current file association for that file extension. Specify nothing for the file type and the command will delete the association for the file extension. Return Code: 1\nexample1 管理者権限(Administrator)\rexample2 c:\\example\u0026gt;assoc .rtf=txtfile アクセスが拒否されました。 処理中にエラーが発生しました: .rtf c:\\example\u0026gt;assoc .rtf= アクセスが拒否されました。 c:\\example\u0026gt;assoc .rtf .rtf=rtffile c:\\example\u0026gt;assoc .386=vxdfile .3g2=WMP11.AssocFile.3G2 .3gp=WMP11.AssocFile.3GP .3gp2=WMP11.AssocFile.3G2 .3gpp=WMP11.AssocFile.3GP .AAC=WMP11.AssocFile.ADTS .accountpicture-ms=accountpicturefile .ADT=WMP11.AssocFile.ADTS .ADTS=WMP11.AssocFile.ADTS .aif=WMP11.AssocFile.AIFF .aifc=WMP11.AssocFile.AIFF .aiff=WMP11.AssocFile.AIFF .ani=anifile .appcontent-ms=ApplicationContent .application=Application.Manifest .appref-ms=Application.Reference .asa=aspfile .asf=WMP11.AssocFile.ASF .asp=aspfile .asx=WMP11.AssocFile.ASX .au=WMP11.AssocFile.AU .avi=WMP11.AssocFile.AVI .bat=batfile .blg=Diagnostic.Perfmon.Document .bmp=Paint.Picture .cab=CABFolder .camp=campfile .cat=CATFile .cda=WMP11.AssocFile.CDA .cdmp=cdmpfile .cdx=aspfile .cdxml=Microsoft.PowerShellCmdletDefinitionXML.1 .cer=CERFile .chk=chkfile .chm=chm.file .cmd=cmdfile .com=comfile .compositefont=Windows.CompositeFont .cpl=cplfile .crl=CRLFile .crt=CERFile .css=CSSfile .cur=curfile .db=dbfile .dctx=IMEDictionaryCompiler .dctxc=IMEDictionaryCompiler .dds=ddsfile .der=CERFile .desklink=CLSID\\{9E56BE61-C50F-11CF-9A2C-00A0C90A90CE} .deskthemepack=desktopthemepackfile .diagcab=Diagnostic.Cabinet .diagcfg=Diagnostic.Config .diagpkg=Diagnostic.Document .dib=Paint.Picture .dll=dllfile .docx=docxfile .drv=drvfile .dsn=MSDASQL .emf=emffile .eml=Microsoft Email Message .evt=evtfile .evtx=evtxfile .exe=exefile .flac=WMP11.AssocFile.FLAC .fon=fonfile .gif=giffile .gmmp=gmmpfile .grp=MSProgramGroup .hlp=hlpfile .hta=htafile .htm=htmlfile .html=htmlfile .icc=icmfile .icl=IconLibraryFile .icm=icmfile .ico=icofile .imesx=imesxfile .img=Windows.IsoFile .inf=inffile .ini=inifile .iso=Windows.IsoFile .jfif=pjpegfile .Job=JobObject .jod=Microsoft.Jet.OLEDB.4.0 .jpe=jpegfile .jpeg=jpegfile .jpg=jpegfile .js=JSFile .JSE=JSEFile .jxr=wdpfile .label=Label .library-ms=LibraryFolder .lnk=lnkfile .log=txtfile .m1v=WMP11.AssocFile.MPEG .M2T=WMP11.AssocFile.M2TS .M2TS=WMP11.AssocFile.M2TS .M2V=WMP11.AssocFile.MPEG .m3u=WMP11.AssocFile.m3u .m4a=WMP11.AssocFile.M4A .m4v=WMP11.AssocFile.MP4 .mapimail=CLSID\\{9E56BE60-C50F-11CF-9A2C-00A0C90A90CE} .mht=mhtmlfile .mhtml=mhtmlfile .mid=WMP11.AssocFile.MIDI .midi=WMP11.AssocFile.MIDI .mk3d=WMP11.AssocFile.MK3D .mka=WMP11.AssocFile.MKA .mkv=WMP11.AssocFile.MKV .mlc=LpkSetup.1 .MOD=WMP11.AssocFile.MPEG .mov=WMP11.AssocFile.MOV .mp2=WMP11.AssocFile.MP3 .mp2v=WMP11.AssocFile.MPEG .mp3=WMP11.AssocFile.MP3 .mp4=WMP11.AssocFile.MP4 .mp4v=WMP11.AssocFile.MP4 .mpa=WMP11.AssocFile.MPEG .mpe=WMP11.AssocFile.MPEG .mpeg=WMP11.AssocFile.MPEG .mpg=WMP11.AssocFile.MPEG .mpv2=WMP11.AssocFile.MPEG .ms-windows-store-license=WindowsStore.License .msc=MSCFile .msi=Msi.Package .msp=Msi.Patch .msrcincident=RemoteAssistance.1 .msstyles=msstylesfile .msu=Microsoft.System.Update.1 .MTS=WMP11.AssocFile.M2TS .mydocs=CLSID\\{ECF03A32-103D-11d2-854D-006008059367} .nfo=MSInfoFile .ocx=ocxfile .odt=odtfile .osdx=opensearchdescription .otf=otffile .p10=P10File .p12=PFXFile .p7b=SPCFile .p7c=certificate_wab_auto_file .p7m=P7MFile .p7r=P7RFile .p7s=P7SFile .partial=IE.AssocFile.PARTIAL .pbk=pbkfile .perfmoncfg=Diagnostic.Perfmon.Config .pfm=pfmfile .pfx=PFXFile .pif=piffile .pko=PKOFile .pnf=pnffile .png=pngfile .ppkg=Microsoft.ProvTool.Provisioning.1 .prf=prffile .printerExport=brmFile .ps1=Microsoft.PowerShellScript.1 .ps1xml=Microsoft.PowerShellXMLData.1 .psc1=Microsoft.PowerShellConsole.1 .psd1=Microsoft.PowerShellData.1 .psm1=Microsoft.PowerShellModule.1 .pssc=Microsoft.PowerShellSessionConfiguration.1 .qds=SavedDsQuery .rat=ratfile .RDP=RDP.File .reg=regfile .resmoncfg=Diagnostic.Resmon.Config .rle=rlefile .rll=dllfile .rmi=WMP11.AssocFile.MIDI .rtf=rtffile .scf=SHCmdFile .scp=txtfile .scr=scrfile .sct=scriptletfile .search-ms=SearchFolder .searchConnector-ms=SearchConnectorFolder .settingcontent-ms=SettingContent .sfcache=RDBFileProperties.1 .snd=WMP11.AssocFile.AU .spc=SPCFile .sst=CertificateStoreFile .svg=svgfile .symlink=.symlink .sys=sysfile .theme=themefile .themepack=themepackfile .tif=TIFImage.Document .tiff=TIFImage.Document .TS=WMP11.AssocFile.TTS .ttc=ttcfile .ttf=ttffile .TTS=WMP11.AssocFile.TTS .txt=txtfile .UDL=MSDASC .URL=InternetShortcut .VBE=VBEFile .vbs=VBSFile .vhd=Windows.VhdFile .vhdpmem=Windows.VhdPmemFile .vhdx=Windows.VhdFile .vxd=vxdfile .wab=wab_auto_file .wav=WMP11.AssocFile.WAV .wax=WMP11.AssocFile.WAX .wbcat=wbcatfile .wcx=wcxfile .wdp=wdpfile .webpnp=webpnpFile .website=Microsoft.Website .wm=WMP11.AssocFile.ASF .wma=WMP11.AssocFile.WMA .WMD=WMP11.AssocFile.WMD .wmdb=WMP.WMDBFile .wmf=wmffile .WMS=WMP11.AssocFile.WMS .wmv=WMP11.AssocFile.WMV .wmx=WMP11.AssocFile.ASX .wmz=WMP11.AssocFile.WMZ .wpl=WMP11.AssocFile.WPL .wsc=scriptletfile .WSF=WSFFile .WSH=WSHFile .wtx=txtfile .wvx=WMP11.AssocFile.WVX .xaml=Windows.XamlDocument .xbap=Windows.Xbap .xht=xhtmlfile .xhtml=xhtmlfile .xml=xmlfile .xrm-ms=MSSppLicenseFile .xsl=xslfile .ZFSendToTarget=CLSID\\{888DCA60-FC0A-11CF-8F0F-00C04FD7D062} .zip=CompressedFolder ","date":"2022-07-07T23:49:25Z","permalink":"https://pen2.com/cmd/ja/assoc/","title":"assoc"},{"content":" break help break Output:\n日本語\rDOS システム上で Ctrl + C キーの拡張チェック機能を設定または解除します。 この機能は DOS システムとの互換性を維持するために用意されています。Windows 上 では何も効果はありません。 Windows プラットフォームでコマンド拡張機能を有効にして実行中の場合、 デバッガーによるデバッグ時に BREAK コマンドはハード コード ブレークポイント を入力します。 英語\rSets or Clears Extended CTRL+C checking on DOS system This is present for Compatibility with DOS systems. It has no effect under Windows. If Command Extensions are enabled, and running on the Windows platform, then the BREAK command will enter a hard coded breakpoint if being debugged by a debugger. Return Code: 1\nexample 空白のファイルを作成します\nc:\\example\u0026gt;break 1\u0026gt;zero.txt c:\\example\u0026gt;type zero.txt ","date":"2022-07-07T23:49:25Z","permalink":"https://pen2.com/cmd/ja/break/","title":"break"},{"content":" call help call Output:\n日本語\rバッチ プログラムを別のバッチ プログラムから呼び出します。 CALL [ドライブ:][パス]ファイル名 [バッチパラメーター] バッチパラメーター バッチ プログラムで必要なコマンド ライン情報を指定します。 コマンド拡張機能を有効にすると、CALL は次のように変更されます: CALL コマンドは、CALL のターゲットとしてラベルを受け付けるようになります。 構文は、次のとおりです: CALL :ラベル 引数 指定された引数で新しいバッチ ファイル コンテキストが作成され、指定 されたラベルの次の文に制御が渡されます。バッチ スクリプト ファイルの 最後に 2 回到達することによって、2 回 \u0026#34;終了\u0026#34; する必要があります。 1 回目に最後に到達したときには、制御は CALL 文の次の行に返されます。 2 回目に、バッチ スクリプトが終了します。バッチ スクリプトから \u0026#34;戻る\u0026#34; ための GOTO :EOF 拡張機能の説明については、GOTO /? と入力してください。 また、バッチ スクリプトの引数参照 (%0、%1 など) の展開は、次のように 変更されました: %* バッチ スクリプト内では、すべての引数 (%1、%2、%3、%4、 %5 など) を参照します。 バッチ パラメーター (%n) の置換は拡張されました。次のオプション構文 を使うことができます: %~1 - すべての引用句 (\u0026#34;) を削除して、%1 を展開します。 %~f1 - %1 を完全修飾パス名に展開します。 %~d1 - %1 をドライブ文字だけに展開します。 %~p1 - %1 をパスだけに展開します。 %~n1 - %1 をファイル名だけに展開します。 %~x1 - %1 をファイル拡張子だけに展開します。 %~s1 - 展開されたパスは、短い名前だけを含みます。 %~a1 - %1 をファイル属性に展開します。 %~t1 - %1 をファイルの日付/時刻に展開します。 %~z1 - %1 をファイルのサイズに展開します。 %~$PATH:1 - PATH 環境変数に指定されているディレクトリを検索し、 最初に見つかった完全修飾名に %1 を展開します。 環境変数名が定義されていない場合、または 検索してもファイルが見つからなかった場合は、 この修飾子を指定すると空の文字列に展開されます。 修飾子を組み合わせて、複合結果を得ることもできます: %~dp1 - %1 をドライブ文字とパスだけに展開します。 %~nx1 - %1 をファイル名と拡張子だけに展開します。 %~dp$PATH:1 - PATH 環境変数に指定されているディレクトリを 検索して %1 を探し、最初に見つかったファイル のドライブ文字とパスだけに展開します。 %~ftza1 - %1 を DIR の出力行のように展開します。 上の例の %1 と PATH は、他の有効な値で置き換えることができ ます。%~ 構文は有効な引数の数によって区切られます。%~ 修飾子 は %* と同時には使用できません。 英語\rCalls one batch program from another. CALL [drive:][path]filename [batch-parameters] batch-parameters Specifies any command-line information required by the batch program. If Command Extensions are enabled CALL changes as follows: CALL command now accepts labels as the target of the CALL. The syntax is: CALL :label arguments A new batch file context is created with the specified arguments and control is passed to the statement after the label specified. You must \u0026#34;exit\u0026#34; twice by reaching the end of the batch script file twice. The first time you read the end, control will return to just after the CALL statement. The second time will exit the batch script. Type GOTO /? for a description of the GOTO :EOF extension that will allow you to \u0026#34;return\u0026#34; from a batch script. In addition, expansion of batch script argument references (%0, %1, etc.) have been changed as follows: %* in a batch script refers to all the arguments (e.g. %1 %2 %3 %4 %5 ...) Substitution of batch parameters (%n) has been enhanced. You can now use the following optional syntax: %~1 - expands %1 removing any surrounding quotes (\u0026#34;) %~f1 - expands %1 to a fully qualified path name %~d1 - expands %1 to a drive letter only %~p1 - expands %1 to a path only %~n1 - expands %1 to a file name only %~x1 - expands %1 to a file extension only %~s1 - expanded path contains short names only %~a1 - expands %1 to file attributes %~t1 - expands %1 to date/time of file %~z1 - expands %1 to size of file %~$PATH:1 - searches the directories listed in the PATH environment variable and expands %1 to the fully qualified name of the first one found. If the environment variable name is not defined or the file is not found by the search, then this modifier expands to the empty string The modifiers can be combined to get compound results: %~dp1 - expands %1 to a drive letter and path only %~nx1 - expands %1 to a file name and extension only %~dp$PATH:1 - searches the directories listed in the PATH environment variable for %1 and expands to the drive letter and path of the first one found. %~ftza1 - expands %1 to a DIR like output line In the above examples %1 and PATH can be replaced by other valid values. The %~ syntax is terminated by a valid argument number. The %~ modifiers may not be used with %* Return Code: 1\nexample _call1.bat\n@echo call1 call _call2.bat call :_test @echo call1_1 :_test @echo call1_2 goto:eof @echo call1_3 _call2.bat\n@echo call2 exit /b @echo call2_1 呼び出し元に戻るには、goto :EOF または exit /B を使用します。\ncall1 c:\\example\u0026gt;call _call2.bat call2 c:\\example\u0026gt;exit /b c:\\example\u0026gt;call :_test call1_2 c:\\example\u0026gt;goto:eof call1_1 call1_2 c:\\example\u0026gt;goto:eof Expansion _call3.bat\nrem %%0 %0 copy C:\\Windows\\System32\\find.exe find.exe call :ParameterCheck \u0026#34;find.exe\u0026#34; call :PATHCheck \u0026#34;find.exe\u0026#34; set ORI=C:\\Windows call :ORICheck \u0026#34;explorer.exe\u0026#34; @goto :EOF :ParameterCheck @echo %%0 %0 @echo %%1 %1 @echo %%~1 %~1 @echo %%~f1 %~f1 @echo %%~d1 %~d1 @echo %%~p1 %~p1 @echo %%~n1 %~n1 @echo %%~x1 %~x1 @echo %%~s1 %~s1 @echo %%~a1 %~a1 @echo %%~t1 %~t1 @echo %%~z1 %~z1 @echo %%~dp1 %~dp1 @echo %%~nx1 %~nx1 @echo %%~ftza1 %~ftza1 @goto :EOF :PATHCheck @echo %%~f1 %~f1 @echo %%~$PATH:1 %~$PATH:1 @echo %%~dp$PATH:1 %~dp$PATH:1 @goto :EOF :ORICheck @echo %%~f1 %~f1 @echo %%~$ORI:1 %~$ORI:1 @echo %%~dp$ORI:1 %~dp$ORI:1 @goto :EOF オプション構文\nc:\\example\u0026gt;rem %0 .\\_call3.bat c:\\example\u0026gt;copy C:\\Windows\\System32\\find.exe find.exe 1 個のファイルをコピーしました。 c:\\example\u0026gt;call :ParameterCheck \u0026#34;find.exe\u0026#34; %0 :ParameterCheck %1 \u0026#34;find.exe\u0026#34; %~1 find.exe %~f1 c:\\example\\find.exe %~d1 c: %~p1 \\example\\ %~n1 find %~x1 .exe %~s1 c:\\example\\find.exe %~a1 --a-------- %~t1 2022/07/08 08:50 %~z1 17920 %~dp1 c:\\example\\ %~nx1 find.exe %~ftza1 --a-------- 2022/07/08 08:50 17920 c:\\example\\find.exe c:\\example\u0026gt;call :PATHCheck \u0026#34;find.exe\u0026#34; %~f1 c:\\example\\find.exe %~$PATH:1 C:\\Windows\\System32\\find.exe %~dp$PATH:1 C:\\Windows\\System32\\ c:\\example\u0026gt;set ORI=C:\\Windows c:\\example\u0026gt;call :ORICheck \u0026#34;explorer.exe\u0026#34; %~f1 c:\\example\\explorer.exe %~$ORI:1 C:\\Windows\\explorer.exe %~dp$ORI:1 C:\\Windows\\ Batch parameters _call4.bat\ncall :test a,b,c call :test \u0026#34;a b\u0026#34; c call :test a \u0026#34;b,c\u0026#34;,d @goto:eof :test @echo %%1[%1] %%2[%2] %%3[%3] 引数はスペースかカンマで区切られます。cmd\nc:\\example\u0026gt;call :test a,b,c %1[a] %2[b] %3[c] c:\\example\u0026gt;call :test \u0026#34;a b\u0026#34; c %1[\u0026#34;a b\u0026#34;] %2[c] %3[] c:\\example\u0026gt;call :test a \u0026#34;b,c\u0026#34;,d %1[a] %2[\u0026#34;b,c\u0026#34;] %3[d] ","date":"2022-07-07T23:49:25Z","permalink":"https://pen2.com/cmd/ja/call/","title":"call"},{"content":" cd help cd Output:\n日本語\r現在のディレクトリを変更したり、ディレクトリ名を変更したりします。 CHDIR [/D] [ドライブ:][パス] CHDIR [..] CD [/D] [ドライブ:][パス] CD [..] .. 親ディレクトリに変更するときに指定します。 CD ドライブ: と入力すると指定されたドライブの現在のディレクトリが表示 されます。パラメーターを指定しないで CD と入力すると、現在のドライブと ディレクトリが表示されます。 現在のディレクトリだけでなく、現在のドライブも変更するには /D オプショ ンを使用してください。 コマンド拡張機能を有効にすると、CHDIR は次のように変更されます: 現在のディレクトリの文字列に入力された大文字と小文字は、ディスク上の名前 と同じになるように変換されます。たとえば、ディスク上のディレクトリ名が Temp である場合、CD C:\\TEMP と入力すると、現在のディレクトリは C:\\Temp に設定されます。 CHDIR コマンドは空白を区切り文字として扱わなくなるため、空白文字を 含むサブディレクトリ名を引用符で囲まなくても、CD を実行して にそのサブディレクトリに移動できるようになります。たとえば、 cd \\winnt\\profiles\\username\\programs\\start menu は、次と同じです: cd \u0026#34;\\winnt\\profiles\\username\\programs\\start menu\u0026#34; 拡張機能が無効である場合は、こちらを入力します。 英語\rDisplays the name of or changes the current directory. CHDIR [/D] [drive:][path] CHDIR [..] CD [/D] [drive:][path] CD [..] .. Specifies that you want to change to the parent directory. Type CD drive: to display the current directory in the specified drive. Type CD without parameters to display the current drive and directory. Use the /D switch to change current drive in addition to changing current directory for a drive. If Command Extensions are enabled CHDIR changes as follows: The current directory string is converted to use the same case as the on disk names. So CD C:\\TEMP would actually set the current directory to C:\\Temp if that is the case on disk. CHDIR command does not treat spaces as delimiters, so it is possible to CD into a subdirectory name that contains a space without surrounding the name with quotes. For example: cd \\winnt\\profiles\\username\\programs\\start menu is the same as: cd \u0026#34;\\winnt\\profiles\\username\\programs\\start menu\u0026#34; which is what you would have to type if extensions were disabled. Return Code: 1\nexample カレントディレクトリを別のドライブに変更して表示\nc:\\example\u0026gt;subst a: c:\\Windows c:\\example\u0026gt;cd a:\\System32 c:\\example\u0026gt;cd /d a:\\System32 a:\\System32\u0026gt;cd a:\\System32 ","date":"2022-07-07T23:49:25Z","permalink":"https://pen2.com/cmd/ja/cd/","title":"cd"},{"content":" chdir help chdir Output:\n日本語\r現在のディレクトリを変更したり、ディレクトリ名を変更したりします。 CHDIR [/D] [ドライブ:][パス] CHDIR [..] CD [/D] [ドライブ:][パス] CD [..] .. 親ディレクトリに変更するときに指定します。 CD ドライブ: と入力すると指定されたドライブの現在のディレクトリが表示 されます。パラメーターを指定しないで CD と入力すると、現在のドライブと ディレクトリが表示されます。 現在のディレクトリだけでなく、現在のドライブも変更するには /D オプショ ンを使用してください。 コマンド拡張機能を有効にすると、CHDIR は次のように変更されます: 現在のディレクトリの文字列に入力された大文字と小文字は、ディスク上の名前 と同じになるように変換されます。たとえば、ディスク上のディレクトリ名が Temp である場合、CD C:\\TEMP と入力すると、現在のディレクトリは C:\\Temp に設定されます。 CHDIR コマンドは空白を区切り文字として扱わなくなるため、空白文字を 含むサブディレクトリ名を引用符で囲まなくても、CD を実行して にそのサブディレクトリに移動できるようになります。たとえば、 cd \\winnt\\profiles\\username\\programs\\start menu は、次と同じです: cd \u0026#34;\\winnt\\profiles\\username\\programs\\start menu\u0026#34; 拡張機能が無効である場合は、こちらを入力します。 英語\rDisplays the name of or changes the current directory. CHDIR [/D] [drive:][path] CHDIR [..] CD [/D] [drive:][path] CD [..] .. Specifies that you want to change to the parent directory. Type CD drive: to display the current directory in the specified drive. Type CD without parameters to display the current drive and directory. Use the /D switch to change current drive in addition to changing current directory for a drive. If Command Extensions are enabled CHDIR changes as follows: The current directory string is converted to use the same case as the on disk names. So CD C:\\TEMP would actually set the current directory to C:\\Temp if that is the case on disk. CHDIR command does not treat spaces as delimiters, so it is possible to CD into a subdirectory name that contains a space without surrounding the name with quotes. For example: cd \\winnt\\profiles\\username\\programs\\start menu is the same as: cd \u0026#34;\\winnt\\profiles\\username\\programs\\start menu\u0026#34; which is what you would have to type if extensions were disabled. Return Code: 1\nexample カレントディレクトリを別のドライブに変更して表示\nc:\\example\u0026gt;subst a: c:\\Windows c:\\example\u0026gt;cd a:\\System32 c:\\example\u0026gt;cd /d a:\\System32 a:\\System32\u0026gt;cd a:\\System32 ","date":"2022-07-07T23:49:25Z","permalink":"https://pen2.com/cmd/ja/chdir/","title":"chdir"},{"content":" cls help cls Output:\n日本語\r画面を消去します。 CLS 英語\rClears the screen. CLS Return Code: 1\n","date":"2022-07-07T23:49:25Z","permalink":"https://pen2.com/cmd/ja/cls/","title":"cls"},{"content":"Windows コマンド プロセッサ\ncmd C:\\Windows\\system32\\cmd.exe /? Output:\n日本語\rWindows コマンド インタープリターの新しいインスタンスを開始します。 CMD [/A | /U] [/Q] [/D] [/E:ON | /E:OFF] [/F:ON | /F:OFF] [/V:ON | /V:OFF] [[/S] [/C | /K] 文字列] /C \u0026#34;文字列\u0026#34; に指定されたコマンドを実行した後、終了します。 /K \u0026#34;文字列\u0026#34; に指定されたコマンドを実行しますが、終了しません。 /S /C または /K の後の文字列の扱いを変更します (以下の説明を参照してください)。 /Q エコーをオフにします。 /D レジストリからの AutoRun コマンドの実行を無効にします (下記を参照してください)。 /A 内部コマンドの出力結果を ANSI でパイプまたはファイルに出力します。 /U 内部コマンドの出力結果を Unicode でパイプまたはファイルに出力します。 /T:fg 前景色および背景色を設定します (詳細は COLOR /? を参照してください)。 /E:ON コマンド拡張機能を有効にします (以下の説明を参照してください)。 /E:OFF コマンド拡張機能を無効にします (以下の説明を参照してください)。 /F:ON ファイル名およびディレクトリ名補完文字を有効にします (以下の説明を参照してください)。 /F:OFF ファイルおよびディレクトリ名補完文字を無効にします (以下の説明を参照してください)。 /V:ON 区切り文字として ! を使って遅延環境変数の展開を有効にします。 たとえば、/V:ON とすると、!var! は、実行時に変数 var を展開します。 var 構文は、FOR ループ中とは違い、入力時に変数を展開します。 /V:OFF 遅延環境展開を無効にします。 コマンド セパレーター \u0026#39;\u0026amp;\u0026amp;\u0026#39; で区切られた複数のコマンドが引用符で囲まれている場合 は、\u0026#34;文字列\u0026#34; として指定されます。また互換性の理由から /X と /E:ON、/Y と /E:OFF、および /R と /C は同じです。その他のスイッチは無視されます。 /C または /K が指定されている場合、スイッチの後の残りのコマンド ラインが コマンド ラインとして処理されます。次のルールが引用符 (\u0026#34;) の処理に使われます: 1. 次のすべての条件に一致する場合、コマンド ラインの引用符が有効になり ます: - /S スイッチがない - 引用符が 1 組ある - 引用符の中に特殊文字がない (特殊文字は \u0026amp;\u0026lt;\u0026gt;()@^| です) - 引用符の中に 1 つ以上のスペースがある - 引用符の中の文字列が、実行可能ファイルの名前である 2. 最初の文字が引用符であるにも関わらず上の条件に一致しない場合は、最初 の引用符とコマンド ラインの最後の引用符が削除され、最後の引用符の後 のテキストが有効になります。 コマンド ラインで /D が指定されなかった場合は、CMD.EXE の開始時に次の REG_SZ または REG_EXPAND_SZ レジストリ変数が検索されます。次のレジストリ変数の両方 またはどちらかが存在する場合、それらを最初に実行します。 HKEY_LOCAL_MACHINE\\Software\\Microsoft\\Command Processor\\AutoRun および/または HKEY_CURRENT_USER\\Software\\Microsoft\\Command Processor\\AutoRun 既定では、コマンド拡張機能は有効です。拡張機能を無効にして CMD.EXE を 起動するには、/E:OFF スイッチを使用します。コンピューターまたは ユーザー ログオン セッションで起動される CMD.EXE コマンド すべてに対して拡張機能を有効または無効にするには、REGEDIT.EXE を使って レジストリにある次の REG_DWORD 値を設定します。コンピューターに対しては、 HKEY_LOCAL_MACHINE\\Software\\Microsoft\\Command Processor\\EnableExtensions に 0x1 を設定すると有効になり、0x0 を設定すると無効になります。 ログオン セッションに対しては、 HKEY_CURRENT_USER\\Software\\Microsoft\\Command Processor\\EnableExtensions に 0x1 を設定すると有効になり、0x0 を設定すると無効になります。 ユーザー固有の設定は、コンピューターの設定より優先されます。 コマンド ライン スイッチは、レジストリの設定より優先されます。 バッチ ファイルでは、SETLOCAL ENABLEEXTENSIONS または DISABLEEXTENSIONS 引数は /E:ON または /E:OFF スイッチよりも優先されます。詳細については SETLOCAL /? を 参照してください。 コマンド拡張機能には、次のコマンドに対する変更または追加が含まれています。 DEL または ERASE COLOR CD または CHDIR MD または MKDIR PROMPT PUSHD POPD SET SETLOCAL ENDLOCAL IF FOR CALL SHIFT GOTO START (外部コマンドの起動の変更を含みます) ASSOC FTYPE 詳細は、コマンド名の後に「/?」と入力すると表示されるヘルプを参照してください。 レジストリにある次の REG_DWORD 値を設定します。コンピューターに対しては、 HKEY_LOCAL_MACHINE\\Software\\Microsoft\\Command Processor\\EnableExtensions に 0x1 を設定すると有効になり、0x0 を設定すると無効になります。 ログオン セッションに対しては、 HKEY_CURRENT_USER\\Software\\Microsoft\\Command Processor\\EnableExtensions に 0x1 を設定すると有効になり、0x0 を設定すると無効になります。 ユーザー固有の設定は、コンピューターの設定より優先されます。 コマンド ライン スイッチは、レジストリの設定より優先されます。 バッチ ファイルでは、SETLOCAL ENABLEEXTENSIONS または DISABLEEXTENSIONS 引数は /E:ON または /E:OFF スイッチよりも優先されます。詳細については SETLOCAL /? を 参照してください。 コマンド拡張機能には、次のコマンドに対する変更または追加が含まれています。 DEL または ERASE COLOR CD または CHDIR MD または MKDIR PROMPT PUSHD POPD SET SETLOCAL ENDLOCAL IF FOR CALL SHIFT GOTO START (外部コマンドの起動の変更を含みます) ASSOC FTYPE 詳細は、コマンド名の後に「/?」と入力すると表示されるヘルプを参照してください。 既定では、遅延環境変数の展開は有効ではありません。遅延環境変数の展開を有効また は無効にして CMD.EXE を起動するには、/V:ON または /V:OFF スイッチを使います。 コンピューターまたはログオン セッションで起動される CMD.EXE コマンドすべてに対 して遅延の展開を有効または無効にするには、REGEDIT.EXE を使ってレジストリにある 次の REG_DWORD 値を設定します。コンピューターに対しては、 HKEY_LOCAL_MACHINE\\Software\\Microsoft\\Command Processor\\DelayedExpansion に 0x1 を設定すると有効になり、0x0 を設定すると無効になります。 ユーザー ログオン セッションに対しては、 HKEY_CURRENT_USER\\Software\\Microsoft\\Command Processor\\DelayedExpansion に 0x1 を設定すると有効になり、0x0 を設定すると無効になります。 ユーザー固有の設定は、コンピューターの設定より優先されます。 コマンド ライン スイッチは、レジストリの設定より優先されます。 バッチ ファイルでは、SETLOCAL ENABLEEXTENSIONS または DISABLEEXTENSIONS 引数は /V:ON または /V:OFF スイッチよりも優先されます。 詳細については SETLOCAL /? を参照してください。 遅延環境変数の展開が有効になっている場合、感嘆符を使うと実行時に環境変数の 値を置き換えることができます。 CMD.EXE の特定の起動のファイル名補完機能を有効または無効にするには、/F:ON または /F:OFF スイッチを使用します。コンピューターとユーザー ログオン セッション またはそのいずれかで起動される CMD.EXE コマンドすべてに対して補完機能を有効 または無効にするには、REGEDIT.EXE を使ってレジストリにある次の REG_DWORD 値を 設定します。コンピューターに対しては、 HKEY_LOCAL_MACHINE\\Software\\Microsoft\\Command Processor\\CompletionChar HKEY_LOCAL_MACHINE\\Software\\Microsoft\\Command Processor\\PathCompletionChar に特定の機能に使う 16 進の制御文字を設定します (例 0x4 は Ctrl-D、0x6 は Ctrl-F)。ユーザー ログオン セッションに対しては、 HKEY_CURRENT_USER\\Software\\Microsoft\\Command Processor\\CompletionChar HKEY_CURRENT_USER\\Software\\Microsoft\\Command Processor\\PathCompletionChar に特定の機能に使う 16 進の制御文字を指定します (例: 0x4 は Ctrl-D、0x6 は Ctrl-F)。 ユーザー固有の設定は、コンピューターの設定より優先されます。 コマンド ライン スイッチは、レジストリの設定より優先されます。 /F:ON スイッチで補完機能を有効にした場合、2 つの制御文字 (Ctrl-D はディレ クトリ名補完機能、Ctrl-F はファイル名補完機能) が使用されます。 レジストリで特定の補完文字を無効にするには、制御文字として有効でないスペース (0x20) の値を使用します。 2 つの制御文字のどちらかを入力すると、補完機能が起動されます。 パスが存在しない場合、プログラムはカーソルの左側のパス文字列にワイルド カード文字を付加し、一致するパスの一覧を作成します。その後一致する最初の パスを表示します。パスが一致しない場合、音を鳴らします。同じ制御文字を押し 続けると一致するパスの一覧を順に表示します。Shift キーを押しながら制御文字 を押すと一覧を逆回り表示します。行を編集して制御文字をもう一度押すと、保存 されていた一致したパスの一覧は破棄され、新しい一覧が作成されます。 ファイル名補完機能とディレクトリ名補完機能を切り替えたときも同様です。 2 つの制御文字の違いは、ディレクトリ補完文字がディレクトリ名だけを照合する のに対し、ファイル名補完文字はファイルとディレクトリ名の両方を照合する点です。 ファイル補完機能が内部ディレクトリ コマンド (CD、MD または RD) に使用され た場合、ディレクトリ補完機能と見なされます。 一致するパスの前後に引用符を付けると、補完機能コードでスペースまたは他の 特別な文字を含むファイル名が使用できるようになります。また、行の前に戻って 補完機能を起動した場合、補完機能が呼び出された時点でカーソルの右側に あったテキストは破棄されます。 引用符が必要な特別な文字は次のとおりです: \u0026lt;スペース\u0026gt; \u0026amp;()[]{}^=;!\u0026#39;+,`~ 英語\rStarts a new instance of the Windows command interpreter CMD [/A | /U] [/Q] [/D] [/E:ON | /E:OFF] [/F:ON | /F:OFF] [/V:ON | /V:OFF] [[/S] [/C | /K] string] /C Carries out the command specified by string and then terminates /K Carries out the command specified by string but remains /S Modifies the treatment of string after /C or /K (see below) /Q Turns echo off /D Disable execution of AutoRun commands from registry (see below) /A Causes the output of internal commands to a pipe or file to be ANSI /U Causes the output of internal commands to a pipe or file to be Unicode /T:fg Sets the foreground/background colors (see COLOR /? for more info) /E:ON Enable command extensions (see below) /E:OFF Disable command extensions (see below) /F:ON Enable file and directory name completion characters (see below) /F:OFF Disable file and directory name completion characters (see below) /V:ON Enable delayed environment variable expansion using ! as the delimiter. For example, /V:ON would allow !var! to expand the variable var at execution time. The var syntax expands variables at input time, which is quite a different thing when inside of a FOR loop. /V:OFF Disable delayed environment expansion. Note that multiple commands separated by the command separator \u0026#39;\u0026amp;\u0026amp;\u0026#39; are accepted for string if surrounded by quotes. Also, for compatibility reasons, /X is the same as /E:ON, /Y is the same as /E:OFF and /R is the same as /C. Any other switches are ignored. If /C or /K is specified, then the remainder of the command line after the switch is processed as a command line, where the following logic is used to process quote (\u0026#34;) characters: 1. If all of the following conditions are met, then quote characters on the command line are preserved: - no /S switch - exactly two quote characters - no special characters between the two quote characters, where special is one of: \u0026amp;\u0026lt;\u0026gt;()@^| - there are one or more whitespace characters between the two quote characters - the string between the two quote characters is the name of an executable file. 2. Otherwise, old behavior is to see if the first character is a quote character and if so, strip the leading character and remove the last quote character on the command line, preserving any text after the last quote character. If /D was NOT specified on the command line, then when CMD.EXE starts, it looks for the following REG_SZ/REG_EXPAND_SZ registry variables, and if either or both are present, they are executed first. HKEY_LOCAL_MACHINE\\Software\\Microsoft\\Command Processor\\AutoRun and/or HKEY_CURRENT_USER\\Software\\Microsoft\\Command Processor\\AutoRun Command Extensions are enabled by default. You may also disable extensions for a particular invocation by using the /E:OFF switch. You can enable or disable extensions for all invocations of CMD.EXE on a machine and/or user logon session by setting either or both of the following REG_DWORD values in the registry using REGEDIT.EXE: HKEY_LOCAL_MACHINE\\Software\\Microsoft\\Command Processor\\EnableExtensions and/or HKEY_CURRENT_USER\\Software\\Microsoft\\Command Processor\\EnableExtensions to either 0x1 or 0x0. The user specific setting takes precedence over the machine setting. The command line switches take precedence over the registry settings. In a batch file, the SETLOCAL ENABLEEXTENSIONS or DISABLEEXTENSIONS arguments takes precedence over the /E:ON or /E:OFF switch. See SETLOCAL /? for details. The command extensions involve changes and/or additions to the following commands: DEL or ERASE COLOR CD or CHDIR MD or MKDIR PROMPT PUSHD POPD SET SETLOCAL ENDLOCAL IF FOR CALL SHIFT GOTO START (also includes changes to external command invocation) ASSOC FTYPE To get specific details, type commandname /? to view the specifics. Delayed environment variable expansion is NOT enabled by default. You can enable or disable delayed environment variable expansion for a particular invocation of CMD.EXE with the /V:ON or /V:OFF switch. You can enable or disable delayed expansion for all invocations of CMD.EXE on a machine and/or user logon session by setting either or both of the following REG_DWORD values in the registry using REGEDIT.EXE: HKEY_LOCAL_MACHINE\\Software\\Microsoft\\Command Processor\\DelayedExpansion and/or HKEY_CURRENT_USER\\Software\\Microsoft\\Command Processor\\DelayedExpansion to either 0x1 or 0x0. The user specific setting takes precedence over the machine setting. The command line switches take precedence over the registry settings. In a batch file the SETLOCAL ENABLEDELAYEDEXPANSION or DISABLEDELAYEDEXPANSION arguments takes precedence over the /V:ON or /V:OFF switch. See SETLOCAL /? for details. If delayed environment variable expansion is enabled, then the exclamation character can be used to substitute the value of an environment variable at execution time. You can enable or disable file name completion for a particular invocation of CMD.EXE with the /F:ON or /F:OFF switch. You can enable or disable completion for all invocations of CMD.EXE on a machine and/or user logon session by setting either or both of the following REG_DWORD values in the registry using REGEDIT.EXE: HKEY_LOCAL_MACHINE\\Software\\Microsoft\\Command Processor\\CompletionChar HKEY_LOCAL_MACHINE\\Software\\Microsoft\\Command Processor\\PathCompletionChar and/or HKEY_CURRENT_USER\\Software\\Microsoft\\Command Processor\\CompletionChar HKEY_CURRENT_USER\\Software\\Microsoft\\Command Processor\\PathCompletionChar with the hex value of a control character to use for a particular function (e.g. 0x4 is Ctrl-D and 0x6 is Ctrl-F). The user specific settings take precedence over the machine settings. The command line switches take precedence over the registry settings. If completion is enabled with the /F:ON switch, the two control characters used are Ctrl-D for directory name completion and Ctrl-F for file name completion. To disable a particular completion character in the registry, use the value for space (0x20) as it is not a valid control character. Completion is invoked when you type either of the two control characters. The completion function takes the path string to the left of the cursor appends a wild card character to it if none is already present and builds up a list of paths that match. It then displays the first matching path. If no paths match, it just beeps and leaves the display alone. Thereafter, repeated pressing of the same control character will cycle through the list of matching paths. Pressing the Shift key with the control character will move through the list backwards. If you edit the line in any way and press the control character again, the saved list of matching paths is discarded and a new one generated. The same occurs if you switch between file and directory name completion. The only difference between the two control characters is the file completion character matches both file and directory names, while the directory completion character only matches directory names. If file completion is used on any of the built in directory commands (CD, MD or RD) then directory completion is assumed. The completion code deals correctly with file names that contain spaces or other special characters by placing quotes around the matching path. Also, if you back up, then invoke completion from within a line, the text to the right of the cursor at the point completion was invoked is discarded. The special characters that require quotes are: \u0026lt;space\u0026gt; \u0026amp;()[]{}^=;!\u0026#39;+,`~ Return Code: 1\n","date":"2022-07-07T23:49:25Z","permalink":"https://pen2.com/cmd/ja/cmd/","title":"cmd"},{"content":" color help color Output:\n日本語\rコンソールの既定の前景色と背景色を設定します。 COLOR [属性] 属性 コンソール出力の色属性を指定します。 色属性は、2 桁の 16 進数で指定します。 1 桁目は背景に、2 桁目は前景に対応します。 各桁には、次のいずれかの値を指定することができます: 0 = 黒 8 = 灰色 1 = 青 9 = 明るい青 2 = 緑 A = 明るい緑 3 = 水色 B = 明るい水色 4 = 赤 C = 明るい赤 5 = 紫 D = 明るい紫 6 = 黄色 E = 明るい黄色 7 = 白 F = 輝く白 引数を指定しないでこのコマンドを実行すると、CMD.EXE が起動されたときの 色を復元します。 この値は、現在のコンソール ウィンドウ、/T コマンド ライン スイッチ、 またはレジストリの DefaultColor 値から取得されます。 前景と背景に同じ色を指定して COLOR コマンドを実行しようとすると、 COLOR コマンドは、ERRORLEVEL を 1 に 設定します。 例: \u0026#34;COLOR fc\u0026#34; は、輝く白の上に明るい赤を表示します。 英語\rSets the default console foreground and background colors. COLOR [attr] attr Specifies color attribute of console output Color attributes are specified by TWO hex digits -- the first corresponds to the background; the second the foreground. Each digit can be any of the following values: 0 = Black 8 = Gray 1 = Blue 9 = Light Blue 2 = Green A = Light Green 3 = Aqua B = Light Aqua 4 = Red C = Light Red 5 = Purple D = Light Purple 6 = Yellow E = Light Yellow 7 = White F = Bright White If no argument is given, this command restores the color to what it was when CMD.EXE started. This value either comes from the current console window, the /T command line switch or from the DefaultColor registry value. The COLOR command sets ERRORLEVEL to 1 if an attempt is made to execute the COLOR command with a foreground and background color that are the same. Example: \u0026#34;COLOR fc\u0026#34; produces light red on bright white Return Code: 1\n","date":"2022-07-07T23:49:25Z","permalink":"https://pen2.com/cmd/ja/color/","title":"color"},{"content":" copy help copy Output:\n日本語\r1 つまたは複数のファイルを別の場所にコピーします。 COPY [/D] [/V] [/N] [/Y | /-Y] [/Z] [/L] [/A | /B] 送り側 [/A | /B] [+ 送り側 [/A | /B] [+ ...]] [受け側 [/A | /B]] 送り側 コピーするファイル (複数可) を指定します。 /A ASCII テキスト ファイルとして扱います。 /B バイナリ ファイルとして扱います。 /D 受け側のファイルが暗号化が解除されて作成されるようにします。 受け側 新しいファイルのディレクトリまたはファイル名 (複数可) を指定し ます。 /V 新しいファイルが正しく書き込まれたか検査します。 /N MS-DOS 形式以外の名前のファイルをコピーするときに、利用可能な らば、短いファイル名を使用します。 /Y 受け側の既存のファイルを上書きする前に確認のメッセージを表示し ません。 /-Y 受け側の既存のファイルを上書きする前に確認のメッセージを表示し ます。 /Z ネットワーク ファイルを再起動可能モードでコピーします。 /L 送り側がシンボリック リンクの場合は、送り側リンクが指し示す 実際のファイルではなく、リンクをターゲットにコピーします。 環境変数 COPYCMD でスイッチ /Y が設定されている場合があります。 このスイッチは、コマンド ラインから /-Y が指定されると無効になります。既定 では、COPY コマンドがバッチ スクリプトから実行されていない場合、上書き確認 メッセージが表示されます。 複数のファイルを追加するときは、受け側に 1 個のファイルを指定し、送り側に 複数のファイルを指定します (ワイルドカードを使うか、ファイル 1 + ファイル 2 + ファイル 3 と指定します)。 英語\rCopies one or more files to another location. COPY [/D] [/V] [/N] [/Y | /-Y] [/Z] [/L] [/A | /B ] source [/A | /B] [+ source [/A | /B] [+ ...]] [destination [/A | /B]] source Specifies the file or files to be copied. /A Indicates an ASCII text file. /B Indicates a binary file. /D Allow the destination file to be created decrypted destination Specifies the directory and/or filename for the new file(s). /V Verifies that new files are written correctly. /N Uses short filename, if available, when copying a file with a non-8dot3 name. /Y Suppresses prompting to confirm you want to overwrite an existing destination file. /-Y Causes prompting to confirm you want to overwrite an existing destination file. /Z Copies networked files in restartable mode. /L If the source is a symbolic link, copy the link to the target instead of the actual file the source link points to. The switch /Y may be preset in the COPYCMD environment variable. This may be overridden with /-Y on the command line. Default is to prompt on overwrites unless COPY command is being executed from within a batch script. To append files, specify a single file for destination, but multiple files for source (using wildcards or file1+file2+file3 format). Return Code: 1\n","date":"2022-07-07T23:49:25Z","permalink":"https://pen2.com/cmd/ja/copy/","title":"copy"},{"content":" date help date Output:\n日本語\r日付を表示または設定します。 DATE [/T | 日付] パラメーターの指定がない場合は、現在の日付が表示され、新しい日付の入力を 求められます。変更しない場合は、Enter キーを押します。 コマンド拡張機能を有効にすると、DATE コマンドは、/T スイッチを サポートするようになります。このスイッチを指定すると、現在の日付 だけが表示され、新しい日付を入力するためのプロンプトは表示されません。 英語\rDisplays or sets the date. DATE [/T | date] Type DATE without parameters to display the current date setting and a prompt for a new one. Press ENTER to keep the same date. If Command Extensions are enabled the DATE command supports the /T switch which tells the command to just output the current date, without prompting for a new date. Return Code: 1\n","date":"2022-07-07T23:49:25Z","permalink":"https://pen2.com/cmd/ja/date/","title":"date"},{"content":" del help del Output:\n日本語\rファイル (複数可) を削除します。 DEL [/P] [/F] [/S] [/Q] [/A[[:]属性]] 名前 ERASE [/P] [/F] [/S] [/Q] [/A[[:]属性]] 名前 名前 ファイルまたはディレクトリ (複数可) の一覧を指定します。 複数のファイルを削除するときはワイルドカードを使用できます。 ディレクトリを指定した場合、ディレクトリ内のすべての ファイルが削除されます。 /P 各ファイルを削除する前に確認のメッセージを表示します。 /F 読み取り専用ファイルを強制的に削除します。 /S 指定したファイルをすべてのサブディレクトリから削除します。 /Q ワイルドカードを使用して一括削除するときに確認のメッセージを表示しません。(Quiet モード) /A 属性により削除するファイルを選択します。 属性 R 読み取り専用 S システム ファイル H 隠しファイル A アーカイブ I 非インデックス対象ファイル L 再解析ポイント O オフライン ファイル - その属性以外 コマンド拡張機能を有効にすると、DEL と ERASE は次のように変更されます: /S スイッチの表示形式が逆になり、見つからなかったファイルではなく 削除されたファイルだけが表示されるようになります。 英語\rDeletes one or more files. DEL [/P] [/F] [/S] [/Q] [/A[[:]attributes]] names ERASE [/P] [/F] [/S] [/Q] [/A[[:]attributes]] names names Specifies a list of one or more files or directories. Wildcards may be used to delete multiple files. If a directory is specified, all files within the directory will be deleted. /P Prompts for confirmation before deleting each file. /F Force deleting of read-only files. /S Delete specified files from all subdirectories. /Q Quiet mode, do not ask if ok to delete on global wildcard /A Selects files to delete based on attributes attributes R Read-only files S System files H Hidden files A Files ready for archiving I Not content indexed Files L Reparse Points O Offline files - Prefix meaning not If Command Extensions are enabled DEL and ERASE change as follows: The display semantics of the /S switch are reversed in that it shows you only the files that are deleted, not the ones it could not find. Return Code: 1\n","date":"2022-07-07T23:49:25Z","permalink":"https://pen2.com/cmd/ja/del/","title":"del"},{"content":" dir help dir Output:\n日本語\rディレクトリ中のファイルとサブディレクトリを一覧表示します。 DIR [ドライブ:][パス][ファイル名] [/A[[:]属性]] [/B] [/C] [/D] [/L] [/N] [/O[[:]ソート順]] [/P] [/Q] [/R] [/S] [/T[[:]タイムフィールド]] [/W] [/X] [/4] [ドライブ:][パス][ファイル名] 一覧表示するドライブ、ディレクトリ、またはファイルを指定します。 /A 指定された属性のファイルを表示します。 属性 D ディレクトリ R 読み取り専用 H 隠しファイル A アーカイブ S システム ファイル I 非インデックス対象ファイル L 再解析ポイント O オフライン ファイル - その属性以外 /B ファイル名のみを表示します (見出しや要約が付きません)。 /C ファイル サイズを桁区切り表示します。これは 既定の設定です。/-C とすると桁区切りが表示されません。 /D /W と同じですが、ファイルを列で並べ替えた一覧を表示します。 /L 小文字で表示します。 /N ファイル名を右端に表示する一覧形式を使用します。 /O ファイルを並べ替えて表示します。 sortorder N 名前順 (アルファベット) S サイズ順 (小さい方から) E 拡張子順 (アルファベット) D 日時順 (古い方から) G グループ (ディレクトリから) - 降順 /P 1 画面ごとに一時停止して表示します。 /Q ファイルの所有者を表示します。 /R ファイルの代替データ ストリームを表示します。 /S 指定されたディレクトリおよびそのサブディレクトリのすべてのファイルを表示します。 /T どのタイム フィールドを表示するか、または並べ替えに使用するかを指定します。 タイムフィールド C 作成 A 最終アクセス W 最終更新 /W ワイド一覧形式で表示します。 /X このオプションは 8dot3 形式以外のファイル名に対する短い名前を 表示します。長い名前の前に短い名前を表示する点を除けば /N オプションと同じです。短い名前がない場合は、 ブランクになります。 /4 4 つの数字で年を表示します。 環境変数 DIRCMD にスイッチを設定できます。 /-W のように - (ハイフン) を付けると、そのスイッチは無効になります。 英語\rDisplays a list of files and subdirectories in a directory. DIR [drive:][path][filename] [/A[[:]attributes]] [/B] [/C] [/D] [/L] [/N] [/O[[:]sortorder]] [/P] [/Q] [/R] [/S] [/T[[:]timefield]] [/W] [/X] [/4] [drive:][path][filename] Specifies drive, directory, and/or files to list. /A Displays files with specified attributes. attributes D Directories R Read-only files H Hidden files A Files ready for archiving S System files I Not content indexed files L Reparse Points O Offline files - Prefix meaning not /B Uses bare format (no heading information or summary). /C Display the thousand separator in file sizes. This is the default. Use /-C to disable display of separator. /D Same as wide but files are list sorted by column. /L Uses lowercase. /N New long list format where filenames are on the far right. /O List by files in sorted order. sortorder N By name (alphabetic) S By size (smallest first) E By extension (alphabetic) D By date/time (oldest first) G Group directories first - Prefix to reverse order /P Pauses after each screenful of information. /Q Display the owner of the file. /R Display alternate data streams of the file. /S Displays files in specified directory and all subdirectories. /T Controls which time field displayed or used for sorting timefield C Creation A Last Access W Last Written /W Uses wide list format. /X This displays the short names generated for non-8dot3 file names. The format is that of /N with the short name inserted before the long name. If no short name is present, blanks are displayed in its place. /4 Displays four-digit years Switches may be preset in the DIRCMD environment variable. Override preset switches by prefixing any switch with - (hyphen)--for example, /-W. Return Code: 1\n","date":"2022-07-07T23:49:25Z","permalink":"https://pen2.com/cmd/ja/dir/","title":"dir"},{"content":" echo help echo Output:\n日本語\rメッセージを表示したり、コマンド エコーの ON と OFF を切り替えます。 ECHO [ON | OFF] ECHO [メッセージ] 現在のエコー設定を表示するには、パラメーターを指定せずに ECHO と入力してください。 英語\rDisplays messages, or turns command-echoing on or off. ECHO [ON | OFF] ECHO [message] Type ECHO without parameters to display the current echo setting. Return Code: 1\n","date":"2022-07-07T23:49:25Z","permalink":"https://pen2.com/cmd/ja/echo/","title":"echo"},{"content":" endlocal help endlocal Output:\n日本語\rバッチ ファイルの環境変更のローカル化を終了します。 ENDLOCAL を実行した後で変更した環境設定はバッチ ファイル固有の設定で はありません。 バッチ ファイルを終了しても前の設定は復元されません。 ENDLOCAL コマンド拡張機能を有効にすると、ENDLOCAL は次のように変更されます: 対応する SETLOCAL が新しい ENABLEEXTENSIONS または DISABLEEXTENSIONS オプションを使ってコマンド拡張機能を 有効または無効にしている場合は、 ENDLOCAL を実行した後、コマンド拡張機能の有効または無効の状態は対応 する SETLOCAL コマンドを実行する前の状態に復元されます。 英語\rEnds localization of environment changes in a batch file. Environment changes made after ENDLOCAL has been issued are not local to the batch file; the previous settings are not restored on termination of the batch file. ENDLOCAL If Command Extensions are enabled ENDLOCAL changes as follows: If the corresponding SETLOCAL enable or disabled command extensions using the new ENABLEEXTENSIONS or DISABLEEXTENSIONS options, then after the ENDLOCAL, the enabled/disabled state of command extensions will be restored to what it was prior to the matching SETLOCAL command execution. Return Code: 1\n","date":"2022-07-07T23:49:25Z","permalink":"https://pen2.com/cmd/ja/endlocal/","title":"endlocal"},{"content":" erase help erase Output:\n日本語\rファイル (複数可) を削除します。 DEL [/P] [/F] [/S] [/Q] [/A[[:]属性]] 名前 ERASE [/P] [/F] [/S] [/Q] [/A[[:]属性]] 名前 名前 ファイルまたはディレクトリ (複数可) の一覧を指定します。 複数のファイルを削除するときはワイルドカードを使用できます。 ディレクトリを指定した場合、ディレクトリ内のすべての ファイルが削除されます。 /P 各ファイルを削除する前に確認のメッセージを表示します。 /F 読み取り専用ファイルを強制的に削除します。 /S 指定したファイルをすべてのサブディレクトリから削除します。 /Q ワイルドカードを使用して一括削除するときに確認のメッセージを表示しません。(Quiet モード) /A 属性により削除するファイルを選択します。 属性 R 読み取り専用 S システム ファイル H 隠しファイル A アーカイブ I 非インデックス対象ファイル L 再解析ポイント O オフライン ファイル - その属性以外 コマンド拡張機能を有効にすると、DEL と ERASE は次のように変更されます: /S スイッチの表示形式が逆になり、見つからなかったファイルではなく 削除されたファイルだけが表示されるようになります。 英語\rDeletes one or more files. DEL [/P] [/F] [/S] [/Q] [/A[[:]attributes]] names ERASE [/P] [/F] [/S] [/Q] [/A[[:]attributes]] names names Specifies a list of one or more files or directories. Wildcards may be used to delete multiple files. If a directory is specified, all files within the directory will be deleted. /P Prompts for confirmation before deleting each file. /F Force deleting of read-only files. /S Delete specified files from all subdirectories. /Q Quiet mode, do not ask if ok to delete on global wildcard /A Selects files to delete based on attributes attributes R Read-only files S System files H Hidden files A Files ready for archiving I Not content indexed Files L Reparse Points O Offline files - Prefix meaning not If Command Extensions are enabled DEL and ERASE change as follows: The display semantics of the /S switch are reversed in that it shows you only the files that are deleted, not the ones it could not find. Return Code: 1\n","date":"2022-07-07T23:49:25Z","permalink":"https://pen2.com/cmd/ja/erase/","title":"erase"},{"content":" exit help exit Output:\n日本語\rCMD.EXE プログラム (コマンド インタープリター) またはバッチ スクリプトを終了 します。 EXIT [/B] [終了コード] /B CMD.EXE ではなく、現在のバッチ スクリプトを終了するように指定 します。バッチ スクリプトの外から実行された場合、CMD.EXE を終 了させます。 終了コード 数値を指定します。/B が指定されている場合、ERRORLEVEL にその 数値を設定します。CMD.EXE 終了をする場合、プロセス終了コードに その数値を設定します。 英語\rQuits the CMD.EXE program (command interpreter) or the current batch script. EXIT [/B] [exitCode] /B specifies to exit the current batch script instead of CMD.EXE. If executed from outside a batch script, it will quit CMD.EXE exitCode specifies a numeric number. if /B is specified, sets ERRORLEVEL that number. If quitting CMD.EXE, sets the process exit code with that number. Return Code: 1\n","date":"2022-07-07T23:49:25Z","permalink":"https://pen2.com/cmd/ja/exit/","title":"exit"},{"content":" for help for Output:\n日本語\r指定されたコマンドをファイル セットの各ファイルに対して実行します。 FOR %変数 IN (セット) DO コマンド [コマンドパラメーター] %変数 単一文字の置き換え可能なパラメーターを指定します。 (セット) ファイル セットを指定します。ワイルドカードを使用できます。 コマンド 各ファイルごとに実行するコマンドを指定します。 コマンドパラメーター 指定されたコマンドのパラメーターまたはスイッチを指定します。 バッチ プログラムで FOR コマンドを使用するときは、%変数の代わりに、 %%変数を使用してください。変数名では大文字と小文字が区別されるため、 %i と %I は異なります。 コマンド拡張機能を有効にすると、次の FOR コマンドの追加形式 がサポートされるようになります: FOR /D %変数 IN (セット) DO コマンド [コマンド パラメーター] セットがワイルドカードを含む場合は、ファイル名ではなくディレクトリ名 の一致を指定します。 FOR /R [[ドライブ:]パス] %変数 IN (セット) DO コマンド [コマンド パラメーター] [ドライブ:]パスから始めて、ツリーの各ディレクトリで FOR 文を実行し ます。/R の後にディレクトリが指定されていない場合は、現在の ディレクトリが使用されます。セットが単一のピリオド (.) である場合は、 ディレクトリ ツリーの列挙だけを行います。 FOR /L %変数 IN (開始,ステップ,終了) DO コマンド [コマンド パラメーター] セットは、ステップの量ごとに変化する開始から終了までの数列です。 たとえば、(1,1,5) は 1 2 3 4 5、(5,-1,1) は (5 4 3 2 1) という数列に なります。 FOR /F [\u0026#34;オプション\u0026#34;] %変数 IN (ファイル セット) DO コマンド [コマンド パラメーター] FOR /F [\u0026#34;オプション\u0026#34;] %変数 IN (\u0026#34;文字列\u0026#34;) DO コマンド [コマンド パラメーター] FOR /F [\u0026#34;オプション\u0026#34;] %変数 IN (\u0026#39;コマンド\u0026#39;) DO コマンド [コマンド パラメーター] または usebackq オプションの場合: FOR /F [\u0026#34;オプション\u0026#34;] %変数 IN (ファイル セット) DO コマンド [コマンド パラメーター] FOR /F [\u0026#34;オプション\u0026#34;] %変数 IN (\u0026#39;文字列\u0026#39;) DO コマンド [コマンド パラメーター] FOR /F [\u0026#34;オプション\u0026#34;] %変数 IN (`コマンド`) DO コマンド [コマンド パラメーター] ファイル セットは、1 つ以上のファイル名です。各ファイルが開かれ、 読み取られ、処理されてから、ファイル セットの次のファイルに進みます。 処理では、ファイルの読み取り、個々のテキスト行への分割と、0 個以上の トークンへの解析が行われます。その後、見つかったトークン文字列を変数値に 設定して for ループの本体が呼び出されます。既定では、/F は、各ファイルの 各行から、空白で区切られた最初のトークンを取得して渡します。空白行は スキップされます。既定の解析動作を変更するには、省略可能な \u0026#34;オプション\u0026#34; パラメーターを指定します。これは、異なる解析オプションを指定する 1 つ以上の キーワードを含む、引用符で囲まれた文字列です。キーワードは、次のとおりです: eol=c - 行末のコメント文字を指定します (1 文字)。 skip=n - ファイルの先頭でスキップする行数を指定します。 delims=xxx - 区切り文字のセットを指定します。 これは、既定の区切り文字であるスペースとタブを 置き換えます。 tokens=x,y,m-n - 各繰り返しに対して、各行から for 本体に渡す トークンを指定します。これにより、追加の変数名が 割り当てられます。 m-n の形式は範囲で、m 番目から n 番目の トークンを指定します。 tokens= 文字列の最後の文字がアスタリスクである場合は、 追加の変数が割り当てられ、最後のトークンが解析された 後、行に含まれている残りのテキストを受け取ります。 usebackq - 次の新しい表示形式を指定します。 逆引用符で囲まれた文字列がコマンドとして実行され、 一重引用符で囲まれた文字列がリテラル文字列コマンドに なり、ファイル セットのファイル名を二重引用符で 囲めるようになります。 例を参考にしてください: FOR /F \u0026#34;eol=; tokens=2,3* delims=, \u0026#34; %i in (myfile.txt) do @echo %i %j %k この例は、myfile.txt の各行を解析します。セミコロンで始まる行を無視し、 各行の 2 番目と 3 番目のトークンを for 本体に渡します。 トークンは、コンマまたはスペースで区切られています。 for 本体の文が %i で 2 番目のトークンを、%j で 3 番目のトークンを取得し、 %k で 3 番目以降のすべてのトークンを取得していることに 注意してください。 スペースを含むファイル名に対しては、二重引用符でファイル名を引用する 必要があります。 この方法で二重引用符を使うためには、usebackq オプションも 使わなければなりません。 使わなければ、二重引用符はリテラル文字列の定義として 解釈され、解析されます。 %i は for 文で明示的に宣言され、%j と %k は tokens= オプションで暗黙的に 宣言されています。 tokens= 行を使って 26 個までのトークンを指定できますが、 文字 \u0026#39;z\u0026#39; または \u0026#39;Z\u0026#39; よりも高い変数を宣言することはできません。FOR 変数名は 単一の文字で、大文字と小文字を区別し、グローバルなものであり、一度に アクティブにできるのは合計 52 個までです。 また、かっこで囲んだファイル セットを一重引用符で囲み、文字列にすることに より、即時の文字列に対する FOR /F 解析ロジックを使うこともできます。 これは、ファイルからの単一入力行として処理されます。 最後に、FOR /F コマンドを使って、コマンド出力を解析することができます。 かっこの中のファイル セットを逆引用符で囲みます。この文字列は、コマンド ラインとして子 CMD.EXE に渡されます。出力はメモリにキャプチャされ、 ファイルのように解析されます。 例: FOR /F \u0026#34;usebackq delims==\u0026#34; %i IN (`set`) DO @echo %i この例は、現在の環境の環境変数名を列挙します。 また、FOR 変数参照の置換も拡張されました。 次のオプション構文を使うことができます: %~I - すべての引用句 (\u0026#34;) を削除して、%I を展開します。 %~fI - %I を完全修飾パス名に展開します。 %~dI - %I をドライブ文字だけに展開します。 %~pI - %I をパス名だけに展開します。 %~nI - %I をファイル名だけに展開します。 %~xI - %I をファイル拡張子だけに展開します。 %~sI - 展開されたパスは短い名前だけを含みます。 %~aI - %I をファイルの属性に展開します。 %~tI - %I ファイルの日付/時刻に展開します。 %~zI - %I ファイルのサイズに展開します。 %~$PATH:I - PATH 環境変数に指定されているディレクトリを 検索し、最初に見つかった完全修飾名に %I を 展開します。 環境変数名が定義されていない場合、または検索 してもファイルが見つからなかった場合は、この 修飾子を指定すると空の文字列に展開されます。 修飾子を組み合わせて、複合結果を得ることもできます: %~dpI - %I をドライブ文字とパスだけに展開します。 %~nxI - %I をファイル名と拡張子だけに展開します。 %~fsI - %I を完全なパスと短い名前だけに展開します。 %~dp$PATH:I - PATH 環境変数に指定されているディレクトリを 検索して %I を探し、最初に見つかったファイル のドライブ文字とパスだけに展開します。 %~ftzaI - %I を DIR コマンドの出力行のように展開します。 上の例の %I と PATH は、他の有効な値で置き換えることができます。 %~ 構文は、有効な FOR 変数名によって区切られます。%I のような大 文字の変数を使うと読み取りやすく、大文字と小文字を区別しない修飾子 との混乱を避けることができます。 英語\rRuns a specified command for each file in a set of files. FOR %variable IN (set) DO command [command-parameters] %variable Specifies a single letter replaceable parameter. (set) Specifies a set of one or more files. Wildcards may be used. command Specifies the command to carry out for each file. command-parameters Specifies parameters or switches for the specified command. To use the FOR command in a batch program, specify %%variable instead of %variable. Variable names are case sensitive, so %i is different from %I. If Command Extensions are enabled, the following additional forms of the FOR command are supported: FOR /D %variable IN (set) DO command [command-parameters] If set contains wildcards, then specifies to match against directory names instead of file names. FOR /R [[drive:]path] %variable IN (set) DO command [command-parameters] Walks the directory tree rooted at [drive:]path, executing the FOR statement in each directory of the tree. If no directory specification is specified after /R then the current directory is assumed. If set is just a single period (.) character then it will just enumerate the directory tree. FOR /L %variable IN (start,step,end) DO command [command-parameters] The set is a sequence of numbers from start to end, by step amount. So (1,1,5) would generate the sequence 1 2 3 4 5 and (5,-1,1) would generate the sequence (5 4 3 2 1) FOR /F [\u0026#34;options\u0026#34;] %variable IN (file-set) DO command [command-parameters] FOR /F [\u0026#34;options\u0026#34;] %variable IN (\u0026#34;string\u0026#34;) DO command [command-parameters] FOR /F [\u0026#34;options\u0026#34;] %variable IN (\u0026#39;command\u0026#39;) DO command [command-parameters] or, if usebackq option present: FOR /F [\u0026#34;options\u0026#34;] %variable IN (file-set) DO command [command-parameters] FOR /F [\u0026#34;options\u0026#34;] %variable IN (\u0026#39;string\u0026#39;) DO command [command-parameters] FOR /F [\u0026#34;options\u0026#34;] %variable IN (`command`) DO command [command-parameters] file-set is one or more file names. Each file is opened, read and processed before going on to the next file in file-set. Processing consists of reading in the file, breaking it up into individual lines of text and then parsing each line into zero or more tokens. The body of the for loop is then called with the variable value(s) set to the found token string(s). By default, /F passes the first blank separated token from each line of each file. Blank lines are skipped. You can override the default parsing behavior by specifying the optional \u0026#34;options\u0026#34; parameter. This is a quoted string which contains one or more keywords to specify different parsing options. The keywords are: eol=c - specifies an end of line comment character (just one) skip=n - specifies the number of lines to skip at the beginning of the file. delims=xxx - specifies a delimiter set. This replaces the default delimiter set of space and tab. tokens=x,y,m-n - specifies which tokens from each line are to be passed to the for body for each iteration. This will cause additional variable names to be allocated. The m-n form is a range, specifying the mth through the nth tokens. If the last character in the tokens= string is an asterisk, then an additional variable is allocated and receives the remaining text on the line after the last token parsed. usebackq - specifies that the new semantics are in force, where a back quoted string is executed as a command and a single quoted string is a literal string command and allows the use of double quotes to quote file names in file-set. Some examples might help: FOR /F \u0026#34;eol=; tokens=2,3* delims=, \u0026#34; %i in (myfile.txt) do @echo %i %j %k would parse each line in myfile.txt, ignoring lines that begin with a semicolon, passing the 2nd and 3rd token from each line to the for body, with tokens delimited by commas and/or spaces. Notice the for body statements reference %i to get the 2nd token, %j to get the 3rd token, and %k to get all remaining tokens after the 3rd. For file names that contain spaces, you need to quote the filenames with double quotes. In order to use double quotes in this manner, you also need to use the usebackq option, otherwise the double quotes will be interpreted as defining a literal string to parse. %i is explicitly declared in the for statement and the %j and %k are implicitly declared via the tokens= option. You can specify up to 26 tokens via the tokens= line, provided it does not cause an attempt to declare a variable higher than the letter \u0026#39;z\u0026#39; or \u0026#39;Z\u0026#39;. Remember, FOR variables are single-letter, case sensitive, global, and you can\u0026#39;t have more than 52 total active at any one time. You can also use the FOR /F parsing logic on an immediate string, by making the file-set between the parenthesis a quoted string, using single quote characters. It will be treated as a single line of input from a file and parsed. Finally, you can use the FOR /F command to parse the output of a command. You do this by making the file-set between the parenthesis a back quoted string. It will be treated as a command line, which is passed to a child CMD.EXE and the output is captured into memory and parsed as if it was a file. So the following example: FOR /F \u0026#34;usebackq delims==\u0026#34; %i IN (`set`) DO @echo %i would enumerate the environment variable names in the current environment. In addition, substitution of FOR variable references has been enhanced. You can now use the following optional syntax: %~I - expands %I removing any surrounding quotes (\u0026#34;) %~fI - expands %I to a fully qualified path name %~dI - expands %I to a drive letter only %~pI - expands %I to a path only %~nI - expands %I to a file name only %~xI - expands %I to a file extension only %~sI - expanded path contains short names only %~aI - expands %I to file attributes of file %~tI - expands %I to date/time of file %~zI - expands %I to size of file %~$PATH:I - searches the directories listed in the PATH environment variable and expands %I to the fully qualified name of the first one found. If the environment variable name is not defined or the file is not found by the search, then this modifier expands to the empty string The modifiers can be combined to get compound results: %~dpI - expands %I to a drive letter and path only %~nxI - expands %I to a file name and extension only %~fsI - expands %I to a full path name with short names only %~dp$PATH:I - searches the directories listed in the PATH environment variable for %I and expands to the drive letter and path of the first one found. %~ftzaI - expands %I to a DIR like output line In the above examples %I and PATH can be replaced by other valid values. The %~ syntax is terminated by a valid FOR variable name. Picking upper case variable names like %I makes it more readable and avoids confusion with the modifiers, which are not case sensitive. Return Code: 1\n","date":"2022-07-07T23:49:25Z","permalink":"https://pen2.com/cmd/ja/for/","title":"for"},{"content":" ftype help ftype Output:\n日本語\rファイル拡張子の関連付けに使われるファイル タイプを表示または変更します。 FTYPE [ファイル タイプ[=[オープンコマンド文字列]]] ファイル タイプ 表示または変更するファイル タイプを指定します。 オープンコマンド文字列 このタイプのファイルを開くために使うコマンドを 指定します。 パラメーターを指定しないで「FTYPE」と入力すると、オープン コマンド文字列 が定義されている現在のファイル タイプを表示します。ファイル タイプ だけを指定して FTYPE を実行すると、そのファイル タイプの現在のオープン コマンド文字列を表示します。オープン コマンド文字列に何も指定しない と、そのファイル タイプのオープン コマンド文字列を削除します。 オープン コマンド内の %0 または %1 は、関連付けを使って開かれる ファイル名で置き換えられます。%* はすべてのパラメーターを取得し、 %2 は第 1 パラメーター、%3 は第 2 パラメーターを取得します。%~n は、 第 n パラメーターから最後までのパラメーターを取得します。n は、2 から 9 の値です。たとえば、 ASSOC .pl=PerlScript FTYPE PerlScript=perl.exe %1 %* と入力すると、次のように Perl スクリプトが起動されます。 script.pl 1 2 3 次のようにすると、拡張子を入力する必要がなくなります。 set PATHEXT=.pl;%PATHEXT% スクリプトは、次のようにして起動できるようになります。 script 1 2 3 英語\rDisplays or modifies file types used in file extension associations FTYPE [fileType[=[openCommandString]]] fileType Specifies the file type to examine or change openCommandString Specifies the open command to use when launching files of this type. Type FTYPE without parameters to display the current file types that have open command strings defined. FTYPE is invoked with just a file type, it displays the current open command string for that file type. Specify nothing for the open command string and the FTYPE command will delete the open command string for the file type. Within an open command string %0 or %1 are substituted with the file name being launched through the assocation. %* gets all the parameters and %2 gets the 1st parameter, %3 the second, etc. %~n gets all the remaining parameters starting with the nth parameter, where n may be between 2 and 9, inclusive. For example: ASSOC .pl=PerlScript FTYPE PerlScript=perl.exe %1 %* would allow you to invoke a Perl script as follows: script.pl 1 2 3 If you want to eliminate the need to type the extensions, then do the following: set PATHEXT=.pl;%PATHEXT% and the script could be invoked as follows: script 1 2 3 Return Code: 1\n","date":"2022-07-07T23:49:25Z","permalink":"https://pen2.com/cmd/ja/ftype/","title":"ftype"},{"content":" goto help goto Output:\n日本語\rバッチ プログラム内の、ラベルで指定されている行へ制御を移動します。 GOTO ラベル ラベル バッチ プログラムでラベルとして使用するテキスト文字列を指定します。 ラベルの先頭には : (コロン) を指定し、ラベルだけを単独で 1 行に入力してくだ さい。 コマンド拡張機能を有効にすると、GOTO は次のように変更されます: GOTO コマンドにターゲット ラベルとして :EOF を指定し、現在のバッチ スクリプト ファイルの最後に制御を移すことができるようになります。 ラベルを定義しないでバッチ スクリプト ファイルを終了するには、この方法 が簡単です。この機能を実用化する CALL コマンドの拡張機能の説明について は、「CALL /?」と入力してください。 英語\rDirects cmd.exe to a labeled line in a batch program. GOTO label label Specifies a text string used in the batch program as a label. You type a label on a line by itself, beginning with a colon. If Command Extensions are enabled GOTO changes as follows: GOTO command now accepts a target label of :EOF which transfers control to the end of the current batch script file. This is an easy way to exit a batch script file without defining a label. Type CALL /? for a description of extensions to the CALL command that make this feature useful. Return Code: 1\n","date":"2022-07-07T23:49:25Z","permalink":"https://pen2.com/cmd/ja/goto/","title":"goto"},{"content":" graftabl help graftabl STDERR:\nJa\r\u0026#39;graftabl\u0026#39; は、内部コマンドまたは外部コマンド、 操作可能なプログラムまたはバッチ ファイルとして認識されていません。 En\r\u0026#39;graftabl\u0026#39; is not recognized as an internal or external command, operable program or batch file. Return Code: 1\n","date":"2022-07-07T23:49:25Z","permalink":"https://pen2.com/cmd/ja/graftabl/","title":"graftabl"},{"content":" if help if Output:\n日本語\rバッチ プログラム中で条件処理を実行します。 IF [NOT] ERRORLEVEL 番号 コマンド IF [NOT] 文字列1==文字列2 コマンド IF [NOT] EXIST ファイル名 コマンド NOT 条件が偽の場合にだけ、Windows がコマンドを実行する ことを指定します。 ERRORLEVEL 番号 最後のプログラムの実行で指定された番号以上の終了コード が返されたときに、条件が真になるように指定します。 文字列1==文字列2 テキスト文字列が一致するときに条件が真になるように指定 します。 EXIST ファイル名 指定したファイル名が存在するときに条件が真になるように 指定します。 コマンド 条件が真のときに実行するコマンドを指定します。コマンドに 続けて、ELSE キーワードの後、指定した条件が偽の場合に 実行される ELSE コマンドを指定することができます。 ELSE 節は、IF の後のコマンドと同じ行に置きます。 例: IF EXIST filename. ( del filename. ) ELSE ( echo filename. missing. ) del コマンドは、改行で終了しなければならないため、次の例は、正しく動作し ません: IF EXIST filename. del filename. ELSE echo filename. missing ELSE コマンドは、IF コマンドの終わりと同じ行で始まらなければならないため、 次の例は正しく動作しません: IF EXIST filename. del filename. ELSE echo filename. missing 次の例のように、すべてのコマンドを 1 行にすれば正しく動作します: IF EXIST filename. (del filename.) ELSE echo filename. missing コマンド拡張機能を有効にすると、IF は次のように変更されます: IF [/I] 文字列 1 比較演算子 文字列 2 コマンド IF CMDEXTVERSION 番号 コマンド IF DEFINED 変数 コマンド 比較演算子は、次のいずれかです: EQU - 等しい NEQ - 等しくない LSS - より小さい LEQ - 以下 GTR - より大きい GEQ - 以上 /I スイッチを指定すると、文字列は、大文字と小文字を区別せずに比較され ます。 /I スイッチは、IF の文字列 1 == 文字列 2 形式で使うこともできます。 この比較は汎用であり、文字列 1 と文字列 2 が両方とも数字だけを含む場合は、 文字列が数値に変換され、数値の比較が行われます。 CMDEXTVERSION 条件は ERRORLEVEL と同様に動作しますが、コマンド拡張機能 に関連付けられている内部バージョン番号との比較を行います。最初の バージョンは 1 です。 コマンド拡張機能に重要な拡張が追加された場合は、値が 1 大きくなります。 コマンド拡張機能が無効である場合は、CMDEXTVERSION 条件は常に偽です。 DEFINED 条件は EXIST と同様に動作しますが、環境変数名を受け取って、環境 変数が定義されている場合は真を返します。 %ERRORLEVEL% は、ERRORLEVEL の現在の値の文字列表記に展開されます。 ただし、ERRORLEVEL という名前の環境変数が既に定義されている場合は、その 環境変数の値が取得されます。 プログラム実行後、次の例が ERRORLEVEL の使い方を説明しています: goto answer%ERRORLEVEL% :answer0 echo Program had return code 0 :answer1 echo Program had return code 1 また、上の数値比較を使うこともできます: IF %ERRORLEVEL% LEQ 1 goto okay %CMDCMDLINE% は、CMD.EXE が処理する前の、CMD.EXE に渡されたオリジナル のコマンド ラインに展開されます。 ただし、CMDCMDLINE という名前の環境変数が既に定義されている場合は、 その環境変数の値が取得されます。 %CMDEXTVERSION% は、CMDEXTVERSION の現在の値の文字列表記に 展開されます。 ただし、CMDEXTVERSION という名前の環境変数が既に定義されている場合は、 その環境変数の値が取得されます。 英語\rPerforms conditional processing in batch programs. IF [NOT] ERRORLEVEL number command IF [NOT] string1==string2 command IF [NOT] EXIST filename command NOT Specifies that Windows should carry out the command only if the condition is false. ERRORLEVEL number Specifies a true condition if the last program run returned an exit code equal to or greater than the number specified. string1==string2 Specifies a true condition if the specified text strings match. EXIST filename Specifies a true condition if the specified filename exists. command Specifies the command to carry out if the condition is met. Command can be followed by ELSE command which will execute the command after the ELSE keyword if the specified condition is FALSE The ELSE clause must occur on the same line as the command after the IF. For example: IF EXIST filename. ( del filename. ) ELSE ( echo filename. missing. ) The following would NOT work because the del command needs to be terminated by a newline: IF EXIST filename. del filename. ELSE echo filename. missing Nor would the following work, since the ELSE command must be on the same line as the end of the IF command: IF EXIST filename. del filename. ELSE echo filename. missing The following would work if you want it all on one line: IF EXIST filename. (del filename.) ELSE echo filename. missing If Command Extensions are enabled IF changes as follows: IF [/I] string1 compare-op string2 command IF CMDEXTVERSION number command IF DEFINED variable command where compare-op may be one of: EQU - equal NEQ - not equal LSS - less than LEQ - less than or equal GTR - greater than GEQ - greater than or equal and the /I switch, if specified, says to do case insensitive string compares. The /I switch can also be used on the string1==string2 form of IF. These comparisons are generic, in that if both string1 and string2 are both comprised of all numeric digits, then the strings are converted to numbers and a numeric comparison is performed. The CMDEXTVERSION conditional works just like ERRORLEVEL, except it is comparing against an internal version number associated with the Command Extensions. The first version is 1. It will be incremented by one when significant enhancements are added to the Command Extensions. CMDEXTVERSION conditional is never true when Command Extensions are disabled. The DEFINED conditional works just like EXIST except it takes an environment variable name and returns true if the environment variable is defined. %ERRORLEVEL% will expand into a string representation of the current value of ERRORLEVEL, provided that there is not already an environment variable with the name ERRORLEVEL, in which case you will get its value instead. After running a program, the following illustrates ERRORLEVEL use: goto answer%ERRORLEVEL% :answer0 echo Program had return code 0 :answer1 echo Program had return code 1 You can also use numerical comparisons above: IF %ERRORLEVEL% LEQ 1 goto okay %CMDCMDLINE% will expand into the original command line passed to CMD.EXE prior to any processing by CMD.EXE, provided that there is not already an environment variable with the name CMDCMDLINE, in which case you will get its value instead. %CMDEXTVERSION% will expand into a string representation of the current value of CMDEXTVERSION, provided that there is not already an environment variable with the name CMDEXTVERSION, in which case you will get its value instead. Return Code: 1\n","date":"2022-07-07T23:49:25Z","permalink":"https://pen2.com/cmd/ja/if/","title":"if"},{"content":" md help md Output:\n日本語\rディレクトリを作成します。 MKDIR [ドライブ:]パス MD [ドライブ:]パス コマンド拡張機能を有効にすると、MKDIR は次のように変更されます: MKDIR は、必要に応じてパスの中間ディレクトリを作成します。 たとえば、\\a が存在しない場合、 mkdir \\a\\b\\c\\d は、次と同じです: mkdir \\a chdir \\a mkdir b chdir b mkdir c chdir c mkdir d 拡張機能が無効な場合は、上のように入力します。 英語\rCreates a directory. MKDIR [drive:]path MD [drive:]path If Command Extensions are enabled MKDIR changes as follows: MKDIR creates any intermediate directories in the path, if needed. For example, assume \\a does not exist then: mkdir \\a\\b\\c\\d is the same as: mkdir \\a chdir \\a mkdir b chdir b mkdir c chdir c mkdir d which is what you would have to type if extensions were disabled. Return Code: 1\n","date":"2022-07-07T23:49:25Z","permalink":"https://pen2.com/cmd/ja/md/","title":"md"},{"content":" mkdir help mkdir Output:\n日本語\rディレクトリを作成します。 MKDIR [ドライブ:]パス MD [ドライブ:]パス コマンド拡張機能を有効にすると、MKDIR は次のように変更されます: MKDIR は、必要に応じてパスの中間ディレクトリを作成します。 たとえば、\\a が存在しない場合、 mkdir \\a\\b\\c\\d は、次と同じです: mkdir \\a chdir \\a mkdir b chdir b mkdir c chdir c mkdir d 拡張機能が無効な場合は、上のように入力します。 英語\rCreates a directory. MKDIR [drive:]path MD [drive:]path If Command Extensions are enabled MKDIR changes as follows: MKDIR creates any intermediate directories in the path, if needed. For example, assume \\a does not exist then: mkdir \\a\\b\\c\\d is the same as: mkdir \\a chdir \\a mkdir b chdir b mkdir c chdir c mkdir d which is what you would have to type if extensions were disabled. Return Code: 1\n","date":"2022-07-07T23:49:25Z","permalink":"https://pen2.com/cmd/ja/mkdir/","title":"mkdir"},{"content":" mklink help mklink Output:\n日本語\rシンボリック リンクを作成します。 MKLINK [[/D] | [/H] | [/J]] リンク ターゲット /D ディレクトリのシンボリック リンクを作成します。既定では、 ファイルのシンボリック リンクが作成されます。 /H シンボリック リンクではなく、ハード リンクを作成します。 /J ディレクトリ ジャンクションを作成します。 リンク 新しいシンボリック リンク名を指定します。 ターゲット 新しいリンクが参照するパス (相対または絶対) を指定します。 英語\rCreates a symbolic link. MKLINK [[/D] | [/H] | [/J]] Link Target /D Creates a directory symbolic link. Default is a file symbolic link. /H Creates a hard link instead of a symbolic link. /J Creates a Directory Junction. Link Specifies the new symbolic link name. Target Specifies the path (relative or absolute) that the new link refers to. Return Code: 1\n","date":"2022-07-07T23:49:25Z","permalink":"https://pen2.com/cmd/ja/mklink/","title":"mklink"},{"content":" move help move Output:\n日本語\rファイルを移動およびファイルとディレクトリ名を変更します。 複数のファイルを移動するには: MOVE [/Y | /-Y] [ドライブ:][パス]ファイル名1[,...] 受け側 ディレクトリ名を変更するには: MOVE [/Y | /-Y] [ドライブ:][パス]ディレクトリ名1 ディレクトリ名2 [ドライブ:][パス]ファイル名1 移動するファイルの場所と名前を指定します。 受け側 ファイルの新しい場所を指定します。移動先はドライブ 文字とコロン、ディレクトリ名、または組み合わせから成 ります。1 つのファイルだけを移動する場合で、その ファイルを移動するときに名前を変更する場合、 ファイル名を指定できます。 [ドライブ:][パス]ディレクトリ名1 変更するディレクトリ名を指定します。 ディレクトリ名2 新しいディレクトリ名を指定します。 /Y 移動先の既存のファイルを上書きする前に確認の メッセージを表示しません。 /-Y 移動先の既存のファイルを上書きする前に確認の メッセージを表示します。 環境変数 COPYCMD にスイッチ /Y を設定できます。これは、コマンド ラインの /-Y で無効になります。既定では、MOVE コマンドがバッチ スクリプトから実行され ていない場合、上書きを確認します。 英語\rMoves files and renames files and directories. To move one or more files: MOVE [/Y | /-Y] [drive:][path]filename1[,...] destination To rename a directory: MOVE [/Y | /-Y] [drive:][path]dirname1 dirname2 [drive:][path]filename1 Specifies the location and name of the file or files you want to move. destination Specifies the new location of the file. Destination can consist of a drive letter and colon, a directory name, or a combination. If you are moving only one file, you can also include a filename if you want to rename the file when you move it. [drive:][path]dirname1 Specifies the directory you want to rename. dirname2 Specifies the new name of the directory. /Y Suppresses prompting to confirm you want to overwrite an existing destination file. /-Y Causes prompting to confirm you want to overwrite an existing destination file. The switch /Y may be present in the COPYCMD environment variable. This may be overridden with /-Y on the command line. Default is to prompt on overwrites unless MOVE command is being executed from within a batch script. Return Code: 1\n","date":"2022-07-07T23:49:25Z","permalink":"https://pen2.com/cmd/ja/move/","title":"move"},{"content":" path help path Output:\n日本語\r実行可能ファイルの検索パスを表示または設定します。 PATH [[ドライブ:]パス[;...][;%PATH%]] PATH ; パラメーターとして ; (セミコロン) だけを指定すると、すべての検索パスはクリアされて 現在のディレクトリだけが検索されます。 パラメーターの指定がなければ、現在のパスが表示されます。 新しいパス設定に %PATH% を指定すると、前のパスが新しい設定に追加されます。 英語\rDisplays or sets a search path for executable files. PATH [[drive:]path[;...][;%PATH%] PATH ; Type PATH ; to clear all search-path settings and direct cmd.exe to search only in the current directory. Type PATH without parameters to display the current path. Including %PATH% in the new path setting causes the old path to be appended to the new setting. Return Code: 1\n","date":"2022-07-07T23:49:25Z","permalink":"https://pen2.com/cmd/ja/path/","title":"path"},{"content":" pause help pause Output:\n日本語\rバッチ プログラムの処理を一時停止し、 \u0026#34;続行するには何かキーを押してください . . .\u0026#34; というメッセージを表示します。 英語\rSuspends processing of a batch program and displays the message Press any key to continue . . . Return Code: 1\n","date":"2022-07-07T23:49:25Z","permalink":"https://pen2.com/cmd/ja/pause/","title":"pause"},{"content":" popd help popd Output:\n日本語\rPUSHD コマンドで記憶されたディレクトリに変更します。 POPD コマンド拡張機能を有効にすると、POPD コマンドは、プッシュされている ディレクトリ スタックからドライブで POPD を実行するときに、PUSHD が作成した 一時的なドライブ文字を削除します。 英語\rChanges to the directory stored by the PUSHD command. POPD If Command Extensions are enabled the POPD command will delete any temporary drive letter created by PUSHD when you POPD that drive off the pushed directory stack. Return Code: 1\n","date":"2022-07-07T23:49:25Z","permalink":"https://pen2.com/cmd/ja/popd/","title":"popd"},{"content":" prompt help prompt Output:\n日本語\rcmd.exe のコマンド プロンプトを変更します。 PROMPT [文字列] 文字列 新しいコマンド プロンプトを指定します。 PROMPT には通常の文字と次に示す特殊コードを使用できます: $A \u0026amp; (アンパサンド) $B | (パイプ) $C ( (左かっこ) $D 現在の日付 $E エスケープ コード (ASCII コードの 27) $F ) (右かっこ) $G \u0026gt; (不等号 (より大)) $H バックスペース (直前の文字を削除します) $L \u0026lt; (不等号 (より小)) $N 現在のドライブ $P 現在のドライブとパス $Q = (等号) $S (空白) $T 現在の時刻 $V Windows のバージョン番号 $_ キャリッジ リターンとラインフィード $$ $ (ドル記号) コマンド拡張機能を有効にすると、PROMPT コマンドは、次の追加の書式 文字をサポートするようになります: $+ PUSHD ディレクトリ スタックの深さに応じて、0 個以上のプラス 記号 (+) を指定します。1 個のプラス記号が、プッシュされた 1 レベルを表します。 $M 現在のドライブ文字に関連付けられているリモート名を表示します。 現在のドライブがネットワーク ドライブでない場合は、空の文字列 を表示します。 英語\rChanges the cmd.exe command prompt. PROMPT [text] text Specifies a new command prompt. Prompt can be made up of normal characters and the following special codes: $A \u0026amp; (Ampersand) $B | (pipe) $C ( (Left parenthesis) $D Current date $E Escape code (ASCII code 27) $F ) (Right parenthesis) $G \u0026gt; (greater-than sign) $H Backspace (erases previous character) $L \u0026lt; (less-than sign) $N Current drive $P Current drive and path $Q = (equal sign) $S (space) $T Current time $V Windows version number $_ Carriage return and linefeed $$ $ (dollar sign) If Command Extensions are enabled the PROMPT command supports the following additional formatting characters: $+ zero or more plus sign (+) characters depending upon the depth of the PUSHD directory stack, one character for each level pushed. $M Displays the remote name associated with the current drive letter or the empty string if current drive is not a network drive. Return Code: 1\n","date":"2022-07-07T23:49:25Z","permalink":"https://pen2.com/cmd/ja/prompt/","title":"prompt"},{"content":" pushd help pushd Output:\n日本語\rPOPD コマンドで使用するために現在のディレクトリを保存し、 指定したディレクトリに変更します。 PUSHD [パス | ..] パス 現在のディレクトリとして設定するディレクトリを指定します。 コマンド拡張機能を有効にすると、PUSHD コマンドは、通常のドライブ文字 とパスだけでなくネットワーク パスも受け付けるようになります。 ネットワーク パスを指定した場合は、PUSHD は指定されたネットワーク リソースを指し示す一時的なドライブ文字を作成し、新しく定義されたドライブ 文字を使って現在のドライブとディレクトリを変更します。一時的な ドライブ文字は、Z: から前へ順に、最初に見つかった未使用のドライブ文字が 割り当てられます。 英語\rStores the current directory for use by the POPD command, then changes to the specified directory. PUSHD [path | ..] path Specifies the directory to make the current directory. If Command Extensions are enabled the PUSHD command accepts network paths in addition to the normal drive letter and path. If a network path is specified, PUSHD will create a temporary drive letter that points to that specified network resource and then change the current drive and directory, using the newly defined drive letter. Temporary drive letters are allocated from Z: on down, using the first unused drive letter found. Return Code: 1\n","date":"2022-07-07T23:49:25Z","permalink":"https://pen2.com/cmd/ja/pushd/","title":"pushd"},{"content":" rd help rd Output:\n日本語\rディレクトリを削除します。 RMDIR [/S] [/Q] [ドライブ:]パス RD [/S] [/Q] [ドライブ:]パス /S 指定されたディレクトリに加えて、そのディレクトリ内のすべての ディレクトリとファイルを削除します。ディレクトリ ツリーを削除 するときに使用します。 /Q /S を指定してディレクトリ ツリーを削除するときに、確認の メッセージを表示しません。(QUIET モード) 英語\rRemoves (deletes) a directory. RMDIR [/S] [/Q] [drive:]path RD [/S] [/Q] [drive:]path /S Removes all directories and files in the specified directory in addition to the directory itself. Used to remove a directory tree. /Q Quiet mode, do not ask if ok to remove a directory tree with /S Return Code: 1\n","date":"2022-07-07T23:49:25Z","permalink":"https://pen2.com/cmd/ja/rd/","title":"rd"},{"content":" rem help rem Output:\n日本語\rバッチ ファイルまたは CONFIG.SYS にコメント (注釈) を記録します。 REM [コメント] 英語\rRecords comments (remarks) in a batch file or CONFIG.SYS. REM [comment] Return Code: 1\n","date":"2022-07-07T23:49:25Z","permalink":"https://pen2.com/cmd/ja/rem/","title":"rem"},{"content":" ren help ren Output:\n日本語\rファイル (複数可) の名前を変更します。 RENAME [ドライブ:][パス]ファイル名1 ファイル名2 REN [ドライブ:][パス]ファイル名1 ファイル名2 ファイル名2 には新しいドライブもパスも指定できないので注意してください。 英語\rRenames a file or files. RENAME [drive:][path]filename1 filename2. REN [drive:][path]filename1 filename2. Note that you cannot specify a new drive or path for your destination file. Return Code: 1\n","date":"2022-07-07T23:49:25Z","permalink":"https://pen2.com/cmd/ja/ren/","title":"ren"},{"content":" rename help rename Output:\n日本語\rファイル (複数可) の名前を変更します。 RENAME [ドライブ:][パス]ファイル名1 ファイル名2 REN [ドライブ:][パス]ファイル名1 ファイル名2 ファイル名2 には新しいドライブもパスも指定できないので注意してください。 英語\rRenames a file or files. RENAME [drive:][path]filename1 filename2. REN [drive:][path]filename1 filename2. Note that you cannot specify a new drive or path for your destination file. Return Code: 1\n","date":"2022-07-07T23:49:25Z","permalink":"https://pen2.com/cmd/ja/rename/","title":"rename"},{"content":" rmdir help rmdir Output:\n日本語\rディレクトリを削除します。 RMDIR [/S] [/Q] [ドライブ:]パス RD [/S] [/Q] [ドライブ:]パス /S 指定されたディレクトリに加えて、そのディレクトリ内のすべての ディレクトリとファイルを削除します。ディレクトリ ツリーを削除 するときに使用します。 /Q /S を指定してディレクトリ ツリーを削除するときに、確認の メッセージを表示しません。(QUIET モード) 英語\rRemoves (deletes) a directory. RMDIR [/S] [/Q] [drive:]path RD [/S] [/Q] [drive:]path /S Removes all directories and files in the specified directory in addition to the directory itself. Used to remove a directory tree. /Q Quiet mode, do not ask if ok to remove a directory tree with /S Return Code: 1\n","date":"2022-07-07T23:49:25Z","permalink":"https://pen2.com/cmd/ja/rmdir/","title":"rmdir"},{"content":" set help set Output:\n日本語\rcmd.exe 環境変数を表示、設定、または削除します。 SET [変数名=[文字列]] 変数名 環境変数名を指定します。 文字列 変数に割り当てる文字列を指定します。 現在の環境変数を表示するには、パラメーターを指定せずに SET と入力してください。 コマンド拡張機能を有効にすると、SET は、次のように変更されます: 等号や値を指定せずに、変数名だけを指定して SET コマンドを実行すると、 SET コマンドに指定された名前にプレフィックスが一致するすべての変数の値が 表示されます。たとえば、 SET P と入力すると、文字 \u0026#39;P\u0026#39; で始まるすべての変数が表示されます。 変数名が現在の環境に見つからない場合は、SET コマンドは、ERRORLEVEL を 1 に設定します。 SET コマンドでは、変数の名前に等符号を使用することはできません。 SET コマンドには、2 つの新しいスイッチが追加されています: SET /A 式 SET /P 変数=[プロンプト文字列] /A スイッチは、等号の右側の文字列が、評価する数式であることを 指定します。式の評価はごく単純で、次の操作がサポートされます。 操作は、優先順位の高い順に示されています: () - グループ化 ! ~ - - 単項演算子 * / % - 算術演算子 + - - 算術演算子 \u0026lt;\u0026lt; \u0026gt;\u0026gt; - 論理シフト \u0026amp; - ビット演算子 AND ^ - ビット演算子排他的 OR | - ビット演算子 OR = *= /= %= += -= - 代入 \u0026amp;= ^= |= \u0026lt;\u0026lt;= \u0026gt;\u0026gt;= , - 式の区切り記号 論理演算子またはモジュール演算子を使う場合は、式文字列を 引用符で囲む必要があります。式内の数値以外の文字列は環境変数文字列として 処理され、使用される前に数値に変換されます。 指定された環境変数名が現在の環境で定義されていない場合は、 値として 0 が使用されます。 これにより、いくつもの % 記号を入力して値を取得しないでも、 環境変数の値を算術演算に使うことができます。 コマンド スクリプト外でコマンド ラインから SET /A を実行すると、 式の最終的な値が表示されます。 割り当て演算子を使うには、割り当て演算子 の左側に環境変数名が必要です。 数値は 10 進数ですが、プレフィックスとして 0x を付けると 16 進数、0 を付けると 8 進数になります。従って、0x12 は 18、 あるいは 022 と同じです。 8 進表記を使う場合は、注意してください。08 や 09 は、8 と 9 が有効な 8 進数ではないため、 有効な数値ではありません。 /P はユーザーによって入力された入力行を変数の値として設定できるようにします。 入力行を読み取る前に、指定されたプロンプト文字列を表示します。プロンプト文 字列は空でもかまいません。 環境変数の置換は、次のように拡張されます: %PATH:文字列 1 = 文字列 2% は、PATH 環境変数を展開し、その結果に含まれるすべての \u0026#34;文字列 1\u0026#34; を \u0026#34;文字列 2\u0026#34; に置き換えます。 \u0026#34;文字列 2\u0026#34; に空の文字列を指定すると、展開された出力からすべての \u0026#34;文字列 1\u0026#34; を削除することができます。 \u0026#34;文字列 1\u0026#34; をアスタリスクで始め、展開された出力の先頭から、文字列 1 の残りの部分 が最初に現れるまでのすべてを一致させることもできます。 また、展開の副文字列を指定することもできます。 %PATH:~10,5% は、PATH 環境変数を展開し、展開結果の 11 番目 (オフセット 10) の文字 から始まる 5 文字だけを使います。長さが指定されなかった場合は、変数の 値の残りの長さを既定値とします。オフセットまたは長さのどちらかが負の値 の場合、環境変数の値の長さに指定されたオフセットまたは長さをたしてその 数を使います。 %PATH:~-10% は、パス変数の最後の 10 文字が展開されます。 %PATH:~0,-2% は最後の 2 文字以外のすべてが展開されます。 最後に、遅延環境変数の展開が追加されました。このサポートは常に既定で 無効になっていますが、CMD.EXE の /V: のコマンド ライン スイッチを使 って有効または無効にできます。 CMD /? を参照してください。 遅延環境変数の展開は、実行時ではなく、テキスト行を読み取るときに展開 されるという現在の制限を避けるために役立ちます。 次の例は即時変数展開の問題を説明しています。 set VAR=before if \u0026#34;%VAR%\u0026#34; == \u0026#34;before\u0026#34; ( set VAR=after; if \u0026#34;%VAR%\u0026#34; == \u0026#34;after\u0026#34; @echo If you see this, it worked ) この例は、論理的には IF 文が別の IF 文の本体に含まれる複合文なので、 両方の IF 文の %VAR% が、最初の IF 文を読み取ったときに展開されます。 このため、メッセージは決して表示されません。 複合文の中の IF では \u0026#34;before\u0026#34; と \u0026#34;after\u0026#34; が比較され、 決して等しくはなりません。 同様に次の例も期待したようには動作しません。 set LIST= for %i in (*) do set LIST=%LIST% %i echo %LIST% この例では、現在のディレクトリのファイルの一覧は作成されず、代わりに最後 に見つけられたファイルが LIST 変数に設定されます。 これは %LIST% が FOR 文が読み取られるとき、 一度だけ展開され、そのときは LIST 変数が空だからです。 つまり、実際に実行されている FOR ループは for %i in (*) do set LIST= %i で、LIST に最後に見つけられたファイルを設定し続けているだけです。 遅延環境変数の展開では、実行時に環境変数を展開するために異なった文字 (感嘆符) を使うことができます。 遅延環境変数の展開が有効な場合、上記の 例は次のように書くと意図したように動作します。 set VAR=before if \u0026#34;%VAR%\u0026#34; == \u0026#34;before\u0026#34; ( set VAR=after if \u0026#34;!VAR!\u0026#34; == \u0026#34;after\u0026#34; @echo If you see this, it worked ) set LIST= for %i in (*) do set LIST=!LIST! %i echo %LIST% コマンド拡張機能が有効な場合、SET によって表示される変数の一覧には 現れないいくつかの動的な環境変数があります。 これらの変数の値は、変数の値が展開されるときに 動的に計算されます。 ユーザーがこれらの名前の変数を明示的に定義する場合、 その定義は下記の動的な定義を無効にします。 %CD% - 現在のディレクトリ文字列に展開します。 %DATE% - DATE コマンドと同じフォーマットで現在の日付に展開します。 %TIME% - TIME コマンドと同じフォーマットで現在の時刻に展開します。 %RANDOM% - 0 から 32767 の間の任意の 10 進数に展開します。 %ERRORLEVEL% - 現在の ERRORLEVEL の値に展開します。 %CMDEXTVERSION% - 現在のコマンド プロセッサ拡張機能のバージョン番号に 展開します。 %CMDCMDLINE% - コマンド プロセッサを起動したオリジナル コマンド ライン に展開します。 %HIGHESTNUMANODENUMBER% - このコンピューター上の最大の NUMA ノード番号に展開します。 英語\rDisplays, sets, or removes cmd.exe environment variables. SET [variable=[string]] variable Specifies the environment-variable name. string Specifies a series of characters to assign to the variable. Type SET without parameters to display the current environment variables. If Command Extensions are enabled SET changes as follows: SET command invoked with just a variable name, no equal sign or value will display the value of all variables whose prefix matches the name given to the SET command. For example: SET P would display all variables that begin with the letter \u0026#39;P\u0026#39; SET command will set the ERRORLEVEL to 1 if the variable name is not found in the current environment. SET command will not allow an equal sign to be part of the name of a variable. Two new switches have been added to the SET command: SET /A expression SET /P variable=[promptString] The /A switch specifies that the string to the right of the equal sign is a numerical expression that is evaluated. The expression evaluator is pretty simple and supports the following operations, in decreasing order of precedence: () - grouping ! ~ - - unary operators * / % - arithmetic operators + - - arithmetic operators \u0026lt;\u0026lt; \u0026gt;\u0026gt; - logical shift \u0026amp; - bitwise and ^ - bitwise exclusive or | - bitwise or = *= /= %= += -= - assignment \u0026amp;= ^= |= \u0026lt;\u0026lt;= \u0026gt;\u0026gt;= , - expression separator If you use any of the logical or modulus operators, you will need to enclose the expression string in quotes. Any non-numeric strings in the expression are treated as environment variable names whose values are converted to numbers before using them. If an environment variable name is specified but is not defined in the current environment, then a value of zero is used. This allows you to do arithmetic with environment variable values without having to type all those % signs to get their values. If SET /A is executed from the command line outside of a command script, then it displays the final value of the expression. The assignment operator requires an environment variable name to the left of the assignment operator. Numeric values are decimal numbers, unless prefixed by 0x for hexadecimal numbers, and 0 for octal numbers. So 0x12 is the same as 18 is the same as 022. Please note that the octal notation can be confusing: 08 and 09 are not valid numbers because 8 and 9 are not valid octal digits. The /P switch allows you to set the value of a variable to a line of input entered by the user. Displays the specified promptString before reading the line of input. The promptString can be empty. Environment variable substitution has been enhanced as follows: %PATH:str1=str2% would expand the PATH environment variable, substituting each occurrence of \u0026#34;str1\u0026#34; in the expanded result with \u0026#34;str2\u0026#34;. \u0026#34;str2\u0026#34; can be the empty string to effectively delete all occurrences of \u0026#34;str1\u0026#34; from the expanded output. \u0026#34;str1\u0026#34; can begin with an asterisk, in which case it will match everything from the beginning of the expanded output to the first occurrence of the remaining portion of str1. May also specify substrings for an expansion. %PATH:~10,5% would expand the PATH environment variable, and then use only the 5 characters that begin at the 11th (offset 10) character of the expanded result. If the length is not specified, then it defaults to the remainder of the variable value. If either number (offset or length) is negative, then the number used is the length of the environment variable value added to the offset or length specified. %PATH:~-10% would extract the last 10 characters of the PATH variable. %PATH:~0,-2% would extract all but the last 2 characters of the PATH variable. Finally, support for delayed environment variable expansion has been added. This support is always disabled by default, but may be enabled/disabled via the /V command line switch to CMD.EXE. See CMD /? Delayed environment variable expansion is useful for getting around the limitations of the current expansion which happens when a line of text is read, not when it is executed. The following example demonstrates the problem with immediate variable expansion: set VAR=before if \u0026#34;%VAR%\u0026#34; == \u0026#34;before\u0026#34; ( set VAR=after if \u0026#34;%VAR%\u0026#34; == \u0026#34;after\u0026#34; @echo If you see this, it worked ) would never display the message, since the %VAR% in BOTH IF statements is substituted when the first IF statement is read, since it logically includes the body of the IF, which is a compound statement. So the IF inside the compound statement is really comparing \u0026#34;before\u0026#34; with \u0026#34;after\u0026#34; which will never be equal. Similarly, the following example will not work as expected: set LIST= for %i in (*) do set LIST=%LIST% %i echo %LIST% in that it will NOT build up a list of files in the current directory, but instead will just set the LIST variable to the last file found. Again, this is because the %LIST% is expanded just once when the FOR statement is read, and at that time the LIST variable is empty. So the actual FOR loop we are executing is: for %i in (*) do set LIST= %i which just keeps setting LIST to the last file found. Delayed environment variable expansion allows you to use a different character (the exclamation mark) to expand environment variables at execution time. If delayed variable expansion is enabled, the above examples could be written as follows to work as intended: set VAR=before if \u0026#34;%VAR%\u0026#34; == \u0026#34;before\u0026#34; ( set VAR=after if \u0026#34;!VAR!\u0026#34; == \u0026#34;after\u0026#34; @echo If you see this, it worked ) set LIST= for %i in (*) do set LIST=!LIST! %i echo %LIST% If Command Extensions are enabled, then there are several dynamic environment variables that can be expanded but which don\u0026#39;t show up in the list of variables displayed by SET. These variable values are computed dynamically each time the value of the variable is expanded. If the user explicitly defines a variable with one of these names, then that definition will override the dynamic one described below: %CD% - expands to the current directory string. %DATE% - expands to current date using same format as DATE command. %TIME% - expands to current time using same format as TIME command. %RANDOM% - expands to a random decimal number between 0 and 32767. %ERRORLEVEL% - expands to the current ERRORLEVEL value %CMDEXTVERSION% - expands to the current Command Processor Extensions version number. %CMDCMDLINE% - expands to the original command line that invoked the Command Processor. %HIGHESTNUMANODENUMBER% - expands to the highest NUMA node number on this machine. Return Code: 1\n","date":"2022-07-07T23:49:25Z","permalink":"https://pen2.com/cmd/ja/set/","title":"set"},{"content":" setlocal help setlocal Output:\n日本語\rバッチ ファイルで環境変更のローカル化を開始します。SETLOCAL を実行した後で 変更した環境設定は、そのバッチ ファイルだけで有効です。前の設定を復元するときは ENDLOCAL を実行しなければなりません。バッチ スクリプトの終わりに達したとき、 暗示的な ENDLOCAL が、そのバッチ スクリプトによって発行されたすべての未完了の SETLOCAL コマンドのために実行されます。 SETLOCAL コマンド拡張機能を有効にすると、SETLOCAL は次のように変更されます: SETLOCAL バッチ コマンドは、オプション引数を受け取ることができます: ENABLEEXTENSIONS / DISABLEEXTENSIONS は、コマンド処理機能を有効または無効にできます。これらの 引数は、CMD /E:ON または /E:OFF スイッチよりも優先されます。 詳細については、CMD /? を参照してください。 ENABLEDELAYEDEXPANSION / DISABLEDELAYEDEXPANSION は、遅延環境変数の展開を有効または無効にできます。 これらの引数は、CMD /V:ON または /V:OFF スイッチよりも優先します。 詳細については、CMD /? を参照してください。 これらの変更は、SETLOCAL コマンドの実行前の設定にかかわらず、対応する ENDLOCAL コマンドを実行するまで継続されます。 SETLOCAL コマンドに引数を指定すると、ERRORLEVEL の値が設定されます。 2 つの有効な引数が指定された場合は 0、指定されない場合は 1 になります。 この機能をバッチ スクリプトで使って、拡張機能が利用可能かどうかを判断 することができます。それには、次のように入力します: VERIFY OTHER 2\u0026gt;nul SETLOCAL ENABLEEXTENSIONS IF ERRORLEVEL 1 echo 拡張機能を有効にできません この方法が使えるのは、古いバージョンの CMD.EXE では、SETLOCAL は ERRORLEVEL の値を設定しないためです。VERIFY コマンドに誤った引数を指定すると、 ERRORLEVEL の値は 0 以外の値に初期化されます。 英語\rBegins localization of environment changes in a batch file. Environment changes made after SETLOCAL has been issued are local to the batch file. ENDLOCAL must be issued to restore the previous settings. When the end of a batch script is reached, an implied ENDLOCAL is executed for any outstanding SETLOCAL commands issued by that batch script. SETLOCAL If Command Extensions are enabled SETLOCAL changes as follows: SETLOCAL batch command now accepts optional arguments: ENABLEEXTENSIONS / DISABLEEXTENSIONS enable or disable command processor extensions. These arguments takes precedence over the CMD /E:ON or /E:OFF switches. See CMD /? for details. ENABLEDELAYEDEXPANSION / DISABLEDELAYEDEXPANSION enable or disable delayed environment variable expansion. These arguments takes precedence over the CMD /V:ON or /V:OFF switches. See CMD /? for details. These modifications last until the matching ENDLOCAL command, regardless of their setting prior to the SETLOCAL command. The SETLOCAL command will set the ERRORLEVEL value if given an argument. It will be zero if one of the two valid arguments is given and one otherwise. You can use this in batch scripts to determine if the extensions are available, using the following technique: VERIFY OTHER 2\u0026gt;nul SETLOCAL ENABLEEXTENSIONS IF ERRORLEVEL 1 echo Unable to enable extensions This works because on old versions of CMD.EXE, SETLOCAL does NOT set the ERRORLEVEL value. The VERIFY command with a bad argument initializes the ERRORLEVEL value to a non-zero value. Return Code: 1\n","date":"2022-07-07T23:49:25Z","permalink":"https://pen2.com/cmd/ja/setlocal/","title":"setlocal"},{"content":" shift help shift Output:\n日本語\rバッチ ファイル中の置き換え可能なパラメーターの位置を変更します。 SHIFT [/n] コマンド拡張機能を有効にすると、SHIFT コマンドは、/n スイッチをサポート するようになります。このスイッチを指定すると、コマンドはシフトを n 番 目の引数から開始します。n は、0 から 8 までの数です。たとえば、 SHIFT /2 は、%3 を %2 に、%4 を %3 にシフトし、%0 と %1 はシフトしません。 英語\rChanges the position of replaceable parameters in a batch file. SHIFT [/n] If Command Extensions are enabled the SHIFT command supports the /n switch which tells the command to start shifting at the nth argument, where n may be between zero and eight. For example: SHIFT /2 would shift %3 to %2, %4 to %3, etc. and leave %0 and %1 unaffected. Return Code: 1\nexample _shift1.bat\ncall :test1 a b c d e f g h i j k l m n o p q r call :test2 a b c d e f g h i j k l m n o p q r call :test3 a b c d e f g h i j k l m n o p q r shift /9 @goto:eof :test1 @echo Before SHIFT *2 %%0=%0 %%1=%1 %%2=%2 %%3=%3 %%4=%4 %%5=%5 %%6=%6 %%7=%7 %%8=%8 %%9=%9 %%*=%* @shift @shift @echo After SHIFT *2 %%0=%0 %%1=%1 %%2=%2 %%3=%3 %%4=%4 %%5=%5 %%6=%6 %%7=%7 %%8=%8 %%9=%9 %%*=%* @goto:eof :test2 @echo Before SHIFT /3 %%0=%0 %%1=%1 %%2=%2 %%3=%3 %%4=%4 %%5=%5 %%6=%6 %%7=%7 %%8=%8 %%9=%9 %%*=%* @shift /3 @echo After SHIFT /3 %%0=%0 %%1=%1 %%2=%2 %%3=%3 %%4=%4 %%5=%5 %%6=%6 %%7=%7 %%8=%8 %%9=%9 %%*=%* @goto:eof :test3 @echo Before SHIFT *9 %%0=%0 %%1=%1 %%2=%2 %%3=%3 %%4=%4 %%5=%5 %%6=%6 %%7=%7 %%8=%8 %%9=%9 %%*=%* @for /L %%n in (1,1,9) do @shift @echo After SHIFT *9 %%0=%0 %%1=%1 %%2=%2 %%3=%3 %%4=%4 %%5=%5 %%6=%6 %%7=%7 %%8=%8 %%9=%9 %%*=%* @goto:eof c:\\example\u0026gt;call :test1 a b c d e f g h i j k l m n o p q r Before SHIFT *2 %0=:test1 %1=a %2=b %3=c %4=d %5=e %6=f %7=g %8=h %9=i %*=a b c d e f g h i j k l m n o p q r After SHIFT *2 %0=b %1=c %2=d %3=e %4=f %5=g %6=h %7=i %8=j %9=k %*=a b c d e f g h i j k l m n o p q r c:\\example\u0026gt;call :test2 a b c d e f g h i j k l m n o p q r Before SHIFT /3 %0=:test2 %1=a %2=b %3=c %4=d %5=e %6=f %7=g %8=h %9=i %*=a b c d e f g h i j k l m n o p q r After SHIFT /3 %0=:test2 %1=a %2=b %3=d %4=e %5=f %6=g %7=h %8=i %9=j %*=a b c d e f g h i j k l m n o p q r c:\\example\u0026gt;call :test3 a b c d e f g h i j k l m n o p q r Before SHIFT *9 %0=:test3 %1=a %2=b %3=c %4=d %5=e %6=f %7=g %8=h %9=i %*=a b c d e f g h i j k l m n o p q r After SHIFT *9 %0=i %1=j %2=k %3=l %4=m %5=n %6=o %7=p %8=q %9=r %*=a b c d e f g h i j k l m n o p q r c:\\example\u0026gt;shift /9 SHIFT コマンドのパラメーターが無効です ","date":"2022-07-07T23:49:25Z","permalink":"https://pen2.com/cmd/ja/shift/","title":"shift"},{"content":" start help start Output:\n日本語\r指定されたプログラムまたはコマンドを実行するためにウィンドウを開きます。 START [\u0026#34;タイトル\u0026#34;] [/D パス] [/I] [/MIN] [/MAX] [/SEPARATE | /SHARED] [/LOW | /NORMAL | /HIGH | /REALTIME | /ABOVENORMAL | /BELOWNORMAL] [/NODE \u0026lt;NUMA ノード\u0026gt;] [/AFFINITY \u0026lt;16 進数の関係マスク\u0026gt;] [/WAIT] [/B] [コマンド/プログラム] [パラメーター] \u0026#34;タイトル\u0026#34; ウィンドウのタイトル バーに表示するタイトル。 パス 開始するディレクトリ。 B 新しいウィンドウを作成せずにアプリケーションを起動します。 アプリケーションは Ctrl + C を無視します。 アプリケーションで Ctr l+ C を有効にしていない場合、 Ctrl + Break がアプリケーションを中断する唯一の方法です。 I 新しい環境は、現在の環境ではなく、cmd.exe に渡された元の環境に なります。 MIN ウィンドウを最小化の状態で起動します。 MAX ウィンドウを最大表示の状態で起動します。 SEPARATE 16 ビットの Windows プログラムを別メモリ領域で起動します。 SHARED 16 ビットの Windows プログラムを共有メモリ領域で起動します。 LOW IDLE 優先度クラスでアプリケーションを起動します。 NORMAL NORMAL 優先度クラスでアプリケーションを起動します。 HIGH HIGH 優先度クラスでアプリケーションを起動します。 REALTIME REALTIME 優先度クラスでアプリケーションを起動します。 ABOVENORMAL ABOVENORMAL 優先度クラスでアプリケーションを起動します。 BELOWNORMAL BELOWNORMAL 優先度クラスでアプリケーションを起動します。 NODE 優先 NUMA (Non-Uniform Memory Architecture) ノードを 10 進の 整数で指定します。 AFFINITY プロセッサの関係マスクを 16 進数で指定します。 プロセスはこれらのプロセッサで実行されるように制限されます。 /AFFINITY と /NODE を組み合わせると、関係マスクは異なって 解釈されます。NUMA ノードのプロセッサ マスクを右にシフトして ビット 0 で始まるかのように関係マスクを指定します。 プロセスは、指定した関係マスクと NUMA ノードの間で共通する プロセッサ上で実行されるように制限されます。共通するプロセッサ がない場合は、プロセスは指定した NUMA ノード上で実行される ように制限されます。 WAIT アプリケーションを起動し、終了するまで待ちます。 コマンド/プログラム 内部コマンドまたはバッチ ファイルの場合、コマンド プロセッサ は cmd.exe の /K オプションを使用して実行されます。 これはコマンドの後でもウィンドウが残ることを意味 します。 内部コマンドまたはバッチ ファイルではない場合、そのプログラム はウィンドウ モードのアプリケーションまたはコンソール アプリケーションとして動作します。 パラメーター コマンド/プログラムに渡すパラメーターです。 注意: SEPARATE および SHARED オプションは 64 ビット プラットフォームでは サポートされません。 /NODE を指定すると、NUMA システム上のメモリ局所性を利用する方法でプロセスが 作成されるようにできます。たとえば、共有メモリ経由で互いに頻繁に通信する 2 つのプロセスを、メモリ待ち時間を最小限に抑えるために同じ優先 NUMA ノードを 共有するように作成できます。これらのプロセスは可能であれば同じ NUMA ノードから メモリを割り当て、指定したノード外のプロセッサ上で実行されることもあります。 start /NODE 1 application1.exe start /NODE 1 application2.exe これら 2 つのプロセスは、さらに、同じ NUMA ノード内の特定のプロセッサ上で 実行されるように制限できます。次の例では、application1 がノードの低順位の 2 つのプロセッサ上で実行されるのに対し、application2 はノードの次の 2 つの プロセッサ上で実行されます。この例では、指定したノードに少なくとも 4 つの 論理プロセッサがあることを想定しています。ノード番号は、関係マスクを変更しなく ても、そのコンピューターの任意の有効なノード番号に変更できることに注意して ください。 start /NODE 1 /AFFINITY 0x3 application1.exe start /NODE 1 /AFFINITY 0xc application2.exe コマンド拡張機能を有効にすると、コマンド ラインまたは START コマンドに よる外部コマンドの起動は、次のように変更されます: 非実行可能ファイルは、ファイル名をコマンドとして入力することによって、 ファイルの関連付けを使って開くことができます (例: WORD.DOC は .DOC ファイル拡張子に関連付けられているアプリケーションを起動します)。 コマンド スクリプト内でファイルの関連付けを作成する方法については、 ASSOC と FTYPE コマンドを参照してください。 32 ビット GUI アプリケーションを実行する場合、CMD.EXE は、 アプリケーションの終了を待たずにコマンド プロンプトに戻ります。 コマンド スクリプト内で実行する場合は、 この動作は発生しません。 最初のトークンが拡張子やパス修飾子を持たない文字列 \u0026#34;CMD\u0026#34; であるコマンド ラインを実行する場合、\u0026#34;CMD\u0026#34; が COMSPEC 変数の値で 置き換えられます。 これにより現在のディレクトリの CMD.EXE が使われないようにします。 最初のトークンが拡張子を含まないコマンド ラインを実行する場合、CMD.EXE は、PATHEXT 環境変数の値を使って拡張子の種類と順序を判断します。 PATHEXT 変数の既定値は、次のとおりです: .COM;.EXE;.BAT;.CMD この構文は PATH 変数と同じであり、各要素はセミコロンで区切られて いることに注意してください。 実行可能なファイルを検索するときにどの拡張子でも一致するファイルが見つ からない場合は、拡張子なしの名前がディレクトリ名と一致するかどうかを 調べます。 一致する場合は、START コマンドがそのパスでエクスプローラーを起動 します。コマンド ラインから実行した場合は、そのパスに対する CD /D の実 行と同じになります。 英語\rStarts a separate window to run a specified program or command. START [\u0026#34;title\u0026#34;] [/D path] [/I] [/MIN] [/MAX] [/SEPARATE | /SHARED] [/LOW | /NORMAL | /HIGH | /REALTIME | /ABOVENORMAL | /BELOWNORMAL] [/NODE \u0026lt;NUMA node\u0026gt;] [/AFFINITY \u0026lt;hex affinity mask\u0026gt;] [/WAIT] [/B] [command/program] [parameters] \u0026#34;title\u0026#34; Title to display in window title bar. path Starting directory. B Start application without creating a new window. The application has ^C handling ignored. Unless the application enables ^C processing, ^Break is the only way to interrupt the application. I The new environment will be the original environment passed to the cmd.exe and not the current environment. MIN Start window minimized. MAX Start window maximized. SEPARATE Start 16-bit Windows program in separate memory space. SHARED Start 16-bit Windows program in shared memory space. LOW Start application in the IDLE priority class. NORMAL Start application in the NORMAL priority class. HIGH Start application in the HIGH priority class. REALTIME Start application in the REALTIME priority class. ABOVENORMAL Start application in the ABOVENORMAL priority class. BELOWNORMAL Start application in the BELOWNORMAL priority class. NODE Specifies the preferred Non-Uniform Memory Architecture (NUMA) node as a decimal integer. AFFINITY Specifies the processor affinity mask as a hexadecimal number. The process is restricted to running on these processors. The affinity mask is interpreted differently when /AFFINITY and /NODE are combined. Specify the affinity mask as if the NUMA node\u0026#39;s processor mask is right shifted to begin at bit zero. The process is restricted to running on those processors in common between the specified affinity mask and the NUMA node. If no processors are in common, the process is restricted to running on the specified NUMA node. WAIT Start application and wait for it to terminate. command/program If it is an internal cmd command or a batch file then the command processor is run with the /K switch to cmd.exe. This means that the window will remain after the command has been run. If it is not an internal cmd command or batch file then it is a program and will run as either a windowed application or a console application. parameters These are the parameters passed to the command/program. NOTE: The SEPARATE and SHARED options are not supported on 64-bit platforms. Specifying /NODE allows processes to be created in a way that leverages memory locality on NUMA systems. For example, two processes that communicate with each other heavily through shared memory can be created to share the same preferred NUMA node in order to minimize memory latencies. They allocate memory from the same NUMA node when possible, and they are free to run on processors outside the specified node. start /NODE 1 application1.exe start /NODE 1 application2.exe These two processes can be further constrained to run on specific processors within the same NUMA node. In the following example, application1 runs on the low-order two processors of the node, while application2 runs on the next two processors of the node. This example assumes the specified node has at least four logical processors. Note that the node number can be changed to any valid node number for that computer without having to change the affinity mask. start /NODE 1 /AFFINITY 0x3 application1.exe start /NODE 1 /AFFINITY 0xc application2.exe If Command Extensions are enabled, external command invocation through the command line or the START command changes as follows: non-executable files may be invoked through their file association just by typing the name of the file as a command. (e.g. WORD.DOC would launch the application associated with the .DOC file extension). See the ASSOC and FTYPE commands for how to create these associations from within a command script. When executing an application that is a 32-bit GUI application, CMD.EXE does not wait for the application to terminate before returning to the command prompt. This new behavior does NOT occur if executing within a command script. When executing a command line whose first token is the string \u0026#34;CMD \u0026#34; without an extension or path qualifier, then \u0026#34;CMD\u0026#34; is replaced with the value of the COMSPEC variable. This prevents picking up CMD.EXE from the current directory. When executing a command line whose first token does NOT contain an extension, then CMD.EXE uses the value of the PATHEXT environment variable to determine which extensions to look for and in what order. The default value for the PATHEXT variable is: .COM;.EXE;.BAT;.CMD Notice the syntax is the same as the PATH variable, with semicolons separating the different elements. When searching for an executable, if there is no match on any extension, then looks to see if the name matches a directory name. If it does, the START command launches the Explorer on that path. If done from the command line, it is the equivalent to doing a CD /D to that path. Return Code: 1\n","date":"2022-07-07T23:49:25Z","permalink":"https://pen2.com/cmd/ja/start/","title":"start"},{"content":" time help time Output:\n日本語\rシステム時刻を表示または設定します。 TIME [/T | 時刻] パラメーターの指定がなければ、現在の設定が表示され、新しい時刻を入力できる プロンプトになります。変更しない場合は、Enter キーを押してください。 コマンド拡張機能を有効にすると、TIME コマンドは、/T スイッチを サポートするようになります。このスイッチを指定すると、現在の時刻 だけが表示され、新しい時刻を入力するためのプロンプトは表示されません。 英語\rDisplays or sets the system time. TIME [/T | time] Type TIME with no parameters to display the current time setting and a prompt for a new one. Press ENTER to keep the same time. If Command Extensions are enabled the TIME command supports the /T switch which tells the command to just output the current time, without prompting for a new time. Return Code: 1\n","date":"2022-07-07T23:49:25Z","permalink":"https://pen2.com/cmd/ja/time/","title":"time"},{"content":" title help title Output:\n日本語\rコマンド プロンプト ウィンドウのウィンドウ タイトルを設定します。 TITLE [文字列] 文字列 コマンド プロンプト ウィンドウのタイトルを指定します。 英語\rSets the window title for the command prompt window. TITLE [string] string Specifies the title for the command prompt window. Return Code: 1\n","date":"2022-07-07T23:49:25Z","permalink":"https://pen2.com/cmd/ja/title/","title":"title"},{"content":" type help type Output:\n日本語\rテキスト ファイルまたはファイルの内容を表示します。 TYPE [ドライブ:][パス]ファイル名 英語\rDisplays the contents of a text file or files. TYPE [drive:][path]filename Return Code: 1\n","date":"2022-07-07T23:49:25Z","permalink":"https://pen2.com/cmd/ja/type/","title":"type"},{"content":" ver help ver Output:\n日本語\rWindows のバージョンを表示します。 VER 英語\rDisplays the Windows version. VER Return Code: 1\n","date":"2022-07-07T23:49:25Z","permalink":"https://pen2.com/cmd/ja/ver/","title":"ver"},{"content":" verify help verify Output:\n日本語\rファイルがディスクに正しく書き込まれたことを照合するかどうかを cmd.exe に指示します。 VERIFY [ON | OFF] 現在の設定を表示するときは、パラメーターを指定せずに VERIFY と入力してください。 英語\rTells cmd.exe whether to verify that your files are written correctly to a disk. VERIFY [ON | OFF] Type VERIFY without a parameter to display the current VERIFY setting. Return Code: 1\n","date":"2022-07-07T23:49:25Z","permalink":"https://pen2.com/cmd/ja/verify/","title":"verify"},{"content":" vol help vol Output:\n日本語\rディスクのボリューム ラベルとシリアル番号を表示します。 VOL [ドライブ:] 英語\rDisplays the disk volume label and serial number, if they exist. VOL [drive:] Return Code: 1\n","date":"2022-07-07T23:49:25Z","permalink":"https://pen2.com/cmd/ja/vol/","title":"vol"},{"content":"Time Travel Debugging Tracer Tool\ntttracer 管理者権限(Administrator)\rC:\\Windows\\system32\\tttracer.exe -? Output:\nMICROSOFT TIME TRAVEL DEBUGGING (TTD) Time Travel Debugging (TTD) command line utility is not meant for use in custom software or automation. TTD is included with this version of Windows to improve diagnostics gathering and is not intended for direct use as a stand-alone solution. DISCLAIMER OF WARRANTY. THE SOFTWARE IS LICENSED \u0026#34;AS IS.\u0026#34; YOU BEAR THE RISK OF USING IT. MICROSOFT GIVES NO EXPRESS WARRANTIES, GUARANTEES, OR CONDITIONS. TO THE EXTENT PERMITTED UNDER APPLICABLE LAWS, MICROSOFT EXCLUDES ALL IMPLIED WARRANTIES, INCLUDING MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, AND NON-INFRINGEMENT. 1. DATA COLLECTION. The software may collect information about you and your use of the software and send that to Microsoft. Microsoft may use this information to provide services and improve Microsoft\u0026#39;s products and services. Your opt-out rights, if any, are described in the product documentation. Some features in the software may enable collection of data from users of your applications that access or use the software. If you use these features to enable data collection in your applications, you must comply with applicable law, including getting any required user consent, and maintain a prominent privacy policy that accurately informs users about how you use, collect, and share their data. You can learn more about Microsoft\u0026#39;s data collection and use in the product documentation and the Microsoft Privacy Statement at https://go.microsoft.com/fwlink/?LinkId=521839. You agree to comply with all applicable provisions of the Microsoft Privacy Statement. 2. SCOPE OF LICENSE. The software is licensed, not sold. Microsoft reserves all other rights. Unless applicable law gives you more rights despite this limitation, you will not (and have no right to): a) work around any technical limitations in the software that only allow you to use it in certain ways; b) reverse engineer, decompile or disassemble the software; c) remove, minimize, block, or modify any notices of Microsoft or its suppliers in the software; d) use the software for commercial, non-profit, or revenue-generating activities; e) use the software in any way that is against the law or to create or propagate malware; or f) share, publish, distribute, or lend the software, provide the software as a stand-alone hosted solution for others to use, or transfer the software or this agreement to any third party. 3. SUPPORT SERVICES. Microsoft is not obligated under this agreement to provide any support services for the software. Any support provided is \u0026#34;as is\u0026#34;, \u0026#34;with all faults\u0026#34;, and without warranty of any kind. Return Code: 2147500033\n","date":"2022-07-07T23:49:21Z","permalink":"https://pen2.com/cmd/ja/tttracer/","title":"tttracer"},{"content":"WMI コマンド ライン ユーティリティ\nwmic C:\\Windows\\System32\\Wbem\\WMIC.exe /? Output:\n日本語\rWMIC は非推奨です。 [グローバル スイッチ] \u0026lt;command\u0026gt; 次のグローバル スイッチが利用可能です: /NAMESPACE エイリアスが操作する名前空間のパスです。 /ROLE エイリアスの定義を含む役割のパスです。 /NODE エイリアスが操作するサーバーです。 /IMPLEVEL クライアントの偽造レベルです。 /AUTHLEVEL クライアントの認証レベルです。 /LOCALE クライアントが使用する必要がある言語 ID です。 /PRIVILEGES 特権のすべてを有効または無効にします。 /TRACE デバッグ情報を stderr に出力します。 /RECORD 入力コマンドと出力のすべてをログに記録します。 /INTERACTIVE 対話モードを設定またはリセットします。 /FAILFAST FailFast モードを設定またはリセットします。 /USER セッションの間使用するユーザーです。 /PASSWORD セッション ログオンに使用されるパスワードです。 /OUTPUT 出力リダイレクトのモードを指定します。 /APPEND 出力リダイレクトを指定します。 /AGGREGATE 集合体モードを設定またはリセットします。 /AUTHORITY 接続の \u0026lt;証明機関の種類\u0026gt; を指定します。 /?[:\u0026lt;BRIEF|FULL\u0026gt;] 使用法の情報です。 特定のグローバル スイッチの詳細については、 switch-name /? と入力してください。 次のエイリアスが現在の役割で利用可能です: ALIAS - ローカル システムのエイリアス ボリュームにアクセスします。 BASEBOARD - ベース ボード (マザーボードまたはシステム ボード) の管理です。 BIOS - 基本入出力 (BIOS) 管理です。 BOOTCONFIG - ブート構成管理です。 CDROM - CD-ROM 管理です。 COMPUTERSYSTEM - コンピューター システム管理です。 CPU - CPU 管理です。 CSPRODUCT - SMBIOS からのコンピューター システム製品情報です。 DATAFILE - データ ファイル管理です。 DCOMAPP - DCOM アプリケーションの管理です。 DESKTOP - ユーザーのデスクトップ管理です。 DESKTOPMONITOR - デスクトップ モニターの管理です。 DEVICEMEMORYADDRESS - デバイス メモリ アドレスの管理です。 DISKDRIVE - 物理ディスク ドライブの管理です。 DISKQUOTA - NTFS ボリュームのディスク領域の使用です。 DMACHANNEL - ダイレクト メモリ アクセス (DMA) チャンネル管理です。 ENVIRONMENT - システム環境設定の管理です。 FSDIR - ファイル システム ディレクトリ エントリの管理です。 GROUP - グループ アカウントの管理です。 IDECONTROLLER - IDE コントローラー管理です。 IRQ - 割り込み要求 (IRQ) の管理です。 JOB - スケジュール サービスを使用してスケジュールされたジョブへのアクセスを提供します。 LOADORDER - 実行依存関係を定義するシステム サービスの管理です。 LOGICALDISK - ローカル記憶装置管理です。 LOGON - ログオン セッションです。 MEMCACHE - キャッシュ メモリ管理です。 MEMORYCHIP - メモリ チップの情報です。 MEMPHYSICAL - コンピューター システムの物理メモリの管理です。 NETCLIENT - ネットワーク クライアント管理です。 NETLOGIN - ネットワーク ログイン情報 (特定のユーザーの) の管理です。 NETPROTOCOL - プロトコル (およびそのネットワーク特性) 管理です。 NETUSE - アクティブ状態のネットワーク管理です。 NIC - ネットワーク インターフェイス コントローラー (NIC) の管理です。 NICCONFIG - ネットワーク アダプターの管理です。 NTDOMAIN - NT ドメイン管理です。 NTEVENT - NT イベント ログのエントリです。 NTEVENTLOG - NT イベント ログ ファイルの管理です。 ONBOARDDEVICE - マザーボード (システム ボード) にビルトインされている共通アダプター デバイスの管理です。 OS - インストールされたオペレーティング システムの管理です。 PAGEFILE - スワップされている仮想メモリ ファイルの管理です。 PAGEFILESET - ページ ファイル設定管理です。 PARTITION - 物理ディスクのパーティションされた領域の管理です。 PORT - I/O ポート管理です。 PORTCONNECTOR - 物理接続ポートの管理です。 PRINTER - プリンター デバイスの管理です。 PRINTERCONFIG - プリンター デバイス構成の管理です。 PRINTJOB - 印刷ジョブの管理です。 PROCESS - 処理管理です。 PRODUCT - インストール パッケージ タスクの管理です。 QFE - QFE (Quick Fix Engineering) です。 QUOTASETTING - ボリュームのディスク クォータの設定情報です。 RDACCOUNT - リモート デスクトップ接続のアクセス許可管理です。 RDNIC - 特定のネットワーク アダプターでのリモート デスクトップ接続の管理です。 RDPERMISSIONS - 特定のリモート デスクトップ接続のアクセス許可です。 RDTOGGLE - リモート デスクトップ リスナーをリモートでオンまたはオフにします。 RECOVEROS - オペレーティング システムにエラーが発生するときにメモリから収集される情報です。 REGISTRY - コンピューター システムのレジストリの管理です。 SCSICONTROLLER - SCSI コントローラー管理です。 SERVER - サーバー情報の管理です。 SERVICE - サービス アプリケーションの管理です。 SHADOWCOPY - シャドウ コピーの管理です。 SHADOWSTORAGE - シャドウ コピーの記憶域の管理です。 SHARE - 共有リソース管理です。 SOFTWAREELEMENT - システムにインストールされているソフトウェア製品の要素の管理です。 SOFTWAREFEATURE - ソフトウェア要素のソフトウェア製品サブセットの管理です。 SOUNDDEV - サウンド デバイス管理です。 STARTUP - ユーザーがコンピューター システムにログオンするときに自動的に実行するコマンドの管理です。 SYSACCOUNT - システム アカウント管理です。 SYSDRIVER - 基本サービスのシステム ドライバーの管理です。 SYSTEMENCLOSURE - 物理的システム格納装置管理です。 SYSTEMSLOT - ポート、マザーボード スロットと周辺機器、専用接続ポイントを含む物理的接続ポイントの管理です。 TAPEDRIVE - テープ ドライブ管理です。 TEMPERATURE - 温度センサー (電気温度計) のデータ管理です。 TIMEZONE - タイム ゾーン データ管理です。 UPS - 無停電電源装置 (UPS) の管理です。 USERACCOUNT - ユーザー アカウント管理です。 VOLTAGE - 電圧センサー (電気電圧計) のデータ管理です。 VOLUME - ローカル記憶域ボリュームの管理です。 VOLUMEQUOTASETTING - ディスク クォータ設定を特定のディスク領域に関連付けます。 VOLUMEUSERQUOTA - ユーザーごとの記憶域ボリューム クォータの管理です。 WMISET - WMI サービスの操作パラメーター管理です。 特定のエイリアスについての詳細は、alias /? と入力してください。 CLASS - 完全な WMI スキーマにエスケープします。 PATH - WMI オブジェクトの完全なパスにエスケープします。 CONTEXT - グローバル スイッチすべての状態を表示します。 QUIT/EXIT - プログラムを終了します。 CLASS/PATH/CONTEXT の詳細については、(CLASS | PATH | CONTEXT) /? と入力してください。 英語\rWMIC is deprecated. [global switches] \u0026lt;command\u0026gt; The following global switches are available: /NAMESPACE Path for the namespace the alias operate against. /ROLE Path for the role containing the alias definitions. /NODE Servers the alias will operate against. /IMPLEVEL Client impersonation level. /AUTHLEVEL Client authentication level. /LOCALE Language id the client should use. /PRIVILEGES Enable or disable all privileges. /TRACE Outputs debugging information to stderr. /RECORD Logs all input commands and output. /INTERACTIVE Sets or resets the interactive mode. /FAILFAST Sets or resets the FailFast mode. /USER User to be used during the session. /PASSWORD Password to be used for session login. /OUTPUT Specifies the mode for output redirection. /APPEND Specifies the mode for output redirection. /AGGREGATE Sets or resets aggregate mode. /AUTHORITY Specifies the \u0026lt;authority type\u0026gt; for the connection. /?[:\u0026lt;BRIEF|FULL\u0026gt;] Usage information. For more information on a specific global switch, type: switch-name /? The following alias/es are available in the current role: ALIAS - Access to the aliases available on the local system BASEBOARD - Base board (also known as a motherboard or system board) management. BIOS - Basic input/output services (BIOS) management. BOOTCONFIG - Boot configuration management. CDROM - CD-ROM management. COMPUTERSYSTEM - Computer system management. CPU - CPU management. CSPRODUCT - Computer system product information from SMBIOS. DATAFILE - DataFile Management. DCOMAPP - DCOM Application management. DESKTOP - User\u0026#39;s Desktop management. DESKTOPMONITOR - Desktop Monitor management. DEVICEMEMORYADDRESS - Device memory addresses management. DISKDRIVE - Physical disk drive management. DISKQUOTA - Disk space usage for NTFS volumes. DMACHANNEL - Direct memory access (DMA) channel management. ENVIRONMENT - System environment settings management. FSDIR - Filesystem directory entry management. GROUP - Group account management. IDECONTROLLER - IDE Controller management. IRQ - Interrupt request line (IRQ) management. JOB - Provides access to the jobs scheduled using the schedule service. LOADORDER - Management of system services that define execution dependencies. LOGICALDISK - Local storage device management. LOGON - LOGON Sessions. MEMCACHE - Cache memory management. MEMORYCHIP - Memory chip information. MEMPHYSICAL - Computer system\u0026#39;s physical memory management. NETCLIENT - Network Client management. NETLOGIN - Network login information (of a particular user) management. NETPROTOCOL - Protocols (and their network characteristics) management. NETUSE - Active network connection management. NIC - Network Interface Controller (NIC) management. NICCONFIG - Network adapter management. NTDOMAIN - NT Domain management. NTEVENT - Entries in the NT Event Log. NTEVENTLOG - NT eventlog file management. ONBOARDDEVICE - Management of common adapter devices built into the motherboard (system board). OS - Installed Operating System/s management. PAGEFILE - Virtual memory file swapping management. PAGEFILESET - Page file settings management. PARTITION - Management of partitioned areas of a physical disk. PORT - I/O port management. PORTCONNECTOR - Physical connection ports management. PRINTER - Printer device management. PRINTERCONFIG - Printer device configuration management. PRINTJOB - Print job management. PROCESS - Process management. PRODUCT - Installation package task management. QFE - Quick Fix Engineering. QUOTASETTING - Setting information for disk quotas on a volume. RDACCOUNT - Remote Desktop connection permission management. RDNIC - Remote Desktop connection management on a specific network adapter. RDPERMISSIONS - Permissions to a specific Remote Desktop connection. RDTOGGLE - Turning Remote Desktop listener on or off remotely. RECOVEROS - Information that will be gathered from memory when the operating system fails. REGISTRY - Computer system registry management. SCSICONTROLLER - SCSI Controller management. SERVER - Server information management. SERVICE - Service application management. SHADOWCOPY - Shadow copy management. SHADOWSTORAGE - Shadow copy storage area management. SHARE - Shared resource management. SOFTWAREELEMENT - Management of the elements of a software product installed on a system. SOFTWAREFEATURE - Management of software product subsets of SoftwareElement. SOUNDDEV - Sound Device management. STARTUP - Management of commands that run automatically when users log onto the computer system. SYSACCOUNT - System account management. SYSDRIVER - Management of the system driver for a base service. SYSTEMENCLOSURE - Physical system enclosure management. SYSTEMSLOT - Management of physical connection points including ports, slots and peripherals, and proprietary connections points. TAPEDRIVE - Tape drive management. TEMPERATURE - Data management of a temperature sensor (electronic thermometer). TIMEZONE - Time zone data management. UPS - Uninterruptible power supply (UPS) management. USERACCOUNT - User account management. VOLTAGE - Voltage sensor (electronic voltmeter) data management. VOLUME - Local storage volume management. VOLUMEQUOTASETTING - Associates the disk quota setting with a specific disk volume. VOLUMEUSERQUOTA - Per user storage volume quota management. WMISET - WMI service operational parameters management. For more information on a specific alias, type: alias /? CLASS - Escapes to full WMI schema. PATH - Escapes to full WMI object paths. CONTEXT - Displays the state of all the global switches. QUIT/EXIT - Exits the program. For more information on CLASS/PATH/CONTEXT, type: (CLASS | PATH | CONTEXT) /? Return Code: 0\n","date":"2022-07-07T23:48:59Z","permalink":"https://pen2.com/cmd/ja/wmic/","title":"wmic"},{"content":" tpmtool C:\\Windows\\system32\\TpmTool.exe /? Output:\n日本語\r説明: トラステッド プラットフォーム モジュール (TPM) に関する情報を取得するためにこのユーティリティを使用できます。 最新のドキュメントについては、https://aka.ms/tpmtool をご覧ください 構文: tpmtool [parameter] [\u0026lt;引数\u0026gt;] パラメーター: GETDEVICEINFORMATION TPM の基本情報を表示します。 GATHERLOGS [出力ディレクトリ パス] TPM ログを収集し、指定されたディレクトリに格納します。 パスが指定されていない場合、現在のディレクトリが既定で使用されます。 DRIVERTRACING [START / STOP] ドライバー トレースの収集を開始または停止します。 PARSETTCGLOGS [-VALIDATE] 解析された TCG ログを表示し、必要に応じてすべての PCR を検証します。 /? このヘルプ メッセージを表示します。 例: tpmtool /? tpmtool getdeviceinformation tpmtool gatherlogs C:\\Users\\Public tpmtool drivertracing start tpmtool drivertracing stop tpmtool parsetcglogs tpmtool parsetcglogs -validate 英語\rDescription: This utility can be used to get information about the Trusted Platform Module (TPM). For up-to-date documentation, please go to https://aka.ms/tpmtool Syntax: tpmtool [parameter] [\u0026lt;arguments\u0026gt;] Parameters: GETDEVICEINFORMATION Displays the basic information of the TPM. GATHERLOGS [OUTPUT DIRECTORY PATH] Collects TPM logs and places them in the specified directory. If path is not specified, will default to current directory. DRIVERTRACING [START / STOP] Start / stop collecting driver traces. PARSETTCGLOGS [-VALIDATE] Displays the parsed TCG logs, and optionally validates all PCRs. /? Displays this help message. Examples: tpmtool /? tpmtool getdeviceinformation tpmtool gatherlogs C:\\Users\\Public tpmtool drivertracing start tpmtool drivertracing stop tpmtool parsetcglogs tpmtool parsetcglogs -validate Return Code: 0\n","date":"2022-07-07T23:48:56Z","permalink":"https://pen2.com/cmd/ja/tpmtool/","title":"tpmtool"},{"content":"管理オブジェクト フォーマット (MOF) コンパイラ\nmofcomp C:\\Windows\\System32\\Wbem\\mofcomp.exe /? Output:\n日本語\rMicrosoft (R) MOF Compiler Version 10.0.19041.1 Copyright (c) Microsoft Corp. 1997-2006. All rights reserved. 使用法: mofcomp [-check] [-N:\u0026lt;パス\u0026gt;] [-class:updateonly|-class:createonly] [-instance:updateonly|-instance:createonly] [-B:\u0026lt;ファイル名\u0026gt;] [-P:\u0026lt;パスワード\u0026gt;] [-U:\u0026lt;ユーザー名\u0026gt;] [-A:\u0026lt;機関\u0026gt;] [-WMI] [-AUTORECOVER] [-MOF:\u0026lt;パス\u0026gt;] [-MFL:\u0026lt;パス\u0026gt;] [-AMENDMENT:\u0026lt;ロケール\u0026gt;] [-ER:\u0026lt;リソース名\u0026gt;] [-L:\u0026lt;リソース ロケール\u0026gt;] \u0026lt;MOF ファイル名\u0026gt; -check 構文検査のみです。 -N:\u0026lt;パス\u0026gt; 既定では、この名前空間に読み込みます。 -class:updateonly 新しいクラスを作成しません。 -class:safeupdate 競合がない限りは更新します。 -class:forceupdate 可能であれば競合を解決して更新します。 -class:createonly 既存のクラスを変更しません。 -instance:updateonly 新しいインスタンスを作成しません。 -instance:createonly 既存のインスタンスを変更しません。 -U:\u0026lt;ユーザー名\u0026gt; ユーザー名です。 -P:\u0026lt;パスワード\u0026gt; ログイン パスワードです。 -A:\u0026lt;機関\u0026gt; 例: NTLMDOMAIN:Domain -B:\u0026lt;ファイル名\u0026gt; バイナリ MOF ファイルを作成します。データベース に追加しません。 -WMI WDM (Windows Driver Model) を検査します。 -B スイッチが必要です。 -AUTORECOVER DB の復旧中にコンパイルされたファイルの一覧に MOF を追加します。 -Amendment:\u0026lt;ロケール\u0026gt; ロケールが \u0026#34;MS_4??\u0026#34; のフォームである特有の バージョンとニュートラル言語に MOF を分割します。 -MOF:\u0026lt;パス\u0026gt; ニュートラル言語の出力名です。 -MFL:\u0026lt;パス\u0026gt; 固有言語の出力名です。 -ER:\u0026lt;リソース名\u0026gt; 指定したリソースからバイナリ mof を展開します。 -L:\u0026lt;リソース ロケール\u0026gt; -ER スイッチの使用時におけるオプションの特定の ロケール番号です。 例 c:\u0026gt;mofcomp -N:root\\default yourmof.mof 英語\rMicrosoft (R) MOF Compiler Version 10.0.19041.1 Copyright (c) Microsoft Corp. 1997-2006. All rights reserved. usage: mofcomp [-check] [-N:\u0026lt;Path\u0026gt;] [-class:updateonly|-class:createonly] [-instance:updateonly|-instance:createonly] [-B:\u0026lt;filename\u0026gt;] [-P:\u0026lt;Password\u0026gt;] [-U:\u0026lt;UserName\u0026gt;] [-A:\u0026lt;Authority\u0026gt;] [-WMI] [-AUTORECOVER] [-MOF:\u0026lt;path\u0026gt;] [-MFL:\u0026lt;path\u0026gt;] [-AMENDMENT:\u0026lt;Locale\u0026gt;] [-ER:\u0026lt;ResourceName\u0026gt;] [-L:\u0026lt;ResourceLocale\u0026gt;] \u0026lt;MOF filename\u0026gt; -check Syntax check only -N:\u0026lt;path\u0026gt; Load into this namespace by default -class:updateonly Do not create new classes -class:safeupdate Update unless conflicts exist -class:forceupdate Update resolving conflicts if possible -class:createonly Do not change existing classes -instance:updateonly Do not create new instances -instance:createonly Do not change existing instances -U:\u0026lt;UserName\u0026gt; User Name -P:\u0026lt;Password\u0026gt; Login password -A:\u0026lt;Authority\u0026gt; Example: NTLMDOMAIN:Domain -B:\u0026lt;destination filename\u0026gt; Creates a binary MOF file, does not add to DB -WMI Do Windows Driver Model (WDM) checks, requires -B switch -AUTORECOVER Adds MOF to list of files compiled during DB recovery -Amendment:\u0026lt;LOCALE\u0026gt; splits MOF into language neutral and specific versions where locale is of the form \u0026#34;MS_4??\u0026#34; -MOF:\u0026lt;path\u0026gt; name of the language neutral output -MFL:\u0026lt;path\u0026gt; name of the language specific output -ER:\u0026lt;ResourceName\u0026gt; extracts binary mof from named resource -L:\u0026lt;ResourceLocale\u0026gt; optional specific locale number when using -ER switch Example c:\u0026gt;mofcomp -N:root\\default yourmof.mof Return Code: 1\n","date":"2022-07-07T23:48:54Z","permalink":"https://pen2.com/cmd/ja/mofcomp/","title":"mofcomp"},{"content":"Bcdboot ユーティリティ\nbcdboot C:\\Windows\\system32\\bcdboot.exe /? Output:\n日本語\rBcdboot - Bcd ブート ファイルの作成および修復用ツールです。 bcdboot.exe コマンドライン ツールは、重要なブート ファイルをシステム パー ティションにコピーしたり、新しいシステム BCD ストアを作成するときに使用します。 bcdboot \u0026lt;ソース\u0026gt; [/l \u0026lt;ロケール\u0026gt;] [/s \u0026lt;ボリューム文字\u0026gt; [/f \u0026lt;ファームウェア\u0026gt;]] [/v] [/vbcd] [/m [{OS Loader ID}]] [/addlast] [/p] [/c] ソース Windows のシステム ルートの場所を指定します。 /l BCD ストアの初期化の際に使用する、省略可能なロケール パラメーターを指定します。既定値は US English です。 /s ブート環境ファイルのコピー先となるシステム パーティション を指定する、省略可能なボリューム文字パラメーターを指定 します。既定値はファームウェアで識別される システム パーティションです。 /v 詳細モードを有効にします。 /vbcd BCD ログを有効にします。 /m OS ローダー GUID を指定した場合は、そのローダー オブジェクトを システム テンプレートと結合してブート可能なエントリを生成します。 そうでない場合は、グローバル オブジェクトのみを結合します。 /d 既に存在している既定の Windows ブート エントリを 保存するように指定します。 /f /s コマンドで使用され、対象のシステム パーティションの ファームウェアの種類を指定します。\u0026lt;ファームウェア\u0026gt; の オプションは \u0026#39;UEFI\u0026#39;、\u0026#39;BIOS\u0026#39;、または \u0026#39;ALL\u0026#39; です。 /addlast Windows ブート マネージャー ファームウェア エントリを 末尾に追加するように指定します。既定の動作では、 先頭に追加されます。 /bcdclean BCD ストアをクリーンアップします。既定では、BCD 内の重複した エントリを削除します。続けて \u0026#39;Full\u0026#39; を指定できます。この場合は、 各エントリがスキャンされます。そのエントリに対応するデバイスが 存在しない場合、エントリは削除されます。 /p Windows ブート マネージャー ファームウェア エントリの 位置を保持するように指定します。既定の動作では、 新しいエントリが先頭に追加されます。 /c テンプレートによって記述された既存のオブジェクトを 移行してはならないことを指定します。 例: bcdboot c:\\windows /l en-us bcdboot c:\\windows /s h: bcdboot c:\\windows /s h: /f UEFI bcdboot c:\\windows /m {d58d10c6-df53-11dc-878f-00064f4f4e08} bcdboot c:\\windows /d /addlast bcdboot c:\\windows /p 英語\rBcdboot - Bcd boot file creation and repair tool. The bcdboot.exe command-line tool is used to copy critical boot files to the system partition and to create a new system BCD store. bcdboot \u0026lt;source\u0026gt; [/l \u0026lt;locale\u0026gt;] [/s \u0026lt;volume-letter\u0026gt; [/f \u0026lt;firmware\u0026gt;]] [/v] [/vbcd] [/m [{OS Loader ID}]] [/addlast] [/p] [/c] source Specifies the location of the windows system root. /l Specifies an optional locale parameter to use when initializing the BCD store. The default is US English. /s Specifies an optional volume letter parameter to designate the target system partition where boot environment files are copied. The default is the system partition identified by the firmware. /v Enables verbose mode. /vbcd Enables BCD logging. /m If an OS loader GUID is provided, this option merges the given loader object with the system template to produce a bootable entry. Otherwise, only global objects are merged. /d Specifies that the existing default windows boot entry should be preserved. /f Used with the /s command, specifies the firmware type of the target system partition. Options for \u0026lt;firmware\u0026gt; are \u0026#39;UEFI\u0026#39;, \u0026#39;BIOS\u0026#39;, or \u0026#39;ALL\u0026#39;. /addlast Specifies that the windows boot manager firmware entry should be added last. The default behavior is to add it first. /bcdclean Clean the BCD Store. By default, simply removes any duplicate entries in the BCD. Can be followed by \u0026#39;full\u0026#39;. In this case, each entry is scanned. If the corresponding device for that entry does not exist, the entry is deleted. /p Specifies that the windows boot manager firmware entry position should be preserved. If entry does not exist, new entry will be added in the first position. /c Specifies that any existing objects described by the template should not be migrated. Examples: bcdboot c:\\windows /l en-us bcdboot c:\\windows /s h: bcdboot c:\\windows /s h: /f UEFI bcdboot c:\\windows /m {d58d10c6-df53-11dc-878f-00064f4f4e08} bcdboot c:\\windows /d /addlast bcdboot c:\\windows /p Return Code: 87\n","date":"2022-07-07T23:48:52Z","permalink":"https://pen2.com/cmd/ja/bcdboot/","title":"bcdboot"},{"content":"Windows PowerShell ISE\npowershell_ise C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell_ise.exe /? Output:\n日本語\r--------------------------- Windows PowerShell ISE --------------------------- 構文: powershell_ise.exe [[-File] \u0026lt;ListOfFiles\u0026gt;] [-Help] [-MTA] [-NoProfile] 例: アプリケーションを起動します: powershell_ise.exe 起動して 2 つのファイルを開きます: a.ps1 and b.ps1: powershell_ise.exe \u0026#34;c:\\temp\\a.ps1,c:\\temp\\b.ps1\u0026#34; 起動して \u0026#34;the x.ps1\u0026#34; を開きます。プロファイルは実行しません: powershell_ise.exe -File \u0026#34;c:\\temp\\the x.ps1\u0026#34; -NoProfile MTA モードで起動します。プロファイルは実行しません: powershell_ise.exe -MTA -NoProfile このメッセージを表示します: powershell_ise.exe -Help --------------------------- OK --------------------------- 英語\r--------------------------- Windows PowerShell ISE --------------------------- Syntax: powershell_ise.exe [[-File] \u0026lt;ListOfFiles\u0026gt;] [-Help] [-MTA] [-NoProfile] Examples: Starts the application: powershell_ise.exe Starts and opens two files: a.ps1 and b.ps1: powershell_ise.exe \u0026#34;c:\\temp\\a.ps1,c:\\temp\\b.ps1\u0026#34; Starts, opens \u0026#34;the x.ps1\u0026#34; and does not run the profile: powershell_ise.exe -File \u0026#34;c:\\temp\\the x.ps1\u0026#34; -NoProfile Starts in the MTA mode and does not run the profile: powershell_ise.exe -MTA -NoProfile Displays this message: powershell_ise.exe -Help --------------------------- OK --------------------------- Return Code: 1\n","date":"2019-12-07T15:13:53Z","permalink":"https://pen2.com/cmd/ja/powershell_ise/","title":"powershell_ise"},{"content":"BitLocker ドライブ暗号化: ドライブ準備ツール\nbdehdcfg C:\\Windows\\system32\\BdeHdCfg.exe /? Output:\n日本語\rBitLocker ドライブ準備ツール Version 10.0.19041 Copyright (C) 2013 Microsoft Corporation. All rights reserved. 使用法: BdeHdCfg[.exe] [-driveinfo] [-target {default | unallocated | ターゲット ドライブの文字 {shrink | merge}}] [-newdriveletter ドライブ文字] [-size サイズ (MB)] [-quiet] [-restart] [{-? | /?}] 説明: ハード ドライブを BitLocker ドライブ暗号化用に準備します。 コマンド ライン パラメーターは大文字と小文字を区別しません。 パラメーター: -driveinfo 有効なターゲット ドライブに関する情報を表示します。 -target ターゲットと操作を指定します。 新しいアクティブ パーティションを作成するには \u0026#39;shrink\u0026#39; を指定します。 既存のパーティションをアクティブにするには \u0026#39;merge\u0026#39; を指定します。 ディスク上のフォーマットされていない領域を使用するには \u0026#39;unallocated\u0026#39; を指定します。 ターゲットが自動的に選択されるようにするには \u0026#39;default\u0026#39; を指定します。 例: -target D: merge -target C: shrink -target unallocated -target default -newdriveletter 新しいドライブに付けるドライブ文字を指定します。このオプションは、 新しいドライブを作成する場合にのみ有効です。 例: -newdriveletter S: -size 新しいドライブのサイズを指定します。このオプションは、新しいドライブを 作成する場合にのみ有効です。 指定しない場合、最小サイズである 550 MB が設定されます。 例: -size 700 -quiet Quiet モードでの操作を指定します。ドライブ準備ツールからの出力は 表示されません。 -restart ドライブ準備の後、自動的に再起動するようにします。 BitLocker を有効化する前にコンピューターを再起動する必要が あります。 -? または /? このコマンドのヘルプを表示します。 例: BdeHdCfg -target c: shrink -newdriveletter x: -size 550 -quiet -restart BdeHdCfg -target d: merge -quiet -restart BdeHdCfg -target unallocated -newdriveletter s: BdeHdCfg -target default 英語\rBitLocker Drive Preparation Tool version 10.0.19041 Copyright (C) 2013 Microsoft Corporation. All rights reserved. Usage: BdeHdCfg[.exe] [-driveinfo] [-target {default | unallocated | TargetDriveLetter {shrink | merge}}] [-newdriveletter DriveLetter] [-size SizeInMegabytes] [-quiet] [-restart] [{-? | /?}] Description: This command prepares your hard drive for BitLocker Drive Encryption. Command line parameters are not case-sensitive. Parameters: -driveinfo Displays information about valid target drives. -target Specifies the target and operation. Specify \u0026#39;shrink\u0026#39; to create a new active partition. Specify \u0026#39;merge\u0026#39; to make an existing partition active. Specify \u0026#39;unallocated\u0026#39; to use unformatted space on disk. Specify \u0026#39;default\u0026#39; for the target to be chosen automatically. Examples: -target D: merge -target C: shrink -target unallocated -target default -newdriveletter Specifies the desired drive letter for the new drive. This option is only valid when a new drive is created. Example: -newdriveletter S: -size Specifies the desired size of the new drive. This option is only valid when a new drive is created. If not specified, the Drive Preparation Tool assumes the required minimum size of 550 megabytes. Example: -size 700 -quiet Specifies operation in quiet mode. No output from the drive preparation tool is displayed. -restart Enables an automatic restart after drive preparation. You must restart your computer before enabling BitLocker. -? or /? Displays help for this command. Examples: BdeHdCfg -target c: shrink -newdriveletter x: -size 550 -quiet -restart BdeHdCfg -target d: merge -quiet -restart BdeHdCfg -target unallocated -newdriveletter s: BdeHdCfg -target default Return Code: 0\n","date":"2019-12-07T09:10:41Z","permalink":"https://pen2.com/cmd/ja/bdehdcfg/","title":"bdehdcfg"},{"content":"BitLocker ドライブ暗号化: 構成ツール\nmanage-bde C:\\Windows\\system32\\manage-bde.exe /? Output:\n日本語\rBitLocker ドライブ暗号化: 構成ツール Version 10.0.19041 Copyright (C) 2013 Microsoft Corporation. All rights reserved. manage-bde[.exe] -parameter [引数] 説明: ディスク ボリュームに対する BitLocker ドライブ暗号化を構成します。 パラメーター一覧: -status BitLocker 対応ボリュームに関する情報を指定します。 -on ボリュームを暗号化し、BitLocker 保護をオンにします。 -off ボリュームの暗号化を解除し、BitLocker 保護をオフにします。 -pause 暗号化、暗号化の解除、または空き領域のワイプを一時停止します。 -resume 暗号化、暗号化の解除、または空き領域のワイプを再開します。 -lock BitLocker 暗号化データへのアクセスを禁止します。 -unlock BitLocker 暗号化データへのアクセスを許可します。 -autounlock データ ボリュームの自動ロック解除を管理します。 -protectors 暗号化キーの保護方法を管理します。 -SetIdentifier または -si ボリュームの識別子フィールドを構成します。 -ForceRecovery または -fr 再起動時に BitLocker で保護された OS が回復するようにします。 -changepassword データ ボリュームのパスワードを変更します。 -changepin ボリュームの PIN を変更します。 -changekey ボリュームのスタートアップ キーを変更します。 -KeyPackage または -kp ボリュームのキー パッケージを生成します。 -upgrade BitLocker のバージョンをアップグレードします。 -WipeFreeSpace または -w ボリュームの空き領域をワイプします。 -ComputerName または -cn 別のコンピューター上で実行します。例: \u0026#34;ComputerX\u0026#34;、\u0026#34;127.0.0.1\u0026#34; -? または /? 簡単なヘルプを表示します。例: \u0026#34;-ParameterSet -?\u0026#34; -Help または -h 完全なヘルプを表示します。例: \u0026#34;-ParameterSet -h\u0026#34; 例: manage-bde -status manage-bde -on C: -RecoveryPassword -RecoveryKey F:\\ manage-bde -unlock E: -RecoveryKey F:\\84E151C1...7A62067A512.bek 英語\rBitLocker Drive Encryption: Configuration Tool version 10.0.19041 Copyright (C) 2013 Microsoft Corporation. All rights reserved. manage-bde[.exe] -parameter [arguments] Description: Configures BitLocker Drive Encryption on disk volumes. Parameter List: -status Provides information about BitLocker-capable volumes. -on Encrypts the volume and turns BitLocker protection on. -off Decrypts the volume and turns BitLocker protection off. -pause Pauses encryption, decryption, or free space wipe. -resume Resumes encryption, decryption, or free space wipe. -lock Prevents access to BitLocker-encrypted data. -unlock Allows access to BitLocker-encrypted data. -autounlock Manages automatic unlocking of data volumes. -protectors Manages protection methods for the encryption key. -SetIdentifier or -si Configures the identification field for a volume. -ForceRecovery or -fr Forces a BitLocker-protected OS to recover on restarts. -changepassword Modifies password for a data volume. -changepin Modifies PIN for a volume. -changekey Modifies startup key for a volume. -KeyPackage or -kp Generates a key package for a volume. -upgrade Upgrades the BitLocker version. -WipeFreeSpace or -w Wipes the free space on the volume. -ComputerName or -cn Runs on another computer. Examples: \u0026#34;ComputerX\u0026#34;, \u0026#34;127.0.0.1\u0026#34; -? or /? Displays brief help. Example: \u0026#34;-ParameterSet -?\u0026#34; -Help or -h Displays complete help. Example: \u0026#34;-ParameterSet -h\u0026#34; Examples: manage-bde -status manage-bde -on C: -RecoveryPassword -RecoveryKey F:\\ manage-bde -unlock E: -RecoveryKey F:\\84E151C1...7A62067A512.bek Return Code: 4294967295\n","date":"2019-12-07T09:10:39Z","permalink":"https://pen2.com/cmd/ja/manage-bde/","title":"manage-bde"},{"content":"BitLocker ドライブ暗号化: 修復ツール\nrepair-bde C:\\Windows\\system32\\repair-bde.exe /? Output:\n日本語\rBitLocker ドライブ暗号化: 修復ツール Version 10.0.19041 Copyright (C) 2013 Microsoft Corporation. All rights reserved. 使用法: repair-bde[.exe] 入力ボリューム { 出力ボリュームまたはイメージ } { {-RecoveryPassword|-rp} 数字パスワード | {-RecoveryKey|-rk} 外部キー ファイルへのパス } {-Password|-pw} } [{-KeyPackage|-kp} キー パッケージへのパス] [{-LogFile|-lf} ログ ファイルへのパス] [{-?|/?}] 説明: 指定した回復情報を使用して、破損した BitLocker 暗号化ボリュームの修復または 暗号化解除を試みます。BitLocker が暗号化または暗号化解除の処理中であったか、 ボリューム エラーの前に中断されていた場合、ボリュームにはクリア キーが用意 されます。別のキーが指定されていない場合、既定では、 repair-bde はこのクリア キーを使用しようとします。 警告! 新たなデータの損失を回避するため、予備のハード ドライブを利用できる ようにしてください。この予備のドライブは、暗号化解除された出力の保存、 または破損したボリュームのコンテンツのバックアップに使用します。 パラメーター: 入力ボリューム 修復する BitLocker 暗号化ボリュームです。 例: \u0026#34;C:\u0026#34;、 \u0026#34;\\\\?\\Volume{26a21bda-a627-11d7-9931-806e6f6e6963}\u0026#34;。 出力ボリュームまたはイメージ 暗号化解除されたコンテンツを保存するボリューム、 またはコンテンツのイメージ ファイルを作成する場所を指定します。 例: \u0026#34;D:\u0026#34;, \u0026#34;D:\\imagefile.img\u0026#34;。 警告! この出力ボリューム上のすべての情報は、 上書きされます。 -rk または -RecoveryKey 外部キーを指定してボリュームのロックを解除します。 例: \u0026#34;F:\\RecoveryKey.bek\u0026#34;。 -rp または -RecoveryPassword 数字パスワードを指定してボリュームのロックを解除します。 例: \u0026#34;111111-222222-333333-...\u0026#34;。 -pw または -Password ボリュームのロックを解除するためのパスワードを指定します。 -kp または -KeyPackage 省略可能。キー パッケージを指定してボリュームのロックを解除 します。 例: \u0026#34;F:\\ExportedKeyPackage\u0026#34; このオプションが空白の場合、ツールによって自動的にキー パッケージが検索されます。このオプションは、ツールで必要な 場合のみ指定する必要があります。 -lf または -LogFile 省略可能。進行状況を保存するファイルへのパスを 指定します。例: \u0026#34;F:\\log.txt\u0026#34;。 -f または -Force 省略可能。使用する場合、ボリュームをロックできなくても、強制的 にマウント解除されるようにします。このオプションは、ツールで 必要な場合のみ指定する必要があります。 -? または /? この画面を表示します。 例: repair-bde C: D: -rk F:\\RecoveryKey.bek -Force repair-bde C: D: -rp 111111-222222-[...] -lf F:\\log.txt repair-bde C: D: -kp F:\\KeyPackage -rp 111111-222222-[...] repair-bde C: D:\\imagefile.img -kp F:\\KeyPackage -rk F:\\RecoveryKey.bek repair-bde C: D: -pw 英語\rBitLocker Drive Encryption: Repair Tool version 10.0.19041 Copyright (C) 2013 Microsoft Corporation. All rights reserved. Usage: repair-bde[.exe] InputVolume { OutputVolumeOrImage } { {-RecoveryPassword|-rp} NumericalPassword | {-RecoveryKey|-rk} PathToExternalKeyFile | {-Password|-pw} } [{-KeyPackage|-kp} PathToKeyPackage] [{-LogFile|-lf} PathToLogFile] [{-?|/?}] Description: Attempts to repair or decrypt a damaged BitLocker-encrypted volume using the supplied recovery information. If BitLocker was in the process of encryption or decryption or had been suspended prior to volume failure a clear key will be present on the volume. Repair-bde attempts to use this clear key by default if another key is not specified. WARNING! To avoid additional data loss, you should have a spare hard drive available. Use this spare drive to store decrypted output or to back up the contents of the damaged volume. Parameters: InputVolume The BitLocker-encrypted volume to repair. Example: \u0026#34;C:\u0026#34;, \u0026#34;\\\\?\\Volume{26a21bda-a627-11d7-9931-806e6f6e6963}\u0026#34;. OutputVolumeOrImage The volume to store decrypted contents, or the file location to create an image file of the contents. Examples: \u0026#34;D:\u0026#34;, \u0026#34;D:\\imagefile.img\u0026#34;. WARNING! All information on this output volume will be overwritten. -rk or -RecoveryKey Provide an external key to unlock the volume. Example: \u0026#34;F:\\RecoveryKey.bek\u0026#34;. -rp or -RecoveryPassword Provide a numerical password to unlock the volume. Example: \u0026#34;111111-222222-333333-...\u0026#34;. -pw or -Password Provide a password to unlock the volume. -kp or -KeyPackage Optional. Provide a key package to unlock the volume. Example: \u0026#34;F:\\ExportedKeyPackage\u0026#34; If this option is blank, the tool will look for the key package automatically. This option is needed only if required by the tool. -lf or -LogFile Optional. Provide a path to a file that will store progress information. Example: \u0026#34;F:\\log.txt\u0026#34;. -f or -Force Optional. When used, forces a volume to be dismounted even if it cannot be locked. This option is needed only if required by the tool. -? or /? Shows this screen. Examples: repair-bde C: D: -rk F:\\RecoveryKey.bek -Force repair-bde C: D: -rp 111111-222222-[...] -lf F:\\log.txt repair-bde C: D: -kp F:\\KeyPackage -rp 111111-222222-[...] repair-bde C: D:\\imagefile.img -kp F:\\KeyPackage -rk F:\\RecoveryKey.bek repair-bde C: D: -pw Return Code: 1\n","date":"2019-12-07T09:10:39Z","permalink":"https://pen2.com/cmd/ja/repair-bde/","title":"repair-bde"},{"content":"リモート デスクトップ サービス変更ユーティリティ\nchange logon C:\\Windows\\system32\\change.exe logon /? STDERR:\nJa\rセッション ログインの有効化、無効化、またはドレインを行います。 CHANGE LOGON {/QUERY | /ENABLE | /DISABLE | /DRAIN | /DRAINUNTILRESTART} /QUERY 現在のセッション ログオン モードを照会します。 /ENABLE セッションからのユーザー ログオンを有効にします。 /DISABLE セッションからユーザー ログインを無効にします。 /DRAIN 新規ユーザーのログオンを無効にします。ただし、既存セッションへの再接続は許可されます。 /DRAINUNTILRESTART サーバーが再起動されるまで新規ユーザーのログオンを無効にします。ただし、既存セッションへの再接続は許可されます。 En\rEnable, disable, or drain session logins. CHANGE LOGON {/QUERY | /ENABLE | /DISABLE | /DRAIN | /DRAINUNTILRESTART} /QUERY Query current session login mode. /ENABLE Enable user login from sessions. /DISABLE Disable user login from sessions. /DRAIN Disable new user logons, but allow reconnections to existing sessions. /DRAINUNTILRESTART Disable new user logons until the server is restarted, but allow reconnections to existing sessions. Return Code: 1\nchange port C:\\Windows\\system32\\change.exe port /? STDERR:\nJa\rDOS アプリケーションと互換性を保つための COM ポート マッピングを、表示または変更します。 CHANGE PORT [ポートX=ポートY | /D ポートX | /QUERY] ポートX=ポートY ポートY に対し、ポートX をマッピングします。 /D ポートX ポートX に対するマッピングを削除します。 /QUERY 現在のマッピング状況を表示します。 En\rList or change COM port mappings for DOS application compatibility. CHANGE PORT [portx=porty | /D portx | /QUERY] portx=porty Map port x to port y. /D portx Delete mapping for port x. /QUERY Display current mapping ports. Return Code: 1\nchange user C:\\Windows\\system32\\change.exe user /? Output:\n日本語\rインストール モードを変更します。 CHANGE USER {/EXECUTE | /INSTALL | /QUERY} /EXECUTE 実行モードを有効にします (既定値)。 /INSTALL インストール モードを有効にします。 /QUERY 現在の設定を表示します。 英語\rChange Install Mode. CHANGE USER {/EXECUTE | /INSTALL | /QUERY} /EXECUTE Enable execute mode (default). /INSTALL Enable install mode. /QUERY Display current settings. Return Code: 1\n","date":"2019-12-07T09:10:22Z","permalink":"https://pen2.com/cmd/ja/change/","title":"change"},{"content":"ログオン変更ユーティリティ\nchglogon C:\\Windows\\system32\\chglogon.exe /? STDERR:\nJa\rセッション ログインの有効化、無効化、またはドレインを行います。 CHANGE LOGON {/QUERY | /ENABLE | /DISABLE | /DRAIN | /DRAINUNTILRESTART} /QUERY 現在のセッション ログオン モードを照会します。 /ENABLE セッションからのユーザー ログオンを有効にします。 /DISABLE セッションからユーザー ログインを無効にします。 /DRAIN 新規ユーザーのログオンを無効にします。ただし、既存セッションへの再接続は許可されます。 /DRAINUNTILRESTART サーバーが再起動されるまで新規ユーザーのログオンを無効にします。ただし、既存セッションへの再接続は許可されます。 En\rEnable, disable, or drain session logins. CHANGE LOGON {/QUERY | /ENABLE | /DISABLE | /DRAIN | /DRAINUNTILRESTART} /QUERY Query current session login mode. /ENABLE Enable user login from sessions. /DISABLE Disable user login from sessions. /DRAIN Disable new user logons, but allow reconnections to existing sessions. /DRAINUNTILRESTART Disable new user logons until the server is restarted, but allow reconnections to existing sessions. Return Code: 0\n","date":"2019-12-07T09:10:22Z","permalink":"https://pen2.com/cmd/ja/chglogon/","title":"chglogon"},{"content":"ポート変更ユーティリティ\nchgport C:\\Windows\\system32\\chgport.exe /? STDERR:\nJa\rDOS アプリケーションと互換性を保つための COM ポート マッピングを、表示または変更します。 CHANGE PORT [ポートX=ポートY | /D ポートX | /QUERY] ポートX=ポートY ポートY に対し、ポートX をマッピングします。 /D ポートX ポートX に対するマッピングを削除します。 /QUERY 現在のマッピング状況を表示します。 En\rList or change COM port mappings for DOS application compatibility. CHANGE PORT [portx=porty | /D portx | /QUERY] portx=porty Map port x to port y. /D portx Delete mapping for port x. /QUERY Display current mapping ports. Return Code: 0\n","date":"2019-12-07T09:10:22Z","permalink":"https://pen2.com/cmd/ja/chgport/","title":"chgport"},{"content":"INI ファイル マッピング変更ユーティリティ\nchgusr C:\\Windows\\system32\\chgusr.exe /? Output:\n日本語\rインストール モードを変更します。 CHANGE USER {/EXECUTE | /INSTALL | /QUERY} /EXECUTE 実行モードを有効にします (既定値)。 /INSTALL インストール モードを有効にします。 /QUERY 現在の設定を表示します。 英語\rChange Install Mode. CHANGE USER {/EXECUTE | /INSTALL | /QUERY} /EXECUTE Enable execute mode (default). /INSTALL Enable install mode. /QUERY Display current settings. Return Code: 0\n","date":"2019-12-07T09:10:22Z","permalink":"https://pen2.com/cmd/ja/chgusr/","title":"chgusr"},{"content":"セッション ログオフ ユーティリティ\nlogoff C:\\Windows\\system32\\logoff.exe /? STDERR:\nJa\rセッションを終了します。 LOGOFF [セッション名 | セッションID] [/SERVER:サーバー名] [/V] [/VM] セッション名 セッション名を指定します。 セッションID セッション ID を指定します。 /SERVER:サーバー名 ログオフするユーザー セッションが実行されている リモート デスクトップ サーバー (既定値は現在のサーバー)。 /V 実行中に詳細情報を表示します。 /VM サーバー上または仮想マシン内のセッションをログオフします。セッションの一意の ID を指定する必要があります。 En\rTerminates a session. LOGOFF [sessionname | sessionid] [/SERVER:servername] [/V] [/VM] sessionname The name of the session. sessionid The ID of the session. /SERVER:servername Specifies the Remote Desktop server containing the user session to log off (default is current). /V Displays information about the actions performed. /VM Logs off a session on server or within virtual machine. The unique ID of the session needs to be specified. Return Code: 0\n","date":"2019-12-07T09:10:22Z","permalink":"https://pen2.com/cmd/ja/logoff/","title":"logoff"},{"content":"メッセージ ユーティリティ\nmsg C:\\Windows\\system32\\msg.exe /? Output:\n日本語\rユーザーにメッセージを送信します。 MSG {ユーザー名 | セッション名 | セッション ID | @ファイル名 | *} [/SERVER:サーバー名] [/TIME:秒] [/V] [/W] [メッセージ] ユーザー名 送信先のユーザー名を指定します。 セッション名 セッション名を指定します。 セッションID セッション ID を指定します。 @ファイル名 メッセージの送信先一覧のファイル (ユーザー名、 セッション名、セッション ID) を指定します。 * 指定されたサーバーのすべてのセッションにメッセージを 送信します。 /SERVER:サーバー名 送信先のサーバーを指定します (既定値は現在のサーバー)。 /TIME:秒 受信者の確認応答までの待ち時間を指定します。 /V 実行中に詳細情報を表示します。 /W ユーザーからの応答を待ちます。通常 /V オプションと共に 指定します。 メッセージ 送信するメッセージを指定します。指定しない場合は、入力 プロンプトが表示されるか、または stdin から読み取ります。 英語\rSend a message to a user. MSG {username | sessionname | sessionid | @filename | *} [/SERVER:servername] [/TIME:seconds] [/V] [/W] [message] username Identifies the specified username. sessionname The name of the session. sessionid The ID of the session. @filename Identifies a file containing a list of usernames, sessionnames, and sessionids to send the message to. * Send message to all sessions on specified server. /SERVER:servername server to contact (default is current). /TIME:seconds Time delay to wait for receiver to acknowledge msg. /V Display information about actions being performed. /W Wait for response from user, useful with /V. message Message to send. If none specified, prompts for it or reads from stdin. Return Code: 0\n","date":"2019-12-07T09:10:22Z","permalink":"https://pen2.com/cmd/ja/msg/","title":"msg"},{"content":"リモート デスクトップ セッション ホスト サーバー照会ユーティリティ\nqappsrv C:\\Windows\\system32\\qappsrv.exe /? Output:\n日本語\rネットワーク上で利用可能なリモート デスクトップ セッション ホスト サーバーを表示します。 QUERY TERMSERVER [サーバー名] [/DOMAIN:ドメイン] [/ADDRESS] [/CONTINUE] サーバー名 リモート デスクトップ セッション ホスト サーバーを 指定します。 /DOMAIN:ドメイン 指定されたドメインの情報を表示します (既定値は 現在のドメイン)。 /ADDRESS ネットワークおよびノード アドレスを表示します。 /CONTINUE 1 画面ごとに停止しないで表示します。 英語\rDisplays the available Remote Desktop Session Host servers on the network. QUERY TERMSERVER [servername] [/DOMAIN:domain] [/ADDRESS] [/CONTINUE] servername Identifies a Remote Desktop Session Host server. /DOMAIN:domain Displays information for the specified domain (defaults to the current domain). /ADDRESS Displays network and node addresses. /CONTINUE Does not pause after each screen of information. Return Code: 0\n","date":"2019-12-07T09:10:22Z","permalink":"https://pen2.com/cmd/ja/qappsrv/","title":"qappsrv"},{"content":"プロセス照会ユーティリティ\nqprocess C:\\Windows\\system32\\qprocess.exe /? Output:\n日本語\rプロセス情報を表示します。 QUERY PROCESS [* | プロセスID | ユーザー名 | セッション名 | /ID:nn [/SERVER:サーバー名] * 表示できるプロセスをすべて表示します。 プロセスID プロセスID によって指定されたプロセスを表示します。 ユーザー名 ユーザー名に属するすべてのプロセスを表示します。 セッション名 セッション名で実行中のすべてのプロセスを表示します。 /ID:nn セッション nn で実行中のすべてのプロセスを表示します。 プログラム名 プログラム名に関連付けられているすべてのプロセスを 表示します。 /SERVER:サーバー名 照会するリモート デスクトップ セッション ホスト サーバーを指定します。 英語\rDisplays information about processes. QUERY PROCESS [* | processid | username | sessionname | /ID:nn | programname] [/SERVER:servername] * Display all visible processes. processid Display process specified by processid. username Display all processes belonging to username. sessionname Display all processes running at sessionname. /ID:nn Display all processes running at session nn. programname Display all processes associated with programname. /SERVER:servername The Remote Desktop Session Host server to be queried. Return Code: 0\n","date":"2019-12-07T09:10:22Z","permalink":"https://pen2.com/cmd/ja/qprocess/","title":"qprocess"},{"content":"マルチユーザー照会ユーティリティ\nquery C:\\Windows\\system32\\query.exe /? Output:\nQUERY { PROCESS | SESSION | TERMSERVER | USER } Return Code: 0\n","date":"2019-12-07T09:10:22Z","permalink":"https://pen2.com/cmd/ja/query/","title":"query"},{"content":"ユーザー照会ユーティリティ\nquser C:\\Windows\\system32\\quser.exe /? Output:\n日本語\rシステムにログオンしているユーザーの情報を表示します。 QUERY USER [ユーザー名 | セッション名 | セッション ID] [/SERVER:サーバー名] ユーザー名 ユーザー名を指定します。 セッション名 セッション名を指定します。 セッションID セッション ID を指定します。 /SERVER:サーバー名 照会するサーバーを指定します (既定値は現在のサーバー)。 英語\rDisplay information about users logged on to the system. QUERY USER [username | sessionname | sessionid] [/SERVER:servername] username Identifies the username. sessionname Identifies the session named sessionname. sessionid Identifies the session with ID sessionid. /SERVER:servername The server to be queried (default is current). Return Code: 0\n","date":"2019-12-07T09:10:22Z","permalink":"https://pen2.com/cmd/ja/quser/","title":"quser"},{"content":"セッション照会ユーティリティ\nqwinsta C:\\Windows\\system32\\qwinsta.exe /? Output:\n日本語\rリモート デスクトップ サービス セッションの情報を表示します。 QUERY SESSION [セッション名 | ユーザー名 | セッション ID] [/SERVER:サーバー名] [/MODE] [/FLOW] [/CONNECT] [/COUNTER] [/VM] セッション名 セッション名を指定します。 ユーザー名 ユーザー名を指定します。 セッション ID セッション ID を指定します。 /SERVER:サーバー名 照会するサーバーを指定します (既定値は現在のサーバー)。 /MODE 現在の回線の設定を表示します。 /FLOW 現在のフロー制御の設定を表示します。 /CONNECT 現在の接続の設定を表示します。 /COUNTER 現在のリモート デスクトップ サービスのカウンター情報を表示します。 /VM 仮想マシン内のセッションに関する情報を表示します。 英語\rDisplay information about Remote Desktop Services sessions. QUERY SESSION [sessionname | username | sessionid] [/SERVER:servername] [/MODE] [/FLOW] [/CONNECT] [/COUNTER] [/VM] sessionname Identifies the session named sessionname. username Identifies the session with user username. sessionid Identifies the session with ID sessionid. /SERVER:servername The server to be queried (default is current). /MODE Display current line settings. /FLOW Display current flow control settings. /CONNECT Display current connect settings. /COUNTER Display current Remote Desktop Services counters information. /VM Display information about sessions within virtual machines. Return Code: 0\n","date":"2019-12-07T09:10:22Z","permalink":"https://pen2.com/cmd/ja/qwinsta/","title":"qwinsta"},{"content":"リモート デスクトップ サービス リセット ユーティリティ\nreset C:\\Windows\\system32\\reset.exe /? Output:\nRESET { SESSION } Return Code: 0\n","date":"2019-12-07T09:10:22Z","permalink":"https://pen2.com/cmd/ja/reset/","title":"reset"},{"content":"リセット セッション ユーティリティ\nrwinsta C:\\Windows\\system32\\rwinsta.exe /? Output:\n日本語\rセッション サブシステムのハードウェアとソフトウェアを、既知の初期値にリセットします。 RESET SESSION {セッション名 | セッション ID} [/SERVER:サーバー名] [/V] セッション名 セッション名を指定します。 セッション ID セッション ID を指定します。 /SERVER:サーバー名 セッションを含むサーバー名を指定します (既定は現在のサーバー)。 /V 追加情報を表示します。 英語\rReset the session subsytem hardware and software to known initial values. RESET SESSION {sessionname | sessionid} [/SERVER:servername] [/V] sessionname Identifies the session with name sessionname. sessionid Identifies the session with ID sessionid. /SERVER:servername The server containing the session (default is current). /V Display additional information. Return Code: 0\n","date":"2019-12-07T09:10:22Z","permalink":"https://pen2.com/cmd/ja/rwinsta/","title":"rwinsta"},{"content":"セッション接続ユーティリティ\ntscon C:\\Windows\\system32\\tscon.exe /? Output:\n日本語\rユーザー セッションをリモート デスクトップ セッションに接続します。 TSCON {セッション ID | セッション名} [/DEST:セッション名] [/PASSWORD:パスワード | /PASSWORD:*] [/V] セッションID セッション ID を指定します。 セッション名 セッション名を指定します。 /DEST:セッション名 セッションを接続する接続先を指定します。 /PASSWORD:パスワード 識別セッションを所有するユーザーのパスワードを 指定します。 /V 実行中に詳細情報を表示します。 英語\rAttaches a user session to a remote desktop session. TSCON {sessionid | sessionname} [/DEST:sessionname] [/PASSWORD:pw | /PASSWORD:*] [/V] sessionid The ID of the session. sessionname The name of the session. /DEST:sessionname Connect the session to destination sessionname. /PASSWORD:pw Password of user owning identified session. /V Displays information about the actions performed. Return Code: 0\n","date":"2019-12-07T09:10:22Z","permalink":"https://pen2.com/cmd/ja/tscon/","title":"tscon"},{"content":"セッション切断ユーティリティ\ntsdiscon C:\\Windows\\system32\\tsdiscon.exe /? Output:\n日本語\rリモート デスクトップ サービス セッションを切断します。 TSDISCON [セッション ID | セッション名] [/SERVER:サーバー名] [/V] [/VM]] セッション ID セッションの ID です。 セッション名 セッション名を指定します。 /SERVER:サーバー名 リモート デスクトップ セッション ホスト サーバーを 指定します (既定値は現在のサーバー)。 /V 実行中に詳細情報を表示します。 /VM サーバー上または仮想マシン内のセッションを切断します。 セッションの一意の ID を指定する必要があります。 英語\rDisconnects a Remote Desktop Services session. TSDISCON [sessionid | sessionname] [/SERVER:servername] [/V] [/VM] sessionid The ID of the session. sessionname The name of the session. /SERVER:servername Specifies the Remote Desktop Session Host server (default is current). /V Displays information about the actions performed. /VM Disconnects session on server or within virtual machine. The unique ID of the session needs to be specified. Return Code: 0\n","date":"2019-12-07T09:10:22Z","permalink":"https://pen2.com/cmd/ja/tsdiscon/","title":"tsdiscon"},{"content":"リモート デスクトップ サービス終了プロセス ユーティリティ\ntskill C:\\Windows\\system32\\tskill.exe /? STDERR:\nJa\rプロセスを終了します。 TSKILL プロセスID | プロセス名 [/SERVER:サーバー名] [/ID:セッションID | /A] [/V] プロセスID 終了するプロセスのプロセス ID です。 プロセス名 終了するプロセス名です。 /SERVER:サーバー名 プロセスID を含むサーバー名です (既定値は現在のサーバー) プロセス名と /SERVER を使う場合、/ID または /A を 指定しなければなりません。 /ID:セッションID 指定したセッションで実行中のプロセスを終了します。 /A すべてのセッションで実行中のプロセスを終了します。 /V 実行中に詳細情報を表示します。 En\rEnds a process. TSKILL processid | processname [/SERVER:servername] [/ID:sessionid | /A] [/V] processid Process ID for the process to be terminated. processname Process name to be terminated. /SERVER:servername Server containing processID (default is current). /ID or /A must be specified when using processname and /SERVER /ID:sessionid End process running under the specified session. /A End process running under ALL sessions. /V Display information about actions being performed. Return Code: 0\n","date":"2019-12-07T09:10:22Z","permalink":"https://pen2.com/cmd/ja/tskill/","title":"tskill"},{"content":"IotStartup\niotstartup C:\\Windows\\system32\\iotstartup.exe /? Output:\nUsage: IotStartup [list|add|remove|startup] ([headed|headless]) (suppress) (std::regex regular expression with implied ^ prepended) IotStartup [run|stop] (std::regex regular expression with implied ^ prepended) IotStartup [help|-?|-h|--help] Examples: IotStartup list // list installed applications IotStartup list headed // list installed headed applications IotStartup list headless // list installed headless applications IotStartup list MyApp // list installed applications that match pattern MyApp IotStartup add headed MyApp // add headed application that matches pattern MyApp. Pattern must match only one application. IotStartup add headless Task1 // add headless applications that match pattern Task1 IotStartup remove headless Task1 // remove headless applications that match pattern Task1 IotStartup remove headless suppress Task1 // remove headless applications that match pattern Task1 and suppress WNF notification IotStartup startup // list headed and headless applications registered for startup IotStartup startup MyApp // list headed and headless applications registered for startup that match pattern MyApp IotStartup startup headed MyApp // list headed applications registered for startup that match MyApp IotStartup startup headless Task1 // list headless applications registered for startup that match Task1 IotStartup run MyApp // Start app identified by MyApp (see \u0026#39;iotstartup list\u0026#39;) IotStartup stop MyApp // Stop app identified by MyApp (see \u0026#39;iotstartup list\u0026#39;) Return Code: 2147942487\n","date":"2019-12-07T09:10:21Z","permalink":"https://pen2.com/cmd/ja/iotstartup/","title":"iotstartup"},{"content":"PackageInspector では、インストーラーによって配置されたすべての実行可能ファイルを含むカタログを作成できます\npackageinspector C:\\Windows\\system32\\PackageInspector.exe /? Output:\n日本語\r: PackageInspector.exe \u0026lt;\u0026gt; \u0026lt;\u0026gt; [] PackageInspector.exe start \u0026lt;\u0026gt;: [-path \u0026lt;\u0026gt;] PackageInspector.exe stop \u0026lt;\u0026gt;: -out cdf|cat|list [-cdfPath \u0026lt;CDF \u0026gt;] [-name \u0026lt;\u0026gt;] [-resdir \u0026lt;\u0026gt;] [-ph true | false] [-en \u0026lt;\u0026gt;] [-ca1 \u0026lt;CATATTR1\u0026gt;] [-ca2 \u0026lt;CATATTR2\u0026gt;] [-listPath \u0026lt;OutputList.txt \u0026gt;] PackageInspector.exe scan \u0026lt;\u0026gt; -out cdf|cat|list [-cdfPath \u0026lt;CDF \u0026gt;] [-name \u0026lt;\u0026gt;] [-resdir \u0026lt;\u0026gt;] [-ph true | false] [-en \u0026lt;\u0026gt;] [-ca1 \u0026lt;CATATTR1\u0026gt;] [-ca2 \u0026lt;CATATTR2\u0026gt;] [-listPath \u0026lt;OutputList.txt \u0026gt;] : start --\tstop --\tscan --\tPackageInspector stop Start : path --\tStop/Scan : out --\t(CATCDF List) cdfPath\t--\tCDF name --\tresdir --\tph --\ten --\tca1 --\tCDF CAT CATATTR1 ca2 --\tCDF CAT CATATTR2 listPath\t--\t(-out list ) 英語\rUsage: PackageInspector.exe \u0026lt;command\u0026gt; \u0026lt;DriveLetter or Path\u0026gt; [options] PackageInspector.exe start \u0026lt;DriveLetter\u0026gt;: [-path \u0026lt;pathToInstaller\u0026gt;] PackageInspector.exe stop \u0026lt;DriveLetter\u0026gt;: -out cdf|cat|list [-cdfPath \u0026lt;outputCdfPath\u0026gt;] [-name \u0026lt;nameOfCat\u0026gt;] [-resdir \u0026lt;directoryForCat\u0026gt;] [-ph true | false] [-en \u0026lt;encoding type\u0026gt;] [-ca1 \u0026lt;CATATTR1\u0026gt;] [-ca2 \u0026lt;CATATTR2\u0026gt;] [-listPath \u0026lt;pathToOutputList.txt\u0026gt;] PackageInspector.exe scan \u0026lt;PathToScan\u0026gt; -out cdf|cat|list [-cdfPath \u0026lt;outputCdfPath\u0026gt;] [-name \u0026lt;nameOfCat\u0026gt;] [-resdir \u0026lt;directoryForCat\u0026gt;] [-ph true | false] [-en \u0026lt;encoding type\u0026gt;] [-ca1 \u0026lt;CATATTR1\u0026gt;] [-ca2 \u0026lt;CATATTR2\u0026gt;] [-listPath \u0026lt;pathToOutputList.txt\u0026gt;] Valid Commands : start --\tSpecifies that a user will start a scan stop --\tSpecifies that a scan is complete and one of the supported outputs it to be produced scan --\tSpecifies that PackageInspector is to directly scan the given path rather than monitor created files. Takes same options as stop Start Options : path --\tFile path to the package being inspected Stop/Scan Options : out --\tSpecifies what the tool should output from the scan (CAT, CDF, or List) cdfPath --\tSpecifies the full path for output of CDF including filename name --\tSpecifies the name of the catalog to produce resdir --\tSpecifies the result directory of the catalog ph --\tSpecifies whether page hashes should be included in the catalog en --\tSpecifies the encoding type of the catalog ca1 --\tSpecifies CATATTR1 in the CDF or CAT ca2 --\tSpecifies CATATTR2 in the CDF or CAT listPath\t--\tSpecifies location to output list of files laid down by installer (for -out list) Return Code: 1\n","date":"2019-12-07T09:10:21Z","permalink":"https://pen2.com/cmd/ja/packageinspector/","title":"packageinspector"},{"content":"コントロール ACL プログラム\ncacls C:\\Windows\\system32\\cacls.exe /? Output:\n日本語\r注意: CACLS の使用は推奨されていません。ICACLS を使用してください。 ファイルのアクセス制御リスト (ACL) を表示または変更します。 CACLS ファイル名 [/T] [/M] [/L] [/S[:SDDL]] [/E] [/C] [/G ユーザー名:アクセス権] [/R ユーザー名 [...]] [/P ユーザー名:アクセス権 [...]] [/D ユーザー名 [...]] ファイル名 ACL を表示します。 /T 現在のディレクトリとすべてのサブディレクトリにある 指定されたファイルの ACL を変更します。 /L ターゲットではなくシンボリック リンク自体で動作します /M ディレクトリにマウントされたボリュームの ACL を変更します /S DACL の SDDL 文字列を表示します。 /S:SDDL ACL を SDDL 文字列で指定されたもので置き換えます (/E、/G、/R、/P、または /D では無効)。 /E ACL を置き換えずに編集します。 /C アクセス拒否エラーを無視して、アクセスを続行します。 /G ユーザー名:アクセス権 指定されたユーザーにアクセス権を与えます。 アクセス権: R 読み取り W 書き込み C 変更 (書き込み) F フル コントロール /R ユーザー名 指定されたユーザーのアクセス権を失効させます (/E オプションと共に使用)。 /P ユーザー名:アクセス権 指定されたユーザーのアクセス権を置き換えます。 アクセス権: N なし R 読み取り W 書き込み C 変更 (書き込み) F フル コントロール /D ユーザー名 指定されたユーザーのアクセスを拒否します。 複数のファイルを指定するには、ワイルドカードを使用できます。 複数のユーザーを指定できます。 省略形: CI - コンテナー継承。 ACE はディレクトリに継承されます。 OI - オブジェクト継承。 ACE はファイルに継承されます。 IO - 継承のみ。 ACE は現在のファイル/ディレクトリに適用されません。 ID - 継承済み。 ACE は親ディレクトリの ACL から継承されました。 英語\rNOTE: Cacls is now deprecated, please use Icacls. Displays or modifies access control lists (ACLs) of files CACLS filename [/T] [/M] [/L] [/S[:SDDL]] [/E] [/C] [/G user:perm] [/R user [...]] [/P user:perm [...]] [/D user [...]] filename Displays ACLs. /T Changes ACLs of specified files in the current directory and all subdirectories. /L Work on the Symbolic Link itself versus the target /M Changes ACLs of volumes mounted to a directory /S Displays the SDDL string for the DACL. /S:SDDL Replaces the ACLs with those specified in the SDDL string (not valid with /E, /G, /R, /P, or /D). /E Edit ACL instead of replacing it. /C Continue on access denied errors. /G user:perm Grant specified user access rights. Perm can be: R Read W Write C Change (write) F Full control /R user Revoke specified user\u0026#39;s access rights (only valid with /E). /P user:perm Replace specified user\u0026#39;s access rights. Perm can be: N None R Read W Write C Change (write) F Full control /D user Deny specified user access. Wildcards can be used to specify more than one file in a command. You can specify more than one user in a command. Abbreviations: CI - Container Inherit. The ACE will be inherited by directories. OI - Object Inherit. The ACE will be inherited by files. IO - Inherit Only. The ACE does not apply to the current file/directory. ID - Inherited. The ACE was inherited from the parent directory\u0026#39;s ACL. Return Code: 160\n","date":"2019-12-07T09:09:51Z","permalink":"https://pen2.com/cmd/ja/cacls/","title":"cacls"},{"content":"イベント作成 - イベント ログのカスタム イベントの作成\neventcreate C:\\Windows\\system32\\eventcreate.exe /? Output:\n日本語\rEVENTCREATE [/S システム [/U ユーザー名 [/P [パスワード]]]] /ID イベントID [/L ログ名] [/SO ソース名] /T 種類 /D 説明 説明: このコマンド ライン ツールで管理者が指定のイベント ログに カスタム イベントを作成します。 パラメーター一覧: /S システム 接続先のリモート システムを指定します。 /U [ドメイン\\]ユーザー コマンドが実行されるユーザー コンテキストを 指定します。 /P パスワード 指定のユーザー コンテキストのパスワードを 指定します。 /L ログ名 イベントを作成する先のイベント ログを指定 します。 /T 種類 作成するイベントの種類を指定します。 有効な種類: SUCCESS、ERROR、WARNING、INFORMATION /SO ソース イベントに使用するためのソースを指定します。 (指定しない場合は、既定のソースは\u0026#39;eventcreate\u0026#39; になります。)ソースにはどの文字列を指定しても 有効であり、イベントを作成するアプリケーション またはコンポーネントを示すものです。 /ID ID イベントに対するイベント ID を指定します。 1 から 1000 の範囲のどの数字も有効 です。 /D 説明 新しいイベントの説明文を指定します。 /? このヘルプを表示します。 例: EVENTCREATE /T ERROR /ID 1000 /L APPLICATION /D \u0026#34;アプリケーション ログ用のカスタム エラー イベント\u0026#34; EVENTCREATE /T ERROR /ID 999 /L APPLICATION /SO WinWord /D \u0026#34;Winword イベント 999 がディスクの容量不足のため発生\u0026#34; EVENTCREATE /S system /T ERROR /ID 100 /L APPLICATION /D \u0026#34;カスタム ジョブのインストールに失敗しました\u0026#34; EVENTCREATE /S system /U user /P password /ID 1 /T ERROR /L APPLICATION /D \u0026#34;ユーザーの資格情報が無効なため、ユーザー アクセスは失敗しました\u0026#34; 英語\rEVENTCREATE [/S system [/U username [/P [password]]]] /ID eventid [/L logname] [/SO srcname] /T type /D description Description: This command line tool enables an administrator to create a custom event ID and message in a specified event log. Parameter List: /S system Specifies the remote system to connect to. /U [domain\\]user Specifies the user context under which the command should execute. /P [password] Specifies the password for the given user context. Prompts for input if omitted. /L logname Specifies the event log to create an event in. /T type Specifies the type of event to create. Valid types: SUCCESS, ERROR, WARNING, INFORMATION. /SO source Specifies the source to use for the event (if not specified, source will default to \u0026#39;eventcreate\u0026#39;). A valid source can be any string and should represent the application or component that is generating the event. /ID id Specifies the event ID for the event. A valid custom message ID is in the range of 1 - 1000. /D description Specifies the description text for the new event. /? Displays this help message. Examples: EVENTCREATE /T ERROR /ID 1000 /L APPLICATION /D \u0026#34;My custom error event for the application log\u0026#34; EVENTCREATE /T ERROR /ID 999 /L APPLICATION /SO WinWord /D \u0026#34;Winword event 999 happened due to low diskspace\u0026#34; EVENTCREATE /S system /T ERROR /ID 100 /L APPLICATION /D \u0026#34;Custom job failed to install\u0026#34; EVENTCREATE /S system /U user /P password /ID 1 /T ERROR /L APPLICATION /D \u0026#34;User access failed due to invalid user credentials\u0026#34; Return Code: 0\n","date":"2019-12-07T09:09:51Z","permalink":"https://pen2.com/cmd/ja/eventcreate/","title":"eventcreate"},{"content":"ファイル転送プログラム\nftp C:\\Windows\\system32\\ftp.exe /? STDERR:\nJa\rFTP サーバー サービス (デーモンとも呼ぶ) を実行するコンピューターとの間で、 ファイルの送受信を行います。FTP は対話的に使用できます。 FTP [-v] [-d] [-i] [-n] [-g] [-s:filename] [-a] [-A] [-x:sendbuffer] [-r:recvbuffer] [-b:asyncbuffers] [-w:windowsize] [host] -v リモート サーバーの応答を表示しません。 -n 最初の接続時に自動ログインを行いません。 -i 複数ファイルの転送中に、対話的なメッセージ表示を 無効にします。 -d デバッグを有効にします。 -g ファイル名のグロビングを無効にします (GLOB コマンドを参照)。 -s:filename FTP コマンドを記述したテキスト ファイルを指定します。 これらのコマンドは、FTP の開始後に自動実行されます。 -a データ接続のバインド時に、いずれかのローカル インターフェイ スを使用します。 -A 匿名でログインします。 -x:send sockbuf SO_SNDBUF の既定のサイズである 8192 を上書きします。 -r:recv sockbuf SO_RCVBUF の既定のサイズである 8192 を上書きします。 -b:async count 既定の非同期数である 3 を上書きします。 -w:windowsize 既定の転送バッファー サイズである 65535 を上書きします。 host 接続先のリモート ホストのホスト名または IP アドレス を指定します。 メモ: - mget および mput コマンドには、それぞれ yes/no/quit の意味を表す y/n/q を 指定します。 - コマンドを中止するには Ctrl+C キーを押します。 En\rTransfers files to and from a computer running an FTP server service (sometimes called a daemon). Ftp can be used interactively. FTP [-v] [-d] [-i] [-n] [-g] [-s:filename] [-a] [-A] [-x:sendbuffer] [-r:recvbuffer] [-b:asyncbuffers] [-w:windowsize] [host] -v Suppresses display of remote server responses. -n Suppresses auto-login upon initial connection. -i Turns off interactive prompting during multiple file transfers. -d Enables debugging. -g Disables filename globbing (see GLOB command). -s:filename Specifies a text file containing FTP commands; the commands will automatically run after FTP starts. -a Use any local interface when binding data connection. -A login as anonymous. -x:send sockbuf Overrides the default SO_SNDBUF size of 8192. -r:recv sockbuf Overrides the default SO_RCVBUF size of 8192. -b:async count Overrides the default async count of 3 -w:windowsize Overrides the default transfer buffer size of 65535. host Specifies the host name or IP address of the remote host to connect to. Notes: - mget and mput commands take y/n/q for yes/no/quit. - Use Control-C to abort commands. Return Code: 2\n","date":"2019-12-07T09:09:51Z","permalink":"https://pen2.com/cmd/ja/ftp/","title":"ftp"},{"content":"システム情報の表示\nsysteminfo C:\\Windows\\system32\\systeminfo.exe /? Output:\n日本語\rSYSTEMINFO [/S システム [/U ユーザー名 [/P パスワード]]] [/FO 形式] [/NH] 説明: ローカル コンピューターまたはリモート コンピューターの、オペレーティング システム構成情報 (Service Pack のレベルを含む) を表示します。 パラメーター一覧: /S システム 接続先のリモート システムを指定します。 /U [ドメイン\\]ユーザー 実行するコマンドのユーザー コンテキストを指定 します。 /P [パスワード] 提供されたユーザー コンテキストのパスワードを指定 します。省略された場合は、入力を要求します。 /FO 形式 表示される形式を指定します。 有効な値: \u0026#34;TABLE\u0026#34;, \u0026#34;LIST\u0026#34;, \u0026#34;CSV\u0026#34;。 /NH 出力しない \u0026#34;カラム ヘッダー\u0026#34; を指定します。 \u0026#34;TABLE\u0026#34;と \u0026#34;CSV\u0026#34; の形式のみ有効です。 /? ヘルプを表示します。 例: SYSTEMINFO SYSTEMINFO /? SYSTEMINFO /S システム SYSTEMINFO /S システム /U ユーザー SYSTEMINFO /S システム /U ドメイン\\ユーザー /P パスワード /FO TABLE SYSTEMINFO /S システム /FO LIST SYSTEMINFO /S システム /FO CSV /NH 英語\rSYSTEMINFO [/S system [/U username [/P [password]]]] [/FO format] [/NH] Description: This tool displays operating system configuration information for a local or remote machine, including service pack levels. Parameter List: /S system Specifies the remote system to connect to. /U [domain\\]user Specifies the user context under which the command should execute. /P [password] Specifies the password for the given user context. Prompts for input if omitted. /FO format Specifies the format in which the output is to be displayed. Valid values: \u0026#34;TABLE\u0026#34;, \u0026#34;LIST\u0026#34;, \u0026#34;CSV\u0026#34;. /NH Specifies that the \u0026#34;Column Header\u0026#34; should not be displayed in the output. Valid only for \u0026#34;TABLE\u0026#34; and \u0026#34;CSV\u0026#34; formats. /? Displays this help message. Examples: SYSTEMINFO SYSTEMINFO /? SYSTEMINFO /S system SYSTEMINFO /S system /U user SYSTEMINFO /S system /U domain\\user /P password /FO TABLE SYSTEMINFO /S system /FO LIST SYSTEMINFO /S system /FO CSV /NH Return Code: 0\n","date":"2019-12-07T09:09:51Z","permalink":"https://pen2.com/cmd/ja/systeminfo/","title":"systeminfo"},{"content":"ファイルの所有権の取得\ntakeown C:\\Windows\\system32\\takeown.exe /? Output:\n日本語\rTAKEOWN [/S システム [/U ユーザー名 [/P [パスワード]]]] /F ファイル名 [/A] [/R [/D プロンプト]] 説明: このツールを使うと、ファイルの所有権を割り当て直して、前回アクセスが拒否 されたファイルへのアクセスを管理者が回復できるようにします。 パラメーター一覧: /S システム 接続先のリモート システムを指定 します。 /U [ドメイン\\]ユーザー コマンドを実行するユーザー コンテキストを指定します。 /P [パスワード] 指定のユーザー コンテキストのパスワード を指定します。 省略すると入力が促されます。 /F ファイル名 ファイル名またはディレクトリ名のパターンを 指定します。ワイルドカード \u0026#34;*\u0026#34; を使って パターンを指定できます。 \u0026#39;共有名\\ファイル名\u0026#39; も使用できます。 /A 現在のユーザーではなく、管理者に所有権を 与えます。 /R 再帰: 指定されたディレクトリとすべてのサブ ディレクトリにあるファイルに対してツールを 実行します。 /D プロンプト ユーザーがディレクトリに対し \u0026#34;フォルダーの一覧\u0026#34; アクセス許可を持っていない場合、既定の答えが 使用されます。これはサブディレクトリに対し 再帰的(/R) に操作を行っている場合に適用され ます。有効な値は \u0026#34;Y\u0026#34; (所有権を得る)、および \u0026#34;N\u0026#34; (スキップ) です。 /SKIPSL シンボリック リンクに接続しません。 /R と同時には指定できません。 /? このヘルプを表示します。 注意: 1) /A が指定されていない場合は、ファイルの所有権は現在 ログインしているユーザーに与えられます。 2) \u0026#34;?\u0026#34; や \u0026#34;*\u0026#34; を使った混合パターンはサポートされていません。 3) /D を使うと、確認プロンプトは表示されません。 例: TAKEOWN /? TAKEOWN /F lostfile TAKEOWN /F \\\\system\\share\\lostfile /A TAKEOWN /F directory /R /D N TAKEOWN /F directory /R /A TAKEOWN /F * TAKEOWN /F C:\\Windows\\System32\\acme.exe TAKEOWN /F %windir%\\*.txt TAKEOWN /S システム /F MyShare\\Acme*.doc TAKEOWN /S システム /U ユーザー /F MyShare\\MyBinary.dll TAKEOWN /S システム /U ドメイン\\ユーザー /P パスワード /F share\\ファイル名 TAKEOWN /S システム /U ユーザー /P パスワード /F Doc\\Report.doc /A TAKEOWN /S システム /U ユーザー /P パスワード /F Myshare\\* TAKEOWN /S システム /U ユーザー /P パスワード /F Home\\Logon /R TAKEOWN /S システム /U ユーザー /P パスワード /F Myshare\\directory /R /A 英語\rTAKEOWN [/S system [/U username [/P [password]]]] /F filename [/A] [/R [/D prompt]] Description: This tool allows an administrator to recover access to a file that was denied by re-assigning file ownership. Parameter List: /S system Specifies the remote system to connect to. /U [domain\\]user Specifies the user context under which the command should execute. /P [password] Specifies the password for the given user context. Prompts for input if omitted. /F filename Specifies the filename or directory name pattern. Wildcard \u0026#34;*\u0026#34; can be used to specify the pattern. Allows sharename\\filename. /A Gives ownership to the administrators group instead of the current user. /R Recurse: instructs tool to operate on files in specified directory and all subdirectories. /D prompt Default answer used when the current user does not have the \u0026#34;list folder\u0026#34; permission on a directory. This occurs while operating recursively (/R) on sub-directories. Valid values \u0026#34;Y\u0026#34; to take ownership or \u0026#34;N\u0026#34; to skip. /SKIPSL Do not follow symbolic links. Only applicable with /R. /? Displays this help message. NOTE: 1) If /A is not specified, file ownership will be given to the current logged on user. 2) Mixed patterns using \u0026#34;?\u0026#34; and \u0026#34;*\u0026#34; are not supported. 3) /D is used to suppress the confirmation prompt. Examples: TAKEOWN /? TAKEOWN /F lostfile TAKEOWN /F \\\\system\\share\\lostfile /A TAKEOWN /F directory /R /D N TAKEOWN /F directory /R /A TAKEOWN /F * TAKEOWN /F C:\\Windows\\System32\\acme.exe TAKEOWN /F %windir%\\*.txt TAKEOWN /S system /F MyShare\\Acme*.doc TAKEOWN /S system /U user /F MyShare\\MyBinary.dll TAKEOWN /S system /U domain\\user /P password /F share\\filename TAKEOWN /S system /U user /P password /F Doc\\Report.doc /A TAKEOWN /S system /U user /P password /F Myshare\\* TAKEOWN /S system /U user /P password /F Home\\Logon /R TAKEOWN /S system /U user /P password /F Myshare\\directory /R /A Return Code: 0\n","date":"2019-12-07T09:09:51Z","permalink":"https://pen2.com/cmd/ja/takeown/","title":"takeown"},{"content":"プロセスの終了\ntaskkill C:\\Windows\\system32\\taskkill.exe /? Output:\n日本語\rTASKKILL [/S システム [/U ユーザー名 [/P [パスワード]]]] { [/FI フィルター] [/PID プロセスID | /IM イメージ名] } [/T] [/F] 説明: このツールは、プロセス ID (PID) またはイメージ名を指定して、タスクを終了するために使われます。 パラメーター一覧: /S システム 接続するリモート システムを指定します。 /U [ドメイン\\]ユーザー コマンドが実行されるユーザー コンテキストを 指定します。 /P [パスワード] 提供されるユーザー コンテキストのパスワードを 指定します。省略された場合は、入力を要求します。 /FI フィルター タスクを選択するために、フィルターを適用します。 \u0026#34;*\u0026#34; を使用できます。例: imagename eq acme* /PID プロセスID 終了させるプロセスの PID を指定します。 PID を取得するには、TaskList を使用してください。 /IM イメージ名 終了させるプロセスのイメージ名を指定します。 すべてのタスクやイメージ名を指定するには、 ワイルドカード \u0026#39;*\u0026#39; を使います。 /T 指定したプロセスとそのプロセスが開始 したすべての子プロセスを削除します。 /F プロセスの強制終了を指定します。 /? このヘルプ メッセージを表示します。 フィルター: フィルター名 有効な演算子 有効な値 ----------- --------------- ------------------------- STATUS eq, ne RUNNING | NOT RESPONDING | UNKNOWN IMAGENAME eq, ne イメージ名 PID eq, ne, gt, lt, ge, le PID 値 SESSION eq, ne, gt, lt, ge, le セッション番号です。 CPUTIME eq, ne, gt, lt, ge, le 次の形式の CPU 時間 hh:mm:ss hh - 時間 mm - 分、ss - 秒 MEMUSAGE eq, ne, gt, lt, ge, le メモリ使用量 (KB) USERNAME eq, ne [ドメイン\\]ユーザーの形式の ユーザー名です MODULES eq, ne DLL 名 SERVICES eq, ne サービス名 WINDOWTITLE eq, ne ウィンドウのタイトル 注意 ---- 1) /IM スイッチのワイルドカード \u0026#39;*\u0026#39; は、フィルターを適用したときのみ許可 されます。 2) リモート プロセスの終了は、必ず強制的に行われます。(/F) 3) リモート コンピューターが指定されているときは、\u0026#34;WINDOWTITLE\u0026#34;フィルターと \u0026#34;STATUS\u0026#34; フィルターは考慮されません。 例: TASKKILL /IM notepad.exe TASKKILL /PID 1230 /PID 1241 /PID 1253 /T TASKKILL /F /IM cmd.exe /T TASKKILL /F /FI \u0026#34;PID ge 1000\u0026#34; /FI \u0026#34;WINDOWTITLE ne untitle*\u0026#34; TASKKILL /F /FI \u0026#34;USERNAME eq NT AUTHORITY\\SYSTEM\u0026#34; /IM notepad.exe TASKKILL /S system /U domain\\username /FI \u0026#34;USERNAME ne NT*\u0026#34; /IM * TASKKILL /S system /U username /P password /FI \u0026#34;IMAGENAME eq note*\u0026#34; 英語\rTASKKILL [/S system [/U username [/P [password]]]] { [/FI filter] [/PID processid | /IM imagename] } [/T] [/F] Description: This tool is used to terminate tasks by process id (PID) or image name. Parameter List: /S system Specifies the remote system to connect to. /U [domain\\]user Specifies the user context under which the command should execute. /P [password] Specifies the password for the given user context. Prompts for input if omitted. /FI filter Applies a filter to select a set of tasks. Allows \u0026#34;*\u0026#34; to be used. ex. imagename eq acme* /PID processid Specifies the PID of the process to be terminated. Use TaskList to get the PID. /IM imagename Specifies the image name of the process to be terminated. Wildcard \u0026#39;*\u0026#39; can be used to specify all tasks or image names. /T Terminates the specified process and any child processes which were started by it. /F Specifies to forcefully terminate the process(es). /? Displays this help message. Filters: Filter Name Valid Operators Valid Value(s) ----------- --------------- ------------------------- STATUS eq, ne RUNNING | NOT RESPONDING | UNKNOWN IMAGENAME eq, ne Image name PID eq, ne, gt, lt, ge, le PID value SESSION eq, ne, gt, lt, ge, le Session number. CPUTIME eq, ne, gt, lt, ge, le CPU time in the format of hh:mm:ss. hh - hours, mm - minutes, ss - seconds MEMUSAGE eq, ne, gt, lt, ge, le Memory usage in KB USERNAME eq, ne User name in [domain\\]user format MODULES eq, ne DLL name SERVICES eq, ne Service name WINDOWTITLE eq, ne Window title NOTE ---- 1) Wildcard \u0026#39;*\u0026#39; for /IM switch is accepted only when a filter is applied. 2) Termination of remote processes will always be done forcefully (/F). 3) \u0026#34;WINDOWTITLE\u0026#34; and \u0026#34;STATUS\u0026#34; filters are not considered when a remote machine is specified. Examples: TASKKILL /IM notepad.exe TASKKILL /PID 1230 /PID 1241 /PID 1253 /T TASKKILL /F /IM cmd.exe /T TASKKILL /F /FI \u0026#34;PID ge 1000\u0026#34; /FI \u0026#34;WINDOWTITLE ne untitle*\u0026#34; TASKKILL /F /FI \u0026#34;USERNAME eq NT AUTHORITY\\SYSTEM\u0026#34; /IM notepad.exe TASKKILL /S system /U domain\\username /FI \u0026#34;USERNAME ne NT*\u0026#34; /IM * TASKKILL /S system /U username /P password /FI \u0026#34;IMAGENAME eq note*\u0026#34; Return Code: 0\n","date":"2019-12-07T09:09:51Z","permalink":"https://pen2.com/cmd/ja/taskkill/","title":"taskkill"},{"content":"現在実行中のタスクの一覧表示\ntasklist C:\\Windows\\system32\\tasklist.exe /? Output:\n日本語\rTASKLIST [/S システム [/U ユーザー名 [/P [パスワード]]]] [/M [モジュール] | /SVC | /V] [/FI フィルター] [/FO 形式] [/NH] 説明: ローカルまたはリモートのシステムで実行されている プロセスの一覧を表示します。 パラメーター一覧: /S システム 接続するリモート システムを指定します。 /U [ドメイン\\]ユーザー コマンドを実行するユーザー コンテキストを 指定します。 /P [パスワード] 提供されたユーザー コンテキストのパスワードを 指定します。省略された場合は、入力を要求します。 /M [モジュール] 指定された EXE/DLL 名を使用しているタスクを すべて表示します。モジュール名が指定されない場合 は、読み込まれているモジュールすべてを表示します。 /SVC 各プロセスをホストしているサービスを表示します。 /APPS Microsoft Store アプリと関連するプロセスを表示します。 /V 詳細なタスク情報を表示します。 /FI フィルター フィルターによって指定された、与えられた条件に一致 するタスクを表示します。 /FO 形式 出力の形式を指定します。 有効な値: \u0026#34;TABLE\u0026#34;, \u0026#34;LIST\u0026#34;, \u0026#34;CSV\u0026#34;。 /NH 出力するときに、\u0026#34;カラム ヘッダー\u0026#34;を 表示しないように指定します。 \u0026#34;TABLE\u0026#34; と \u0026#34;CSV\u0026#34; 形式でのみ有効です。 /? このヘルプ メッセージを表示します。 フィルター: フィルター名 有効な演算子 有効な値 ----------- --------------- -------------------------- STATUS eq, ne RUNNING | SUSPENDED NOT RESPONDING | UNKNOWN IMAGENAM eq, ne イメージ名 PID eq, ne, gt, lt, ge, le PID 値 SESSION eq, ne, gt, lt, ge, le セッション番号 SESSIONNAME eq, ne セッション名 CPUTIME eq, ne, gt, lt, ge, le 次の形式の CPU 時間 hh:mm:ss hh - 時間、 mm - 分、ss - 秒 MEMUSAGE eq, ne, gt, lt, ge, le メモリ使用 (KB) USERNAME eq, ne [ドメイン\\]ユーザーの形式の ユーザー名 SERVICES eq, ne サービス名 WINDOWTITLE eq, ne ウィンドウ タイトル MODULES eq, ne DLL 名 注意: リモート コンピューターを照会するときは、\u0026#34;WINDOWTITLE\u0026#34; フィルターと \u0026#34;STATUS\u0026#34; フィルターはサポートされません。 Examples: TASKLIST TASKLIST /M TASKLIST /V /FO CSV TASKLIST /SVC /FO LIST TASKLIST /APPS /FI \u0026#34;STATUS eq RUNNING\u0026#34; TASKLIST /M wbem* TASKLIST /S システム /FO LIST TASKLIST /S システム /U ドメイン\\ユーザー名 /FO CSV /NH TASKLIST /S システム /U ユーザー名 /P パスワード /FO TABLE /NH TASKLIST /FI \u0026#34;USERNAME ne NT AUTHORITY\\SYSTEM\u0026#34; /FI \u0026#34;STATUS eq running\u0026#34; 英語\rTASKLIST [/S system [/U username [/P [password]]]] [/M [module] | /SVC | /V] [/FI filter] [/FO format] [/NH] Description: This tool displays a list of currently running processes on either a local or remote machine. Parameter List: /S system Specifies the remote system to connect to. /U [domain\\]user Specifies the user context under which the command should execute. /P [password] Specifies the password for the given user context. Prompts for input if omitted. /M [module] Lists all tasks currently using the given exe/dll name. If the module name is not specified all loaded modules are displayed. /SVC Displays services hosted in each process. /APPS Displays Store Apps and their associated processes. /V Displays verbose task information. /FI filter Displays a set of tasks that match a given criteria specified by the filter. /FO format Specifies the output format. Valid values: \u0026#34;TABLE\u0026#34;, \u0026#34;LIST\u0026#34;, \u0026#34;CSV\u0026#34;. /NH Specifies that the \u0026#34;Column Header\u0026#34; should not be displayed in the output. Valid only for \u0026#34;TABLE\u0026#34; and \u0026#34;CSV\u0026#34; formats. /? Displays this help message. Filters: Filter Name Valid Operators Valid Value(s) ----------- --------------- -------------------------- STATUS eq, ne RUNNING | SUSPENDED NOT RESPONDING | UNKNOWN IMAGENAME eq, ne Image name PID eq, ne, gt, lt, ge, le PID value SESSION eq, ne, gt, lt, ge, le Session number SESSIONNAME eq, ne Session name CPUTIME eq, ne, gt, lt, ge, le CPU time in the format of hh:mm:ss. hh - hours, mm - minutes, ss - seconds MEMUSAGE eq, ne, gt, lt, ge, le Memory usage in KB USERNAME eq, ne User name in [domain\\]user format SERVICES eq, ne Service name WINDOWTITLE eq, ne Window title MODULES eq, ne DLL name NOTE: \u0026#34;WINDOWTITLE\u0026#34; and \u0026#34;STATUS\u0026#34; filters are not supported when querying a remote machine. Examples: TASKLIST TASKLIST /M TASKLIST /V /FO CSV TASKLIST /SVC /FO LIST TASKLIST /APPS /FI \u0026#34;STATUS eq RUNNING\u0026#34; TASKLIST /M wbem* TASKLIST /S system /FO LIST TASKLIST /S system /U domain\\username /FO CSV /NH TASKLIST /S system /U username /P password /FO TABLE /NH TASKLIST /FI \u0026#34;USERNAME ne NT AUTHORITY\\SYSTEM\u0026#34; /FI \u0026#34;STATUS eq running\u0026#34; Return Code: 0\n","date":"2019-12-07T09:09:51Z","permalink":"https://pen2.com/cmd/ja/tasklist/","title":"tasklist"},{"content":"タイムアウト - コマンド処理の一時停止\ntimeout C:\\Windows\\system32\\timeout.exe /? Output:\n日本語\rTIMEOUT [/T] タイムアウト [/NOBREAK] 説明: このユーティリティでは、タイムアウトのパラメーターを指定して、一定の時間 (秒) が経過するまで、またはユーザーが任意のキーを押すまで、プログラムを待機 させることができます。 キー入力を無視するためのパラメーターを指定することもできます。 パラメーター一覧: /T タイムアウト 待機する時間 (秒) を指定します。 有効な範囲は -1 から 99999 秒までです。 /NOBREAK キーが押されても無視し、指定時間待ちます。 /? このヘルプを表示します。 注意: タイムアウト値 -1 は、キーが押されるまで無限に待機することを意味します。 例: TIMEOUT /? TIMEOUT /T 10 TIMEOUT /T 300 /NOBREAK TIMEOUT /T -1 英語\rTIMEOUT [/T] timeout [/NOBREAK] Description: This utility accepts a timeout parameter to wait for the specified time period (in seconds) or until any key is pressed. It also accepts a parameter to ignore the key press. Parameter List: /T timeout Specifies the number of seconds to wait. Valid range is -1 to 99999 seconds. /NOBREAK Ignore key presses and wait specified time. /? Displays this help message. NOTE: A timeout value of -1 means to wait indefinitely for a key press. Examples: TIMEOUT /? TIMEOUT /T 10 TIMEOUT /T 300 /NOBREAK TIMEOUT /T -1 Return Code: 0\n","date":"2019-12-07T09:09:51Z","permalink":"https://pen2.com/cmd/ja/timeout/","title":"timeout"},{"content":"MicrosoftR ボリューム シャドウ コピー サービスのコマンド ライン インターフェイス\nvssadmin C:\\Windows\\system32\\vssadmin.exe /? Output:\n日本語\rvssadmin 1.1 - ボリューム シャドウ コピー サービス管理コマンド ライン ツール (C) Copyright 2001-2013 Microsoft Corp. ---- サポートされるコマンド ---- Delete Shadows - ボリューム シャドウ コピーを削除します。 List Providers - 登録されているボリューム シャドウ コピーのプロバイダーの 一覧を表示します。 List Shadows - 既存のボリューム シャドウ コピーの一覧を表示します。 List ShadowStorage - ボリューム シャドウ コピーの記憶域関連付けの一覧を表示 します。 List Volumes - シャドウ コピーで利用できるボリュームの一覧を表示します List Writers - ボリューム シャドウ コピーのサブスクライブ ライターの一 覧を表示します。 Resize ShadowStorage - ボリューム シャドウ コピーの記憶域関連付けのサイズを変 更します。 英語\rvssadmin 1.1 - Volume Shadow Copy Service administrative command-line tool (C) Copyright 2001-2013 Microsoft Corp. ---- Commands Supported ---- Delete Shadows - Delete volume shadow copies List Providers - List registered volume shadow copy providers List Shadows - List existing volume shadow copies List ShadowStorage - List volume shadow copy storage associations List Volumes - List volumes eligible for shadow copies List Writers - List subscribed volume shadow copy writers Resize ShadowStorage - Resize a volume shadow copy storage association Return Code: 0\n","date":"2019-12-07T09:09:51Z","permalink":"https://pen2.com/cmd/ja/vssadmin/","title":"vssadmin"},{"content":"waitfor - ネットワーク経由の信号の待機/送信\nwaitfor C:\\Windows\\system32\\waitfor.exe /? Output:\n日本語\rWaitFor の使用法は 2 とおりです: 構文 1: シグナルを送信する場合、 WAITFOR [/S システム [/U ユーザー [/P [パスワード]]]] /SI シグナル 構文 2: シグナルを待機する場合、 WAITFOR [/T タイムアウト] シグナル 説明: このツールにより、システム上でシグナルを送信したり待機したり できます。/S が指定されていない場合、シグナルはメイン内のすべての システムにブロードキャストされます。/S が指定されている場合、 シグナルは指定したシステムにのみ送信されます。 パラメーター一覧: /S システム シグナルの送信先のリモート システムを指定します。 /U [ドメイン\\]ユーザー コマンドが実行されるユーザーのコンテキストを指定しま す。 /P [パスワード] 与えられたユーザーのコンテキストのパスワードを指定し ます。 /SI 待機中のコンピューターにネットを越えてシグナルを送信 /T タイムアウト 待機する時間を秒で表します。有効な範囲は 1 から 99999 です。既定ではシグナルを待ち続けます。 シグナル 待機するシグナル、または送信するシグナルの名前 /? このヘルプを表示します。 注意: システムは複数の一意のシグナル名を待つことができます。 シグナル名は 225 文字以下でなければなりません。a から z、A から Z、 0 から 9 以外の文字は使用できません。128 から 255 の範囲の ASCII 文字も使用できません。 例: WAITFOR /? WAITFOR SetupReady WAITFOR CopyDone /T 100 WAITFOR /SI SetupReady WAITFOR /S system /U user /P password /SI CopyDone 英語\rWaitFor has two ways of working: Syntax 1: to send a signal WAITFOR [/S system [/U user [/P [password]]]] /SI signal Syntax 2: to wait for a signal WAITFOR [/T timeout] signal Description: This tool sends, or waits for, a signal on a system. When /S is not specified, the signal will be broadcasted to all the systems in a domain. If /S is specified, then the signal will be sent only to the specified system. Parameter List: /S system Specifies remote system to send signal to. /U [domain\\]user Specifies the user context under which the command should execute. /P [password] Specifies the password for the given user context. /SI Sends the signal across the net to waiting machines /T timeout Number of seconds to wait for signal. Valid range is 1 - 99999. Default is to wait forever for signal. signal The name of the signal to wait for or to send. /? Displays this help message. NOTE: A system can wait for multiple unique signal names. The signal name cannot exceed 225 characters and cannot contain characters other than a-z, A-Z, 0-9 and ASCII characters in the range 128-255. Examples: WAITFOR /? WAITFOR SetupReady WAITFOR CopyDone /T 100 WAITFOR /SI SetupReady WAITFOR /S system /U user /P password /SI CopyDone Return Code: 0\n","date":"2019-12-07T09:09:51Z","permalink":"https://pen2.com/cmd/ja/waitfor/","title":"waitfor"},{"content":"Where - ファイルの場所の一覧表示\nwhere C:\\Windows\\system32\\where.exe /? Output:\n日本語\rWHERE [/R ディレクトリ] [/Q] [/F] [/T] パターン... 説明: 検索パターンに一致するファイルの場所を表示します。 既定では、現在のディレクトリおよび PATH 環境変数によって指定された パス内を検索します。 パラメーター一覧: /R 指定したパターンに一致するファイルを、指定したディレクトリから 開始して再帰的に検索し表示します。 /Q 一致したファイルの一覧を表示せずに、終了コード のみを返します (Quiet モード)。 /F 一致したファイル名を二重引用符内に表示します。 /T 一致したすべてのファイルのサイズ、最終変更日および時刻を 表示します。 パターン ファイルの検索パターンを指定します。パターンには ワイルドカードである * および ? を使用することができます。 \u0026#34;$env:pattern\u0026#34; や \u0026#34;path:pattern\u0026#34; 形式で指定する こともできます。\u0026#34;env\u0026#34; は環境変数で、\u0026#34;env\u0026#34; 環境 変数で指定されたパスで検索が行われます。これら の形式は /R スイッチと同時には使用できません。 パターンに PATHEXT 変数の拡張子を追記して 検索を実行することもできます。 /? このヘルプを表示します。 注意: このツールは、検索に成功するとエラー レベル 0 を、 成功しなかった場合は 1 を、失敗またはエラーの場合は 2 を返します。 例: WHERE /? WHERE myfilename1 myfile????.* WHERE $windir:*.* WHERE /R c:\\windows *.exe *.dll *.bat WHERE /Q ??.??? WHERE \u0026#34;c:\\windows;c:\\windows\\system32:*.dll\u0026#34; WHERE /F /T *.dll 英語\rWHERE [/R dir] [/Q] [/F] [/T] pattern... Description: Displays the location of files that match the search pattern. By default, the search is done along the current directory and in the paths specified by the PATH environment variable. Parameter List: /R Recursively searches and displays the files that match the given pattern starting from the specified directory. /Q Returns only the exit code, without displaying the list of matched files. (Quiet mode) /F Displays the matched filename in double quotes. /T Displays the file size, last modified date and time for all matched files. pattern Specifies the search pattern for the files to match. Wildcards * and ? can be used in the pattern. The \u0026#34;$env:pattern\u0026#34; and \u0026#34;path:pattern\u0026#34; formats can also be specified, where \u0026#34;env\u0026#34; is an environment variable and the search is done in the specified paths of the \u0026#34;env\u0026#34; environment variable. These formats should not be used with /R. The search is also done by appending the extensions of the PATHEXT variable to the pattern. /? Displays this help message. NOTE: The tool returns an error level of 0 if the search is successful, of 1 if the search is unsuccessful and of 2 for failures or errors. Examples: WHERE /? WHERE myfilename1 myfile????.* WHERE $windir:*.* WHERE /R c:\\windows *.exe *.dll *.bat WHERE /Q ??.??? WHERE \u0026#34;c:\\windows;c:\\windows\\system32:*.dll\u0026#34; WHERE /F /T *.dll Return Code: 0\n","date":"2019-12-07T09:09:51Z","permalink":"https://pen2.com/cmd/ja/where/","title":"where"},{"content":"whoami - ログオンしているユーザーの情報の表示\nwhoami C:\\Windows\\system32\\whoami.exe /? Output:\n日本語\rWhoAmI の使用法は 3 とおりあります: 構文 1: WHOAMI [/UPN | /FQDN | /LOGONID] 構文 2: WHOAMI { [/USER] [/GROUPS] [/CLAIMS] [/PRIV] } [/FO 形式] [/NH] 構文 3: WHOAMI /ALL [/FO 形式] [/NH] 説明: このユーティリティを使用して、ユーザー名とグループの情報、および それぞれのセキュリティ ID (SID)、要求、特権、 ローカル システム上の現在のユーザーのログオン ID (つまり、現在ログオンしているユーザー) を取得できます。 スイッチを指定しない場合は、ユーザー名が NTLM 形式で表示され ます (ドメイン\\ユーザー名)。 パラメーター一覧: /UPN ユーザー名をユーザー プリンシパル名 (UPN) 形式で表示します。 /FQDN ユーザー名を完全修飾識別名 (FQDN) 形式で表示します。 /USER 現在のユーザーとそのセキュリティ ID (SID) の情報を表示します。 /GROUPS 現在のユーザーのグループ メンバーシップ、アカウント の種類、セキュリティ ID (SID)、および属性を表示 します。 /CLAIMS 現在のユーザーに対する要求を表示します。 たとえば、要求の名前、フラグ、種類、値などです。 /PRIV 現在のユーザーのセキュリティ特権を表示し ます。 /LOGONID 現在のユーザーのログオン ID を表示します。 /ALL 現在のユーザー、グループとその セキュリティ ID (SID)、要求、および現在の ユーザー アクセス トークンの特権 を表示します。 /FO 形式 表示する出力形式を指定します。 有効な値は TABLE、LIST、および CSV です。 CSV 形式では列の見出しは表示されません。 既定の形式は TABLE です。 /NH 列ヘッダーが出力に表示されないように 指定します。これは、TABLE および CSV の形式でのみ有効です。 /? このヘルプを表示します。 Examples: WHOAMI WHOAMI /UPN WHOAMI /FQDN WHOAMI /LOGONID WHOAMI /USER WHOAMI /USER /FO LIST WHOAMI /USER /FO CSV WHOAMI /GROUPS WHOAMI /GROUPS /FO CSV /NH WHOAMI /CLAIMS WHOAMI /CLAIMS /FO LIST WHOAMI /PRIV WHOAMI /PRIV /FO TABLE WHOAMI /USER /GROUPS WHOAMI /USER /GROUPS /CLAIMS /PRIV WHOAMI /ALL WHOAMI /ALL /FO LIST WHOAMI /ALL /FO CSV /NH WHOAMI /? 英語\rWhoAmI has three ways of working: Syntax 1: WHOAMI [/UPN | /FQDN | /LOGONID] Syntax 2: WHOAMI { [/USER] [/GROUPS] [/CLAIMS] [/PRIV] } [/FO format] [/NH] Syntax 3: WHOAMI /ALL [/FO format] [/NH] Description: This utility can be used to get user name and group information along with the respective security identifiers (SID), claims, privileges, logon identifier (logon ID) for the current user on the local system. I.e. who is the current logged on user? If no switch is specified, tool displays the user name in NTLM format (domain\\username). Parameter List: /UPN Displays the user name in User Principal Name (UPN) format. /FQDN Displays the user name in Fully Qualified Distinguished Name (FQDN) format. /USER Displays information on the current user along with the security identifier (SID). /GROUPS Displays group membership for current user, type of account, security identifiers (SID) and attributes. /CLAIMS Displays claims for current user, including claim name, flags, type and values. /PRIV Displays security privileges of the current user. /LOGONID Displays the logon ID of the current user. /ALL Displays the current user name, groups belonged to along with the security identifiers (SID), claims and privileges for the current user access token. /FO format Specifies the output format to be displayed. Valid values are TABLE, LIST, CSV. Column headings are not displayed with CSV format. Default format is TABLE. /NH Specifies that the column header should not be displayed in the output. This is valid only for TABLE and CSV formats. /? Displays this help message. Examples: WHOAMI WHOAMI /UPN WHOAMI /FQDN WHOAMI /LOGONID WHOAMI /USER WHOAMI /USER /FO LIST WHOAMI /USER /FO CSV WHOAMI /GROUPS WHOAMI /GROUPS /FO CSV /NH WHOAMI /CLAIMS WHOAMI /CLAIMS /FO LIST WHOAMI /PRIV WHOAMI /PRIV /FO TABLE WHOAMI /USER /GROUPS WHOAMI /USER /GROUPS /CLAIMS /PRIV WHOAMI /ALL WHOAMI /ALL /FO LIST WHOAMI /ALL /FO CSV /NH WHOAMI /? Return Code: 0\n","date":"2019-12-07T09:09:51Z","permalink":"https://pen2.com/cmd/ja/whoami/","title":"whoami"},{"content":"拡張ウィザード ホスト プロセス\nxwizard C:\\Windows\\system32\\xwizard.exe /? Output:\n日本語\r--------------------------- 拡張ウィザード ホスト プロセス --------------------------- 使用法: xwizard ProcessXMLFile [/u] [/m] \u0026lt;ファイル名\u0026gt; xwizard RunWizard [/u] [/t\u0026lt;?\u0026gt;] [/c\u0026lt;?\u0026gt;] [/f\u0026lt;?\u0026gt;] [/p\u0026lt;GUID\u0026gt;] \u0026lt;GUID\u0026gt; [/z [\u0026lt;?\u0026gt;] ] xwizard RunPropertySheet [/u] [/c\u0026lt;?\u0026gt;] [/f\u0026lt;?\u0026gt;] [/p\u0026lt;GUID\u0026gt;] \u0026lt;GUID\u0026gt; [/z [\u0026lt;?\u0026gt;] ] パラメーター: /c = コンテンツ フラグ /f = ユーザー定義フラグ /m = Vista セットアップ マニフェスト ファイル セクションを追加で生成します (現在のディレクトリに結果ファイルを \u0026lt;ファイル名\u0026gt;.man という名前で 作成します) /p = 親ホスト GUID 識別子 ({\u0026lt;GUID\u0026gt;}) /t = 省略可能なウィザードの種類 (wizard97、aero、dui、moderndui) /u = 無人モード (エラーを表示せずにログに記録します) /z = ユーザー コマンド ライン (常に行の末尾に指定する必要があります) filename = XML ファイル名 GUID = ウィザード コンポーネントの GUID 識別子 ({\u0026lt;GUID\u0026gt;}) 例: xwizard ProcessXMLFile myconfig.xml xwizard ProcessXMLFile /m mysetup.xml xwizard RunWizard {7071ECA0-663B-4bc1-A1FA-B97F3B917C55} xwizard RunWizard /taero /c1 /f3 {7071ECA0-663B-4bc1-A1FA-B97F3B917C55} /z/myoption1 /myoption2 xwizard RunPropertySheet {7071ECA0-663B-4bc1-A1FA-B97F3B917C55} xwizard RunPropertySheet /c1 /f3 {7071ECA0-663B-4bc1-A1FA-B97F3B917C55} /z/myoption1 /myoption2 --------------------------- OK --------------------------- 英語\r--------------------------- Extensible wizard host process --------------------------- Usage: xwizard ProcessXMLFile [/u] [/m] \u0026lt;filename\u0026gt; xwizard RunWizard [/u] [/t\u0026lt;?\u0026gt;] [/c\u0026lt;?\u0026gt;] [/f\u0026lt;?\u0026gt;] [/p\u0026lt;GUID\u0026gt;] \u0026lt;GUID\u0026gt; [/z [\u0026lt;?\u0026gt;] ] xwizard RunPropertySheet [/u] [/c\u0026lt;?\u0026gt;] [/f\u0026lt;?\u0026gt;] [/p\u0026lt;GUID\u0026gt;] \u0026lt;GUID\u0026gt; [/z [\u0026lt;?\u0026gt;] ] where: /c = context flags /f = user defined flags /m = additionally generate Vista setup manifest file section (create resulting file in current directory as \u0026lt;filename\u0026gt;.man) /p = parent host GUID identifier ({\u0026lt;GUID\u0026gt;}) /t = optional wizard type (wizard97, aero, dui, moderndui) /u = unattended (log errors instead of showing them) /z = user command line (should always be last, rest of line) filename = XML file name GUID = Wizard component GUID identifier ({\u0026lt;GUID\u0026gt;}) examples: xwizard ProcessXMLFile myconfig.xml xwizard ProcessXMLFile /m mysetup.xml xwizard RunWizard {7071ECA0-663B-4bc1-A1FA-B97F3B917C55} xwizard RunWizard /taero /c1 /f3 {7071ECA0-663B-4bc1-A1FA-B97F3B917C55} /z/myoption1 /myoption2 xwizard RunPropertySheet {7071ECA0-663B-4bc1-A1FA-B97F3B917C55} xwizard RunPropertySheet /c1 /f3 {7071ECA0-663B-4bc1-A1FA-B97F3B917C55} /z/myoption1 /myoption2 --------------------------- OK --------------------------- Return Code: 1\n","date":"2019-12-07T09:09:51Z","permalink":"https://pen2.com/cmd/ja/xwizard/","title":"xwizard"},{"content":"RDMA Ping Cmd\nndkping C:\\Windows\\system32\\NDKPing.exe /? Output:\nNDKPing can run on a system as Server or Client. Run as a Server: -S -- Specify that the system will be a Server. -ServerAddr \u0026lt;ServerIPAddress\u0026gt;:\u0026lt;ServerPort\u0026gt; -- Specify ip address of the server and the port on which to listen in format of ipServer:portServer. -ServerIf \u0026lt;ServerInterfaceIndex\u0026gt; -- Specify the interface index for the server. -TestType \u0026lt;TestType\u0026gt; -- Specify the type of test to run. -W \u0026lt;Timeout\u0026gt; -- Specify the timeout of Server Listen socket, in seconds. If this parameter is not specified, will wait infinitely. Run as a Client: -C -- Specify that the system will be a Client. -ServerAddr \u0026lt;ServerIPAddress\u0026gt;:\u0026lt;ServerPort\u0026gt; -- Specify ip address of the server and the port on which to listen in format of ipServer:portServer. -ClientAddr \u0026lt;ClientIPAddress\u0026gt; -- Specify the ip address of the Client. -ClientIf \u0026lt;ClientInterfaceIndex\u0026gt; -- Specify the interface index for the Client. -LogFilename \u0026lt;LogFileName\u0026gt; -- Specify NDKPing test results log file name, relative path or full path. (Default: [systemdrive]\\NDKPingResults.log). On client side only. -A -- Specify that at client side NDKPing test results should be appended to the log file if it already exists. -V -- Specify that at client side NDKPing test results should be printed out on screen except being stored in a log file. -TestType \u0026lt;TestType\u0026gt; -- Specify the type of test to run. TestType Options: (Server and Client must be with same TestType) rping -- Tests RDMA connectivity with Send/Receive transfers and logs the status of each of them. Read/Write tests will be in future version!!! Usage Sample: As a Server: NDKPing -S -ServerAddr 10.10.10.10:55555 -ServerIf 3 -TestType rping -W 60 As a Client: NDKPing -C -ServerAddr 10.10.10.10:55555 -ClientAddr 10.10.10.11 -ClientIf 4 -TestType rping -LogFilename .\\NDKPingResults.log -V STDERR:\nJa\rError: Unable to stop NDKPing driver. 5: アクセスが拒否されました。 En\rError: Unable to stop NDKPing driver. 5: Access is denied. Return Code: 5\n","date":"2019-12-07T09:09:48Z","permalink":"https://pen2.com/cmd/ja/ndkping/","title":"ndkping"},{"content":"Registry Initializer\nregini C:\\Windows\\system32\\regini.exe /? STDERR:\nusage: REGINI [-m \\\\machinename | -h hivefile hiveroot] [-i n] [-o outputWidth] [-b] textFiles... where: -m specifies a remote Windows NT machine whose registry is to be manipulated. -h specifies a specify local hive to manipulate. -i n specifies the display indentation multiple. Default is 4 -o outputWidth specifies how wide the output is to be. By default the outputWidth is set to the width of the console window if standard output has not been redirected to a file. In the latter case, an outputWidth of 240 is used. -b specifies that REGINI should be backward compatible with older versions of REGINI that did not strictly enforce line continuations and quoted strings Specifically, REG_BINARY, REG_RESOURCE_LIST and REG_RESOURCE_REQUIREMENTS_LIST data types did not need line continuations after the first number that gave the size of the data. It just kept looking on following lines until it found enough data values to equal the data length or hit invalid input. Quoted strings were only allowed in REG_MULTI_SZ. They could not be specified around key or value names, or around values for REG_SZ or REG_EXPAND_SZ Finally, the old REGINI did not support the semicolon as an end of line comment character. textFiles is one or more ANSI or Unicode text files with registry data. Some general rules are: Semicolon character is an end-of-line comment character, provided it is the first non-blank character on a line Backslash character is a line continuation character. All characters from the backslash up to but not including the first non-blank character of the next line are ignored. If there is more than one space before the line continuation character, it is replaced by a single space. Indentation is used to indicate the tree structure of registry keys The REGDMP program uses indentation in multiples of 4. You may use hard tab characters for indentation, but embedded hard tab characters are converted to a single space regardless of their position Values should come before child keys, as they are associated with the previous key at or above the value\u0026#39;s indentation level. For key names, leading and trailing space characters are ignored and not included in the key name, unless the key name is surrounded by quotes. Imbedded spaces are part of a key name. Key names can be followed by an Access Control List (ACL) which is a series of decimal numbers, separated by spaces, bracketed by a square brackets (e.g. [8 4 17]). The valid numbers and their meanings are: 1 - Administrators Full Access 2 - Administrators Read Access 3 - Administrators Read and Write Access 4 - Administrators Read, Write and Delete Access 5 - Creator Full Access 6 - Creator Read and Write Access 7 - World Full Access 8 - World Read Access 9 - World Read and Write Access 10 - World Read, Write and Delete Access 11 - Power Users Full Access 12 - Power Users Read and Write Access 13 - Power Users Read, Write and Delete Access 14 - System Operators Full Access 15 - System Operators Read and Write Access 16 - System Operators Read, Write and Delete Access 17 - System Full Access 18 - System Read and Write Access 19 - System Read Access 20 - Administrators Read, Write and Execute Access 21 - Interactive User Full Access 22 - Interactive User Read and Write Access 23 - Interactive User Read, Write and Delete Access If there is an equal sign on the same line as a left square bracket then the equal sign takes precedence, and the line is treated as a registry value. If the text between the square brackets is the string DELETE with no spaces, then REGINI will delete the key and any values and keys under it. For registry values, the syntax is: value Name = type data Leading spaces, spaces on either side of the equal sign and spaces between the type keyword and data are ignored, unless the value name is surrounded by quotes. If the text to the right of the equal sign is the string DELETE, then REGINI will delete the value. The value name may be left off or be specified by an at-sign character which is the same thing, namely the empty value name. So the following two lines are identical: = type data @ = type data This syntax means that you can\u0026#39;t create a value with leading or trailing spaces, an equal sign or an at-sign in the value name, unless you put the name in quotes. Valid value types and format of data that follows are: REG_SZ text REG_EXPAND_SZ text REG_MULTI_SZ \u0026#34;string1\u0026#34; \u0026#34;str\u0026#34;\u0026#34;ing2\u0026#34; ... REG_DATE mm/dd/yyyy HH:MM DayOfWeek REG_DWORD numberDWORD REG_BINARY numberOfBytes numberDWORD(s)... REG_NONE (same format as REG_BINARY) REG_RESOURCE_LIST (same format as REG_BINARY) REG_RESOURCE_REQUIREMENTS (same format as REG_BINARY) REG_RESOURCE_REQUIREMENTS_LIST (same format as REG_BINARY) REG_FULL_RESOURCE_DESCRIPTOR (same format as REG_BINARY) REG_QWORD numberQWORD REG_MULTISZ_FILE fileName REG_BINARYFILE fileName If no value type is specified, default is REG_SZ For REG_SZ and REG_EXPAND_SZ, if you want leading or trailing spaces in the value text, surround the text with quotes. The value text can contain any number of imbedded quotes, and REGINI will ignore them, as it only looks at the first and last character for quote characters. For REG_MULTI_SZ, each component string is surrounded by quotes. If you want an imbedded quote character, then double quote it, as in string2 above. For REG_BINARY, the value data consists of one or more numbers The default base for numbers is decimal. Hexidecimal may be specified by using 0x prefix. The first number is the number of data bytes, excluding the first number. After the first number must come enough numbers to fill the value. Each number represents one DWORD or 4 bytes. So if the first number was 0x5 you would need two more numbers after that to fill the 5 bytes. The high order 3 bytes of the second DWORD would be ignored. Whenever specifying a registry path, either on the command line or in an input file, the following prefix strings can be used: HKEY_LOCAL_MACHINE HKEY_USERS HKEY_CURRENT_USER USER: Each of these strings can stand alone as the key name or be followed a backslash and a subkey path. Return Code: 1\n","date":"2019-12-07T09:09:46Z","permalink":"https://pen2.com/cmd/ja/regini/","title":"regini"},{"content":"Microsoft(C) Register Server\nregsvr32 C:\\Windows\\system32\\regsvr32.exe Output:\n日本語\r--------------------------- RegSvr32 --------------------------- モジュールを登録するには、バイナリ名を指定する必要があります。 使用法: regsvr32 [/u] [/s] [/n] [/i[:cmdline]] dllname 既定-\tDllRegisterServer を呼び出してサーバーを登録する。 /u -\tDllUnregisterServer を呼び出してサーバーを登録解除する。 /s -\tサイレント; メッセージ ボックスを表示しない。 /i -\t/u と併用しない場合は、DllRegisterServer の呼び出しが成功した後で、 DllInstall(TRUE, [cmdline]) を呼び出して dll をインストールする。 /u と併用する場合は、DllInstall(FALSE, [cmdline]) を呼び出して dll を アンインストールし、DllInstall が成功したら DllUnregisterServer を呼び出す。 /n -\tDllRegisterServer または DllUnregisterServer を呼び出さない。 このオプションは /i と併用する必要がある。 dllname - エントリ ポイントを呼び出す DLL への (絶対または相対) パス。この DLL は、選択したオプション (DllRegisterServer、DllUnregisterServer、DllInstall) に応じて呼び出されるエントリ ポイントをエクスポートするために必要です。 --------------------------- OK --------------------------- 英語\r--------------------------- RegSvr32 --------------------------- To register a module, you must provide a binary name. Usage: regsvr32 [/u] [/s] [/n] [/i[:cmdline]] dllname default-\tRegister server calling DllRegisterServer. /u -\tUnregister server calling DllUnregisterServer. /s -\tSilent; display no message boxes. /i -\tUsed without /u, calls DllInstall(TRUE, [cmdline]) to install the dll, after a successful call to DllRegisterServer. Used with /u, calls DllInstall(FALSE, [cmdline]) to uninstall the dll and DllUnregisterServer if DllInstall was successful. /n -\tDo not call DllRegisterServer or DllUnregisterServer; this option must be used with /i. dllname - The path (absolute or relative) to the DLL to call the entry points on. This DLL is required to export the entry points that will be called depending on the selected option (DllRegisterServer, DllUnregisterServer and/or DllInstall). --------------------------- OK --------------------------- Return Code: 1\n","date":"2019-12-07T09:09:46Z","permalink":"https://pen2.com/cmd/ja/regsvr32/","title":"regsvr32"},{"content":"コンピューターの SPN 属性の照会またはリセット\nsetspn C:\\Windows\\system32\\setspn.exe /? Output:\n日本語\r使用法: C:\\Windows\\system32\\setspn.exe [修飾子スイッチ] [アカウント名] \u0026#34;アカウント名\u0026#34; には、ターゲット コンピューターまたは ユーザー アカウントの名前またはドメイン\\名前を指定できます。 編集モード スイッチ: -R = HOST ServicePrincipalName をリセットします 使用法: setspn -R アカウント名 -S = 重複がないことを確認した後で任意の SPN を追加します 使用法: setspn -S SPN アカウント名 -D = 任意の SPN を削除します 使用法: setspn -D SPN アカウント名 -L = ターゲット アカウントに登録された SPN を一覧表示します 使用法: setspn [-L] アカウント名 編集モード修飾子: -C = アカウント名がコンピューター アカウントであることを指定します -U = アカウント名がユーザー アカウントであることを指定します 注意: -C と -U は排他的です。どちらも指定しない場合、 コンピューターがある場合はアカウント名がコンピューター名と認識され、 ない場合はユーザー名と認識されます。 クエリ モード スイッチ: -Q = SPN の有無を照会します 使用法: setspn -Q SPN -X = 重複する SPN を検索します 使用法: setspn -X 注意: 重複を特にフォレスト全体で検索すると、長い時間がかかり、 大量のメモリを消費する場合があります。-Q は各ターゲット ドメイン/フォレストに対して実行します。-X はターゲット全体の重複を 返します。SPN はフォレスト内で一意である必要はありませんが、 重複は、フォレスト間認証のときに認証の問題につながる可能性があります。 クエリ モード修飾子: -P = コンソールに進行状況を表示しません。出力をファイルに転送する場合 または、無人スクリプトで実行する場合に使用します。コマンドの 実行か完了するまで、出力は表示されません。 -F = ドメイン レベルではなくフォレスト レベルでクエリを実行します -T = 指定されたドメインまたはフォレストでクエリを実行します (-F も使用されている場合) 使用法: setspn -T domain (スイッチおよび他のパラメーター) \u0026#34;\u0026#34; または * を使用して現在のドメインまたはフォレストを示すことが できます。 注意: これらの修飾子は、SPN を追加する前に重複の確認をどこで 実行するかを指定するために、-S スイッチと共に使用できます。 注意: -T は、何回でも指定できます。 例: setspn -R daserver1 SPN \u0026#34;HOST/daserver1\u0026#34; および \u0026#34;HOST/{daserver1 の DNS}\u0026#34; を登録します setspn -S http/daserver daserver1 コンピューター \u0026#34;daserver1\u0026#34; の SPN \u0026#34;http/daserver\u0026#34; を登録します ただし、ドメインにこの SPN が存在しないことが前提です setspn -D http/daserver daserver1 コンピューター \u0026#34;daserver1\u0026#34; の SPN \u0026#34;http/daserver\u0026#34; を削除します setspn -F -S http/daserver daserver1 コンピューター \u0026#34;daserver1\u0026#34; の SPN \u0026#34;http/daserver\u0026#34; を登録します ただし、フォレストにこの SPN が存在しないことが前提です setspn -U -S http/daserver dauser ユーザー アカウント \u0026#34;dauser\u0026#34; の SPN \u0026#34;http/daserver\u0026#34; を登録します ただし、ドメインにこの SPN が存在しないことが前提です setspn -T * -T bar -X このドメインおよび bar にある SPN のすべての重複登録を報告します setspn -T bar -F -Q */daserver bar が属するフォレストに登録された、*/daserver という形式のすべての SPN を検索します 英語\rUsage: C:\\Windows\\system32\\setspn.exe [modifiers switch] [accountname] Where \u0026#34;accountname\u0026#34; can be the name or domain\\name of the target computer or user account Edit Mode Switches: -R = reset HOST ServicePrincipalName Usage: setspn -R accountname -S = add arbitrary SPN after verifying no duplicates exist Usage: setspn -S SPN accountname -D = delete arbitrary SPN Usage: setspn -D SPN accountname -L = list SPNs registered to target account Usage: setspn [-L] accountname Edit Mode Modifiers: -C = specify that accountname is a computer account -U = specify that accountname is a user account Note: -C and -U are exclusive. If neither is specified, the tool will interpret accountname as a computer name if such a computer exists, and a user name if it does not. Query Mode Switches: -Q = query for existence of SPN Usage: setspn -Q SPN -X = search for duplicate SPNs Usage: setspn -X Note: searching for duplicates, especially forestwide, can take a long period of time and a large amount of memory. -Q will execute on each target domain/forest. -X will return duplicates that exist across all targets. SPNs are not required to be unique across forests, but duplicates can cause authentication issues when authenticating cross-forest. Query Mode Modifiers: -P = suppresses progress to the console and can be used when redirecting output to a file or when used in an unattended script. There will be no output until the command is complete. -F = perform queries at the forest, rather than domain level -T = perform query on the speicified domain or forest (when -F is also used) Usage: setspn -T domain (switches and other parameters) \u0026#34;\u0026#34; or * can be used to indicate the current domain or forest. Note: these modifiers can be used with the -S switch in order to specify where the check for duplicates should be performed before adding the SPN. Note: -T can be specified multiple times. Examples: setspn -R daserver1 It will register SPN \u0026#34;HOST/daserver1\u0026#34; and \u0026#34;HOST/{DNS of daserver1}\u0026#34; setspn -S http/daserver daserver1 It will register SPN \u0026#34;http/daserver\u0026#34; for computer \u0026#34;daserver1\u0026#34; if no such SPN exists in the domain setspn -D http/daserver daserver1 It will delete SPN \u0026#34;http/daserver\u0026#34; for computer \u0026#34;daserver1\u0026#34; setspn -F -S http/daserver daserver1 It will register SPN \u0026#34;http/daserver\u0026#34; for computer \u0026#34;daserver1\u0026#34; if no such SPN exists in the forest setspn -U -S http/daserver dauser It will register SPN \u0026#34;http/daserver\u0026#34; for user account \u0026#34;dauser\u0026#34; if no such SPN exists in the domain setspn -T * -T bar -X It will report all duplicate registration of SPNs in this domain and bar setspn -T bar -F -Q */daserver It will find all SPNs of the form */daserver registered in the forest to which bar belongs Return Code: 2\n","date":"2019-12-07T09:09:46Z","permalink":"https://pen2.com/cmd/ja/setspn/","title":"setspn"},{"content":"Windows オンデマンド機能 UX\nfondue C:\\Windows\\system32\\fondue.exe /? Output:\n日本語\r--------------------------- Windows の機能 --------------------------- オンデマンド機能ユーザー エクスペリエンス ツール FONDUE.exe /enable-feature:\u0026lt;値\u0026gt; [/caller-name:\u0026lt;値\u0026gt;] [/hide-ux:{all | rebootRequest}] Fondue.exe を使用すると、Windows Update にある必要なファイル、またはグループ ポリシーで指定されたソースをダウンロードして、Windows のオプションの機能を有効 にすることができます。 /enable-feature - 有効にする Windows のオプション機能の名前を指定します。 コマンド ラインごとに 1 つの機能だけを有効にできます。複数の機能を有効に するには、機能ごとに Fondue.exe を使用します。 /caller-name - スクリプトまたはバッチ ファイルから Fondue.exe を呼び 出す場合は、プログラム名またはプロセス名を指定します。プログラム名の レポートを Microsoft に送信する場合に、このオプションを使用できます。 /hide-ux:{all | rebootRequest} - ユーザーへのすべてのメッセージを非表示 にするには、\u0026#34;all\u0026#34; を指定します。進捗状況や、Windows Update へのアクセス 許可の要求も表示されなくなります。アクセス許可が必要な場合、操作は失敗 します。 PC の再起動の許可を求めるユーザー メッセージだけを非表示にするには、 \u0026#34;rebootRequest\u0026#34; を指定します。このオプションは、スクリプトで再起動の 要求を制御する場合に使用します。 例: FONDUE.exe /enable-feature:NETFX3 FONDUE.exe /enable-feature:NETFX3 /caller-name:Admin.bat /hide-ux:all --------------------------- OK --------------------------- 英語\r--------------------------- Windows Features --------------------------- Features on Demand User Experience Tool FONDUE.exe /enable-feature:\u0026lt;value\u0026gt; [/caller-name:\u0026lt;value\u0026gt;] [/hide-ux:{all | rebootRequest}] Fondue.exe enables Windows optional features by downloading required files from Windows Update or a source that Group Policy specifies. /enable-feature - Specifies the name of the Windows optional feature that you want to enable. You can enable only one feature per command line. To enable multiple features, use Fondue.exe for each feature. /caller-name - Specifies the program or process name when you call Fondue.exe from a script or a batch file. You can use this option to send a report of the program name to Microsoft. /hide-ux:{all | rebootRequest} - Use \u0026#34;all\u0026#34; to hide all messages to the user, including progress and permission requests to access Windows Update. If permission is required, the operation will fail. Use \u0026#34;rebootRequest\u0026#34; only to hide user messages that ask for permission to reboot the PC. Use this option if you have a script that controls reboot requests. EXAMPLES: FONDUE.exe /enable-feature:NETFX3 FONDUE.exe /enable-feature:NETFX3 /caller-name:Admin.bat /hide-ux:all --------------------------- OK --------------------------- Return Code: 1\n","date":"2019-12-07T09:09:45Z","permalink":"https://pen2.com/cmd/ja/fondue/","title":"fondue"},{"content":"Windows To Go スタートアップ オプション コマンド ライン ツール\npwlauncher C:\\Windows\\system32\\pwlauncher.exe /? Output:\n日本語\rpwlauncher.exe - Windows To Go スタートアップ オプション コマンド ライン ツール。 pwlauncher.exe コマンド ライン ツールは、Windows To Go スタートアップ オプション の照会または変更に使用されます。 pwlauncher [/enable | /disable] \u0026lt;\u0026lt;パラメーターなし\u0026gt;\u0026gt; 現在の状態を表示します。 /enable スタートアップ オプションを有効にします。 /disable スタートアップ オプションを無効にします。 英語\rpwlauncher.exe - Windows To Go startup options command-line tool. The pwlauncher.exe command-line tool is used to query or change your Windows To Go startup options. pwlauncher [/enable | /disable] \u0026lt;\u0026lt;no parameter\u0026gt;\u0026gt; Display the current state. /enable Enable the startup option. /disable Disable the startup option. Return Code: 0\n","date":"2019-12-07T09:09:45Z","permalink":"https://pen2.com/cmd/ja/pwlauncher/","title":"pwlauncher"},{"content":"WindowsR インストーラー\nMRT C:\\Windows\\system32\\msiexec.exe /? Output:\n日本語\rWindows ® インストーラー. V 5.0.19041.1 msiexec /Option \u0026lt;Required Parameter\u0026gt; [Optional Parameter] インストール オプション \u0026lt;/package | /i\u0026gt; \u0026lt;Product.msi\u0026gt; 製品をインストールまたは構成します /a \u0026lt;Product.msi\u0026gt; 管理用ツール - ネットワーク上の製品をインストールします /j\u0026lt;u|m\u0026gt; \u0026lt;Product.msi\u0026gt; [/t \u0026lt;Transform List\u0026gt;] [/g \u0026lt;Language ID\u0026gt;] 製品をアドバタイズします - すべてのユーザーには m、現在のユーザーには u を指定します \u0026lt;/uninstall | /x\u0026gt; \u0026lt;Product.msi | ProductCode\u0026gt; 製品をアンインストールします 表示オプション /quiet Quiet モード - ユーザーの操作なし /passive 無人モード - 進行状況バーのみ /q[n|b|r|f] ユーザー インターフェイスのレベルを設定します n - なしUI b - 基本 UI r - 簡易 UI f - 完全 UI (既定) /help ヘルプ情報 再起動オプション /norestart インストール完了後に再起動しません /promptrestart 再起動が必要な場合は、ユーザーに再起動を要求します /forcerestart 常に、インストール後コンピューターを再起動します ログ オプション /l[i|w|e|a|r|u|c|m|o|p|v|x|+|!|*] \u0026lt;LogFile\u0026gt; i - 状態メッセージ w - 致命的ではない警告 e - すべてのエラー メッセージ a - 操作のスタートアップ r - 特定の操作の記録 u - ユーザーの要求 c - UI パラメーターの初期値 m - メモリ不足または致命的な終了に関する情報 o - ディスク領域不足メッセージ p - ターミナルのプロパティ v - 詳細出力 x - 詳細デバッグ情報 + - 既存のログ ファイルに追加 ! - 各行をログにフラッシュ * - v オプションと x オプションを除くすべての情報をログに記録します /log \u0026lt;LogFile\u0026gt; 指定したときと同じ情報がログに記録されます /l* \u0026lt;LogFile\u0026gt; 更新オプション /update \u0026lt;Update1.msp\u0026gt;[;Update2.msp] 更新を適用します /uninstall \u0026lt;PatchCodeGuid\u0026gt;[;Update2.msp] /package \u0026lt;Product.msi | ProductCode\u0026gt; 製品の更新を削除します 修復オプション /f[p|e|c|m|s|o|d|a|u|v] \u0026lt;Product.msi | ProductCode\u0026gt; 製品を修復します p - ファイルが見つからない場合のみ o - ファイルが見つからない、または古いバージョンが インストールされている場合 (既定) e - ファイルが見つからない、同じバージョンまたは古い バージョンがインストールされている場合 d - ファイルが見つからない、または違うバージョンが インストールされている場合 c - ファイルが見つからない、またはチェックサムと計算 された値が一致しない場合 a - すべてのファイルをインストールする u - すべてのユーザー固有の必須レジストリ エントリ (既定) m - すべてコンピューター固有の必須レジストリ エントリ (既定) s - すべての既存のショートカット (既定) v - ソースから実行して、パッケージをローカルに再キャッシュする パブリック プロパティの設定 [PROPERTY=プロパティ値] コマンド ラインの構文の詳細については、Windows (R) インストーラー SDK を 参照してください。 Copyright (C) Microsoft Corporation. All rights reserved. Portions of this software are based in part on the work of the Independent JPEG Group. 英語\rWindows ® Installer. V 5.0.19041.1 msiexec /Option \u0026lt;Required Parameter\u0026gt; [Optional Parameter] Install Options \u0026lt;/package | /i\u0026gt; \u0026lt;Product.msi\u0026gt; Installs or configures a product /a \u0026lt;Product.msi\u0026gt; Administrative install - Installs a product on the network /j\u0026lt;u|m\u0026gt; \u0026lt;Product.msi\u0026gt; [/t \u0026lt;Transform List\u0026gt;] [/g \u0026lt;Language ID\u0026gt;] Advertises a product - m to all users, u to current user \u0026lt;/uninstall | /x\u0026gt; \u0026lt;Product.msi | ProductCode\u0026gt; Uninstalls the product Display Options /quiet Quiet mode, no user interaction /passive Unattended mode - progress bar only /q[n|b|r|f] Sets user interface level n - No UI b - Basic UI r - Reduced UI f - Full UI (default) /help Help information Restart Options /norestart Do not restart after the installation is complete /promptrestart Prompts the user for restart if necessary /forcerestart Always restart the computer after installation Logging Options /l[i|w|e|a|r|u|c|m|o|p|v|x|+|!|*] \u0026lt;LogFile\u0026gt; i - Status messages w - Nonfatal warnings e - All error messages a - Start up of actions r - Action-specific records u - User requests c - Initial UI parameters m - Out-of-memory or fatal exit information o - Out-of-disk-space messages p - Terminal properties v - Verbose output x - Extra debugging information + - Append to existing log file ! - Flush each line to the log * - Log all information, except for v and x options /log \u0026lt;LogFile\u0026gt; Equivalent of /l* \u0026lt;LogFile\u0026gt; Update Options /update \u0026lt;Update1.msp\u0026gt;[;Update2.msp] Applies update(s) /uninstall \u0026lt;PatchCodeGuid\u0026gt;[;Update2.msp] /package \u0026lt;Product.msi | ProductCode\u0026gt; Remove update(s) for a product Repair Options /f[p|e|c|m|s|o|d|a|u|v] \u0026lt;Product.msi | ProductCode\u0026gt; Repairs a product p - only if file is missing o - if file is missing or an older version is installed (default) e - if file is missing or an equal or older version is installed d - if file is missing or a different version is installed c - if file is missing or checksum does not match the calculated value a - forces all files to be reinstalled u - all required user-specific registry entries (default) m - all required computer-specific registry entries (default) s - all existing shortcuts (default) v - runs from source and recaches local package Setting Public Properties [PROPERTY=PropertyValue] Consult the Windows ® Installer SDK for additional documentation on the command line syntax. Copyright © Microsoft Corporation. All rights reserved. Portions of this software are based in part on the work of the Independent JPEG Group. Return Code: 1\n","date":"2019-12-07T09:09:44Z","permalink":"https://pen2.com/cmd/ja/msiexec/","title":"msiexec"},{"content":"ODBC Driver Configuration Program\nODBCConf C:\\Windows\\system32\\odbcconf.exe /? Output:\n日本語\r--------------------------- ODBCConf の使用法 --------------------------- ODBCConf.exe -- 各種の MDAC インストール アクションを実行します。 スイッチ: /H, /? - この使用法のダイアログを表示します /S - サイレント モード。エラー メッセージを表示しないようにします /C - アクションが失敗しても、次のアクションの実行を継続します /R - 再起動後にアクションを実行します /F - 応答ファイルを使用します。後にファイル名を指定します /E - 終了後、応答ファイルを削除します /L - ログを有効にします。後にモードとファイル名を指定します ログのモード: n (通常)、v (詳細)、d (デバッグ) 例 \u0026#39;/Lv log.txt\u0026#39; log.txt への詳細ログ /A - アクションのリスト。 アクションは {} で囲って列挙します アクション: SETFILEDSNDIR INSTALLDRIVER \u0026lt;driver name|driver=driver path|other attributes\u0026gt; INSTALLTRANSLATOR \u0026lt;translator name|translator=translator path|other attributes\u0026gt; CONFIGDRIVER \u0026lt;driver name\u0026gt; \u0026lt;driver attributes\u0026gt; CONFIGDSN \u0026lt;driver name\u0026gt; \u0026lt;DSN=DSN name|other attributes\u0026gt; CONFIGSYSDSN \u0026lt;driver name\u0026gt; \u0026lt;DSN=DSN name|other attributes\u0026gt; REGSVR \u0026lt;path to dll\u0026gt; 例: ODBCConf INSTALLDRIVER \u0026#34;My Driver|Driver=c:\\Drv.dll|APILevel=2\u0026#34; ODBCConf CONFIGDSN \u0026#34;My Driver\u0026#34; \u0026#34;DSN=testDSN|Server=myServer\u0026#34; ODBCConf /a {REGSVR foo.dll} /a {CONFIGDRIVER \u0026#34;MyDriver\u0026#34; \u0026#34;CPTimeout=60\u0026#34;} ODBCConf /e /f \u0026#34;my response file.log\u0026#34; /Lv log.log --------------------------- OK --------------------------- 英語\r--------------------------- ODBCConf Usage --------------------------- ODBCConf.exe -- perform various MDAC install actions. Switches: /H, /? - Displays this usage dialog /S - Silent, Don\u0026#39;t display any error messages /C - Continue executing actions even if an action fails /R - Perform the actions after reboot /F - Use a Response File, followed by the filename /E - Erase the Response File when done /L - Enable Logging, followed by a mode and filename Log modes: n (normal), v (verbose), d (debug) example \u0026#39;/Lv log.txt\u0026#39; Verbose logging to log.txt /A - List an action. Actions are listed in {} Actions: SETFILEDSNDIR INSTALLDRIVER \u0026lt;driver name|driver=driver path|other attributes\u0026gt; INSTALLTRANSLATOR \u0026lt;translator name|translator=translator path|other attributes\u0026gt; CONFIGDRIVER \u0026lt;driver name\u0026gt; \u0026lt;driver attributes\u0026gt; CONFIGDSN \u0026lt;driver name\u0026gt; \u0026lt;DSN=DSN name|other attributes\u0026gt; CONFIGSYSDSN \u0026lt;driver name\u0026gt; \u0026lt;DSN=DSN name|other attributes\u0026gt; REGSVR \u0026lt;path to dll\u0026gt; Examples: ODBCConf INSTALLDRIVER \u0026#34;My Driver|Driver=c:\\Drv.dll|APILevel=2\u0026#34; ODBCConf CONFIGDSN \u0026#34;My Driver\u0026#34; \u0026#34;DSN=testDSN|Server=myServer\u0026#34; ODBCConf /a {REGSVR foo.dll} /a {CONFIGDRIVER \u0026#34;MyDriver\u0026#34; \u0026#34;CPTimeout=60\u0026#34;} ODBCConf /e /f \u0026#34;my response file.log\u0026#34; /Lv log.log --------------------------- OK --------------------------- Return Code: 1\n","date":"2019-12-07T09:09:41Z","permalink":"https://pen2.com/cmd/ja/odbcconf/","title":"odbcconf"},{"content":"Wizard\nIExpress C:\\Windows\\system32\\IExpress.exe /? Output:\n--------------------------- IExpress Wizard --------------------------- Command syntax is incorrect! Options: [/N [/Q] [/M]] \u0026lt;SED filename\u0026gt; [/O:Override SED filename,OverrideSectionName] [/D:directory] /N: Build package now (SED Filename must be specified) /Q: Quiet mode when using /N /M: Use minimized windows when using /N /O: Specify override SED file and section /D: Override directory for exe stub --------------------------- OK --------------------------- Return Code: 1\n","date":"2019-12-07T09:09:39Z","permalink":"https://pen2.com/cmd/ja/iexpress/","title":"iexpress"},{"content":"ユーザーに選択肢を提供\nchoice C:\\Windows\\system32\\choice.exe /? Output:\n日本語\rCHOICE [/C 選択] [/N] [/CS] [/T タイムアウト /D 選択] [/M テキスト] 説明: このツールは、ユーザーが一覧から選択した項目のインデックスを 返します。 パラメーター一覧: /C 選択 作成する選択の一覧を指定します。 既定の一覧は \u0026#34;YN\u0026#34; です。 /N プロンプトで選択の一覧を非表示にします。 プロンプト前のメッセージはまだ表示されたままで、 選択も有効です。 /CS 大文字と小文字を区別するかどうかの選択を有効にします。 既定では、ユーティリティは大文字と小文字を区別します。 /T タイムアウト 既定値が選択されるするまでの時間(秒) です。 0 から 9999 までを指定できます。 0 を指定した場合、待ち時間なしに既定値が選択され ます。 /D 選択 nnnn 秒後に、選択される既定の選択を指定します。 /C オプションで指定した選択のセット内に文字がなければ なりません。nnnn を /T で指定する必要もあります。 /M テキスト プロンプトの前に表示するメッセージを指定します。 メッセージを指定しなかった場合は、プロンプトのみが 表示されます。 /? このヘルプを表示します。 注意: ERRORLEVEL 環境変数は、選択のセットから選ばれたキーの インデックスに設定されています。一覧にある最初の選択は 1 の値を 返し、2 番目の選択は 2 の値を返す、と続きます。 ユーザーが有効ではないキーを押した場合、ツールは警告音を 鳴らします。ツールによりエラー状況が検出された場合は、値が 255 の ERRORLEVEL を返します。ユーザーが CTRL+BREAK または CTRL+C を押した場合、ツールは値が 0 の ERRORLEVEL を返します。 バッチ プログラム内で ERRORLEVEL パラメーターを使用するとき、パラメーター は降順で一覧表示してください。 例: CHOICE /? CHOICE /C YNC /M \u0026#34;Yes には Y 、No には N 、キャンセルには C を押して ください。\u0026#34; CHOICE /T 10 /C ync /CS /D y CHOICE /C ab /M \u0026#34;オプション 1 には a を、オプション 2 には b を選んで ください。\u0026#34; CHOICE /C ab /N /M \u0026#34;オプション 1 には a を、オプション 2 には b を 選んでください。\u0026#34; 英語\rCHOICE [/C choices] [/N] [/CS] [/T timeout /D choice] [/M text] Description: This tool allows users to select one item from a list of choices and returns the index of the selected choice. Parameter List: /C choices Specifies the list of choices to be created. Default list is \u0026#34;YN\u0026#34;. /N Hides the list of choices in the prompt. The message before the prompt is displayed and the choices are still enabled. /CS Enables case-sensitive choices to be selected. By default, the utility is case-insensitive. /T timeout The number of seconds to pause before a default choice is made. Acceptable values are from 0 to 9999. If 0 is specified, there will be no pause and the default choice is selected. /D choice Specifies the default choice after nnnn seconds. Character must be in the set of choices specified by /C option and must also specify nnnn with /T. /M text Specifies the message to be displayed before the prompt. If not specified, the utility displays only a prompt. /? Displays this help message. NOTE: The ERRORLEVEL environment variable is set to the index of the key that was selected from the set of choices. The first choice listed returns a value of 1, the second a value of 2, and so on. If the user presses a key that is not a valid choice, the tool sounds a warning beep. If tool detects an error condition, it returns an ERRORLEVEL value of 255. If the user presses CTRL+BREAK or CTRL+C, the tool returns an ERRORLEVEL value of 0. When you use ERRORLEVEL parameters in a batch program, list them in decreasing order. Examples: CHOICE /? CHOICE /C YNC /M \u0026#34;Press Y for Yes, N for No or C for Cancel.\u0026#34; CHOICE /T 10 /C ync /CS /D y CHOICE /C ab /M \u0026#34;Select a for option 1 and b for option 2.\u0026#34; CHOICE /C ab /N /M \u0026#34;Select a for option 1 and b for option 2.\u0026#34; Return Code: 0\n","date":"2019-12-07T09:09:37Z","permalink":"https://pen2.com/cmd/ja/choice/","title":"choice"},{"content":"クリップ - データをクリップボードにコピー\nclip C:\\Windows\\system32\\clip.exe /? Output:\n日本語\rCLIP 説明: コマンド ライン ツールの出力を Windows クリップボードにリダイレクトします。 その出力されたテキストをほかのプログラムに貼り付けることができます。 パラメーター一覧: /? このヘルプを表示します。 例: DIR | CLIP 現在のディレクトリ一覧のコピーを Windows クリップボード に貼り付けます。 CLIP \u0026lt; README.TXT readme.txt ファイルのテキストのコピーを Windows クリップボードに貼り付けます。 英語\rCLIP Description: Redirects output of command line tools to the Windows clipboard. This text output can then be pasted into other programs. Parameter List: /? Displays this help message. Examples: DIR | CLIP Places a copy of the current directory listing into the Windows clipboard. CLIP \u0026lt; README.TXT Places a copy of the text from readme.txt on to the Windows clipboard. Return Code: 0\n","date":"2019-12-07T09:09:37Z","permalink":"https://pen2.com/cmd/ja/clip/","title":"clip"},{"content":"File System Conversion Utility\nconvert C:\\Windows\\system32\\convert.exe /? Output:\n日本語\rFAT ボリュームを NTFS に変換します。 CONVERT ボリューム /FS:NTFS [/V] [/CvtArea:ファイル名] [/NoSecurity] [/X] ボリューム ドライブ文字 (文字の後にはコロンを付ける)、マウント ポイント、ボリューム名を指定します。 /FS:NTFS ボリュームを NTFS に変換することを指定します。 /V 詳細モードで変換することを指定します。 /CvtArea:ファイル名 NTFS システム ファイルのプレース ホルダーにするルート ディレク トリの連続ファイルを指定します。 /NoSecurity 変換されたファイルとディレクトリのセキュリティ設定に、どの ユーザーもアクセスが可能になるように指定します。 /X 必要であれば、最初にボリュームを強制的にマウント解除します。 ボリュームへの開いているハンドルはすべて無効になります。 英語\rConverts a FAT volume to NTFS. CONVERT volume /FS:NTFS [/V] [/CvtArea:filename] [/NoSecurity] [/X] volume Specifies the drive letter (followed by a colon), mount point, or volume name. /FS:NTFS Specifies that the volume will be converted to NTFS. /V Specifies that Convert will be run in verbose mode. /CvtArea:filename Specifies a contiguous file in the root directory that will be the place holder for NTFS system files. /NoSecurity Specifies that the security settings on the converted files and directories allow access by all users. /X Forces the volume to dismount first if necessary. All open handles to the volume will not be valid. Return Code: 0\n","date":"2019-12-07T09:09:37Z","permalink":"https://pen2.com/cmd/ja/convert/","title":"convert"},{"content":"Microsoft DirectX 診断ツール\ndxdiag C:\\Windows\\system32\\dxdiag.exe /? Output:\n日本語\r--------------------------- DirectX 診断ツール --------------------------- 使用法: dxdiag [/dontskip] [/whql:on | /whql:off] [/x 出力ファイル] [/t 出力ファイル] /x 出力ファイル\t- 画面に情報を表示せずに XML 情報を \u0026lt;出力ファイル\u0026gt; に保存し、終了します。 /t 出力ファイル\t- 画面に情報を表示せずにテキスト情報を \u0026lt;出力ファイル\u0026gt; に保存し、終了します。 /dontskip\t- dxdiag で以前に発生したクラッシュに関する診断を回避しません。 /whql:on\t- dxdiag が WHQL デジタル署名を確認することを許可します。 /whql:off\t- dxdiag が WHQL デジタル署名を確認することを許可しません。 注意: WHQL デジタル署名の確認を許可した場合、インターネット接続を使って WHQL 証明書が更新されることがあります。 --------------------------- OK --------------------------- 英語\r--------------------------- DirectX Diagnostic Tool --------------------------- Usage: dxdiag [/dontskip] [/whql:on | /whql:off] [/x outfile] [/t outfile] /x outfile\t- silently save XML information to \u0026lt;outfile\u0026gt; and quit /t outfile\t- silently save txt information to \u0026lt;outfile\u0026gt; and quit /dontskip\t- don\u0026#39;t bypass any diagnostics due to previous crashes in DxDiag /whql:on\t- allow dxdiag to check for WHQL digital signatures /whql:off\t- do not allow dxdiag to check for WHQL digital signatures Note: Checking for WHQL digital signatures may connect via internet to update WHQL certificates. --------------------------- OK --------------------------- Return Code: 1\n","date":"2019-12-07T09:09:37Z","permalink":"https://pen2.com/cmd/ja/dxdiag/","title":"dxdiag"},{"content":"ForFiles - 選択したファイルに対してコマンドを実行\nforfiles C:\\Windows\\system32\\forfiles.exe /? Output:\n日本語\rFORFILES [/P パス名] [/M 検索マスク] [/S] [/C コマンド] [/D [+ | -] {yyyy/MM/dd | dd}] 説明: ファイル (または、ファイルのセット) を選んで、そのファイル上の コマンドを実行します。これはバッチ ジョブの使用に便利です。 パラメーター一覧: /P パス名 検索を開始するパスを示します。 既定のフォルダーは現在実行中の ディレクトリ (.) です。 /M 検索マスク 検索マスクによってファイルを検索します。 既定の検索マスクは \u0026#39;*\u0026#39; です。 /S サブディレクトリに対しても処理を行うように forfiles に 指示します (例: \u0026#34;DIR /S\u0026#34;)。 /C コマンド 各ファイルの実行するコマンドを示します。 コマンドの文字列は二重引用符で囲んでくだ さい。 既定のコマンドは \u0026#34;cmd /c echo @file\u0026#34; です。 次の変数をコマンドの文字列に使用することができ ます: @file - フィルの名前を返します。 @fname - 拡張子なしのファイル名を 返します。 @ext - ファイルの拡張子だけを返し ます。 @path - ファイルの完全なパスを返します。 @relpath - ファイルの相対パスを返し ます。 @isdir - ファイルの種類がディレクトリの場合 は \u0026#34;TRUE\u0026#34;を、ファイルの場合は \u0026#34;FALSE\u0026#34; を返します。 @fsize - ファイルのサイズをバイトで返し ます。 @fdate - ファイルの最終更新日を返し ます。 @ftime - ファイルの最終更新時刻を返し ます。 コマンド ラインに特殊文字を使用する場合は、 文字を 16 進数コードで 0xHH 形式で (例: タブは 0x09) 指定してください。CMD.EXE の 内部コマンドの前には \u0026#34;cmd /c\u0026#34; が必要 です。 /D 日付 最終更新日が指定された日かもしくはそれ 以降 (+)、または指定された日またはそれ 以前 (-) であるファイルを \u0026#34;yyyy/MM/dd\u0026#34; 形式を使っ て選択します。または、最終更新日が現在 の日にちより \u0026#34;dd\u0026#34; 日あと、もしくは \u0026#34;dd\u0026#34; 日 前であるファイルを選択します。有効な \u0026#34;dd\u0026#34; 値は 0 から 32768 の間です。 指定がない場合は、\u0026#34;+\u0026#34; が既定で使用さ れます。 /? ヘルプまたは使用法を表示します。 例: FORFILES /? FORFILES FORFILES /P C:\\WINDOWS /S /M DNS*.* FORFILES /S /M *.txt /C \u0026#34;cmd /c type @file | more\u0026#34; FORFILES /P C:\\ /S /M *.bat FORFILES /D -30 /M *.exe /C \u0026#34;cmd /c echo @path 0x09 was changed 30 days ago\u0026#34; FORFILES /D 2006/1/2 /C \u0026#34;cmd /c echo @fname is new since Jan 1st 2001\u0026#34; FORFILES /D +2006/1/2 /C \u0026#34;cmd /c echo @fname is new today\u0026#34; FORFILES /M *.exe /D +1 FORFILES /S /M *.doc /C \u0026#34;cmd /c echo @fsize\u0026#34; FORFILES /M *.txt /C \u0026#34;cmd /c if @isdir==FALSE notepad.exe @file\u0026#34; 英語\rFORFILES [/P pathname] [/M searchmask] [/S] [/C command] [/D [+ | -] {MM/dd/yyyy | dd}] Description: Selects a file (or set of files) and executes a command on that file. This is helpful for batch jobs. Parameter List: /P pathname Indicates the path to start searching. The default folder is the current working directory (.). /M searchmask Searches files according to a searchmask. The default searchmask is \u0026#39;*\u0026#39; . /S Instructs forfiles to recurse into subdirectories. Like \u0026#34;DIR /S\u0026#34;. /C command Indicates the command to execute for each file. Command strings should be wrapped in double quotes. The default command is \u0026#34;cmd /c echo @file\u0026#34;. The following variables can be used in the command string: @file - returns the name of the file. @fname - returns the file name without extension. @ext - returns only the extension of the file. @path - returns the full path of the file. @relpath - returns the relative path of the file. @isdir - returns \u0026#34;TRUE\u0026#34; if a file type is a directory, and \u0026#34;FALSE\u0026#34; for files. @fsize - returns the size of the file in bytes. @fdate - returns the last modified date of the file. @ftime - returns the last modified time of the file. To include special characters in the command line, use the hexadecimal code for the character in 0xHH format (ex. 0x09 for tab). Internal CMD.exe commands should be preceded with \u0026#34;cmd /c\u0026#34;. /D date Selects files with a last modified date greater than or equal to (+), or less than or equal to (-), the specified date using the \u0026#34;MM/dd/yyyy\u0026#34; format; or selects files with a last modified date greater than or equal to (+) the current date plus \u0026#34;dd\u0026#34; days, or less than or equal to (-) the current date minus \u0026#34;dd\u0026#34; days. A valid \u0026#34;dd\u0026#34; number of days can be any number in the range of 0 - 32768. \u0026#34;+\u0026#34; is taken as default sign if not specified. /? Displays this help message. Examples: FORFILES /? FORFILES FORFILES /P C:\\WINDOWS /S /M DNS*.* FORFILES /S /M *.txt /C \u0026#34;cmd /c type @file | more\u0026#34; FORFILES /P C:\\ /S /M *.bat FORFILES /D -30 /M *.exe /C \u0026#34;cmd /c echo @path 0x09 was changed 30 days ago\u0026#34; FORFILES /D 1/20/2006 /C \u0026#34;cmd /c echo @fname is new since Jan 1st 2001\u0026#34; FORFILES /D +1/20/2006 /C \u0026#34;cmd /c echo @fname is new today\u0026#34; FORFILES /M *.exe /D +1 FORFILES /S /M *.doc /C \u0026#34;cmd /c echo @fsize\u0026#34; FORFILES /M *.txt /C \u0026#34;cmd /c if @isdir==FALSE notepad.exe @file\u0026#34; Return Code: 0\n","date":"2019-12-07T09:09:37Z","permalink":"https://pen2.com/cmd/ja/forfiles/","title":"forfiles"},{"content":"コマンド ライン ヘルプ ユーティリティ\nhelp C:\\Windows\\system32\\help.exe /? Output:\n日本語\rWindows コマンドのヘルプ情報を提供します。 HELP [command] command - このコマンドのヘルプ情報を表示します。 英語\rProvides help information for Windows commands. HELP [command] command - displays help information on that command. Return Code: 1\n","date":"2019-12-07T09:09:37Z","permalink":"https://pen2.com/cmd/ja/help/","title":"help"},{"content":"カーネル トランザクション管理ユーティリティ\nktmutil 管理者権限(Administrator)\rC:\\Windows\\system32\\ktmutil.exe Output:\n日本語\r---- サポートされるコマンド ---- tx トランザクションに関連するコマンド tm トランザクション マネージャーに関連するコマンド 英語\r---- Commands Supported ---- tx Commands related to transactions tm Commands related to transaction managers Return Code: 0\nktmutil tx 管理者権限(Administrator)\rC:\\Windows\\system32\\ktmutil.exe tx Output:\n日本語\r使用法 : ktmutil tx list すべてのトランザクションを一覧表示 ktmutil tx info トランザクションに関する情報を表示 ktmutil tx force 指定した結果をトランザクションに強制 ktmutil tx forget コミットされたトランザクションを廃棄 英語\rUsage : ktmutil tx list Lists all transactions ktmutil tx info Get information about a transaction ktmutil tx force Force a transaction to a given outcome ktmutil tx forget Forget a committed transaction Return Code: 0\nktmutil tm 管理者権限(Administrator)\rC:\\Windows\\system32\\ktmutil.exe tm Output:\n日本語\r使用法 : ktmutil tm list すべてのトランザクション マネージャーを一覧表示 ktmutil tm info 特定のトランザクション マネージャーに関する情報 を表示 英語\rUsage : ktmutil tm list Lists all transaction managers ktmutil tm info Get information about a particular transaction manager Return Code: 0\n","date":"2019-12-07T09:09:37Z","permalink":"https://pen2.com/cmd/ja/ktmutil/","title":"ktmutil"},{"content":"ディスク レベル ユーティリティ\nlabel C:\\Windows\\system32\\label.exe /? Output:\n日本語\rディスクのボリューム ラベルを作成、変更、または削除します。 LABEL [ドライブ:][ラベル] LABEL [/MP] [ボリューム] [ラベル] ドライブ: ドライブのドライブ文字を指定します。 ラベル ボリュームのラベルを指定します。 /MP マウント ポイントまたはボリューム名として処理される ボリュームを指定します。 ボリューム ドライブ文字 (文字の後にはコロンを付ける)、マウント ポイント、ボリューム名を指定します。指定されている 場合は、/MP フラグは不要です。 英語\rCreates, changes, or deletes the volume label of a disk. LABEL [drive:][label] LABEL [/MP] [volume] [label] drive: Specifies the drive letter of a drive. label Specifies the label of the volume. /MP Specifies that the volume should be treated as a mount point or volume name. volume Specifies the drive letter (followed by a colon), mount point, or volume name. If volume name is specified, the /MP flag is unnecessary. Return Code: 0\n","date":"2019-12-07T09:09:37Z","permalink":"https://pen2.com/cmd/ja/label/","title":"label"},{"content":"現在開いているファイル一覧の表示\nopenfiles C:\\Windows\\system32\\openfiles.exe /? Output:\n日本語\rOPENFILES /parameter [引数] 説明: システム上の開いているファイルとフォルダーを管理者が 切断できるようにします。 パラメーターの一覧: /Disconnect 1 つ以上の開いているファイルを切断します。 /Query ローカルまたは共有フォルダーで開いているファイルを表示 します。 /Local ローカルで開いているファイルの表示を有効/無効にします。 /? このヘルプのメッセージを表示します。 例: OPENFILES /Disconnect /? OPENFILES /Query /? OPENFILES /Local /? 英語\rOPENFILES /parameter [arguments] Description: Enables an administrator to list or disconnect files and folders that have been opened on a system. Parameter List: /Disconnect Disconnects one or more open files. /Query Displays files opened locally or from shared folders. /Local Enables / Disables the display of local open files. /? Displays this help message. Examples: OPENFILES /Disconnect /? OPENFILES /Query /? OPENFILES /Local /? Return Code: 0\n","date":"2019-12-07T09:09:37Z","permalink":"https://pen2.com/cmd/ja/openfiles/","title":"openfiles"},{"content":" stordiag C:\\Windows\\system32\\stordiag.exe /? Output:\nCollects storage and filesystem diagnostic logs and outputs them to a folder. StorDiag [-collectEtw] [-out \u0026lt;PATH\u0026gt;] -collectEtw Collect a 30-second long ETW trace if run from an elevated session -collectPerf Collect disk performance counters -collectStorageBreakdown Collect system volume used space breakdown -checkFSConsistency Checks for the consistency of the NTFS file system -diagnostic outputs a storage diagnostic report -bootdiag output boot sectors of the disk -driverdiag output avaliable storport and storahci logs -out \u0026lt;PATH\u0026gt; Specify the output path. If not specified, logs are saved to %TEMP%\\StorDiag Return Code: 0\n","date":"2019-12-07T09:09:37Z","permalink":"https://pen2.com/cmd/ja/stordiag/","title":"stordiag"},{"content":"TCP/IP Arp コマンド\narp C:\\Windows\\system32\\ARP.EXE /? Output:\n日本語\rアドレス解決プロトコル (ARP) で使用される、IP アドレスから物理アドレスへの変換 テーブルを表示および変更します。 ARP -s inet_addr eth_addr [if_addr] ARP -s inet_addr eth_addr [if_addr] ARP -a [inet_addr] [-N if_addr] [-v] -a 現在のプロトコル データを参照し、現在の ARP エントリを表示しま す。inet_addr が指定されている場合は、指定されたコンピューター のみの IP アドレスと物理アドレスが表示されます。2 つ以上のネット ワーク インターフェイスが ARP を使用する場合は、各 ARP テーブル のエントリが表示されます。 -g -a と同じです。 -v 現在の ARP エントリを詳細モードで表示します。すべての無効なエン トリとループバック インターフェイスのエントリが表示されます。 inet_addr インターネット アドレスを指定します。 -N if_addr if_addr で指定されたネットワーク インターフェイスの ARP エントリ を表示します。 -d inet_addr で指定されたホストを削除します。inet_addr にワイルド カードを使用すると、すべてのホストを削除できます。 -s ホストを追加し、インターネット アドレス inet_addr を物理アドレス eth_addr に関連付けます。物理アドレスは、ハイフンで区切られた 6 個の 16 進数バイトで指定します。このエントリは恒久的です。 eth_addr 物理アドレスを指定します。 if_addr 指定された場合は、アドレス変換テーブルを変更するインターフェイス のインターネット アドレスを指定します。指定がない場合は、最初の 適用可能なインターフェイスが使用されます。 例 : \u0026gt; arp -s 157.55.85.212 00-aa-00-62-c6-09 .... 静的エントリを追加します。 \u0026gt; arp -a .... テーブルを表示します。 英語\rDisplays and modifies the IP-to-Physical address translation tables used by address resolution protocol (ARP). ARP -s inet_addr eth_addr [if_addr] ARP -d inet_addr [if_addr] ARP -a [inet_addr] [-N if_addr] [-v] -a Displays current ARP entries by interrogating the current protocol data. If inet_addr is specified, the IP and Physical addresses for only the specified computer are displayed. If more than one network interface uses ARP, entries for each ARP table are displayed. -g Same as -a. -v Displays current ARP entries in verbose mode. All invalid entries and entries on the loop-back interface will be shown. inet_addr Specifies an internet address. -N if_addr Displays the ARP entries for the network interface specified by if_addr. -d Deletes the host specified by inet_addr. inet_addr may be wildcarded with * to delete all hosts. -s Adds the host and associates the Internet address inet_addr with the Physical address eth_addr. The Physical address is given as 6 hexadecimal bytes separated by hyphens. The entry is permanent. eth_addr Specifies a physical address. if_addr If present, this specifies the Internet address of the interface whose address translation table should be modified. If not present, the first applicable interface will be used. Example: \u0026gt; arp -s 157.55.85.212 00-aa-00-62-c6-09 .... Adds a static entry. \u0026gt; arp -a .... Displays the arp table. Return Code: 1\n","date":"2019-12-07T09:09:34Z","permalink":"https://pen2.com/cmd/ja/arp/","title":"arp"},{"content":"TCPIP Finger コマンド\nfinger C:\\Windows\\system32\\finger.exe /? STDERR:\nJa\rFinger サービスを実行する指定のシステム上のユーザーに関する情報を 表示します。出力は、リモート システムに応じて異なります。 FINGER [-l] [user]@host [...] -l 情報を長い一覧形式で表示します。 user 情報を表示するユーザーを指定します。指定のホスト上の 全ユーザーに関する情報を表示するには、user パラメーターを 省略します。 @host ユーザー情報を表示するリモート システム上の サーバーを指定します。 En\rDisplays information about a user on a specified system running the Finger service. Output varies based on the remote system. FINGER [-l] [user]@host [...] -l Displays information in long list format. user Specifies the user you want information about. Omit the user parameter to display information about all users on the specifed host. @host Specifies the server on the remote system whose users you want information about. Return Code: 1\n","date":"2019-12-07T09:09:34Z","permalink":"https://pen2.com/cmd/ja/finger/","title":"finger"},{"content":"ホスト名 APP\nhostname C:\\Windows\\system32\\HOSTNAME.EXE /? Output:\n日本語\r現在のホストの名前を出力します。 hostname 英語\rPrints the name of the current host. hostname Return Code: 1\n","date":"2019-12-07T09:09:34Z","permalink":"https://pen2.com/cmd/ja/hostname/","title":"hostname"},{"content":"マルチキャスト情報\nmrinfo C:\\Windows\\system32\\MRINFO.EXE /? Output:\n日本語\r使用法: mrinfo [-n?] [-i address] [-t secs] [-r retries] destination -n IP アドレスを数字形式で表示します -i address クエリを送信するためのローカル インターフェイスのアドレス -t seconds IGMP クエリの秒単位のタイムアウト (既定値 = 3 秒) -r retries SNMP クエリを再送信する回数 (既定値 = 0) -? 使用法を出力します destination 宛先アドレスまたは名前 英語\rUsage: mrinfo [-n?] [-i address] [-t secs] [-r retries] destination -n Display IP addresses in numeric format -i address Address of local interface to send query out -t seconds Timeout in seconds for IGMP queries (default = 3 seconds) -r retries Number of extra times to send the SNMP queries (default = 0) -? Print Usage destination Address or name of destination Return Code: 1\n","date":"2019-12-07T09:09:34Z","permalink":"https://pen2.com/cmd/ja/mrinfo/","title":"mrinfo"},{"content":"TCP/IP Netstat コマンド\nnetstat C:\\Windows\\system32\\NETSTAT.EXE /? STDERR:\nJa\rプロトコルの統計と現在の TCP/IP ネットワーク接続を表示します。 NETSTAT [-a] [-b] [-e] [-f] [-n] [-o] [-p proto] [-r] [-s] [-t] [-x] [-y] [interval] -a すべての接続とリッスン ポートを表示します。 -b それぞれの接続またはリッスン ポートの作成に使われた実行可能 ファイルを表示します。場合により、よく知られた実行可能ファイルが 複数の独立したコンポーネントをホストすることもあり、その 場合、接続またはリッスン ポートの作成に使われたコンポーネント 群が表示されます。この場合、実行可能ファイル名は下に [ ] で表示 され、上には TCP/IP に到達するまで順に呼び出したコンポーネント が表示されます。このオプションには時間がかかり、十分なアクセス 許可がないとエラーが発生することに 注意してください。 -e イーサネットの統計を表示します。これは、-s オプションと 併用できます。 -f 外部アドレスの完全修飾ドメイン名 (FQDN) を 表示します。 -n アドレスとポート番号を数値形式で表示します。 -o 各接続に関連付けられた各接続を所有するプロセス ID を表示します。 -p proto proto で指定されたプロトコルの接続を表示します。 proto は次のいずれかです: TCP、UDP、TCPv6、UDPv6。プロトコルごとの 統計を表示するために -s オプションと併用する場合、proto は次のいずれかです: IP、IPv6、ICMP、ICMPv6、TCP、TCPv6、UDP、UDPv6。 -q すべての接続、リッスン ポート、およびバインドされている 非リッスン TCP ポートを表示します。バインドされている非リッスン ポートは、 アクティブな接続に関連付けられている場合と関連付けられていない場合があります。 -r ルーティング テーブルを表示します。 -s プロトコルごとの統計を表示します。既定では、IP、IPv6、ICMP、 ICMPv6、TCP、TCPv6、UDP、UDPv6 の統計が表示されます。 -p オプションを使って、既定のプロトコルのサブセットを指定できます。 -t 現在の接続のオフロード状態を表示します。 -x NetworkDirect の接続、リスナー、共有エンドポイントを 表示します。 -y すべての接続の TCP 接続テンプレートを表示します。 他のオプションとの併用はできません。 interval 各表示で interval 秒間一時停止しながら、選択した統計を再表示 します。統計の再表示を停止するには、Ctrl+C を押します。 interval が省略された場合、現在の構成情報を 一度だけ表示します。 En\rDisplays protocol statistics and current TCP/IP network connections. NETSTAT [-a] [-b] [-e] [-f] [-n] [-o] [-p proto] [-r] [-s] [-t] [-x] [-y] [interval] -a Displays all connections and listening ports. -b Displays the executable involved in creating each connection or listening port. In some cases well-known executables host multiple independent components, and in these cases the sequence of components involved in creating the connection or listening port is displayed. In this case the executable name is in [] at the bottom, on top is the component it called, and so forth until TCP/IP was reached. Note that this option can be time-consuming and will fail unless you have sufficient permissions. -e Displays Ethernet statistics. This may be combined with the -s option. -f Displays Fully Qualified Domain Names (FQDN) for foreign addresses. -n Displays addresses and port numbers in numerical form. -o Displays the owning process ID associated with each connection. -p proto Shows connections for the protocol specified by proto; proto may be any of: TCP, UDP, TCPv6, or UDPv6. If used with the -s option to display per-protocol statistics, proto may be any of: IP, IPv6, ICMP, ICMPv6, TCP, TCPv6, UDP, or UDPv6. -q Displays all connections, listening ports, and bound nonlistening TCP ports. Bound nonlistening ports may or may not be associated with an active connection. -r Displays the routing table. -s Displays per-protocol statistics. By default, statistics are shown for IP, IPv6, ICMP, ICMPv6, TCP, TCPv6, UDP, and UDPv6; the -p option may be used to specify a subset of the default. -t Displays the current connection offload state. -x Displays NetworkDirect connections, listeners, and shared endpoints. -y Displays the TCP connection template for all connections. Cannot be combined with the other options. interval Redisplays selected statistics, pausing interval seconds between each display. Press CTRL+C to stop redisplaying statistics. If omitted, netstat will print the current configuration information once. Return Code: 1\n","date":"2019-12-07T09:09:34Z","permalink":"https://pen2.com/cmd/ja/netstat/","title":"netstat"},{"content":"TCP/IP Route コマンド\nroute C:\\Windows\\system32\\ROUTE.EXE /? STDERR:\nJa\rネットワーク ルーティング テーブルを操作します。 ROUTE [-f] [-p] [-4|-6] command [destination] [MASK netmask] [gateway] [METRIC metric] [IF interface] -f ルーティング テーブルにあるゲートウェイのエントリをすべてクリア します。このオプションをコマンドと併用した場合、コマンドを実行 する前にテーブルがクリアされます。 -p ADD コマンドと併用された場合、システムの再起動後もルートは維持さ れます。既定では、システムが再起動された場合、ルートは維持され ません。適切な固定ルートを決定する他のコマンドでは、オプションは 無視されます。 -4\tIPv4 の使用を強制します。 -6\tIPv6 の使用を強制します。 command 次のいずれかです: PRINT ルートを印刷します。 ADD ルートを追加します。 DELETE ルートを削除します。 CHANGE 既存のルートを変更します。 destination ホストを指定します。 MASK 次のパラメーターが \u0026#39;netmask\u0026#39; の値であることを指定します。 netmask このルート エントリのサブネット マスクの値を指定します。 指定されない場合、既定値は 255.255.255.255 です。 gateway ゲートウェイを指定します。 interface 指定されたルートのインターフェイス番号です。 METRIC 宛先のコストなどのメトリックを指定します。 宛先の指定に使われたシンボリック名はすべてネットワーク データベース ファイル NETWORKS で参照されます。ゲートウェイのシンボリック名は、ホスト名データベース ファイル HOSTS で参照されます。 コマンドが PRINT または DELETE の場合、destination または gateway にはワイル ド カード (\u0026#39;*\u0026#39; で指定) を使用できます。gateway の引数は省略できます。 destination に含まれる * または ? はシェルのパターンとして認識され、一致する宛 先ルートのみが印刷されます。\u0026#39;*\u0026#39; は任意の文字列に、\u0026#39;?\u0026#39; は 1 文字の文字に一致しま す。例: 157.*.1、157.*、127.*、*224*。 パターン マッチは PRINT コマンドでのみ許可されます。 診断情報: (DEST \u0026amp; MASK) != DEST の場合、MASK が無効なときにエラーが発生します。 例\u0026gt; route ADD 157.0.0.0 MASK 155.0.0.0 157.55.80.1 IF 1 ルートを追加できませんでした: 指定したマスク パラメーターは無効です。 (Destination \u0026amp; Mask) != Destination です。 例: \u0026gt; route PRINT \u0026gt; route PRINT -4 \u0026gt; route PRINT -6 \u0026gt; route PRINT 157* .... 157* に一致するルートのみが出力されます \u0026gt; route ADD 157.0.0.0 MASK 255.0.0.0 157.55.80.1 METRIC 3 IF 2 宛先^ ^マスク ^ゲートウェイ メトリック^ ^ インターフェイス^ IF を指定しないと、指定したゲートウェイに最適なインターフェイスが 検索されます。 \u0026gt; route ADD 3ffe::/32 3ffe::1 \u0026gt; route CHANGE 157.0.0.0 MASK 255.0.0.0 157.55.80.5 METRIC 2 IF 2 CHANGE はゲートウェイとメトリックの変更にのみ使用します。 \u0026gt; route DELETE 157.0.0.0 \u0026gt; route DELETE 3ffe::/32 En\rManipulates network routing tables. ROUTE [-f] [-p] [-4|-6] command [destination] [MASK netmask] [gateway] [METRIC metric] [IF interface] -f Clears the routing tables of all gateway entries. If this is used in conjunction with one of the commands, the tables are cleared prior to running the command. -p When used with the ADD command, makes a route persistent across boots of the system. By default, routes are not preserved when the system is restarted. Ignored for all other commands, which always affect the appropriate persistent routes. -4\tForce using IPv4. -6 Force using IPv6. command One of these: PRINT Prints a route ADD Adds a route DELETE Deletes a route CHANGE Modifies an existing route\tdestination Specifies the host. MASK Specifies that the next parameter is the \u0026#39;netmask\u0026#39; value. netmask Specifies a subnet mask value for this route entry. If not specified, it defaults to 255.255.255.255. gateway Specifies gateway. interface the interface number for the specified route. METRIC specifies the metric, ie. cost for the destination. All symbolic names used for destination are looked up in the network database file NETWORKS. The symbolic names for gateway are looked up in the host name database file HOSTS. If the command is PRINT or DELETE. Destination or gateway can be a wildcard, (wildcard is specified as a star \u0026#39;*\u0026#39;), or the gateway argument may be omitted. If Dest contains a * or ?, it is treated as a shell pattern, and only matching destination routes are printed. The \u0026#39;*\u0026#39; matches any string, and \u0026#39;?\u0026#39; matches any one char. Examples: 157.*.1, 157.*, 127.*, *224*. Pattern match is only allowed in PRINT command. Diagnostic Notes: Invalid MASK generates an error, that is when (DEST \u0026amp; MASK) != DEST. Example\u0026gt; route ADD 157.0.0.0 MASK 155.0.0.0 157.55.80.1 IF 1 The route addition failed: The specified mask parameter is invalid. (Destination \u0026amp; Mask) != Destination. Examples: \u0026gt; route PRINT \u0026gt; route PRINT -4 \u0026gt; route PRINT -6 \u0026gt; route PRINT 157* .... Only prints those matching 157* \u0026gt; route ADD 157.0.0.0 MASK 255.0.0.0 157.55.80.1 METRIC 3 IF 2 destination^ ^mask ^gateway metric^ ^ Interface^ If IF is not given, it tries to find the best interface for a given gateway. \u0026gt; route ADD 3ffe::/32 3ffe::1 \u0026gt; route CHANGE 157.0.0.0 MASK 255.0.0.0 157.55.80.5 METRIC 2 IF 2 CHANGE is used to modify gateway and/or metric only. \u0026gt; route DELETE 157.0.0.0 \u0026gt; route DELETE 3ffe::/32 Return Code: 1\n","date":"2019-12-07T09:09:34Z","permalink":"https://pen2.com/cmd/ja/route/","title":"route"},{"content":"サービス コントロール マネージャー構成ツール\nsc C:\\Windows\\system32\\sc.exe Output:\n日本語\r説明: SC はサービス コントロール マネージャーやサービスと通信するために使用 するコマンド ライン プログラムです。 使用法: sc \u0026lt;サーバー\u0026gt; [コマンド] [サービス名] \u0026lt;オプション 1\u0026gt; \u0026lt;オプション 2\u0026gt;... オプションの \u0026lt;サーバー\u0026gt; は \u0026#34;\\\\サーバー名\u0026#34; の形式です。 「sc [コマンド]」と入力するとコマンドの詳細なヘルプが表示されます。 コマンド一覧: query-----------サービスの状態を照会したりサービスの種類ごと に状態を列挙したりします。 queryex---------拡張されたサービスの状態を照会したりサービス の種類ごとに状態を列挙したりします。 start-----------サービスを開始します。 pause-----------サービスに PAUSE 制御要求を送信します。 interrogate-----サービスに INTERROGATE 制御要求を送信します。 continue--------サービスに CONTINUE 制御要求を送信します。 stop------------サービスに STOP 要求を送信します。 config----------サービスの構成を変更します (恒久的)。 description-----サービスの説明を変更します。 failure---------エラー発生時のサービスの動作を変更します。 failureflag-----サービスの障害動作フラグを変更します。 sidtype---------サービスのサービス SID の種類を変更します。 privs-----------サービスの必要な特権を変更します。 managedaccount--サービス アカウントのパスワードを LSA で管理された パスワードとマークするようにサービスを変更します。 qc--------------サービスの構成情報を照会します。 qdescription----サービスの説明を照会します。 qfailure--------エラー発生時のサービスの動作を照会します。 qfailureflag----サービスの障害動作フラグを照会します。 qsidtype--------サービスのサービス SID の種類を照会します。 qprivs----------サービスの必要な特権を照会します。 qtriggerinfo----サービスのトリガー パラメーターを照会します。 qpreferrednode--サービスの優先 NUMA ノードを照会します。 qmanagedaccount-パスワードが LSA で管理されたアカウントを サービスで使用するかどうかを照会します。 qprotection-----サービスのプロセス保護レベルを照会します。 quserservice----ユーザー サービス テンプレートのローカル インスタンスを照会します。 delete----------レジストリからサービスを削除します。 create----------サービスを作成します (レジストリに追加します)。 control---------サービスに CONTROL コードを送信します。 sdshow----------サービスのセキュリティ記述子を表示します。 sdset-----------サービスのセキュリティ記述子を設定します。 showsid---------任意の名前に対応するサービス SID 文字列を表示します。 triggerinfo-----サービスのトリガー パラメーターを構成します。 preferrednode---サービスの優先 NUMA ノードを設定します。 GetDisplayName--サービスの DisplayName を取得します。 GetKeyName------サービスの ServiceKeyName を取得します。 EnumDepend------サービスの依存関係を列挙します。 次のコマンドはサービス名を指定しません: sc \u0026lt;サーバー\u0026gt; \u0026lt;コマンド\u0026gt; \u0026lt;オプション\u0026gt; boot------------(ok | bad) 最後に行われたブートを前回正常起動時 の構成として保存するかどうかを示します。 Lock------------サービス データベースをロックします。 QueryLock-------SCManager データベースの LockStatus を照会します。 例: sc start MyService QUERY と QUERYEX のオプション: クエリ コマンドにサービス名が続く場合、サービスの状態が戻されます。 この場合、それ以上のオプションは適用されません。クエリ コマンドに オプションがない場合やまたは以下に一覧に表示されているオプションが 続く場合は、サービスが列挙されます。 type= 列挙するサービスの種類 (driver、service、user service、all) (既定 = service) state= 列挙するサービスの状態 (inactive、all) (既定 = active) bufsize= 列挙バッファーのサイズ (バイト) (既定 = 4096) ri= 列挙の開始を指定するための再開インデックス番号 (既定 = 0) group= 列挙するサービス グループ (既定 = all groups) 構文の例 sc query - アクティブなサービス ドライバーの状態を列挙します sc query eventlog - イベントログ サービスの状態を表示します sc queryex eventlog - イベントログ サービスの拡張状態を表示します sc query type= driver - アクティブなドライバーのみ列挙します sc query type= service - Win32 サービスのみ列挙します sc query state= all - サービスとドライバーをすべて列挙します sc query bufsize= 50 - 50 バイトのバッファーで列挙します sc query ri= 14 - 再開インデックスを = 14 にして列挙します sc queryex group= \u0026#34;\u0026#34; - グループにないアクティブなサービスを列挙します sc query type= interact - 対話型サービスをすべて列挙します sc query type= driver group= NDIS - NDIS ドライバーをすべて列挙します 英語\rDESCRIPTION: SC is a command line program used for communicating with the Service Control Manager and services. USAGE: sc \u0026lt;server\u0026gt; [command] [service name] \u0026lt;option1\u0026gt; \u0026lt;option2\u0026gt;... The option \u0026lt;server\u0026gt; has the form \u0026#34;\\\\ServerName\u0026#34; Further help on commands can be obtained by typing: \u0026#34;sc [command]\u0026#34; Commands: query-----------Queries the status for a service, or enumerates the status for types of services. queryex---------Queries the extended status for a service, or enumerates the status for types of services. start-----------Starts a service. pause-----------Sends a PAUSE control request to a service. interrogate-----Sends an INTERROGATE control request to a service. continue--------Sends a CONTINUE control request to a service. stop------------Sends a STOP request to a service. config----------Changes the configuration of a service (persistent). description-----Changes the description of a service. failure---------Changes the actions taken by a service upon failure. failureflag-----Changes the failure actions flag of a service. sidtype---------Changes the service SID type of a service. privs-----------Changes the required privileges of a service. managedaccount--Changes the service to mark the service account password as managed by LSA. qc--------------Queries the configuration information for a service. qdescription----Queries the description for a service. qfailure--------Queries the actions taken by a service upon failure. qfailureflag----Queries the failure actions flag of a service. qsidtype--------Queries the service SID type of a service. qprivs----------Queries the required privileges of a service. qtriggerinfo----Queries the trigger parameters of a service. qpreferrednode--Queries the preferred NUMA node of a service. qmanagedaccount-Queries whether a services uses an account with a password managed by LSA. qprotection-----Queries the process protection level of a service. quserservice----Queries for a local instance of a user service template. delete----------Deletes a service (from the registry). create----------Creates a service. (adds it to the registry). control---------Sends a control to a service. sdshow----------Displays a service\u0026#39;s security descriptor. sdset-----------Sets a service\u0026#39;s security descriptor. showsid---------Displays the service SID string corresponding to an arbitrary name. triggerinfo-----Configures the trigger parameters of a service. preferrednode---Sets the preferred NUMA node of a service. GetDisplayName--Gets the DisplayName for a service. GetKeyName------Gets the ServiceKeyName for a service. EnumDepend------Enumerates Service Dependencies. The following commands don\u0026#39;t require a service name: sc \u0026lt;server\u0026gt; \u0026lt;command\u0026gt; \u0026lt;option\u0026gt; boot------------(ok | bad) Indicates whether the last boot should be saved as the last-known-good boot configuration Lock------------Locks the Service Database QueryLock-------Queries the LockStatus for the SCManager Database EXAMPLE: sc start MyService QUERY and QUERYEX OPTIONS: If the query command is followed by a service name, the status for that service is returned. Further options do not apply in this case. If the query command is followed by nothing or one of the options listed below, the services are enumerated. type= Type of services to enumerate (driver, service, userservice, all) (default = service) state= State of services to enumerate (inactive, all) (default = active) bufsize= The size (in bytes) of the enumeration buffer (default = 4096) ri= The resume index number at which to begin the enumeration (default = 0) group= Service group to enumerate (default = all groups) SYNTAX EXAMPLES sc query - Enumerates status for active services \u0026amp; drivers sc query eventlog - Displays status for the eventlog service sc queryex eventlog - Displays extended status for the eventlog service sc query type= driver - Enumerates only active drivers sc query type= service - Enumerates only Win32 services sc query state= all - Enumerates all services \u0026amp; drivers sc query bufsize= 50 - Enumerates with a 50 byte buffer sc query ri= 14 - Enumerates with resume index = 14 sc queryex group= \u0026#34;\u0026#34; - Enumerates active services not in a group sc query type= interact - Enumerates all interactive services sc query type= driver group= NDIS - Enumerates all NDIS drivers Return Code: 1639\n","date":"2019-12-07T09:09:34Z","permalink":"https://pen2.com/cmd/ja/sc/","title":"sc"},{"content":"Setx - 環境変数の設定\nsetx C:\\Windows\\system32\\setx.exe /? Output:\n日本語\rSetX の使用法は 3 とおりあります: 構文 1: SETX [/S システム [/U [ドメイン\\]ユーザー [/P [パスワード]]]] 変数 値 [/M] 構文 2: SETX [/S システム [/U [ドメイン\\]ユーザー [/P [パスワード]]]] 変数 /K レジストリパス [/M] 構文 3: SETX [/S システム [/U [ドメイン\\]ユーザー [/P [パスワード]]]] /F ファイル {変数 {/A x,y | /R x,y 文字列}[/M] | /X} [/D 区切り文字] 説明: ユーザーまたはシステムの環境の中で環境変数を作成または 変更します。引数、レジストリ キー、またはファイル入力を もとに変数を設定することができます。 パラメーター一覧: /S システム 接続先のリモート システムを指定します。 /U [ドメイン\\]ユーザー コマンドが実行されるユーザー コンテキストを指定します。 /P [パスワード] 指定されたユーザーのコンテキストのパスワード を指定します。省略すると入力が促されます。 変数 設定する環境変数を指定します。 値 環境変数に割り当てられる値を指定 します。 /K レジストリパス レジストリ キーからの情報を基に変数が 設定されることを指定します。 パスは hive\\key\\...\\value の形式で指定します。 例: HKEY_LOCAL_MACHINE\\System\\CurrentControlSet\\ Control\\TimeZoneInformation\\StandardName. /F ファイル 使用するテキスト ファイルの名前を指定し ます。 /A x、y ファイルの絶対座標 (行 X、項目 Y) を パラメーターとして指定し、ファイル内を検索 します。 /R x,y 文字列 \u0026#34;文字列\u0026#34; を検索パラメーターとして ファイルへの相対座標を指定します。 /M 変数をシステム全体 (HKEY_LOCAL_MACHINE) の環境で設定することを指定します。 既定では、HKEY_CURRENT_USER 環境で変数 を設定するように設定されています。 /X x y 座標でファイルの内容を表示します。 /D 区切り文字 \u0026#34;,\u0026#34; や \u0026#34;\\\u0026#34; など、追加の区切り文字を指定し ます。ビルトインの区切り文字は空白、タブ、 キャリッジ リターン、ラインフィードです。 ASCII 文字はどれでも追加の区切り文字として 使用できます。区切り文字は、ビルトインの ものも含めて最大 15 個まで指定できます。 /? このヘルプを表示します。 注意: 1) SETX は、レジストリの中のマスター環境に変数を書き込みます。 2) ローカル システム上では、このツールで作成または変更した 変数は、現在のコマンド ウィンドウでは利用できませんが、 その後のコマンド ウィンドウで利用できます。 3) リモート システム上では、このツールで作成または変更した 変数は次のログオン セッションで利用できます。 4) 有効なレジストリ キー データの種類は REG_DWORD、REG_EXPAND_SZ、 REG_SZ, REG_MULTI_SZ です。 5) サポートされているハイブは HKEY_LOCAL_MACHINE (HKLM)、 HKEY_CURRENT_USER (HKCU) です。 6) 区切り文字は大文字と小文字を区別します。 7) REG_DWORD 値は、レジストリから 10 進数形式で 抽出されます。 例: SETX MACHINE COMPAQ SETX MACHINE \u0026#34;COMPAQ COMPUTER\u0026#34; /M SETX MYPATH \u0026#34;%PATH%\u0026#34; SETX MYPATH ~PATH~ SETX /S system /U user /P password MACHINE COMPAQ SETX /S system /U user /P password MYPATH ^%PATH^% SETX TZONE /K HKEY_LOCAL_MACHINE\\System\\CurrentControlSet\\ Control\\TimeZoneInformation\\StandardName SETX BUILD /K \u0026#34;HKEY_LOCAL_MACHINE\\Software\\Microsoft\\Windows NT\\CurrentVersion\\CurrentBuildNumber\u0026#34; /M SETX /S system /U user /P password TZONE /K HKEY_LOCAL_MACHINE\\ System\\CurrentControlSet\\Control\\TimeZoneInformation\\ StandardName SETX /S system /U user /P password BUILD /K \u0026#34;HKEY_LOCAL_MACHINE\\Software\\Microsoft\\Windows NT\\ CurrentVersion\\CurrentBuildNumber\u0026#34; /M SETX /F ipconfig.out /X SETX IPADDR /F ipconfig.out /A 5,11 SETX OCTET1 /F ipconfig.out /A 5,3 /D \u0026#34;#$*.\u0026#34; SETX IPGATEWAY /F ipconfig.out /R 0,7 Gateway SETX /S system /U user /P password /F c:\\ipconfig.out /X 英語\rSetX has three ways of working: Syntax 1: SETX [/S system [/U [domain\\]user [/P [password]]]] var value [/M] Syntax 2: SETX [/S system [/U [domain\\]user [/P [password]]]] var /K regpath [/M] Syntax 3: SETX [/S system [/U [domain\\]user [/P [password]]]] /F file {var {/A x,y | /R x,y string}[/M] | /X} [/D delimiters] Description: Creates or modifies environment variables in the user or system environment. Can set variables based on arguments, regkeys or file input. Parameter List: /S system Specifies the remote system to connect to. /U [domain\\]user Specifies the user context under which the command should execute. /P [password] Specifies the password for the given user context. Prompts for input if omitted. var Specifies the environment variable to set. value Specifies a value to be assigned to the environment variable. /K regpath Specifies that the variable is set based on information from a registry key. Path should be specified in the format of hive\\key\\...\\value. For example, HKEY_LOCAL_MACHINE\\System\\CurrentControlSet\\ Control\\TimeZoneInformation\\StandardName. /F file Specifies the filename of the text file to use. /A x,y Specifies absolute file coordinates (line X, item Y) as parameters to search within the file. /R x,y string Specifies relative file coordinates with respect to \u0026#34;string\u0026#34; as the search parameters. /M Specifies that the variable should be set in the system wide (HKEY_LOCAL_MACHINE) environment. The default is to set the variable under the HKEY_CURRENT_USER environment. /X Displays file contents with x,y coordinates. /D delimiters Specifies additional delimiters such as \u0026#34;,\u0026#34; or \u0026#34;\\\u0026#34;. The built-in delimiters are space, tab, carriage return, and linefeed. Any ASCII character can be used as an additional delimiter. The maximum number of delimiters, including the built-in delimiters, is 15. /? Displays this help message. NOTE: 1) SETX writes variables to the master environment in the registry. 2) On a local system, variables created or modified by this tool will be available in future command windows but not in the current CMD.exe command window. 3) On a remote system, variables created or modified by this tool will be available at the next logon session. 4) The valid Registry Key data types are REG_DWORD, REG_EXPAND_SZ, REG_SZ, REG_MULTI_SZ. 5) Supported hives: HKEY_LOCAL_MACHINE (HKLM), HKEY_CURRENT_USER (HKCU). 6) Delimiters are case sensitive. 7) REG_DWORD values are extracted from the registry in decimal format. Examples: SETX MACHINE COMPAQ SETX MACHINE \u0026#34;COMPAQ COMPUTER\u0026#34; /M SETX MYPATH \u0026#34;%PATH%\u0026#34; SETX MYPATH ~PATH~ SETX /S system /U user /P password MACHINE COMPAQ SETX /S system /U user /P password MYPATH ^%PATH^% SETX TZONE /K HKEY_LOCAL_MACHINE\\System\\CurrentControlSet\\ Control\\TimeZoneInformation\\StandardName SETX BUILD /K \u0026#34;HKEY_LOCAL_MACHINE\\Software\\Microsoft\\Windows NT\\CurrentVersion\\CurrentBuildNumber\u0026#34; /M SETX /S system /U user /P password TZONE /K HKEY_LOCAL_MACHINE\\ System\\CurrentControlSet\\Control\\TimeZoneInformation\\ StandardName SETX /S system /U user /P password BUILD /K \u0026#34;HKEY_LOCAL_MACHINE\\Software\\Microsoft\\Windows NT\\ CurrentVersion\\CurrentBuildNumber\u0026#34; /M SETX /F ipconfig.out /X SETX IPADDR /F ipconfig.out /A 5,11 SETX OCTET1 /F ipconfig.out /A 5,3 /D \u0026#34;#$*.\u0026#34; SETX IPGATEWAY /F ipconfig.out /R 0,7 Gateway SETX /S system /U user /P password /F c:\\ipconfig.out /X Return Code: 0\n","date":"2019-12-07T09:09:34Z","permalink":"https://pen2.com/cmd/ja/setx/","title":"setx"},{"content":"並べ替えユーティリティ\nsort C:\\Windows\\system32\\sort.exe /? Output:\n日本語\rSORT [/R] [/+n] [/M KB] [/L ロケール] [/REC レコードバイト] [[ドライブ1:][パス1]ファイル名1] [/T [ドライブ2:][パス2]] [/O [ドライブ3:][パス3]ファイル名3] /+n 各行の比較を始める文字番号 n を指定します。 /+3 は、各行の 3 番目の文字から比較を始める ことを意味します。n 文字より少ない行は、ほかの 行より前に照合されます。 既定では、比較はそれぞれの行の最初から始め ます。 /L[OCALE] ロケール 指定されたロケールでシステム既定のロケールを 上書きします。\u0026#34;\u0026#34;C\u0026#34;\u0026#34; ロケールは、最も速い照合 シーケンスに従います。現在指定できるロケール は \u0026#34;\u0026#34;C\u0026#34;\u0026#34; のみです。並べ替えは、常に大文字と小 文字を区別します。 /M[EMORY] KB 並べ替えに使うメイン メモリのサイズを KB で指定します。メモリ サイズは、常に最小 160 KB で制限されます。メモリ サイズが 指定された場合、メイン メモリをどれだけ利用 できるかにかかわらず、指定されたサイズのメモリ を使用します。 通常は、メモリ サイズを指定していないとき、最高 のパフォーマンスを得られます。既定では、並べ替 えが既定の最大メモリ サイズに格納できる場合は、 (一時ファイルを使わないで) 1 回のパスで実行 します。そうでない場合は、(一部の並べ替えられ たデータを一時ファイルに格納して) 2 回のパス で実行し、並べ替えと結合パスのためのメモリのサイ ズを等しくします。入力と出力の両方がファイルの 場合、既定の最大メモリ サイズは利用できるメイン メモリの 90% になります。そうでない場合は、 メイン メモリの 45% になります。 /REC[ORD_MAXIMUM] 文字数 レコードの最大文字数を指定します (既定値 4096、最大値 65535)。 /R[EVERSE] 並べ替えの順序を降順にします。つまり、Z から A、 9 から 0 の順に並べ替えます。 [ドライブ1:][パス1]ファイル名1 並べ替えられるファイルを指定します。指定されて いない場合、標準入力を並べ替えます。 入力ファイルを指定する方が同じファイルへの標準 入力をリダイレクトするより速くなります。 /T[EMPORARY] [ドライブ2:][パス2] データをメイン メモリに格納できないときのた めに、並べ替えのための一時記憶域を保持する ディレクトリを指定します。既定ではシステムの 一時ディレクトリを使用します。 /O[UTPUT] [ドライブ3:][パス3]ファイル名3 並べ替えられた入力ファイルが格納されるファイル を指定します。指定されていない場合、データは 標準出力に書き込まれます。出力ファイルを指定す る方が同じファイルへの標準出力をリダイレクト するより速くなります。 英語\rSORT [/R] [/+n] [/M kilobytes] [/L locale] [/REC recordbytes] [[drive1:][path1]filename1] [/T [drive2:][path2]] [/O [drive3:][path3]filename3] /+n Specifies the character number, n, to begin each comparison. /+3 indicates that each comparison should begin at the 3rd character in each line. Lines with fewer than n characters collate before other lines. By default comparisons start at the first character in each line. /L[OCALE] locale Overrides the system default locale with the specified one. The \u0026#34;\u0026#34;C\u0026#34;\u0026#34; locale yields the fastest collating sequence and is currently the only alternative. The sort is always case insensitive. /M[EMORY] kilobytes Specifies amount of main memory to use for the sort, in kilobytes. The memory size is always constrained to be a minimum of 160 kilobytes. If the memory size is specified the exact amount will be used for the sort, regardless of how much main memory is available. The best performance is usually achieved by not specifying a memory size. By default the sort will be done with one pass (no temporary file) if it fits in the default maximum memory size, otherwise the sort will be done in two passes (with the partially sorted data being stored in a temporary file) such that the amounts of memory used for both the sort and merge passes are equal. The default maximum memory size is 90% of available main memory if both the input and output are files, and 45% of main memory otherwise. /REC[ORD_MAXIMUM] characters Specifies the maximum number of characters in a record (default 4096, maximum 65535). /R[EVERSE] Reverses the sort order; that is, sorts Z to A, then 9 to 0. [drive1:][path1]filename1 Specifies the file to be sorted. If not specified, the standard input is sorted. Specifying the input file is faster than redirecting the same file as standard input. /T[EMPORARY] [drive2:][path2] Specifies the path of the directory to hold the sort\u0026#39;s working storage, in case the data does not fit in main memory. The default is to use the system temporary directory. /O[UTPUT] [drive3:][path3]filename3 Specifies the file where the sorted input is to be stored. If not specified, the data is written to the standard output. Specifying the output file is faster than redirecting standard output to the same file. Return Code: 0\n","date":"2019-12-07T09:09:34Z","permalink":"https://pen2.com/cmd/ja/sort/","title":"sort"},{"content":"Extended Copy Utility\nxcopy C:\\Windows\\system32\\xcopy.exe /? Output:\n日本語\rファイルとディレクトリ ツリーをコピーします。 XCOPY source [destination] [/A | /M] [/D[:date]] [/P] [/S [/E]] [/V] [/W] [/C] [/I] [/Q] [/F] [/L] [/G] [/H] [/R] [/T] [/U] [/K] [/N] [/O] [/X] [/Y] [/-Y] [/Z] [/B] [/J] [/EXCLUDE:file1[+file2][+file3]...] [/COMPRESS] source コピーするファイル (複数可) を指定します。 destination 新しいファイルの場所や名前を指定します。 /A アーカイブ属性が設定されているファイルのみをコピーし、 属性は変更しません。 /M アーカイブ属性が設定されているファイルのみをコピーし、 アーカイブ属性を解除します。 /D:m-d-y 指定された日付以降に変更されたファイルをコピーします。 日付が指定されなかったときは、コピー元の日付がコピー先の日付より 新しいファイルだけをコピーします。 /EXCLUDE:file1[+file2][+file3]... 文字列を記述したファイルのリストを指定します。 文字列は、ファイル内で 1 行に 1 つずつ記述します。いずれかの文字列が コピー対象ファイルの絶対パスの任意の部分と一致した場合、 そのファイルはコピー対象から除外されます。たとえば、 \\obj\\ または .obj のような文字列を指定すると、それぞれ、obj ディレクトリの下の 全ファイルが除外されたり、.odj という拡張子の ファイルがすべて除外されたりします。 /P コピー先のファイルを作成する前に確認のメッセージを表示します。 /S 空の場合を除いて、ディレクトリとサブディレクトリをコピーします。 /E 空の場合も含めて、ディレクトリとサブディレクトリをコピーします。 \u0026#34;/S /E\u0026#34; と同じ意味です。/T の内容を変更する際にも使用できます。 /V コピー先の各ファイルのサイズを検証します。 /W コピーを開始する前に、任意のキーを押すことを求めるメッセージを表示します。 /C エラーが発生してもコピーを続けます。 /I コピー先が存在せず、コピーするファイルが複数の場合、 コピー先をディレクトリと想定します。 /Q コピー中にファイル名を表示しません。 /F コピー中にコピー元とコピー先の完全なファイル名を表示します。 /L コピーされるファイル名を表示します。 /G 暗号化をサポートしないコピー先に、暗号化されたファイルをコピー することを許可します。 /H 隠しファイルやシステム ファイルもコピーします。 /R 読み取り専用ファイルを上書きします。 /T ファイルはコピーせずにディレクトリ構造のみを作成します。空の ディレクトリまたはサブディレクトリは除きます。/T /E と指定 すると空のディレクトリやサブディレクトリも作成されます。 /U コピー先に既に存在するファイルだけをコピーします。 /K 属性をコピーします。指定しない場合、読み取り専用属性はリセットされます。 /N 生成された短い名前を使用してコピーします。 /O ファイルの所有権と ACL 情報をコピーします。 /X ファイルの監査設定をコピーします (/O を含む)。 /Y 既存のファイルを上書きする前に確認の メッセージを表示しません。 /-Y 既存のファイルを上書きする前に確認のメッセージを 表示します。 /Z 再起動可能モードでネットワーク ファイルをコピーします。 /B シンボリック リンクのリンク先ではなく、シンボリック リンク自体をコピーします。 /J バッファーされていない I/O を使ってコピーします。サイズが大きいファイルに適しています。 /COMPRESS 適用可能な場合は、ファイル転送中にネットワーク圧縮を 要求します。 スイッチ /Y は環境変数 COPYCMD に前もって設定しておくことができます。 この設定は、コマンド ラインの /-Y で上書きすることができます。 英語\rCopies files and directory trees. XCOPY source [destination] [/A | /M] [/D[:date]] [/P] [/S [/E]] [/V] [/W] [/C] [/I] [/Q] [/F] [/L] [/G] [/H] [/R] [/T] [/U] [/K] [/N] [/O] [/X] [/Y] [/-Y] [/Z] [/B] [/J] [/EXCLUDE:file1[+file2][+file3]...] [/COMPRESS] source Specifies the file(s) to copy. destination Specifies the location and/or name of new files. /A Copies only files with the archive attribute set, doesn\u0026#39;t change the attribute. /M Copies only files with the archive attribute set, turns off the archive attribute. /D:m-d-y Copies files changed on or after the specified date. If no date is given, copies only those files whose source time is newer than the destination time. /EXCLUDE:file1[+file2][+file3]... Specifies a list of files containing strings. Each string should be in a separate line in the files. When any of the strings match any part of the absolute path of the file to be copied, that file will be excluded from being copied. For example, specifying a string like \\obj\\ or .obj will exclude all files underneath the directory obj or all files with the .obj extension respectively. /P Prompts you before creating each destination file. /S Copies directories and subdirectories except empty ones. /E Copies directories and subdirectories, including empty ones. Same as /S /E. May be used to modify /T. /V Verifies the size of each new file. /W Prompts you to press a key before copying. /C Continues copying even if errors occur. /I If destination does not exist and copying more than one file, assumes that destination must be a directory. /Q Does not display file names while copying. /F Displays full source and destination file names while copying. /L Displays files that would be copied. /G Allows the copying of encrypted files to destination that does not support encryption. /H Copies hidden and system files also. /R Overwrites read-only files. /T Creates directory structure, but does not copy files. Does not include empty directories or subdirectories. /T /E includes empty directories and subdirectories. /U Copies only files that already exist in destination. /K Copies attributes. Normal Xcopy will reset read-only attributes. /N Copies using the generated short names. /O Copies file ownership and ACL information. /X Copies file audit settings (implies /O). /Y Suppresses prompting to confirm you want to overwrite an existing destination file. /-Y Causes prompting to confirm you want to overwrite an existing destination file. /Z Copies networked files in restartable mode. /B Copies the Symbolic Link itself versus the target of the link. /J Copies using unbuffered I/O. Recommended for very large files. /COMPRESS Request network compression during file transfer where applicable. The switch /Y may be preset in the COPYCMD environment variable. This may be overridden with /-Y on the command line. Return Code: 0\n","date":"2019-12-07T09:09:34Z","permalink":"https://pen2.com/cmd/ja/xcopy/","title":"xcopy"},{"content":"属性ユーティリティ\nattrib C:\\Windows\\system32\\attrib.exe /? Output:\n日本語\rファイル属性を表示または変更します。 ATTRIB [+R | -R] [+A | -A] [+S | -S] [+H | -H] [+O | -O] [+I | -I] [+X | -X] [+P | -P] [+U | -U] [ドライブ:][パス][ファイル名] [/S [/D]] [/L] + 属性を設定します。 - 属性を解除します。 R 読み取り専用ファイル属性。 A アーカイブ ファイル属性。 S システム ファイル属性。 H 隠しファイル属性。 O オフライン属性。 I 非インデックス対象ファイル属性。 X スクラブ ファイルなし属性。 V 整合性属性。 P 固定属性。 U 固定解除属性。 B SMR BLOB 属性。 [ドライブ:][パス][ファイル名] attrib で処理するファイルを指定します。 /S 現在のフォルダーとすべてのサブフォルダーの一致するファイルを 処理します。 /D フォルダーも処理します。 /L Symbolic Link のターゲットに対する Symbolic Link の属性で動作します 英語\rDisplays or changes file attributes. ATTRIB [+R | -R] [+A | -A] [+S | -S] [+H | -H] [+O | -O] [+I | -I] [+X | -X] [+P | -P] [+U | -U] [drive:][path][filename] [/S [/D]] [/L] + Sets an attribute. - Clears an attribute. R Read-only file attribute. A Archive file attribute. S System file attribute. H Hidden file attribute. O Offline attribute. I Not content indexed file attribute. X No scrub file attribute. V Integrity attribute. P Pinned attribute. U Unpinned attribute. B SMR Blob attribute. [drive:][path][filename] Specifies a file or files for attrib to process. /S Processes matching files in the current folder and all subfolders. /D Processes folders as well. /L Work on the attributes of the Symbolic Link versus the target of the Symbolic Link Return Code: 0\nexample c:\\example\u0026gt;dir /b 1Read-only file.txt 2Archive file.txt 3System file.txt 4Hidden file.txt 5Offline file.txt 6Not content indexed file.txt 7No scrub file.txt 8Pinned file.txt 9Unpinned file.txt example.bat c:\\example\u0026gt;attrib A C:\\example\\1Read-only file.txt A C:\\example\\2Archive file.txt A C:\\example\\3System file.txt A C:\\example\\4Hidden file.txt A C:\\example\\5Offline file.txt A C:\\example\\6Not content indexed file.txt A C:\\example\\7No scrub file.txt A C:\\example\\8Pinned file.txt A C:\\example\\9Unpinned file.txt A C:\\example\\example.bat c:\\example\u0026gt;attrib +S \u0026#34;3System file.txt\u0026#34; c:\\example\u0026gt;attrib +H \u0026#34;4Hidden file.txt\u0026#34; c:\\example\u0026gt;dir /b 1Read-only file.txt 2Archive file.txt 5Offline file.txt 6Not content indexed file.txt 7No scrub file.txt 8Pinned file.txt 9Unpinned file.txt example.bat c:\\example\u0026gt;attrib +R \u0026#34;1Read-only file.txt\u0026#34; c:\\example\u0026gt;attrib +A \u0026#34;2Archive file.txt\u0026#34; c:\\example\u0026gt;attrib +O \u0026#34;5Offline file.txt\u0026#34; c:\\example\u0026gt;attrib +I \u0026#34;6Not content indexed file.txt\u0026#34; c:\\example\u0026gt;attrib +X \u0026#34;7No scrub file.txt\u0026#34; c:\\example\u0026gt;attrib +P \u0026#34;8Pinned file.txt\u0026#34; c:\\example\u0026gt;attrib +U \u0026#34;9Unpinned file.txt\u0026#34; c:\\example\u0026gt;attrib A R C:\\example\\1Read-only file.txt A C:\\example\\2Archive file.txt A S C:\\example\\3System file.txt A H C:\\example\\4Hidden file.txt A O C:\\example\\5Offline file.txt A I C:\\example\\6Not content indexed file.txt A X C:\\example\\7No scrub file.txt A P C:\\example\\8Pinned file.txt A U C:\\example\\9Unpinned file.txt A C:\\example\\example.bat c:\\example\u0026gt;dir /b 1Read-only file.txt 2Archive file.txt 5Offline file.txt 6Not content indexed file.txt 7No scrub file.txt 8Pinned file.txt 9Unpinned file.txt example.bat c:\\example\u0026gt;del *txt c:\\example\\1Read-only file.txt アクセスが拒否されました。 c:\\example\u0026gt;dir /b 1Read-only file.txt example.bat c:\\example\u0026gt;attrib -R \u0026#34;1Read-only file.txt\u0026#34; c:\\example\u0026gt;attrib A C:\\example\\1Read-only file.txt A S C:\\example\\3System file.txt A H C:\\example\\4Hidden file.txt A C:\\example\\example.bat c:\\example\u0026gt;dir /b /a 1Read-only file.txt 3System file.txt 4Hidden file.txt example.bat c:\\example\u0026gt;del /a *txt c:\\example\u0026gt;dir /b /a example.bat Symbolic Link 管理者権限(Administrator)\r","date":"2019-12-07T09:09:33Z","permalink":"https://pen2.com/cmd/ja/attrib/","title":"attrib"},{"content":"ファイル比較ユーティリティ\ncomp C:\\Windows\\system32\\comp.exe /? Output:\n日本語\r2 つのファイルまたはファイル セットの内容を比較します。 COMP [データ1] [データ2] [/D] [/A] [/L] [/N=行数] [/C] [/OFF[LINE]] [/M] データ1 比較する最初のファイルの場所と名前を指定します。 データ2 比較する 2 番目のファイルの場所と名前を指定します。 /D 相違点を 10 進数で表示します。 /A 相違点を ASCII 文字で表示します。 /L 相違のある行の行番号を表示します。 /N=行数 各ファイルの先頭から指定された行数だけを比較します。 /C ファイルを比較するときに ASCII 文字の大文字と小文字を区別しません。 /OFF[LINE] オフライン属性が設定されたファイルをスキップしません。 /M その他のファイルを比較するメッセージを表示しません。 ファイル セットを比較するときは、データ1 パラメーターとデータ2 パラメーターでワイルドカードを使用します。 英語\rCompares the contents of two files or sets of files. COMP [data1] [data2] [/D] [/A] [/L] [/N=number] [/C] [/OFF[LINE]] [/M] data1 Specifies location and name(s) of first file(s) to compare. data2 Specifies location and name(s) of second files to compare. /D Displays differences in decimal format. /A Displays differences in ASCII characters. /L Displays line numbers for differences. /N=number Compares only the first specified number of lines in each file. /C Disregards case of ASCII letters when comparing files. /OFF[LINE] Do not skip files with offline attribute set. /M Do not prompt for compare more files. To compare sets of files, use wildcards in data1 and data2 parameters. Return Code: 2\n","date":"2019-12-07T09:09:33Z","permalink":"https://pen2.com/cmd/ja/comp/","title":"comp"},{"content":"DOS 5 ファイル比較ユーティリティ\nfc C:\\Windows\\system32\\fc.exe /? Output:\n日本語\r2 つのファイルまたはファイル セットを比較し、相違点を表示します。 FC [/A] [/C] [/L] [/LBn] [/N] [/OFF[LINE]] [/T] [/U] [/W] [/nnnn] [ドライブ1:][パス1]ファイル名1 [ドライブ2:][パス2]ファイル名2 FC /B [ドライブ1:][パス1]ファイル名1 [ドライブ2:][パス2]ファイル名2 /A 相違する各部分の 1 行目と最後の行だけを表示します。 /B バイナリの比較を実行します。 /C 英字の大文字と小文字を区別しません。 /L ファイルを ASCII テキストとして比較します。 /LBn 連続する最大不一致行を指定行数に設定します。 /N ASCII の比較で行番号を表示します。 /OFF[LINE] オフライン属性が設定されたファイルをスキップしません。 /T タブをスペースに変換しません。 /U Unicode テキスト ファイルとしてファイルを比較します。 /W 連続した空白 (タブとスペース) を 1 つのスペースに圧縮して比較 します。 /nnnn 不一致発見後に確認する、一致すべき連続行数を指定します。 [ドライブ1:][パス1]ファイル名1 比較する最初のファイルまたはファイル セットを指定します。 [ドライブ2:][パス2]ファイル名2 比較する 2 番目のファイルまたはファイル セットを指定します。 英語\rCompares two files or sets of files and displays the differences between them FC [/A] [/C] [/L] [/LBn] [/N] [/OFF[LINE]] [/T] [/U] [/W] [/nnnn] [drive1:][path1]filename1 [drive2:][path2]filename2 FC /B [drive1:][path1]filename1 [drive2:][path2]filename2 /A Displays only first and last lines for each set of differences. /B Performs a binary comparison. /C Disregards the case of letters. /L Compares files as ASCII text. /LBn Sets the maximum consecutive mismatches to the specified number of lines. /N Displays the line numbers on an ASCII comparison. /OFF[LINE] Do not skip files with offline attribute set. /T Does not expand tabs to spaces. /U Compare files as UNICODE text files. /W Compresses white space (tabs and spaces) for comparison. /nnnn Specifies the number of consecutive lines that must match after a mismatch. [drive1:][path1]filename1 Specifies the first file or set of files to compare. [drive2:][path2]filename2 Specifies the second file or set of files to compare. Return Code: 4294967295\n","date":"2019-12-07T09:09:33Z","permalink":"https://pen2.com/cmd/ja/fc/","title":"fc"},{"content":"文字列検索 (QGREP) ユーティリティ\nfindstr C:\\Windows\\system32\\findstr.exe /? Output:\n日本語\rファイルから文字列を検索します。 FINDSTR [/B] [/E] [/L] [/R] [/S] [/I] [/X] [/V] [/N] [/M] [/O] [/P] [/F:ファイル] [/C:文字列] [/G:ファイル] [/D:ディレクトリ一覧] [/A:色属性] [/OFF[LINE]] 文字列 [[ドライブ:][パス]ファイル名[ ...]] /B 行の先頭にあるパターンを検索します。 /E 行の末尾にあるパターンを検索します。 /L 検索文字列をリテラルとして使用します。 /R 検索文字列を正規表現として使用します。 /S 現在のディレクトリとすべてのサブディレクトリから一致する ファイルを検索します。 /I 検索するときに大文字と小文字を区別しません。 /X 完全に一致する行を出力します。 /V 一致しない行のみを出力します。 /N 一致する各行の前に行番号を出力します。 /M ファイルに一致する行があるときに、ファイル名のみを出力します。 /O 一致する各行の前に文字オフセットを出力します。 /P 印刷不可能な文字を含むファイルをスキップします。 /OFF[LINE] オフライン属性が設定されたファイルをスキップしません。 /A:属性 2 桁の 16 進数で色属性を指定します。\u0026#34;color /?\u0026#34; を参照してくだ さい。 /F:ファイル 指定したファイルからファイル一覧を読み取ります (/ を指定する とコンソール)。 /C:文字列 指定された文字列をリテラル検索文字列として使用します。 /G:ファイル 指定されたファイルから検索文字列を取得します (/ を指定する とコンソール)。 /D:ディレクトリ セミコロンで区切られた検索されるディレクトリ文字列テキストの 一覧を検索します。 [ドライブ:][パス]ファイル名 検索するファイルを指定します。 複数の文字列を検索する場合には、引数 /C を使わず、各文字列をスペースで区切り ます。 たとえば、FINDSTR \u0026#34;hello there\u0026#34; x.y と指定した場合は、ファイル x.y で \u0026#34;hello\u0026#34; または \u0026#34;there\u0026#34; が検索されます。 これに対して、FINDSTR /C:\u0026#34;hello there\u0026#34; x.y と指定した場合はファイル x.y で \u0026#34;hello there\u0026#34; が検索されます。 正規表現クイック リファレンス: . ワイルドカード: 任意の文字 * 繰り返し: ゼロ個以上の直前の文字またはクラス ^ 行位置: 行頭 $ 行位置: 行末 [class] 文字クラス: セットの任意の 1 文字 [^class] 逆クラス: セット以外の任意の 1 文字 [x-y] 範囲: 指定した範囲の任意の文字 \\x エスケープ: メタ文字 x のリテラル使用 \\\u0026lt;xyz 単語位置: 単語の先頭 xyz\\\u0026gt; 単語位置: 単語の終わり FINDSTR の詳細な正規表現に関しては、オンライン ヘルプのコマンド リファレンスを 参照してください。 英語\rSearches for strings in files. FINDSTR [/B] [/E] [/L] [/R] [/S] [/I] [/X] [/V] [/N] [/M] [/O] [/P] [/F:file] [/C:string] [/G:file] [/D:dir list] [/A:color attributes] [/OFF[LINE]] strings [[drive:][path]filename[ ...]] /B Matches pattern if at the beginning of a line. /E Matches pattern if at the end of a line. /L Uses search strings literally. /R Uses search strings as regular expressions. /S Searches for matching files in the current directory and all subdirectories. /I Specifies that the search is not to be case-sensitive. /X Prints lines that match exactly. /V Prints only lines that do not contain a match. /N Prints the line number before each line that matches. /M Prints only the filename if a file contains a match. /O Prints character offset before each matching line. /P Skip files with non-printable characters. /OFF[LINE] Do not skip files with offline attribute set. /A:attr Specifies color attribute with two hex digits. See \u0026#34;color /?\u0026#34; /F:file Reads file list from the specified file(/ stands for console). /C:string Uses specified string as a literal search string. /G:file Gets search strings from the specified file(/ stands for console). /D:dir Search a semicolon delimited list of directories strings Text to be searched for. [drive:][path]filename Specifies a file or files to search. Use spaces to separate multiple search strings unless the argument is prefixed with /C. For example, \u0026#39;FINDSTR \u0026#34;hello there\u0026#34; x.y\u0026#39; searches for \u0026#34;hello\u0026#34; or \u0026#34;there\u0026#34; in file x.y. \u0026#39;FINDSTR /C:\u0026#34;hello there\u0026#34; x.y\u0026#39; searches for \u0026#34;hello there\u0026#34; in file x.y. Regular expression quick reference: . Wildcard: any character * Repeat: zero or more occurrences of previous character or class ^ Line position: beginning of line $ Line position: end of line [class] Character class: any one character in set [^class] Inverse class: any one character not in set [x-y] Range: any characters within the specified range \\x Escape: literal use of metacharacter x \\\u0026lt;xyz Word position: beginning of word xyz\\\u0026gt; Word position: end of word For full information on FINDSTR regular expressions refer to the online Command Reference. Return Code: 0\n","date":"2019-12-07T09:09:33Z","permalink":"https://pen2.com/cmd/ja/findstr/","title":"findstr"},{"content":"fsutil.exe\nfsutil C:\\Windows\\system32\\fsutil.exe Output:\n日本語\r---- サポートされているコマンド ---- 8dot3name 8dot3name management behavior ファイル システムの動作の制御 dax DAX ボリュームの管理 dirty ボリュームの dirty ビットの管理 file ファイルに固有のコマンド fsInfo ファイル システム情報 hardlink ハードリンクの管理 objectID オブジェクト ID の管理 quota クォータの管理 repair 自己復旧の管理 reparsePoint 再解析ポイントの管理 storageReserve 記憶域予約の管理 resource トランザクション リソース マネージャーの管理 sparse スパース ファイルの管理 tiering 記憶域階層化プロパティの管理 transaction トランザクションの管理 usn USN の管理 volume ボリュームの管理 wim 透過的な wim ホスティングの管理 英語\r---- Commands Supported ---- 8dot3name 8dot3name management behavior Control file system behavior dax Dax volume management dirty Manage volume dirty bit file File specific commands fsInfo File system information hardlink Hardlink management objectID Object ID management quota Quota management repair Self healing management reparsePoint Reparse point management storageReserve Storage Reserve management resource Transactional Resource Manager management sparse Sparse file control tiering Storage tiering property management transaction Transaction management usn USN management volume Volume management wim Transparent wim hosting management Return Code: 0\n","date":"2019-12-07T09:09:33Z","permalink":"https://pen2.com/cmd/ja/fsutil/","title":"fsutil"},{"content":" icacls C:\\Windows\\system32\\icacls.exe /? Output:\n日本語\rICACLS \u0026lt;名前\u0026gt; /save \u0026lt;ACL ファイル\u0026gt; [/T] [/C] [/L] [/Q] 名前が一致するすべてのファイルとフォルダーの DACL を \u0026lt;ACL ファイル\u0026gt; に 格納して、後で /restore で指定できるようにします。SACL、所有者、整合性 ラベルは保存されません。 ICACLS \u0026lt;ディレクトリ\u0026gt; [/substitute \u0026lt;旧 SID\u0026gt; \u0026lt;新 SID\u0026gt; [...]] /restore \u0026lt;ACL ファ イル\u0026gt; [/C] [/L] [/Q] 格納されている DACL を \u0026lt;ディレクトリ\u0026gt; 内のファイルに適用します。 ICACLS \u0026lt;名前\u0026gt; /setowner \u0026lt;ユーザー\u0026gt; [/T] [/C] [/L] [/Q] すべての一致する名前の所有者を変更します。このオプションでは、所有権の 変更を強制することはできません。所有権を変更するには、takeown.exe ユーティリティを使用してください。 ICACLS \u0026lt;名前\u0026gt; /findsid \u0026lt;SID\u0026gt; [/T] [/C] [/L] [/Q] \u0026lt;SID\u0026gt; が明示されている ACL を含むすべての一致する名前を検索します。 ICACLS \u0026lt;名前\u0026gt; /verify [/T] [/C] [/L] [/Q] ACL が正規の形式ではないか長さが ACE 数と一致しないすべてのファイルを 検索します。 ICACLS \u0026lt;名前\u0026gt; /reset [/T] [/C] [/L] [/Q] すべての一致するファイルについて、ACL を継承された既定の ACL と置換します。 ICACLS \u0026lt;名前\u0026gt; [/grant[:r] \u0026lt;SID\u0026gt;:perm[...]] [/deny \u0026lt;SID\u0026gt;:perm [...]] [/remove[:g|:d]] \u0026lt;SID\u0026gt;[...]] [/T] [/C] [/L] [/Q] [/setintegritylevel Level:policy[...]] /grant[:r] \u0026lt;SID\u0026gt;:perm は、指定されたユーザー アクセス権を付与します。 :r を指定すると、以前に付与されたすべての明示的なアクセス許可は新しい アクセス許可に置き換えられます。 :r を指定しない場合、新しいアクセス許可は以前に付与された明示的な アクセス許可に追加されます。 /deny \u0026lt;SID\u0026gt;:perm は、指定されたユーザー アクセス権を明示的に拒否します。 指定されたアクセス許可に対応する明示的な拒否 ACE が追加され、明示的な 許可内容に含まれる同じアクセス許可は削除されます。 /remove[:[g|d]] \u0026lt;SID\u0026gt; は、ACL 内にあるすべての \u0026lt;SID\u0026gt; を削除します。 :g を指定すると、その SID に対して許可されたすべての権限を ACL から 削除します。 :d を指定すると、その SID に対して拒否されたすべての権限を ACL から 削除します。 /setintegritylevel [(CI)(OI)] レベルは、すべての一致するファイルに整合性 ACE を追加します。このレベルは次の 1 つとして指定されます。 L[ow] M[edium] H[igh] 整合性 ACE の継承オプションは、レベルの前に配置でき、 ディレクトリに対してのみ適用されます。 /inheritance:e|d|r e - 継承を有効にします。 d - 継承を無効にし、ACE をコピーします。 r - 継承された ACE をすべて削除します。 注意: \u0026lt;SID\u0026gt; は数値形式またはフレンドリ名形式で指定できます。数値形式の場合は、 SID の始めに * を付けます。 /T は、\u0026lt;名前\u0026gt; で指定されたディレクトリ以下のすべての一致するファイルと ディレクトリに対してこの処理が実行されることを指定します。 /C は、どのようなファイル エラーが発生してもこの処理が続行されることを 指定します。ただしエラー メッセージは表示されます。 /L は、この処理がターゲットではなくシンボリック リンク自体に対して実行 されることを指定します。 /Q は、icacls が成功のメッセージを抑制することを指定します。 ICACLS は、ACE エントリの正規の順序を維持します: 明示的な拒否内容 明示的な許可内容 継承された拒否内容 継承された許可内容 perm はアクセス許可マスクであり、次の 2 種類の方法で指定できます: 単純な権限を列挙: N - アクセス権なし F - フル アクセス権 M - 変更アクセス権 RX - 読み取りと実行のアクセス権 R - 読み取り専用アクセス権 W - 書き込み専用アクセス権 D - 削除アクセス権 特定の権限をコンマ区切りでかっこ内に列挙: DE - 削除 RC - 読み取り制御 WDAC - DAC の書き込み WO - 所有者の書き込み S - 同期 AS - システム セキュリティへのアクセス MA - 無制限 GR - 一般的な読み取り GW - 一般的な書き込み GE - 一般的な実行 GA - 一般的なすべての操作 RD - データの読み取り/ディレクトリの一覧表示 WD - データの書き込み/ファイルの追加 AD - データの追加/サブディレクトリの追加 REA - 拡張属性の読み取り WEA - 拡張属性の書き込み X - 実行/スキャン DC - 子の削除 RA - 属性の読み取り WA - 属性の書き込み 継承権限はどちらの形式の前にも配置でき、ディレクトリにのみ適用され ます: (OI) - オブジェクト継承 (CI) - コンテナー継承 (IO) - 継承のみ (NP) - 継承を適用しない (I) - 親コンテナーから継承した権限 例: icacls c:\\windows\\* /save \u0026lt;ACL ファイル\u0026gt; /T - c:\\windows より下にあるすべてのファイルとサブディレクトリの ACL を \u0026lt;ACL ファイル\u0026gt; に保存します。 icacls c:\\windows\\ /restore \u0026lt;ACL ファイル\u0026gt; - \u0026lt;ACL ファイル\u0026gt; 内のファイルのうち c:\\windows とそのサブディレクトリ 内に存在するすべてのファイルの ACL を復元します。 icacls \u0026lt;ファイル\u0026gt; /grant Administrator:(D,WDAC) - Administrator ユーザーに、\u0026lt;ファイル\u0026gt; に対する削除および DAC 書き込み のアクセス許可を与えます。 icacls \u0026lt;ファイル\u0026gt; /grant *S-1-1-0:(D,WDAC) - SID S-1-1-0 によって定義されたユーザーに、\u0026lt;ファイル\u0026gt; に対する削除 および DAC 書き込みのアクセス許可を与えます。 英語\rICACLS name /save aclfile [/T] [/C] [/L] [/Q] stores the DACLs for the files and folders that match the name into aclfile for later use with /restore. Note that SACLs, owner, or integrity labels are not saved. ICACLS directory [/substitute SidOld SidNew [...]] /restore aclfile [/C] [/L] [/Q] applies the stored DACLs to files in directory. ICACLS name /setowner user [/T] [/C] [/L] [/Q] changes the owner of all matching names. This option does not force a change of ownership; use the takeown.exe utility for that purpose. ICACLS name /findsid Sid [/T] [/C] [/L] [/Q] finds all matching names that contain an ACL explicitly mentioning Sid. ICACLS name /verify [/T] [/C] [/L] [/Q] finds all files whose ACL is not in canonical form or whose lengths are inconsistent with ACE counts. ICACLS name /reset [/T] [/C] [/L] [/Q] replaces ACLs with default inherited ACLs for all matching files. ICACLS name [/grant[:r] Sid:perm[...]] [/deny Sid:perm [...]] [/remove[:g|:d]] Sid[...]] [/T] [/C] [/L] [/Q] [/setintegritylevel Level:policy[...]] /grant[:r] Sid:perm grants the specified user access rights. With :r, the permissions replace any previously granted explicit permissions. Without :r, the permissions are added to any previously granted explicit permissions. /deny Sid:perm explicitly denies the specified user access rights. An explicit deny ACE is added for the stated permissions and the same permissions in any explicit grant are removed. /remove[:[g|d]] Sid removes all occurrences of Sid in the ACL. With :g, it removes all occurrences of granted rights to that Sid. With :d, it removes all occurrences of denied rights to that Sid. /setintegritylevel [(CI)(OI)]Level explicitly adds an integrity ACE to all matching files. The level is to be specified as one of: L[ow] M[edium] H[igh] Inheritance options for the integrity ACE may precede the level and are applied only to directories. /inheritance:e|d|r e - enables inheritance d - disables inheritance and copy the ACEs r - remove all inherited ACEs Note: Sids may be in either numerical or friendly name form. If a numerical form is given, affix a * to the start of the SID. /T indicates that this operation is performed on all matching files/directories below the directories specified in the name. /C indicates that this operation will continue on all file errors. Error messages will still be displayed. /L indicates that this operation is performed on a symbolic link itself versus its target. /Q indicates that icacls should suppress success messages. ICACLS preserves the canonical ordering of ACE entries: Explicit denials Explicit grants Inherited denials Inherited grants perm is a permission mask and can be specified in one of two forms: a sequence of simple rights: N - no access F - full access M - modify access RX - read and execute access R - read-only access W - write-only access D - delete access a comma-separated list in parentheses of specific rights: DE - delete RC - read control WDAC - write DAC WO - write owner S - synchronize AS - access system security MA - maximum allowed GR - generic read GW - generic write GE - generic execute GA - generic all RD - read data/list directory WD - write data/add file AD - append data/add subdirectory REA - read extended attributes WEA - write extended attributes X - execute/traverse DC - delete child RA - read attributes WA - write attributes inheritance rights may precede either form and are applied only to directories: (OI) - object inherit (CI) - container inherit (IO) - inherit only (NP) - don\u0026#39;t propagate inherit (I) - permission inherited from parent container Examples: icacls c:\\windows\\* /save AclFile /T - Will save the ACLs for all files under c:\\windows and its subdirectories to AclFile. icacls c:\\windows\\ /restore AclFile - Will restore the Acls for every file within AclFile that exists in c:\\windows and its subdirectories. icacls file /grant Administrator:(D,WDAC) - Will grant the user Administrator Delete and Write DAC permissions to file. icacls file /grant *S-1-1-0:(D,WDAC) - Will grant the user defined by sid S-1-1-0 Delete and Write DAC permissions to file. Return Code: 0\n","date":"2019-12-07T09:09:33Z","permalink":"https://pen2.com/cmd/ja/icacls/","title":"icacls"},{"content":"IP 構成ユーティリティ\nipconfig C:\\Windows\\system32\\ipconfig.exe /? Output:\n日本語\r使用法: ipconfig [/allcompartments] [/? | /all | /renew [adapter] | /release [adapter] | /renew6 [adapter] | /release6 [adapter] | /flushdns | /displaydns | /registerdns | /showclassid adapter | /setclassid adapter [classid] | /showclassid6 adapter | /setclassid6 adapter [classid] ] パラメーター adapter 接続名です。 (ワイルド カード文字 * と ? を使用できます。 例を参照してください) オプション: /? このヘルプ メッセージを表示します。 /all すべての構成情報を表示します。 /release 指定されたアダプターの IPv4 アドレスを解放します。 /release6 指定されたアダプターの IPv6 アドレスを解放します。 /renew 指定されたアダプターの IPv4 アドレスを更新します。 /renew6 指定されたアダプターの IPv6 アドレスを更新します。 /flushdns DNS リゾルバー キャッシュを破棄します。 /registerdns すべての DHCP リースを最新の情報に更新し、DNS 名 を再登録します。 /displaydns DNS リゾルバー キャッシュの内容を表示します。 /showclassid アダプターが使用できるすべての DHCP クラス ID を表示 します。 /setclassid DHCP クラス ID を変更します。 /showclassid6 アダプターに許可されたすべての IPv6 DHCP クラス ID を 表示します。 /setclassid6 IPv6 DHCP クラス ID を変更します。 既定では、TCP/IP にバインドされた各アダプターについて、IP アドレス、サブネット マスクとデフォルト ゲートウェイのみを表示します。 release と renew については、アダプター名が指定されていない場合は、TCP/IP にバインドされているすべてのアダプターの IP アドレス リースが解放または更新 されます。 Setclassid および Setclassid6 については、ClassId が指定されていない場合 ClassId は削除されます。 例: \u0026gt; ipconfig ... 情報を表示します。 \u0026gt; ipconfig /all ... 詳細な情報を表示します。 \u0026gt; ipconfig /renew ... すべてのアダプターを最新の情報に 更新します。 \u0026gt; ipconfig /renew EL* ... 名前が EL で始まる接続すべて を最新の情報に更新します。 \u0026gt; ipconfig /release *Con* ... 名前が一致する接続すべてを解放 します。 例: \u0026#34;Wired Ethernet Connection 1\u0026#34; または \u0026#34;Wired Ethernet Connection 2\u0026#34; \u0026gt; ipconfig /allcompartments ... すべてのコンパートメントの情報を 表示します。 \u0026gt; ipconfig /allcompartments /all ... すべてのコンパートメントの詳細な 情報を表示します。 英語\rUSAGE: ipconfig [/allcompartments] [/? | /all | /renew [adapter] | /release [adapter] | /renew6 [adapter] | /release6 [adapter] | /flushdns | /displaydns | /registerdns | /showclassid adapter | /setclassid adapter [classid] | /showclassid6 adapter | /setclassid6 adapter [classid] ] where adapter Connection name (wildcard characters * and ? allowed, see examples) Options: /? Display this help message /all Display full configuration information. /release Release the IPv4 address for the specified adapter. /release6 Release the IPv6 address for the specified adapter. /renew Renew the IPv4 address for the specified adapter. /renew6 Renew the IPv6 address for the specified adapter. /flushdns Purges the DNS Resolver cache. /registerdns Refreshes all DHCP leases and re-registers DNS names /displaydns Display the contents of the DNS Resolver Cache. /showclassid Displays all the dhcp class IDs allowed for adapter. /setclassid Modifies the dhcp class id. /showclassid6 Displays all the IPv6 DHCP class IDs allowed for adapter. /setclassid6 Modifies the IPv6 DHCP class id. The default is to display only the IP address, subnet mask and default gateway for each adapter bound to TCP/IP. For Release and Renew, if no adapter name is specified, then the IP address leases for all adapters bound to TCP/IP will be released or renewed. For Setclassid and Setclassid6, if no ClassId is specified, then the ClassId is removed. Examples: \u0026gt; ipconfig ... Show information \u0026gt; ipconfig /all ... Show detailed information \u0026gt; ipconfig /renew ... renew all adapters \u0026gt; ipconfig /renew EL* ... renew any connection that has its name starting with EL \u0026gt; ipconfig /release *Con* ... release all matching connections, eg. \u0026#34;Wired Ethernet Connection 1\u0026#34; or \u0026#34;Wired Ethernet Connection 2\u0026#34; \u0026gt; ipconfig /allcompartments ... Show information about all compartments \u0026gt; ipconfig /allcompartments /all ... Show detailed information about all compartments Return Code: 1\n","date":"2019-12-07T09:09:33Z","permalink":"https://pen2.com/cmd/ja/ipconfig/","title":"ipconfig"},{"content":"More Utility\nmore C:\\Windows\\system32\\more.com /? Output:\n日本語\r出力を一度に 1 画面ずつ表示します。 MORE [/E [/C] [/P] [/S] [/Tn] [+n]] \u0026lt; [ドライブ:][パス]ファイル名 コマンド名 | MORE [/E [/C] [/P] [/S] [/Tn] [+n]] MORE /E [/C] [/P] [/S] [/Tn] [+n] [ファイル] [ドライブ:][パス]ファイル名 一度に 1 画面ずつ表示するファイルを指定します。 コマンド名 出力を表示するコマンドを指定します。 /E 拡張機能を有効にします。 /C ページを表示する前に画面を消去します。 /P フォーム フィード文字を展開します。 /S 複数の空白行を 1 行に縮小します。 /Tn タブを n 個のスペースに置き換えます (既定値は 8 です)。 スイッチは MORE の環境変数として設定することが可能です。 +n 最初のファイルを n 行目から表示します。 ファイル 表示するファイルの一覧を指定します。ファイル名はスペースで 区切ってください。 拡張機能が利用できる場合、-- More -- プロンプトで以下のコマンドを 使用できます。 P n 次の n 行を表示します。 S n 次の n 行をスキップします。 F 次のファイルを表示します。 Q 終了します。 = 行番号を表示します。 ? ヘルプを表示します。 \u0026lt;space\u0026gt; 次ページを表示します。 \u0026lt;ret\u0026gt; 次の行を表示します。 英語\rDisplays output one screen at a time. MORE [/E [/C] [/P] [/S] [/Tn] [+n]] \u0026lt; [drive:][path]filename command-name | MORE [/E [/C] [/P] [/S] [/Tn] [+n]] MORE /E [/C] [/P] [/S] [/Tn] [+n] [files] [drive:][path]filename Specifies a file to display one screen at a time. command-name Specifies a command whose output will be displayed. /E Enable extended features /C Clear screen before displaying page /P Expand FormFeed characters /S Squeeze multiple blank lines into a single line /Tn Expand tabs to n spaces (default 8) Switches can be present in the MORE environment variable. +n Start displaying the first file at line n files List of files to be displayed. Files in the list are separated by blanks. If extended features are enabled, the following commands are accepted at the -- More -- prompt: P n Display next n lines S n Skip next n lines F Display next file Q Quit = Show line number ? Show help line \u0026lt;space\u0026gt; Display next page \u0026lt;ret\u0026gt; Display next line Return Code: 0\n","date":"2019-12-07T09:09:33Z","permalink":"https://pen2.com/cmd/ja/more/","title":"more"},{"content":"マウント ボリューム ユーティリティ\nmountvol C:\\Windows\\system32\\mountvol.exe /? Output:\n日本語\rボリューム マウント ポイントを作成、削除、一覧を表示します。 MOUNTVOL [ドライブ:]パス ボリューム名 MOUNTVOL [ドライブ:]パス /D MOUNTVOL [ドライブ:]パス /L MOUNTVOL [ドライブ:]パス /P MOUNTVOL /R MOUNTVOL /N MOUNTVOL /E MOUNTVOL drive: /S パス マウント ポイントを常駐させる既存の NTFS ディレクトリ を指定します ボリューム名 マウント ポイントのターゲットとなるボリューム名を指定しま す。 /D 指定されたディレクトリからボリューム マウント ポイント を削除します。 /L 指定されたディレクトリのマウントされているボリューム の一覧を表示します。 /P 指定されたディレクトリからボリューム マウント ポイントを削除 してボリュームをマウント解除し、ボリュームをマウントできな くします。 ボリューム マウント ポイントを作成して、もう一度ボリュームを マウントできるようにします。 /R システムに存在しないマウント ポイント ディレクトリとレジストリ 設定を削除します。 /N 新しいボリュームの自動マウントを無効にします。 /E 新しいボリュームの自動マウントを再び有効にします。 /S EFI システム パーティションを与えられたドライブにマウントします。 現在のマウント ポイントとボリューム名の考えられる値: \\\\?\\Volume{a53d1ee2-87e0-4b5c-8cab-af5540549f89}\\ C:\\ \\\\?\\Volume{da37ce66-0f1a-449c-9162-1482b064bd4b}\\ *** マウント ポイントなし *** \\\\?\\Volume{d5ba2815-de89-4d26-856a-474b6b570e8b}\\ *** マウント ポイントなし *** \\\\?\\Volume{034680da-3fb3-11ed-9bbb-806e6f6e6963}\\ D:\\ 英語\rCreates, deletes, or lists a volume mount point. MOUNTVOL [drive:]path VolumeName MOUNTVOL [drive:]path /D MOUNTVOL [drive:]path /L MOUNTVOL [drive:]path /P MOUNTVOL /R MOUNTVOL /N MOUNTVOL /E MOUNTVOL drive: /S path Specifies the existing NTFS directory where the mount point will reside. VolumeName Specifies the volume name that is the target of the mount point. /D Removes the volume mount point from the specified directory. /L Lists the mounted volume name for the specified directory. /P Removes the volume mount point from the specified directory, dismounts the volume, and makes the volume not mountable. You can make the volume mountable again by creating a volume mount point. /R Removes volume mount point directories and registry settings for volumes that are no longer in the system. /N Disables automatic mounting of new volumes. /E Re-enables automatic mounting of new volumes. /S Mount the EFI System Partition on the given drive. Possible values for VolumeName along with current mount points are: \\\\?\\Volume{722422e7-9891-446b-92f2-c40e32480b1d}\\ C:\\ \\\\?\\Volume{fe9b1951-0267-4944-9baa-aa06ec7fb023}\\ *** NO MOUNT POINTS *** \\\\?\\Volume{ac4a93b3-3ad2-4abf-8e1b-4bef42a8a330}\\ *** NO MOUNT POINTS *** \\\\?\\Volume{5ebe4af1-403f-11ed-a5d3-806e6f6e6963}\\ D:\\ Return Code: 0\n","date":"2019-12-07T09:09:33Z","permalink":"https://pen2.com/cmd/ja/mountvol/","title":"mountvol"},{"content":"Net Command\nnet C:\\Windows\\system32\\net.exe help Output:\n日本語\rこのコマンドの構文は次のとおりです: NET HELP コマンド または NET コマンド /HELP 使用可能なコマンドは次のとおりです。 NET ACCOUNTS NET HELPMSG NET STATISTICS NET COMPUTER NET LOCALGROUP NET STOP NET CONFIG NET PAUSE NET TIME NET CONTINUE NET SESSION NET USE NET FILE NET SHARE NET USER NET GROUP NET START NET VIEW NET HELP NET HELP NAMES は、NET HELP 構文行のさまざまな種類の名前について説明します。 NET HELP SERVICES は、開始できるサービスを一覧表示します。 NET HELP SYNTAX は、NET HELP 構文行の読み方を説明します。 「NET HELP コマンド | MORE」と入力すると、ヘルプが一度に 1 画面ずつ表示 されます。 英語\rThe syntax of this command is: NET HELP command -or- NET command /HELP Commands available are: NET ACCOUNTS NET HELPMSG NET STATISTICS NET COMPUTER NET LOCALGROUP NET STOP NET CONFIG NET PAUSE NET TIME NET CONTINUE NET SESSION NET USE NET FILE NET SHARE NET USER NET GROUP NET START NET VIEW NET HELP NET HELP NAMES explains different types of names in NET HELP syntax lines. NET HELP SERVICES lists some of the services you can start. NET HELP SYNTAX explains how to read NET HELP syntax lines. NET HELP command | MORE displays Help one screen at a time. Return Code: 1\nnet SERVICES C:\\Windows\\system32\\net.exe HELP SERVICES Output:\n日本語\rこのコマンドの構文は次のとおりです: SERVICES NET START を使用して、次のサービスを開始できます。 NET START BROWSER NET START DHCP CLIENT NET START EVENTLOG NET START FILE REPLICATION NET START NETLOGON NET START PLUG AND PLAY NET START REMOTE ACCESS CONNECTION MANAGER NET START ROUTING AND REMOTE ACCESS NET START RPCSS NET START SCHEDULE NET START SERVER NET START SPOOLER NET START TCP/IP NETBIOS HELPER NET START UPS NET START WORKSTATION コマンド プロンプトで入力するときに、2 語以上で構成されるサービス名は 二重引用符で囲む必要があります。たとえば、「NET START \u0026#34;DHCP Client\u0026#34;」と入力 すると、DHCP クライアント サービスを開始します。 英語\rThe syntax of this command is: SERVICES NET START can be used to start services, including: NET START BROWSER NET START DHCP CLIENT NET START EVENTLOG NET START FILE REPLICATION NET START NETLOGON NET START PLUG AND PLAY NET START REMOTE ACCESS CONNECTION MANAGER NET START ROUTING AND REMOTE ACCESS NET START RPCSS NET START SCHEDULE NET START SERVER NET START SPOOLER NET START TCP/IP NETBIOS HELPER NET START UPS NET START WORKSTATION When typed at the command prompt, service names of two words or more must be enclosed in quotation marks. For example, NET START \u0026#34;DHCP Client\u0026#34; starts the DHCP Client service. Return Code: 1\n","date":"2019-12-07T09:09:33Z","permalink":"https://pen2.com/cmd/ja/net/","title":"net"},{"content":"ネットワーク コマンド シェル\nnetsh C:\\Windows\\system32\\netsh.exe help Output:\n日本語\r使用できるコマンドは次のとおりです: このコンテキストのコマンド: ? - コマンドの一覧を表示します。 add - エントリの一覧に構成エントリを追加します。 advfirewall - \u0026#39;netsh advfirewall\u0026#39; コンテキストに変更します。 branchcache - \u0026#39;netsh branchcache\u0026#39; コンテキストに変更します。 bridge - \u0026#39;netsh bridge\u0026#39; コンテキストに変更します。 delete - エントリの一覧から構成エントリを削除します。 dhcpclient - \u0026#39;netsh dhcpclient\u0026#39; コンテキストに変更します。 dnsclient - \u0026#39;netsh dnsclient\u0026#39; コンテキストに変更します。 dump - 構成スクリプトを表示します。 exec - スクリプト ファイルを実行します。 firewall - \u0026#39;netsh firewall\u0026#39; コンテキストに変更します。 help - コマンドの一覧を表示します。 http - \u0026#39;netsh http\u0026#39; コンテキストに変更します。 interface - \u0026#39;netsh interface\u0026#39; コンテキストに変更します。 ipsec - \u0026#39;netsh ipsec\u0026#39; コンテキストに変更します。 lan - \u0026#39;netsh lan\u0026#39; コンテキストに変更します。 mbn - \u0026#39;netsh mbn\u0026#39; コンテキストに変更します。 namespace - \u0026#39;netsh namespace\u0026#39; コンテキストに変更します。 netio - \u0026#39;netsh netio\u0026#39; コンテキストに変更します。 p2p - \u0026#39;netsh p2p\u0026#39; コンテキストに変更します。 ras - \u0026#39;netsh ras\u0026#39; コンテキストに変更します。 rpc - \u0026#39;netsh rpc\u0026#39; コンテキストに変更します。 set - 構成の設定を更新します。 show - 情報を表示します。 trace - \u0026#39;netsh trace\u0026#39; コンテキストに変更します。 wcn - \u0026#39;netsh wcn\u0026#39; コンテキストに変更します。 wfp - \u0026#39;netsh wfp\u0026#39; コンテキストに変更します。 winhttp - \u0026#39;netsh winhttp\u0026#39; コンテキストに変更します。 winsock - \u0026#39;netsh winsock\u0026#39; コンテキストに変更します。 wlan - \u0026#39;netsh wlan\u0026#39; コンテキストに変更します。 利用できるサブコンテキストは次のとおりです: advfirewall branchcache bridge dhcpclient dnsclient firewall http interface ipsec lan mbn namespace netio p2p ras rpc trace wcn wfp winhttp winsock wlan コマンドのヘルプを表示するには、コマンドの後にスペースを入れ、 ? と入力してください。 英語\rThe following commands are available: Commands in this context: ? - Displays a list of commands. add - Adds a configuration entry to a list of entries. advfirewall - Changes to the `netsh advfirewall\u0026#39; context. branchcache - Changes to the `netsh branchcache\u0026#39; context. bridge - Changes to the `netsh bridge\u0026#39; context. delete - Deletes a configuration entry from a list of entries. dhcpclient - Changes to the `netsh dhcpclient\u0026#39; context. dnsclient - Changes to the `netsh dnsclient\u0026#39; context. dump - Displays a configuration script. exec - Runs a script file. firewall - Changes to the `netsh firewall\u0026#39; context. help - Displays a list of commands. http - Changes to the `netsh http\u0026#39; context. interface - Changes to the `netsh interface\u0026#39; context. ipsec - Changes to the `netsh ipsec\u0026#39; context. lan - Changes to the `netsh lan\u0026#39; context. mbn - Changes to the `netsh mbn\u0026#39; context. namespace - Changes to the `netsh namespace\u0026#39; context. netio - Changes to the `netsh netio\u0026#39; context. p2p - Changes to the `netsh p2p\u0026#39; context. ras - Changes to the `netsh ras\u0026#39; context. rpc - Changes to the `netsh rpc\u0026#39; context. set - Updates configuration settings. show - Displays information. trace - Changes to the `netsh trace\u0026#39; context. wcn - Changes to the `netsh wcn\u0026#39; context. wfp - Changes to the `netsh wfp\u0026#39; context. winhttp - Changes to the `netsh winhttp\u0026#39; context. winsock - Changes to the `netsh winsock\u0026#39; context. wlan - Changes to the `netsh wlan\u0026#39; context. The following sub-contexts are available: advfirewall branchcache bridge dhcpclient dnsclient firewall http interface ipsec lan mbn namespace netio p2p ras rpc trace wcn wfp winhttp winsock wlan To view help for a command, type the command, followed by a space, and then type ?. Return Code: 0\n","date":"2019-12-07T09:09:33Z","permalink":"https://pen2.com/cmd/ja/netsh/","title":"netsh"},{"content":"TCP/IP PathPing コマンド\npathping C:\\Windows\\system32\\PATHPING.EXE /? Output:\n日本語\r使用法: pathping [-g host-list] [-h maximum_hops] [-i address] [-n] [-p period] [-q num_queries] [-w timeout] [-4] [-6] target_name オプション: -g host-list host-list で指定された緩やかなソース ルートを使用します。 -h maximum_hops ターゲットを検索するときの最大ホップ数です。 -i address 指定された送信元アドレスを使用します。 -n アドレスをホスト名に解決しません。 -p period 次の ping まで period ミリ秒待ちます。 -q num_queries ホップごとのクエリ数です。 -w timeout timeout ミリ秒間、応答を待ちます。 -4 IPv4 の使用を強制します。 -6 IPv6 の使用を強制します。 英語\rUsage: pathping [-g host-list] [-h maximum_hops] [-i address] [-n] [-p period] [-q num_queries] [-w timeout] [-4] [-6] target_name Options: -g host-list Loose source route along host-list. -h maximum_hops Maximum number of hops to search for target. -i address Use the specified source address. -n Do not resolve addresses to hostnames. -p period Wait period milliseconds between pings. -q num_queries Number of queries per hop. -w timeout Wait timeout milliseconds for each reply. -4 Force using IPv4. -6 Force using IPv6. Return Code: 1\n","date":"2019-12-07T09:09:33Z","permalink":"https://pen2.com/cmd/ja/pathping/","title":"pathping"},{"content":"TCP/IP Ping コマンド\nping C:\\Windows\\system32\\PING.EXE /? Output:\n日本語\r使用法: ping [-t] [-a] [-n 要求数] [-l サイズ] [-f] [-i TTL] [-v TOS] [-r ホップ数] [-s ホップ数] [[-j ホスト一覧] | [-k ホスト一覧]] [-w タイムアウト] [-R] [-S ソースアドレス] [-c コンパートメント] [-p] [-4] [-6] ターゲット名 オプション: -t 中断されるまで、指定されたホストを Ping します。 統計を表示して続行するには、Ctrl+Break を押してください。 停止するには、Ctrl+C を押してください。 -a アドレスをホスト名に解決します。 -n 要求数 送信するエコー要求の数です。 -l サイズ 送信バッファーのサイズです。 -f パケット内の Don\u0026#39;t Fragment フラグを設定します (IPv4 のみ)。 -i TTL Time To Live です。 -v TOS Type Of Service (IPv4 のみ。この設定はもう使用されておらず、 IP ヘッダー内のサービス フィールドの種類に影響しません)。 -r ホップ数 指定したホップ数のルートを記録します (IPv4 のみ)。 -s ホップ数 指定したホップ数のタイムスタンプを表示します (IPv4 のみ)。 -j ホスト一覧 一覧で指定された緩やかなソース ルートを使用します (IPv4 のみ)。 -k ホスト一覧 一覧で指定された厳密なソース ルートを使用します (IPv4 のみ)。 -w タイムアウト 応答を待つタイムアウトの時間 (ミリ秒) です。 -R ルーティング ヘッダーを使用して逆ルートもテストします (IPv6 のみ)。 RFC 5095 では、このルーティング ヘッダーは使用されなくなり ました。このヘッダーが使用されているとエコー要求がドロップ されるシステムもあります。 -S ソースアドレス 使用するソース アドレスです。 -c コンパートメント ルーティング コンパートメント識別子です。 -p Hyper-V ネットワーク仮想化プロバイダー アドレスを ping します。 -4 IPv4 の使用を強制します。 -6 IPv6 の使用を強制します。 英語\rUsage: ping [-t] [-a] [-n count] [-l size] [-f] [-i TTL] [-v TOS] [-r count] [-s count] [[-j host-list] | [-k host-list]] [-w timeout] [-R] [-S srcaddr] [-c compartment] [-p] [-4] [-6] target_name Options: -t Ping the specified host until stopped. To see statistics and continue - type Control-Break; To stop - type Control-C. -a Resolve addresses to hostnames. -n count Number of echo requests to send. -l size Send buffer size. -f Set Don\u0026#39;t Fragment flag in packet (IPv4-only). -i TTL Time To Live. -v TOS Type Of Service (IPv4-only. This setting has been deprecated and has no effect on the type of service field in the IP Header). -r count Record route for count hops (IPv4-only). -s count Timestamp for count hops (IPv4-only). -j host-list Loose source route along host-list (IPv4-only). -k host-list Strict source route along host-list (IPv4-only). -w timeout Timeout in milliseconds to wait for each reply. -R Use routing header to test reverse route also (IPv6-only). Per RFC 5095 the use of this routing header has been deprecated. Some systems may drop echo requests if this header is used. -S srcaddr Source address to use. -c compartment Routing compartment identifier. -p Ping a Hyper-V Network Virtualization provider address. -4 Force using IPv4. -6 Force using IPv6. Return Code: 0\n","date":"2019-12-07T09:09:33Z","permalink":"https://pen2.com/cmd/ja/ping/","title":"ping"},{"content":"ファイルの回復ユーティリティ\nrecover C:\\Windows\\system32\\recover.exe /? Output:\n日本語\r問題のあるディスクから読み取り可能なデータを回復します。 RECOVER [ドライブ:][パス]ファイル名 RECOVER コマンドを使用する前に、Windows オンライン ヘルプのコマンド リファレンスを参照してください。 英語\rRecovers readable information from a bad or defective disk. RECOVER [drive:][path]filename Consult the online Command Reference in Windows Help before using the RECOVER command. Return Code: 0\n","date":"2019-12-07T09:09:33Z","permalink":"https://pen2.com/cmd/ja/recover/","title":"recover"},{"content":"レジストリ コンソール ツール\nreg C:\\Windows\\system32\\reg.exe /? Output:\n日本語\rREG 操作 [パラメーターの一覧] 操作 [ QUERY | ADD | DELETE | COPY | SAVE | LOAD | UNLOAD | RESTORE | COMPARE | EXPORT | IMPORT | FLAGS ] リターン コード: (例外: REG COMPARE) 0 - 成功 1 - 失敗 特定の操作のヘルプについては、次のように入力してください: REG 操作 /? 例: REG QUERY /? REG ADD /? REG DELETE /? REG COPY /? REG SAVE /? REG RESTORE /? REG LOAD /? REG UNLOAD /? REG COMPARE /? REG EXPORT /? REG IMPORT /? REG FLAGS /? 英語\rREG Operation [Parameter List] Operation [ QUERY | ADD | DELETE | COPY | SAVE | LOAD | UNLOAD | RESTORE | COMPARE | EXPORT | IMPORT | FLAGS ] Return Code: (Except for REG COMPARE) 0 - Successful 1 - Failed For help on a specific operation type: REG Operation /? Examples: REG QUERY /? REG ADD /? REG DELETE /? REG COPY /? REG SAVE /? REG RESTORE /? REG LOAD /? REG UNLOAD /? REG COMPARE /? REG EXPORT /? REG IMPORT /? REG FLAGS /? Return Code: 0\n","date":"2019-12-07T09:09:33Z","permalink":"https://pen2.com/cmd/ja/reg/","title":"reg"},{"content":"TCP/IP Traceroute コマンド\ntracert C:\\Windows\\system32\\TRACERT.EXE /? Output:\n日本語\r使用法: tracert [-d] [-h maximum_hops] [-j host-list] [-w timeout] [-w timeout] [-R] [-S srcaddr] [-4] [-6] target_name オプション: -d アドレスをホスト名に解決しません。 -h maximum_hops ターゲットを検索するときの最大ホップ数です。 -j host-list host-list で指定された緩やかなソース ルートを使用します (IPv4 のみ)。 -w timeout timeout ミリ秒間、応答を待ちます。 -R 往復のパスをトレースします (IPv6 のみ)。 -S srcaddr 使用するソース アドレスです (IPv6 のみ)。 -4 IPv4 の使用を強制します。 -6 IPv6 の使用を強制します。 英語\rUsage: tracert [-d] [-h maximum_hops] [-j host-list] [-w timeout] [-R] [-S srcaddr] [-4] [-6] target_name Options: -d Do not resolve addresses to hostnames. -h maximum_hops Maximum number of hops to search for target. -j host-list Loose source route along host-list (IPv4-only). -w timeout Wait timeout milliseconds for each reply. -R Trace round-trip path (IPv6-only). -S srcaddr Source address to use (IPv6-only). -4 Force using IPv4. -6 Force using IPv6. Return Code: 1\n","date":"2019-12-07T09:09:33Z","permalink":"https://pen2.com/cmd/ja/tracert/","title":"tracert"},{"content":"資格情報マネージャー コマンド ライン ユーティリティ\ncmdkey C:\\Windows\\system32\\cmdkey.exe /? Output:\n日本語\r保存されたユーザー名とパスワードの作成、表示、および削除を行います。 このコマンドの構文: CMDKEY [{/add | /generic}:ターゲット名 {/smartcard | /user:ユーザー名 {/pass{:パスワード}}} | /delete{:ターゲット名 | /ras} | /list{:ターゲット名}] 例: 利用できる資格情報を表示するためのコマンドは次のとおりです: cmdkey /list cmdkey /list:ターゲット名 ドメイン資格情報を作成するためのコマンドは次のとおりです: cmdkey /add:ターゲット名 /user:ユーザー名 /pass:パスワード cmdkey /add:ターゲット名 /user:ユーザー名 /pass cmdkey /add:ターゲット名 /user:ユーザー名 cmdkey /add:ターゲット名 /smartcard 汎用資格情報を作成するためのコマンドは次のとおりです: 汎用資格情報を作成するには /add スイッチを /generic で置き換えることができ ます 既存の資格情報を削除するためのコマンドは次のとおりです: cmdkey /delete:ターゲット名 RAS 資格情報を削除するためのコマンドは次のとおりです: cmdkey /delete /ras 英語\rCreates, displays, and deletes stored user names and passwords. The syntax of this command is: CMDKEY [{/add | /generic}:targetname {/smartcard | /user:username {/pass{:password}}} | /delete{:targetname | /ras} | /list{:targetname}] Examples: To list available credentials: cmdkey /list cmdkey /list:targetname To create domain credentials: cmdkey /add:targetname /user:username /pass:password cmdkey /add:targetname /user:username /pass cmdkey /add:targetname /user:username cmdkey /add:targetname /smartcard To create generic credentials: The /add switch may be replaced by /generic to create generic credentials To delete existing credentials: cmdkey /delete:targetname To delete RAS credentials: cmdkey /delete /ras Return Code: 1\n","date":"2019-12-07T09:09:09Z","permalink":"https://pen2.com/cmd/ja/cmdkey/","title":"cmdkey"},{"content":"TPM 仮想スマートカード セットアップ ユーティリティ\ntpmvscmgr C:\\Windows\\system32\\tpmvscmgr.exe /? STDERR:\nJa\rTpmVscMgr.exe コマンド: create [/quiet] /name \u0026lt;名前\u0026gt; /adminkey \u0026#39;PROMPT\u0026#39;|\u0026#39;DEFAULT\u0026#39;|\u0026#39;RANDOM\u0026#39; [/puk \u0026#39;PROMPT\u0026#39;|\u0026#39;DEFAULT\u0026#39;] /pin \u0026#39;PROMPT\u0026#39;|\u0026#39;DEFAULT\u0026#39; [/generate] [/machine \u0026lt;コンピューター名\u0026gt;] [/pinpolicy [ポリシー オプション]] ポリシー オプション: minlen \u0026lt;PIN の最小の長さ\u0026gt; maxlen \u0026lt;PIN の最大の長さ\u0026gt; uppercase \u0026#39;ALLOWED\u0026#39;|\u0026#39;DISALLOWED\u0026#39;|\u0026#39;REQUIRED\u0026#39; lowercase \u0026#39;ALLOWED\u0026#39;|\u0026#39;DISALLOWED\u0026#39;|\u0026#39;REQUIRED\u0026#39; digits \u0026#39;ALLOWED\u0026#39;|\u0026#39;DISALLOWED\u0026#39;|\u0026#39;REQUIRED\u0026#39; specialchars \u0026#39;ALLOWED\u0026#39;|\u0026#39;DISALLOWED\u0026#39;|\u0026#39;REQUIRED\u0026#39; [/attestation \u0026#39;AIK_AND_CERT\u0026#39;|\u0026#39;AIK_ONLY\u0026#39;] destroy [/quiet] /instance \u0026lt;デバイス インスタンス ID\u0026gt; [/machine \u0026lt;コンピューター名\u0026gt;] 凡例: \u0026#39;PROMPT\u0026#39; =\u0026gt; パラメーターのプロンプト \u0026#39;DEFAULT\u0026#39; =\u0026gt; パラメーターの既定値 \u0026#39;RANDOM\u0026#39; =\u0026gt; ランダムな値の生成 \u0026#39;ALLOWED\u0026#39; =\u0026gt; これらの文字が許可される \u0026#39;DISALLOWED\u0026#39; =\u0026gt; これらの文字は許可されない \u0026#39;REQUIRED\u0026#39; =\u0026gt; これらの文字を少なくとも 1 文字 含める必要がある \u0026#39;AIK_AND_CERT\u0026#39; =\u0026gt; AIK を作成し、クラウド CA から AIK 証明書を取得する \u0026#39;AIK_ONLY\u0026#39; =\u0026gt; AIK を作成するが、 AIK 証明書は作成しない メモ: generate コマンドは、TPM 仮想スマート カードを証明書の登録に使用できるように フォーマットします。このオプションを指定 しない場合は、カードを初めて使用する前に、 カード管理システム/ツールを使用して カードをフォーマットする必要があります。 メモ: /pinpolicy は /pin プロンプトと組み合わせて 使用する必要があります。 メモ: 既定の PIN ポリシー オプションは次の とおりです: minlen 8 maxlen 127 uppercase allowed lowercase allowed digits allowed specialchars allowed PIN の長さの下限は 4、上限は 127 です。 /pinpolicy を使用するときには、PIN には 印字可能な ASCII 文字のみを指定する 必要があります。 メモ: \u0026#39;/attestation AIK_AND_CERT\u0026#39; を指定した場合は、 ネットワーク接続がないと VSC の作成に失敗する 可能性があります。 例: 既定値の PIN とランダムな管理キーを使用して、構成証明なしで TPM 仮想スマート カードを作成 TpmVscMgr create /name MyVSC /pin default /adminkey random /generate 既定値の管理者キーを使用し、PIN ポリシーと構成証明メソッドを指定して TPM 仮想スマート カードを作成 TpmVscMgr create /name MyVSC /pin prompt /pinpolicy minlen 4 maxlen 8 /adminkey default /attestation AIK_AND_CERT /generate カードを作成したときに返されたインスタンス ID を 使用して、TPM 仮想スマート カードを破棄 TpmVscMgr destroy /instance root\\smartcardreader\\0000 En\rTpmVscMgr.exe Commands: create [/quiet] /name \u0026lt;name\u0026gt; /adminkey \u0026#39;PROMPT\u0026#39;|\u0026#39;DEFAULT\u0026#39;|\u0026#39;RANDOM\u0026#39; [/puk \u0026#39;PROMPT\u0026#39;|\u0026#39;DEFAULT\u0026#39;] /pin \u0026#39;PROMPT\u0026#39;|\u0026#39;DEFAULT\u0026#39; [/generate] [/machine \u0026lt;machine name\u0026gt;] [/pinpolicy [policy options]] policy options: minlen \u0026lt;minimum PIN length\u0026gt; maxlen \u0026lt;maximum PIN length\u0026gt; uppercase \u0026#39;ALLOWED\u0026#39;|\u0026#39;DISALLOWED\u0026#39;|\u0026#39;REQUIRED\u0026#39; lowercase \u0026#39;ALLOWED\u0026#39;|\u0026#39;DISALLOWED\u0026#39;|\u0026#39;REQUIRED\u0026#39; digits \u0026#39;ALLOWED\u0026#39;|\u0026#39;DISALLOWED\u0026#39;|\u0026#39;REQUIRED\u0026#39; specialchars \u0026#39;ALLOWED\u0026#39;|\u0026#39;DISALLOWED\u0026#39;|\u0026#39;REQUIRED\u0026#39; [/attestation \u0026#39;AIK_AND_CERT\u0026#39;|\u0026#39;AIK_ONLY\u0026#39;] destroy [/quiet] /instance \u0026lt;device instance ID\u0026gt; [/machine \u0026lt;machine name\u0026gt;] Legend: \u0026#39;PROMPT\u0026#39; =\u0026gt; prompt for parameter \u0026#39;DEFAULT\u0026#39; =\u0026gt; default value for parameter \u0026#39;RANDOM\u0026#39; =\u0026gt; generate a random value \u0026#39;ALLOWED\u0026#39; =\u0026gt; these characters are allowed \u0026#39;DISALLOWED\u0026#39; =\u0026gt; these characters are not allowed \u0026#39;REQUIRED\u0026#39; =\u0026gt; at least one such character is required \u0026#39;AIK_AND_CERT\u0026#39; =\u0026gt; Creates an AIK and obtains an AIK certificate from the cloud CA \u0026#39;AIK_ONLY\u0026#39; =\u0026gt; Creates an AIK but does not obtain an AIK certificate Note: The generate command formats the TPM virtual smart card so that it can be used to enroll for certificates. If this option is not specified, a card management system/tool will need to be used to format the card before first use. Note: /pinpolicy may only be used in conjunction with /pin prompt. Note: The default PIN policy options are as follows: minlen 8 maxlen 127 uppercase allowed lowercase allowed digits allowed specialchars allowed The lower and upper bounds on PIN length are 4 and 127, respectively. When using /pinpolicy, PIN characters must be printable ASCII characters. Note: If \u0026#39;/attestation AIK_AND_CERT\u0026#39; is specified, it is possible that VSC creation will fail if there is no network connectivity. Examples: Create a TPM virtual smart card with default value for PIN and a random admin key with no attestation: TpmVscMgr create /name MyVSC /pin default /adminkey random /generate Create a TPM virtual smart card with default value for admin key and a specified PIN policy and attestation method: TpmVscMgr create /name MyVSC /pin prompt /pinpolicy minlen 4 maxlen 8 /adminkey default /attestation AIK_AND_CERT /generate Destroy a TPM virtual smart card using the instance ID that was returned when the card was created: TpmVscMgr destroy /instance root\\smartcardreader\\0000 Return Code: 0\n","date":"2019-12-07T09:09:09Z","permalink":"https://pen2.com/cmd/ja/tpmvscmgr/","title":"tpmvscmgr"},{"content":"Microsoft 接続マネージャー プロファイル インストーラー\ncmstp C:\\Windows\\system32\\cmstp.exe /? Output:\n日本語\r--------------------------- 接続マネージャー プロファイル インストール プログラム --------------------------- モード: プロファイルのインストール -- cmstp.exe [/ni /ns /nf /s /su /sd /au] \u0026lt;プロファイル Inf への完全なパス\u0026gt; プロファイルのアンインストール -- cmstp.exe /u [/s] \u0026lt;プロファイル Inf への完全なパス\u0026gt; ヘルプ -- cmstp.exe /? Inf ファイルへの長いパスは、二重引用符 (\u0026#34;) で囲みます。 インストールの修飾子: /ns\tデスクトップ ショートカットなし /nf\tサポート ファイルの従属関係の確認を省略する /s\tサイレント インストール /su\t単一ユーザーのインストール /sd\tこの接続を IE の既定の接続として設定する /au\tすべてのユーザーのインストール アンインストールの修飾子: /s\tアンインストールの確認を表示しない cmstp.exe の使用法についての詳細は、接続マネージャー管理キットの マニュアルを参照してください。 --------------------------- OK --------------------------- 英語\r--------------------------- Connection Manager Profile Installer --------------------------- Modes: Profile Install -- cmstp.exe [/ni /ns /nf /s /su /sd /au] \u0026lt;Full Path to Profile Inf\u0026gt; Profile Uninstall -- cmstp.exe /u [/s] \u0026lt;Full Path to Profile Inf\u0026gt; Help -- cmstp.exe /? Long Paths to Inf Files must be enclosed in double quotes (\u0026#34;). Install Modifiers: /ns\tNo Desktop Shortcut /nf\tSkip Support File Dependency Check /s\tSilent Install /su\tSingle User Install /sd\tSet this connection as the IE default connection /au\tAll User Install (Administrators only) Uninstall Modifiers: /s\tNo Uninstall Confirmation Prompt Please see the Connection Manager Administration Kit documentation for further details about the usage of cmstp.exe. --------------------------- OK --------------------------- Return Code: 1\n","date":"2019-12-07T09:09:07Z","permalink":"https://pen2.com/cmd/ja/cmstp/","title":"cmstp"},{"content":"リモート アクセス電話帳\nrasphone C:\\Windows\\system32\\rasphone.exe /? Output:\n日本語\r--------------------------- ダイヤルアップ ネットワーク コマンド ライン --------------------------- rasphone.exe [-f ファイル] [[-e | -d | -h | -r] エントリ] rasphone.exe [-f ファイル] -a [エントリ] rasphone.exe [-f ファイル] -lx リンク rasphone.exe -a\t新しいエントリ ダイアログをポップアップする -e\tエントリの編集ダイアログをポップアップする -d\tエントリのダイヤル ダイアログをポップアップする -h\tエントリを切断するときにメッセージを表示しない -r\tエントリを削除するときにメッセージを表示しない -lx\tダイヤルアップ ショートカット ファイルに対してコマンド \u0026#39;x\u0026#39; を実行する x\tコマンド a、e、d、h、または r のいずれか エントリ\t操作を実行するエントリの名前 ファイル\t電話帳ファイルへの完全なパス リンク\tダイヤルアップ ショートカット ファイルへの完全なパス \u0026#39;エントリ\u0026#39; だけを指定すると、電話帳ダイアログ内でそのエントリが選択されます。 --------------------------- OK --------------------------- 英語\r--------------------------- Dial-Up Networking Command Line --------------------------- rasphone.exe [-f file] [[-e | -d | -h | -r] entry] rasphone.exe [-f file] -a [entry] rasphone.exe [-f file] -lx link rasphone.exe -a\tPopup new entry dialogs -e\tPopup edit entry dialogs -d\tPopup dial entry dialogs -h\tQuietly hang up the entry -r\tQuietly delete the entry -lx\tExecute command \u0026#39;x\u0026#39; on dial-up shortcut file x\tAny of the commands a, e, d, h, or r entry\tThe entry name to which the operation applies file\tThe full path to the phonebook file link\tThe full path to the dial-up shortcut file \u0026#39;entry\u0026#39; alone selects the entry in the phonebook dialog --------------------------- OK --------------------------- Return Code: 1\n","date":"2019-12-07T09:09:07Z","permalink":"https://pen2.com/cmd/ja/rasphone/","title":"rasphone"},{"content":"再起動マネージャー LUA 再起動クライアント\nrmclient C:\\Windows\\system32\\RmClient.exe /? Output:\nRmClient.exe pipename Return Code: 3489398788\n","date":"2019-12-07T09:09:07Z","permalink":"https://pen2.com/cmd/ja/rmclient/","title":"rmclient"},{"content":"Windows セキュリティ構成エディター コマンド ツール\nsecedit C:\\Windows\\system32\\SecEdit.exe /? Output:\n日本語\rこのコマンドの構文は次のとおりです: secedit [/configure | /analyze | /import | /export | /validate | /generaterollback] 英語\rThe syntax of this command is: secedit [/configure | /analyze | /import | /export | /validate | /generaterollback] Return Code: 0\nsecedit 管理者権限(Administrator)\rC:\\Windows\\system32\\SecEdit.exe /analyze Output:\n日本語\r現在のシステムの設定をデータベースに保存されているベースラインの設定と照らしあわせて分析することができます。分析結果はデータベースの別の領域に保存され、セキュリティの構成と分析スナップインで参照できます。 このコマンドの構文は次のとおりです: secedit /analyze /db ファイル名 [/cfg ファイル名 ] [/overwrite] [/log ファイル名] [/quiet] /db ファイル名 - 分析に使用するデータベースを指定します。 /cfg ファイル名 - 分析を実行する前にデータベースにインポートするセキュリティ テンプレートを指定します。セキュリティ テンプレートはセキュリティ テンプレート スナップインを使用して作成します。 /log ファイル名 - ファイル名 - 構成処理の状態のログを記録するファイルを指定します。指定されない場合、構成処理に関する情報のログは %windir%\\security\\logs ディレクトリにある scesrv.log ファイルに記録されます。 /quiet - ユーザーに確認を求めずに分析処理が行われるように指定します。 例: secedit /analyze /db hisecws.sdb パスが指定されない場合は、すべてのファイル名に対して現在のディレクトリが使用されます。 英語\rAllows you to analyze current systems settings against baseline settings that are stored in a database. The analysis results are stored in a separate area of the database and can be viewed in the Security Configuration and Analysis snap-in. The syntax of this command is: secedit /analyze /db filename [/cfg filename ] [/overwrite] [/log filename] [/quiet] /db filename - Specifies the database used to perform the analysis. /cfg filename - Specifies a security template to import into the database prior to performing the analysis. Security templates are created using the Security Templates snap-in. /log filename - Specifies a file in which to log the status of the configuration process. If not specified, configuration processing information is logged in the scesrv.log file which is located in the s%windir%\\security\\logs directory. /quiet - Specifies that the analysis process should take place without prompting the user for any confirmation. Example: secedit /analyze /db hisecws.sdb For all filenames, the current directory is used if no path is specified. Return Code: 1\n","date":"2019-12-07T09:09:07Z","permalink":"https://pen2.com/cmd/ja/secedit/","title":"secedit"},{"content":"システム上のドライバーの照会\ndriverquery C:\\Windows\\system32\\driverquery.exe /? Output:\n日本語\rDRIVERQUERY [/S システム [/U ユーザー名 [/P [パスワード]]]] [/FO 形式] [/NH] [/SI] [/V] 説明: インストールされているデバイス ドライバーの一覧を管理者が 表示できるようにします。 パラメーターの一覧: /S システム 接続先のリモート システムを指定します。 /U [ドメイン\\]ユーザー ユーティリティを実行するユーザー コンテキストを指定します。 /P [パスワード] 与えられたユーザー コンテキストのパスワード を指定します。 /FO 形式 表示する出力の種類を指定します。 スイッチとともに引き渡す有効な値は TABLE、LIST、CSV です。 /NH \u0026#34;カラム ヘッダー\u0026#34; を表示しない ように指定します。 \u0026#34;TABLE\u0026#34; と \u0026#34;CSV\u0026#34; 形式でのみ有効です。 /SI ドライバーのデジタル署名情報を提供します。 /V 詳細な情報を表示します。 署名されたドライバーでは無効です。 /? このヘルプのメッセージを表示します。 例: DRIVERQUERY DRIVERQUERY /FO CSV /SI DRIVERQUERY /NH DRIVERQUERY /S ipaddress /U ユーザー /V DRIVERQUERY /S システム /U ドメイン\\ユーザー /P パスワード /FO LIST 英語\rDRIVERQUERY [/S system [/U username [/P [password]]]] [/FO format] [/NH] [/SI] [/V] Description: Enables an administrator to display a list of installed device drivers. Parameter List: /S system Specifies the remote system to connect to. /U [domain\\]user Specifies the user context under which the command should execute. /P [password] Specify the password for the given user context. /FO format Specifies the type of output to display. Valid values to be passed with the switch are \u0026#34;TABLE\u0026#34;, \u0026#34;LIST\u0026#34;, \u0026#34;CSV\u0026#34;. /NH Specifies that the \u0026#34;Column Header\u0026#34; should not be displayed. Valid for \u0026#34;TABLE\u0026#34; and \u0026#34;CSV\u0026#34; format only. /SI Provides information about signed drivers. /V Displays verbose output. Not valid for signed drivers. /? Displays this help message. Examples: DRIVERQUERY DRIVERQUERY /FO CSV /SI DRIVERQUERY /NH DRIVERQUERY /S ipaddress /U user /V DRIVERQUERY /S system /U domain\\user /P password /FO LIST Return Code: 0\n","date":"2019-12-07T09:09:05Z","permalink":"https://pen2.com/cmd/ja/driverquery/","title":"driverquery"},{"content":"TCP/IP NetBios 情報\nnbtstat C:\\Windows\\system32\\nbtstat.exe /? STDERR:\nJa\rNBT (NetBIOS over TCP/IP) を使用して、プロトコルの統計と現在の TCP/IP ネットワ ーク接続を表示します。 NBTSTAT [ [-a RemoteName] [-A IP address] [-c] [-n] [-r] [-R] [-RR] [-s] [-S] [interval] ] -a (adapter status) 名前を元に、リモート コンピューターの名前テーブルを一覧 表示します。 -A (Adapter status) IP アドレスを元に、リモート コンピューターの名前テーブ ルを一覧表示します。 -c (cache) NBT のキャッシュにあるリモート [コンピューター] 名と IP アドレスを一覧表示します。 -n (names) ローカルの NetBIOS 名を一覧表示します。 -r (resolved) ブロードキャストと WINS によって解決した名前を一覧表示 します。 -R (Reload) リモート キャッシュ名前テーブルを破棄し、再度読み込みま す。 -S (Sessions) セッション テーブルを宛先 IP アドレスと一覧表示します。 -s (sessions) 宛先 IP アドレスをコンピューターの NETBIOS 名に変換 して、セッション テーブルを一覧表示します。 -RR (ReleaseRefresh) 名前解放パケットを WINS に送信してから、更新を開始しま す。 RemoteName リモートのホスト コンピューター名です。 IP address ドット区切り 10 進数表記の IP アドレスです。 interval 各表示で interval 秒間一時停止しながら、選択した統計を再表示 します。 統計の再表示を停止するには、CTRL+C を押してください。 En\rDisplays protocol statistics and current TCP/IP connections using NBT (NetBIOS over TCP/IP). NBTSTAT [ [-a RemoteName] [-A IP address] [-c] [-n] [-r] [-R] [-RR] [-s] [-S] [interval] ] -a (adapter status) Lists the remote machine\u0026#39;s name table given its name -A (Adapter status) Lists the remote machine\u0026#39;s name table given its IP address. -c (cache) Lists NBT\u0026#39;s cache of remote [machine] names and their IP addresses -n (names) Lists local NetBIOS names. -r (resolved) Lists names resolved by broadcast and via WINS -R (Reload) Purges and reloads the remote cache name table -S (Sessions) Lists sessions table with the destination IP addresses -s (sessions) Lists sessions table converting destination IP addresses to computer NETBIOS names. -RR (ReleaseRefresh) Sends Name Release packets to WINS and then, starts Refresh RemoteName Remote host machine name. IP address Dotted decimal representation of the IP address. interval Redisplays selected statistics, pausing interval seconds between each display. Press Ctrl+C to stop redisplaying statistics. Return Code: 2\nnbtstat C:\\Windows\\system32\\nbtstat.exe \u0026ndash;help STDERR:\nJa\rNBT (NetBIOS over TCP/IP) を使用して、プロトコルの統計と現在の TCP/IP ネットワ ーク接続を表示します。 NBTSTAT [ [-a RemoteName] [-A IP address] [-c] [-n] [-r] [-R] [-RR] [-s] [-S] [interval] ] -a (adapter status) 名前を元に、リモート コンピューターの名前テーブルを一覧 表示します。 -A (Adapter status) IP アドレスを元に、リモート コンピューターの名前テーブ ルを一覧表示します。 -c (cache) NBT のキャッシュにあるリモート [コンピューター] 名と IP アドレスを一覧表示します。 -n (names) ローカルの NetBIOS 名を一覧表示します。 -r (resolved) ブロードキャストと WINS によって解決した名前を一覧表示 します。 -R (Reload) リモート キャッシュ名前テーブルを破棄し、再度読み込みま す。 -S (Sessions) セッション テーブルを宛先 IP アドレスと一覧表示します。 -s (sessions) 宛先 IP アドレスをコンピューターの NETBIOS 名に変換 して、セッション テーブルを一覧表示します。 -RR (ReleaseRefresh) 名前解放パケットを WINS に送信してから、更新を開始しま す。 RemoteName リモートのホスト コンピューター名です。 IP address ドット区切り 10 進数表記の IP アドレスです。 interval 各表示で interval 秒間一時停止しながら、選択した統計を再表示 します。 統計の再表示を停止するには、CTRL+C を押してください。 En\rDisplays protocol statistics and current TCP/IP connections using NBT (NetBIOS over TCP/IP). NBTSTAT [ [-a RemoteName] [-A IP address] [-c] [-n] [-r] [-R] [-RR] [-s] [-S] [interval] ] -a (adapter status) Lists the remote machine\u0026#39;s name table given its name -A (Adapter status) Lists the remote machine\u0026#39;s name table given its IP address. -c (cache) Lists NBT\u0026#39;s cache of remote [machine] names and their IP addresses -n (names) Lists local NetBIOS names. -r (resolved) Lists names resolved by broadcast and via WINS -R (Reload) Purges and reloads the remote cache name table -S (Sessions) Lists sessions table with the destination IP addresses -s (sessions) Lists sessions table converting destination IP addresses to computer NETBIOS names. -RR (ReleaseRefresh) Sends Name Release packets to WINS and then, starts Refresh RemoteName Remote host machine name. IP address Dotted decimal representation of the IP address. interval Redisplays selected statistics, pausing interval seconds between each display. Press Ctrl+C to stop redisplaying statistics. Return Code: 2\n","date":"2019-12-07T09:09:05Z","permalink":"https://pen2.com/cmd/ja/nbtstat/","title":"nbtstat"},{"content":"電源設定コマンド ライン ツール\npowercfg C:\\Windows\\system32\\powercfg.exe /? Output:\n日本語\rPOWERCFG /コマンド [引数] 説明: ユーザーがローカル システム上で電源設定を制御できるようにします。 コマンドとオプションの詳細については、\u0026#34;POWERCFG /? \u0026lt;コマンド\u0026gt;\u0026#34; を実行して ください コマンド一覧: /LIST, /L すべての電源設定を一覧表示します。 /QUERY, /Q 電源設定の内容を表示します。 /CHANGE, /X 現在の電源設定の設定値を変更します。 /CHANGENAME 電源設定の名前と説明を変更します。 /DUPLICATESCHEME 電源設定を複製します。 /DELETE, /D 電源設定を削除します。 /DELETESETTING 電源設定を削除します。 /SETACTIVE, /S 電源設定をシステム上でアクティブにします。 /GETACTIVESCHEME 現在アクティブになっている電源設定を取得します。 /SETACVALUEINDEX システムが AC 電源から電力を供給されているときに 電源設定に関連付ける値を設定します。 /SETDCVALUEINDEX システムが DC 電源から電力を供給されているときに 電源設定に関連付ける値を設定します。 /IMPORT ファイルから電源設定をすべてインポートします。 /EXPORT 電源設定をファイルにエクスポートします。 /ALIASES すべてのエイリアスとそれに対応する GUID を表示します。 /GETSECURITYDESCRIPTOR 指定された電源設定または操作に 関連付けられたセキュリティ記述子を取得します。 /SETSECURITYDESCRIPTOR 電源設定または操作に 関連付けられたセキュリティ記述子を設定します。 /HIBERNATE, /H 休止状態機能を有効または無効にします。 /AVAILABLESLEEPSTATES, /A システムで利用可能なスリープ状態を報告します。 /DEVICEQUERY 指定された条件を満たすデバイスの一覧を返します。 /DEVICEENABLEWAKE デバイスがシステムのスリープ状態を解除できるようにします。 /DEVICEDISABLEWAKE デバイスがシステムのスリープ状態を解除できないように します。 /LASTWAKE システムの最後のスリープ状態の解除元に関する情報を 報告します。 /WAKETIMERS アクティブなスリープ解除タイマーを列挙します。 /REQUESTS アプリケーションとドライバーの電源要求を列挙します。 /REQUESTSOVERRIDE 特定のプロセス、サービス、またはドライバーに対する 電源要求の優先を 設定します。 /ENERGY エネルギー効率とバッテリ寿命に関する一般的な 問題がないかシステムを分析します。 /BATTERYREPORT バッテリの使用状況のレポートを生成します。 /SLEEPSTUDY システム電源切り替えの診断レポートを生成します。 /SRUMUTIL システム リソース使用状況モニター (SRUM) からエネルギー推定データを ダンプします。 /SYSTEMSLEEPDIAGNOSTICS システム スリープ移行の診断レポートを生成します。 /SYSTEMPOWERREPORT システム電源切り替えの診断レポートを生成します。 /POWERTHROTTLING アプリケーションの電源調整を制御します。 英語\rPOWERCFG /COMMAND [ARGUMENTS] Description: Enables users to control power settings on a local system. For detailed command and option information, run \u0026#34;POWERCFG /? \u0026lt;COMMAND\u0026gt;\u0026#34; Command List: /LIST, /L Lists all power schemes. /QUERY, /Q Displays the contents of a power scheme. /CHANGE, /X Modifies a setting value in the current power scheme. /CHANGENAME Modifies the name and description of a power scheme. /DUPLICATESCHEME Duplicates a power scheme. /DELETE, /D Deletes a power scheme. /DELETESETTING Deletes a power setting. /SETACTIVE, /S Makes a power scheme active on the system. /GETACTIVESCHEME Retrieves the currently active power scheme. /SETACVALUEINDEX Sets the value associated with a power setting while the system is powered by AC power. /SETDCVALUEINDEX Sets the value associated with a power setting while the system is powered by DC power. /IMPORT Imports all power settings from a file. /EXPORT Exports a power scheme to a file. /ALIASES Displays all aliases and their corresponding GUIDs. /GETSECURITYDESCRIPTOR Gets a security descriptor associated with a specified power setting, power scheme, or action. /SETSECURITYDESCRIPTOR Sets a security descriptor associated with a power setting, power scheme, or action. /HIBERNATE, /H Enables and disables the hibernate feature. /AVAILABLESLEEPSTATES, /A Reports the sleep states available on the system. /DEVICEQUERY Returns a list of devices that meet specified criteria. /DEVICEENABLEWAKE Enables a device to wake the system from a sleep state. /DEVICEDISABLEWAKE Disables a device from waking the system from a sleep state. /LASTWAKE Reports information about what woke the system from the last sleep transition. /WAKETIMERS Enumerates active wake timers. /REQUESTS Enumerates application and driver Power Requests. /REQUESTSOVERRIDE Sets a Power Request override for a particular Process, Service, or Driver. /ENERGY Analyzes the system for common energy-efficiency and battery life problems. /BATTERYREPORT Generates a report of battery usage. /SLEEPSTUDY Generates a diagnostic system power transition report. /SRUMUTIL Dumps Energy Estimation data from System Resource Usage Monitor (SRUM). /SYSTEMSLEEPDIAGNOSTICS Generates a diagnostic report of system sleep transitions. /SYSTEMPOWERREPORT Generates a diagnostic system power transition report. /POWERTHROTTLING Control power throttling for an application. Return Code: 0\n","date":"2019-12-07T09:09:05Z","permalink":"https://pen2.com/cmd/ja/powercfg/","title":"powercfg"},{"content":"NIC の MAC 情報の表示\ngetmac C:\\Windows\\system32\\getmac.exe /? Output:\n日本語\rGETMAC [/S システム [/U ユーザー名 [/P [パスワード]]]] [/FO 形式] [/NH] [/V] 説明: このツールを使って、管理者がシステム上ネットワーク アダプターの MAC アドレスを表示することができます。 パラメーターの一覧: /S システム 接続先のリモート システムを指定します。 /U [ドメイン\\]ユーザー コマンドを実行するユーザー コンテキスト を指定します。 /P [パスワード] 与えられたユーザー コンテキストのパスワード を指定します。省略した場合は入力する必要が あります。 /FO 形式 出力を表示する形式を指定します。 有効な値: \u0026#34;TABLE\u0026#34;、\u0026#34;LIST\u0026#34;、\u0026#34;CSV\u0026#34; /NH 列ヘッダーが出力に表示されないように指定 します。 TABLE および CSV の形式で有効です。 /V 詳細な情報を出力で表示するように指定します。 /? このヘルプを表示します。 例: GETMAC /? GETMAC /FO csv GETMAC /S system /NH /V GETMAC /S system /U user GETMAC /S system /U domain\\user /P password /FO list /V GETMAC /S system /U domain\\user /P password /FO table /NH 英語\rGETMAC [/S system [/U username [/P [password]]]] [/FO format] [/NH] [/V] Description: This tool enables an administrator to display the MAC address for network adapters on a system. Parameter List: /S system Specifies the remote system to connect to. /U [domain\\]user Specifies the user context under which the command should execute. /P [password] Specifies the password for the given user context. Prompts for input if omitted. /FO format Specifies the format in which the output is to be displayed. Valid values: \u0026#34;TABLE\u0026#34;, \u0026#34;LIST\u0026#34;, \u0026#34;CSV\u0026#34;. /NH Specifies that the \u0026#34;Column Header\u0026#34; should not be displayed in the output. Valid only for TABLE and CSV formats. /V Specifies that verbose output is displayed. /? Displays this help message. Examples: GETMAC /? GETMAC /FO csv GETMAC /S system /NH /V GETMAC /S system /U user GETMAC /S system /U domain\\user /P password /FO list /V GETMAC /S system /U domain\\user /P password /FO table /NH Return Code: 0\n","date":"2019-12-07T09:09:04Z","permalink":"https://pen2.com/cmd/ja/getmac/","title":"getmac"},{"content":"スケジュール サービス コマンド ライン インターフェイス\nat C:\\Windows\\system32\\at.exe /? Output:\n日本語\rこの AT コマンドは廃止されました。代わりに schtasks.exe を使用してください。 AT コマンドは、指定された日時にコマンドとプログラムがコンピューターで 実行されるようにスケジュールします。AT コマンドを使用するには、 Schedule サービスが実行中でなければなりません。 AT [\\\\コンピューター名] [ [id] [/DELETE] | /DELETE [/YES]] AT [\\\\コンピューター名] 時刻 [/INTERACTIVE] [ /EVERY:日付[,...] | /NEXT:日付[,...]] \u0026#34;コマンド\u0026#34; \\\\コンピューター名 リモート コンピューターを指定します。このパラメーターを 省略したときは、ローカル コンピューターでコマンドが スケジュールされます。 id スケジュールされたコマンドに割り当てられた識別番号です。 /delete スケジュールされたコマンドを取り消します。 id を指定しなかったときは、コンピューターでスケジュール されているすべてのコマンドが取り消されます。 /yes 確認せずにすべてのジョブ コマンドを取り消すときに 使用します。 時刻 コマンドが実行される時刻を指定します。 /interactive ジョブの実行中、ジョブはログオンしているユーザーの デスクトップとの対話を許可します。 /every:日付[,...] 毎週指定した曜日に、または毎月指定した日にコマンドが 実行されます。 日付を省略したときは、その月の今日の日付が使用されます。 /next:日付[,...] 指定したコマンドが次の日付 (たとえば、次の火曜日) に 実行されます。日付を省略したときは、その月の今日の日付が 使用されます。 \u0026#34;コマンド\u0026#34; 実行する Windows NT コマンド、またはバッチ プログラム です。 英語\rThe AT command has been deprecated. Please use schtasks.exe instead. The AT command schedules commands and programs to run on a computer at a specified time and date. The Schedule service must be running to use the AT command. AT [\\\\computername] [ [id] [/DELETE] | /DELETE [/YES]] AT [\\\\computername] time [/INTERACTIVE] [ /EVERY:date[,...] | /NEXT:date[,...]] \u0026#34;command\u0026#34; \\\\computername Specifies a remote computer. Commands are scheduled on the local computer if this parameter is omitted. id Is an identification number assigned to a scheduled command. /delete Cancels a scheduled command. If id is omitted, all the scheduled commands on the computer are canceled. /yes Used with cancel all jobs command when no further confirmation is desired. time Specifies the time when command is to run. /interactive Allows the job to interact with the desktop of the user who is logged on at the time the job runs. /every:date[,...] Runs the command on each specified day(s) of the week or month. If date is omitted, the current day of the month is assumed. /next:date[,...] Runs the specified command on the next occurrence of the day (for example, next Thursday). If date is omitted, the current day of the month is assumed. \u0026#34;command\u0026#34; Is the Windows NT command, or batch program to be run. Return Code: 0\n","date":"2019-12-07T09:09:00Z","permalink":"https://pen2.com/cmd/ja/at/","title":"at"},{"content":"WinPE network installer\nnetcfg C:\\Windows\\system32\\netcfg.exe /? Output:\n日本語\rnetcfg [-v] [-winpe] [-l \u0026lt;コンポーネント INF の完全なパス\u0026gt;] -c \u0026lt;p|s|c\u0026gt; -i \u0026lt;コンポーネント ID\u0026gt; -winpe は、TCP/IP、NetBIOS、および Microsoft Client for Windows の プレインストール環境をインストールします -l\tINF の場所を指定します -c\tインストールするコンポーネントのクラスを指定します (p == プロトコル、 s == サービス、c == クライアント) -i\tコンポーネント ID を指定します 引数は、示されている順に渡す必要があります。 例: netcfg -l c:\\oemdir\\myprot.inf -c p -i myprot c:\\oemdir\\myprot.inf を使用してプロトコル \u0026#39;myprot\u0026#39; をインストールします netcfg -c s -i MS_Server サービス \u0026#39;MS_Server\u0026#39; をインストールします または netcfg [-v] -winpe 例: netcfg -v -winpe TCP/IP、NetBIOS、および Microsoft Client for Windows の プレインストール環境をインストールします または netcfg [-v] -q \u0026lt;comp-id\u0026gt; 例: netcfg -q MS_IPX コンポーネント \u0026#39;MS_IPX\u0026#39; がインストールされているかどうかを表示します または netcfg [-v] -u \u0026lt;コンポーネント ID\u0026gt; 例: netcfg -u MS_IPX コンポーネント \u0026#39;MS_IPX\u0026#39; をアンインストールします または netcfg [-v] -s \u0026lt;a|n\u0026gt; -s 表示するコンポーネントの種類を指定します (a == アダプター、 n == ネット コンポーネント) 例: netcfg -s n インストールされているすべてのネット コンポーネントを表示します または netcfg [-v] -b \u0026lt;コンポーネント ID\u0026gt; 例: netcfg -b ms_tcpip \u0026#39;MS_TCPIP\u0026#39; を含むバインド パスを表示します または netcfg [-v] -m 例: netcfg -m 現在のディレクトリにある NetworkBindingMap.txt にバインド マップを出力します。 -v を指定すると、コンソールへ出力されるバインド マップも表示されます。 または netcfg -d 例: netcfg -d すべてのネットワーク デバイスに対してクリーンアップを実行します。 この場合、再起動が必要になります。 または netcfg -x 例: netcfg -x ネットワーク デバイスに対してクリーンアップを実行します。物理オブジェクト名のないデバイスは スキップします。 この場合、再起動が必要になります。 全般的な注意: -v\t冗長 (詳細) モードで実行します -?\tこのヘルプ情報を表示します 英語\rnetcfg [-v] [-winpe] [-l \u0026lt;full-path-to-component-INF\u0026gt;] -c \u0026lt;p|s|c\u0026gt; -i \u0026lt;comp-id\u0026gt; -winpe installs TCP/IP, NetBIOS and Microsoft Client for Windows preinstallation environment -l\tprovides the location of INF -c\tprovides the class of the component to be installed (p == Protocol, s == Service, c == Client) -i\tprovides the component ID The arguments must be passed in the order shown. Examples: netcfg -l c:\\oemdir\\myprot.inf -c p -i myprot Installs protocol \u0026#39;myprot\u0026#39; using c:\\oemdir\\myprot.inf netcfg -c s -i MS_Server Installs service \u0026#39;MS_Server\u0026#39; OR netcfg [-v] -winpe Example: netcfg -v -winpe Installs TCP/IP, NetBIOS, and Microsoft Client for Windows preinstallation environment OR netcfg [-v] -q \u0026lt;comp-id\u0026gt; Example: netcfg -q MS_IPX Displays if component \u0026#39;MS_IPX\u0026#39; is installed OR netcfg [-v] -u \u0026lt;comp-id\u0026gt; Example: netcfg -u MS_IPX Uninstalls component \u0026#39;MS_IPX\u0026#39; OR netcfg [-v] -s \u0026lt;a|n\u0026gt; -s provides the type of components to show (a == adapters, n == net components) Example: netcfg -s n Shows all installed net components OR netcfg [-v] -b \u0026lt;comp-id\u0026gt; Example: netcfg -b ms_tcpip Shows binding paths containing \u0026#39;MS_TCPIP\u0026#39; OR netcfg [-v] -m Example: netcfg -m Outputs the binding map to NetworkBindingMap.txt in the current directory. -v will also display the binding map to the console. OR netcfg -d Example: netcfg -d Performs a cleanup on all networking devices. This will require a reboot. OR netcfg -x Example: netcfg -x Performs a cleanup on networking devices, skipping those without physical object names. This will require a reboot. General Notes: -v\tRun in verbose (detailed) mode -?\tDisplays this help information Return Code: 0\n","date":"2019-12-07T09:08:55Z","permalink":"https://pen2.com/cmd/ja/netcfg/","title":"netcfg"},{"content":"Windows シャットダウンおよびコメント ツール\nshutdown C:\\Windows\\system32\\shutdown.exe /? Output:\n日本語\r使用法: C:\\Windows\\system32\\shutdown.exe [/i | /l | /s | /sg | /r | /g | /a | /p | /h | /e | /o] [/hybrid] [/soft] [/fw] [/f] [/m \\\\コンピューター][/t xxx][/d [p|u:]xx:yy [/c \u0026#34;コメント\u0026#34;]] 引数なし ヘルプを表示します。「/?」と入力するのと同じです。 /? ヘルプを表示します。オプションを入力しないのと同じです。 /i グラフィック ユーザー インターフェイス (GUI) を表示します このオプションは最初に指定する必要があります。 /l ログオフします。/m または /d オプションとは併用できません。 /s コンピューターをシャットダウンします。 /sg コンピューターをシャットダウンします。次回の起動時、自動再起動サインオンが 有効になっている場合は、前回の対話ユーザー自動的にサインインしてロックします。 サインイン後、登録されているアプリケーションを再起動します。 /r コンピューターを完全にシャットダウンして再起動します。 /g コンピューターを完全にシャットダウンして再起動します。システムの再起動後、 自動再起動サインオンが有効になっている場合は、 前回の対話ユーザーで自動的にサインインしてロックします。 サインイン後、登録されているアプリケーションを再起動します。 /a システムのシャットダウンを中止します。 これは、タイムアウト期間にのみ使用できます。 /fw と共に使用して、保留されているファームウェアでの起動をすべてクリアします。 /p タイムアウトまたは警告なしでローカル コンピューターの電源を 切ります。 /d および /f オプションと併用できます。 /h ローカル コンピューターを休止状態にします。 /f オプションと併用できます。 /hybrid コンピューターのシャットダウンを実行し、高速スタートアップの準備をします。 /s オプションと併用してください。 /fw シャットダウン オプションと共に使用し、次回は以下で起動します ファームウェアのユーザー インターフェイス。 /e コンピューターの予期しないシャットダウンの理由を記録します。 /o 詳細ブート オプション メニューに移動し、コンピューターを再起動します。 /r オプションと併用してください。 /m \\\\コンピューター 対象となるコンピューターを指定します。 /t xxx シャットダウンまでのタイムアウト期間を xxx 秒に設定します。 有効範囲は 0 から 315360000 (10 年) までで、既定値は 30 です。 タイムアウト期間が 0 より大きい場合、/f パラメーターが 暗黙的に指定されます。 /c \u0026#34;コメント\u0026#34; 再起動またはシャットダウンの理由にコメントを付けます。 最大 512 文字まで入力できます。 /f ユーザーに警告せずに実行中のアプリケーションを強制終了します。 /t パラメーターに 0 より大きい値が指定された場合、 /t パラメーターに指定されます。 /d [p|u:]xx:yy 再起動またはシャットダウンの理由を指定します。 p は再起動またはシャットダウンが計画されていることを示します。 u は理由がユーザーにより定義されることを示します。 p と u のどちらも指定されていない場合は、再起動または 計画されていません。 xx は主因の番号です (256 未満の正の整数)。 yy は副因の番号です (65536 未満の正の整数)。 理由: (E = 予期していた理由 U = 予期していない理由 P = 計画済み, C = ユーザー定義) 種類\t主因\t副因\tタイトル U 0\t0\tその他 (計画外) E 0\t0\tその他 (計画外) E P 0\t0\tその他 (計画済) U 0\t5\tその他の障害: システム応答なし E 1\t1\tハードウェア: メンテナンス (計画外) E P 1\t1\tハードウェア: メンテナンス (計画済) E 1\t2\tハードウェア: インストール (計画外) E P 1\t2\tハードウェア: インストール (計画済) E 2\t2\tオペレーティング システム: 回復 (計画外) E P 2\t2\tオペレーティング システム: 回復 (計画済) P 2\t3\tオペレーティング システム: アップグレード (計画済) E 2\t4\tオペレーティング システム: 再構成 (計画外) E P 2\t4\tオペレーティング システム: 再構成 (計画済) P 2\t16\tオペレーティング システム: Service pack (計画済) 2\t17\tオペレーティング システム: ホットフィックス (計画外) P 2\t17\tオペレーティング システム: ホットフィックス (計画済) 2\t18\tオペレーティング システム: セキュリティ フィックス (計画外) P 2\t18\tオペレーティング システム: セキュリティ フィックス (計画済) E 4\t1\tアプリケーション: メンテナンス (計画外) E P 4\t1\tアプリケーション: メンテナンス (計画済) E P 4\t2\tアプリケーション: インストール (計画済) E 4\t5\tアプリケーション: 応答なし E 4\t6\tアプリケーション: 不安定 U 5\t15\tシステム障害: STOP エラー U 5\t19\tセキュリティの問題 (計画外) E 5\t19\tセキュリティの問題 (計画外) E P 5\t19\tセキュリティの問題 (計画済) E 5\t20\tネットワーク接続の損失 (計画外) U 6\t11\t電源障害: コードが抜けました U 6\t12\t電源障害: 環境 P 7\t0\tレガシ API シャットダウン 英語\rUsage: C:\\Windows\\system32\\shutdown.exe [/i | /l | /s | /sg | /r | /g | /a | /p | /h | /e | /o] [/hybrid] [/soft] [/fw] [/f] [/m \\\\computer][/t xxx][/d [p|u:]xx:yy [/c \u0026#34;comment\u0026#34;]] No args Display help. This is the same as typing /?. /? Display help. This is the same as not typing any options. /i Display the graphical user interface (GUI). This must be the first option. /l Log off. This cannot be used with /m or /d options. /s Shutdown the computer. /sg Shutdown the computer. On the next boot, if Automatic Restart Sign-On is enabled, automatically sign in and lock last interactive user. After sign in, restart any registered applications. /r Full shutdown and restart the computer. /g Full shutdown and restart the computer. After the system is rebooted, if Automatic Restart Sign-On is enabled, automatically sign in and lock last interactive user. After sign in, restart any registered applications. /a Abort a system shutdown. This can only be used during the time-out period. Combine with /fw to clear any pending boots to firmware. /p Turn off the local computer with no time-out or warning. Can be used with /d and /f options. /h Hibernate the local computer. Can be used with the /f option. /hybrid Performs a shutdown of the computer and prepares it for fast startup. Must be used with /s option. /fw Combine with a shutdown option to cause the next boot to go to the firmware user interface. /e Document the reason for an unexpected shutdown of a computer. /o Go to the advanced boot options menu and restart the computer. Must be used with /r option. /m \\\\computer Specify the target computer. /t xxx Set the time-out period before shutdown to xxx seconds. The valid range is 0-315360000 (10 years), with a default of 30. If the timeout period is greater than 0, the /f parameter is implied. /c \u0026#34;comment\u0026#34; Comment on the reason for the restart or shutdown. Maximum of 512 characters allowed. /f Force running applications to close without forewarning users. The /f parameter is implied when a value greater than 0 is specified for the /t parameter. /d [p|u:]xx:yy Provide the reason for the restart or shutdown. p indicates that the restart or shutdown is planned. u indicates that the reason is user defined. If neither p nor u is specified the restart or shutdown is unplanned. xx is the major reason number (positive integer less than 256). yy is the minor reason number (positive integer less than 65536). Reasons on this computer: (E = Expected U = Unexpected P = planned, C = customer defined) Type\tMajor\tMinor\tTitle U 0\t0\tOther (Unplanned) E 0\t0\tOther (Unplanned) E P 0\t0\tOther (Planned) U 0\t5\tOther Failure: System Unresponsive E 1\t1\tHardware: Maintenance (Unplanned) E P 1\t1\tHardware: Maintenance (Planned) E 1\t2\tHardware: Installation (Unplanned) E P 1\t2\tHardware: Installation (Planned) E 2\t2\tOperating System: Recovery (Unplanned) E P 2\t2\tOperating System: Recovery (Planned) P 2\t3\tOperating System: Upgrade (Planned) E 2\t4\tOperating System: Reconfiguration (Unplanned) E P 2\t4\tOperating System: Reconfiguration (Planned) P 2\t16\tOperating System: Service pack (Planned) 2\t17\tOperating System: Hot fix (Unplanned) P 2\t17\tOperating System: Hot fix (Planned) 2\t18\tOperating System: Security fix (Unplanned) P 2\t18\tOperating System: Security fix (Planned) E 4\t1\tApplication: Maintenance (Unplanned) E P 4\t1\tApplication: Maintenance (Planned) E P 4\t2\tApplication: Installation (Planned) E 4\t5\tApplication: Unresponsive E 4\t6\tApplication: Unstable U 5\t15\tSystem Failure: Stop error U 5\t19\tSecurity issue (Unplanned) E 5\t19\tSecurity issue (Unplanned) E P 5\t19\tSecurity issue (Planned) E 5\t20\tLoss of network connectivity (Unplanned) U 6\t11\tPower Failure: Cord Unplugged U 6\t12\tPower Failure: Environment P 7\t0\tLegacy API shutdown Return Code: 1\n","date":"2019-12-07T09:08:54Z","permalink":"https://pen2.com/cmd/ja/shutdown/","title":"shutdown"},{"content":"ファイルの暗号化ユーティリティ\ncipher C:\\Windows\\system32\\cipher.exe /? Output:\n日本語\rNTFS パーティション上のディレクトリ [ファイル] の暗号化を表示または変更します。 CIPHER [/E | /D | /C] [/S:ディレクトリ] [/B] [/H] [パス名 [...]] CIPHER /K [/ECC:256|384|521] CIPHER /R:ファイル名 [/SMARTCARD] [/ECC:256|384|521] CIPHER /P:ファイル名.cer CIPHER /U [/N] CIPHER /W:ディレクトリ CIPHER /X[:EFS ファイル] [ファイル名] CIPHER /Y CIPHER /ADDUSER [/CERTHASH:ハッシュ | /CERTFILE:ファイル名 | /USER:ユーザー名] [/S:ディレクトリ] [/B] [/H] [パス名 [...]] CIPHER /FLUSHCACHE [/SERVER:サーバー名] CIPHER /REMOVEUSER /CERTHASH:ハッシュ [/S:ディレクトリ] [/B] [/H] [パス名 [...]] CIPHER /REKEY [パス名 [...]] /B エラーが発生した場合に中断します。既定では、CIPHER は エラーが発生しても実行を続行します。 /C 暗号化されたファイルに関する情報を表示します。 /D 指定されたファイルまたはディレクトリの暗号化を解除します。 /E 指定されたファイルまたはディレクトリを暗号化します。後で追加 されたファイルが暗号化されるようにディレクトリをマークします。 親ディレクトリが暗号化されていない場合、暗号化されたファイルは、 変更されるときに暗号化を解除されます。ファイルおよび親 ディレクトリを暗号化することをお勧めします。 /H 隠しファイルやシステム属性のファイルを表示します。既定では これらのファイルは省略されます。 /K EFS で使用するための新しい証明書およびキーを作成します。この オプションを指定すると、その他のオプションはすべて無視されます。 注意: 既定では、/K によって現在のグループ ポリシーに準拠する 証明書とキーが作成されます。ECC が指定されている場合、 指定のキー サイズによる自己署名証明書が作成されます。 /N このオプションは /U を指定した場合にのみ動作します。 このオプションにより、キーが更新されなくなります。ローカル ドライブ上のすべての暗号化ファイルを探すために使用されます。 /R EFS 回復キーと証明書を作成してから、それらを .PFX ファイル (証明書と秘密キー) と .CER ファイル (証明書のみ) に 書き込みます。管理者は、ユーザーの回復キーを作成するために .CER の内容を EFS 回復ポリシーに追加し、個々のファイルを 回復するために .PFX ファイルをインポートすることができます。 SMARTCARD が指定されている場合は、 回復キーと証明書をスマート カードに書き込みます。 .CER ファイルが生成されます (証明書のみ)。 .PFX ファイルは生成されません。 注意: 既定では、/R は 2048 ビット RSA 回復キーと証明書を作成 します。ECC が指定されている場合、その後にキー サイズ 256、384 または 521 が指定されている必要があります。 /P 渡された証明書から、base64 でエンコードされた回復ポリシー BLOB を作成します。この BLOB は、MDM 展開用の DRA ポリシーを 設定するために使用できます。 /S 指定されたディレクトリと、その下にあるすべてのファイルと サブディレクトリに対して指定された操作を実行します。 /U ローカル ドライブのすべての暗号化ファイルを参照しようとします。 これにより、現在のユーザーのファイル暗号化キー、または回復キーに 変更があった場合、これらが更新されます。このオプションは /N 以外の他のオプションでは動作しません。 /W ボリューム全体で利用可能な未使用のディスク領域から、データを削除し ます。このオプションを選ぶと他のオプションはすべて無視されます。 ローカル ボリュームのどの場所にあるディレクトリでも指定できます。 ディレクトリがマウント ポイントである場合、または別のボリュームの ディレクトリを指し示す場合は、そのボリュームのデータが削除されます。 /X EFS 証明書とキーのバックアップを、指定された名前のファイルに 保存します。EFS ファイルが指定されている場合は、ファイルの暗号化 に使用されている現在のユーザーの証明書のバックアップが作成され ます。指定されていない場合は、ユーザーの現在の EFS 証明書と キーのバックアップが作成されます。ローカル PC 上の現在の EFS 証明書の拇印を表示します。 /Y ローカル PC 上の現在の EFS 証明書の拇印を表示します。 /ADDUSER 指定された暗号化ファイルにユーザーを追加します。CERTHASH が指定 されている場合は、この SHA1 ハッシュを含む証明書が検索されます。 CERTFILE が指定されている場合は、ファイルから証明書が抽出 されます。USER が指定されている場合、CIPHER は Active Directory ドメイン サービス内でユーザー証明書を検索します。 /FLUSHCACHE 指定されたサーバー上で、呼び出し元ユーザーの EFS キーのキャッシュ をクリアします。サーバー名が指定されていない場合は、ローカル コンピューター上の呼び出し元ユーザーのキー キャッシュがクリアされます。 /REKEY 指定した暗号化ファイルを、構成済みの EFS の現在のキーを使用する ように更新します。 /REMOVEUSER 指定されたファイルからユーザーを削除します。CERTHASH は削除する証明書の SHA1 ハッシュである必要があります。 ディレクトリ ディレクトリのパスです。 ファイル名 拡張子を伴わないファイル名です。 パス名 パターン、ファイル、またはディレクトリを指定します。 EFS ファイル 暗号化されたファイルのパスです。 パラメーターを指定せずに CIPHER を実行すると、現在のディレクトリとディレク トリに含まれるすべてのファイルの暗号化状態を表示します。複数のディレクトリ 名やワイルドカードを指定できます。複数のパラメーターはスペースで区切ります。 英語\rDisplays or alters the encryption of directories [files] on NTFS partitions. CIPHER [/E | /D | /C] [/S:directory] [/B] [/H] [pathname [...]] CIPHER /K [/ECC:256|384|521] CIPHER /R:filename [/SMARTCARD] [/ECC:256|384|521] CIPHER /P:filename.cer CIPHER /U [/N] CIPHER /W:directory CIPHER /X[:efsfile] [filename] CIPHER /Y CIPHER /ADDUSER [/CERTHASH:hash | /CERTFILE:filename | /USER:username] [/S:directory] [/B] [/H] [pathname [...]] CIPHER /FLUSHCACHE [/SERVER:servername] CIPHER /REMOVEUSER /CERTHASH:hash [/S:directory] [/B] [/H] [pathname [...]] CIPHER /REKEY [pathname [...]] /B Abort if an error is encountered. By default, CIPHER continues executing even if errors are encountered. /C Displays information on the encrypted file. /D Decrypts the specified files or directories. /E Encrypts the specified files or directories. Directories will be marked so that files added afterward will be encrypted. The encrypted file could become decrypted when it is modified if the parent directory is not encrypted. It is recommended that you encrypt the file and the parent directory. /H Displays files with the hidden or system attributes. These files are omitted by default. /K Creates a new certificate and key for use with EFS. If this option is chosen, all the other options will be ignored. Note: By default, /K creates a certificate and key that conform to current group policy. If ECC is specified, a self-signed certificate will be created with the supplied key size. /N This option only works with /U. This will prevent keys being updated. This is used to find all the encrypted files on the local drives. /R Generates an EFS recovery key and certificate, then writes them to a .PFX file (containing certificate and private key) and a .CER file (containing only the certificate). An administrator may add the contents of the .CER to the EFS recovery policy to create the recovery key for users, and import the .PFX to recover individual files. If SMARTCARD is specified, then writes the recovery key and certificate to a smart card. A .CER file is generated (containing only the certificate). No .PFX file is generated. Note: By default, /R creates an 2048-bit RSA recovery key and certificate. If ECC is specified, it must be followed by a key size of 256, 384, or 521. /P Creates a base64-encoded recovery-policy blob from the passed-in certificate. This blob can be used to set DRA policy for MDM deployments. /S Performs the specified operation on the given directory and all files and subdirectories within it. /U Tries to touch all the encrypted files on local drives. This will update user\u0026#39;s file encryption key or recovery keys to the current ones if they are changed. This option does not work with other options except /N. /W Removes data from available unused disk space on the entire volume. If this option is chosen, all other options are ignored. The directory specified can be anywhere in a local volume. If it is a mount point or points to a directory in another volume, the data on that volume will be removed. /X Backup EFS certificate and keys into file filename. If efsfile is provided, the current user\u0026#39;s certificate(s) used to encrypt the file will be backed up. Otherwise, the user\u0026#39;s current EFS certificate and keys will be backed up. /Y Displays your current EFS certificate thumbprint on the local PC. /ADDUSER Adds a user to the specified encrypted file(s). If CERTHASH is provided, cipher will search for a certificate with this SHA1 hash. If CERTFILE is provided, cipher will extract the certificate from the file. If USER is provided, cipher will try to locate the user\u0026#39;s certificate in Active Directory Domain Services. /FLUSHCACHE Clears the calling user\u0026#39;s EFS key cache on the specified server. If servername is not provided, cipher clears the user\u0026#39;s key cache on the local machine. /REKEY Updates the specified encrypted file(s) to use the configured EFS current key. /REMOVEUSER Removes a user from the specified file(s). CERTHASH must be the SHA1 hash of the certificate to remove. directory A directory path. filename A filename without extensions. pathname Specifies a pattern, file or directory. efsfile An encrypted file path. Used without parameters, CIPHER displays the encryption state of the current directory and any files it contains. You may use multiple directory names and wildcards. You must put spaces between multiple parameters. Return Code: 1\n","date":"2019-12-07T09:08:52Z","permalink":"https://pen2.com/cmd/ja/cipher/","title":"cipher"},{"content":"LZ 展開ユーティリティ\nexpand C:\\Windows\\system32\\expand.exe /? Output:\n日本語\rMicrosoft (R) File Expansion Utility Copyright (c) Microsoft Corporation. All rights reserved. 圧縮された 1 つ以上のファイルを展開します。 EXPAND [-R] 展開元 展開先 EXPAND -R 展開元 [展開先] EXPAND -I 展開元 [展開先] EXPAND -D CABファイル名 [-F:ファイル名] EXPAND CABファイル名 -F:ファイル名 展開先 -R\t展開されたファイルの名前を変更します。 -I\t展開されたファイルの名前を変更しますが、ディレクトリ構造を 無視します。 -D\t展開元にあるファイルを一覧表示します。 展開元\t展開元のファイルを指定します。ワイルドカードも使用できます。 -F:ファイル名\tCAB ファイルから展開するファイルの名前を指定します。 展開先\t展開先のファイルまたはパスを指定します。 展開先にはディレクトリも指定できます。 展開元が複数のファイルで、-R オプションが指定されていない 場合は、展開先はディレクトリである必要があります。 英語\rMicrosoft (R) File Expansion Utility Copyright (c) Microsoft Corporation. All rights reserved. Expands one or more compressed files. EXPAND [-R] Source Destination EXPAND -R Source [Destination] EXPAND -I Source [Destination] EXPAND -D Source.cab [-F:Files] EXPAND Source.cab -F:Files Destination -R\tRename expanded files. -I\tRename expanded files but ignore directory structure. -D\tDisplay list of files in source. Source\tSource file specification. Wildcards may be used. -F:Files\tName of files to expand from a .CAB. Destination\tDestination file | path specification. Destination may be a directory. If Source is multiple files and -r is not specified, Destination must be a directory. Return Code: 0\n","date":"2019-12-07T09:08:52Z","permalink":"https://pen2.com/cmd/ja/expand/","title":"expand"},{"content":"PerfMon カウンターのロード\nlodctr C:\\Windows\\system32\\lodctr.exe /? Output:\n日本語\rLODCTR パフォーマンス カウンターに関連するレジストリ値を更新します。 使用法: LODCTR \u0026lt;INI ファイル名\u0026gt; カウンター テキスト文字列をインストールします。INI ファイル名は、 拡張可能カウンター DLL のカウンター名定義と 説明を含む初期化ファイルの名前です。 LODCTR /C:\u0026lt;ファイル名\u0026gt; \u0026lt;ファイル名\u0026gt; を使用してカウンター テキスト文字列をアップグレードします LODCTR /H:\u0026lt;ファイル名\u0026gt; \u0026lt;ファイル名\u0026gt; を使用してヘルプ テキスト文字列をアップグレードします LODCTR /L:\u0026lt;LangID\u0026gt; /C および /H コマンドで使用する言語を指定します LODCTR /S:\u0026lt;バックアップ ファイル名\u0026gt; 現在のパフォーマンス レジストリの文字列と 情報を \u0026lt;バックアップ ファイル名\u0026gt; に保存します LODCTR /R 現在のレジストリ設定とバックアップ INI ファイルに基づいて パフォーマンス レジストリを最初から再構築します。 LODCTR /R:\u0026lt;ファイル名\u0026gt; \u0026lt;ファイル名\u0026gt; を使用してパフォーマンス レジストリの文字列と情報を復元します LODCTR /T:\u0026lt;サービス名\u0026gt; 指定したパフォーマンス カウンター プロバイダーを信頼済みとして設定します。 LODCTR /Q パフォーマンス カウンター プロバイダーの情報を表示します。 LODCTR /Q:\u0026lt;サービス名\u0026gt; 特定のプロバイダーについて、パフォーマンス カウンター プロバイダーの情報を表示します。 LODCTR /E:\u0026lt;サービス名\u0026gt; パフォーマンス カウンター プロバイダーを有効にします。 LODCTR /D:\u0026lt;サービス名\u0026gt; パフォーマンス カウンター プロバイダーを無効にします。 LODCTR /M:\u0026lt;カウンター マニフェスト\u0026gt; [\u0026lt;インストール パス\u0026gt;] 指定した XML マニフェストを使用して v2.0 パフォーマンス カウンター プロバイダーをインストールします。 インストールには、パフォーマンス カウンター リソース (ローカライズされた文字列) が含まれている DLL の完全なパスが 必要です。DLL のパスは次のようにして決定されます。 マニフェスト内の applicationIdentity 属性が完全なパスで ある場合は、そのパスが使用されます。 そうでない場合、\u0026lt;インストール パス\u0026gt; が指定されていて 完全なパスであれば、そのパスが使用されます。 そうでない場合、\u0026lt;カウンター マニフェスト\u0026gt; が完全なパスであれば、 \u0026lt;カウンター マニフェスト\u0026gt; のディレクトリとマニフェスト 内の applicationIdentity 属性の DLL 名が組み合わされます。 そうでない場合、現在のディレクトリと、マニフェスト内の applicationIdentity 属性の DLL 名が組み合わされます。 注: 名前にスペースを含む引数を指定する場合は、二重引用符で 囲む必要があります。 英語\rLODCTR Updates registry values related to performance counters. Usage: LODCTR \u0026lt;INI-filename\u0026gt; Installs counter text strings. INI-filename is the name of the initialization file that contains the counter name definitions and explain text for an extensible counter DLL. LODCTR /C:\u0026lt;filename\u0026gt; Upgrades counter text strings using \u0026lt;filename\u0026gt; LODCTR /H:\u0026lt;filename\u0026gt; Upgrades help text strings using \u0026lt;filename\u0026gt; LODCTR /L:\u0026lt;LangID\u0026gt; Specifies the language for the /C and /H commands LODCTR /S:\u0026lt;Backup-filename\u0026gt; Saves the current perf registry strings and info to \u0026lt;Backup-filename\u0026gt; LODCTR /R Rebuilds perf registry from scratch based on current registry settings and backup INI files. LODCTR /R:\u0026lt;filename\u0026gt; Restores perf registry strings \u0026amp; info using \u0026lt;filename\u0026gt; LODCTR /T:\u0026lt;service-name\u0026gt; Sets the specified performance counter provider as trusted. LODCTR /Q Displays performance counter provider information. LODCTR /Q:\u0026lt;service-name\u0026gt; Displays performance counter provider information for a specific provider. LODCTR /E:\u0026lt;service-name\u0026gt; Enables the performance counter provider. LODCTR /D:\u0026lt;service-name\u0026gt; Disables the performance counter provider. LODCTR /M:\u0026lt;Counter-Manifest\u0026gt; [\u0026lt;Installation-Path\u0026gt;] Installs a v2.0 performance counter provider using the specified XML manifest. The installation requires a full path to the DLL containing the performance counter resources (localized strings). The path to the DLL will be determined as follows: If the applicationIdentity attribute in the manifest is a full path, that will be used. Otherwise, if \u0026lt;Installation-Path\u0026gt; is provided and is a full path, that will be used. Otherwise, if \u0026lt;Counter-Manifest\u0026gt; is a full path, the directory from \u0026lt;Counter-Manifest\u0026gt; will be combined with the DLL name from the applicationIdentity attribute in the manifest. Otherwise, the current directory will be combined with the DLL name from the applicationIdentity attribute in the manifest. Note: Any arguments with spaces in the names must be enclosed within double quotation marks. Return Code: 0\n","date":"2019-12-07T09:08:52Z","permalink":"https://pen2.com/cmd/ja/lodctr/","title":"lodctr"},{"content":"nslookup\nnslookup C:\\Windows\\system32\\nslookup.exe /? STDERR:\nJa\r使用法: nslookup [-opt ...] # 既定のサーバーを使用する対話モード nslookup [-opt ...] - サーバー # \u0026#39;サーバー\u0026#39; を使用する対話モード nslookup [-opt ...] ホスト # 既定のサーバーを使用して \u0026#39;ホスト\u0026#39; を検索 nslookup [-opt ...] ホスト サーバー # \u0026#39;サーバー\u0026#39; を使用して \u0026#39;ホスト\u0026#39; を検索 En\rUsage: nslookup [-opt ...] # interactive mode using default server nslookup [-opt ...] - server # interactive mode using \u0026#39;server\u0026#39; nslookup [-opt ...] host # just look up \u0026#39;host\u0026#39; using default server nslookup [-opt ...] host server # just look up \u0026#39;host\u0026#39; using \u0026#39;server\u0026#39; Return Code: 1\n","date":"2019-12-07T09:08:52Z","permalink":"https://pen2.com/cmd/ja/nslookup/","title":"nslookup"},{"content":"PerfMon カウンターのアンロード\nunlodctr C:\\Windows\\system32\\unlodctr.exe /? Output:\n日本語\rUNLODCTR パフォーマンス カウンター プロバイダーをアンインストールします。 使用法: UNLODCTR \u0026lt;サービス名\u0026gt; \u0026lt;サービス名\u0026gt; のサービスに関連付けられた v1.0 パフォーマンス カウンター プロバイダーをアンインストールします。 UNLODCTR /m:\u0026lt;マニフェスト\u0026gt; 指定した XML マニフェストにあるプロバイダー GUID を 使用して、v2.0 パフォーマンス カウンター プロバイダーをアンインストールします。 UNLODCTR /g:{ProviderGuid} 指定したプロバイダー GUID を使用して v2.0 パフォーマンス カウンター プロバイダーをアンインストールします。 GUID はレジストリ形式 {nnnnnnnn-nnnn...} で指定します UNLODCTR /p:\u0026lt;プロバイダー名\u0026gt; 指定したプロバイダー名に一致する v2.0 パフォーマンス カウンター プロバイダーをアンインストールします。 注: 名前にスペースを含む引数を指定する場合は、二重引用符で 囲む必要があります。 英語\rUNLODCTR uninstalls a performance counter provider. Usage: UNLODCTR \u0026lt;service-name\u0026gt; uninstalls the v1.0 performance counter provider associated with the \u0026lt;service-name\u0026gt; service. UNLODCTR /m:\u0026lt;manifest\u0026gt; uninstall a v2.0 performance counter provider using the provider GUID from the specified XML manifest. UNLODCTR /g:{ProviderGuid} uninstall a v2.0 performance counter provider using the specified provider GUID. The GUID should be specified in registry form, i.e. {nnnnnnnn-nnnn...} UNLODCTR /p:\u0026lt;ProviderName\u0026gt; uninstall a v2.0 performance counter provider matching the specified provider name. Note: any arguments with spaces in the names must be enclosed within double quotation marks. Return Code: 0\n","date":"2019-12-07T09:08:52Z","permalink":"https://pen2.com/cmd/ja/unlodctr/","title":"unlodctr"},{"content":"BITS 管理ユーティリティ\nbitsadmin C:\\Windows\\system32\\bitsadmin.exe /? Output:\nBITSADMIN version 3.0 BITS administration utility. (C) Copyright Microsoft Corp. USAGE: BITSADMIN [/RAWRETURN] [/WRAP | /NOWRAP] command The following commands are available: /HELP Prints this help /? Prints this help /UTIL /? Prints the list of utilities commands /PEERCACHING /? Prints the list of commands to manage Peercaching /CACHE /? Prints the list of cache management commands /PEERS /? Prints the list of peer management commands /LIST [/ALLUSERS] [/VERBOSE] List the jobs /MONITOR [/ALLUSERS] [/REFRESH sec] Monitors the copy manager /RESET [/ALLUSERS] Deletes all jobs in the manager /TRANSFER \u0026lt;job name\u0026gt; [type] [/PRIORITY priority] [/ACLFLAGS flags] [/DYNAMIC] remote_url local_name Transfers one of more files. [type] may be /DOWNLOAD or /UPLOAD; default is download Multiple URL/file pairs may be specified. Unlike most commands, \u0026lt;job name\u0026gt; may only be a name and not a GUID. /DYNAMIC configures the job with BITS_JOB_PROPERTY_DYNAMIC_CONTENT, which relaxes the server-side requirements. /CREATE [type] \u0026lt;job name\u0026gt; Creates a job [type] may be /DOWNLOAD, /UPLOAD, or /UPLOAD-REPLY; default is download Unlike most commands, \u0026lt;job name\u0026gt; may only be a name and not a GUID. /INFO \u0026lt;job\u0026gt; [/VERBOSE] Displays information about the job /ADDFILE \u0026lt;job\u0026gt; \u0026lt;remote_url\u0026gt; \u0026lt;local_name\u0026gt; Adds a file to the job /ADDFILESET \u0026lt;job\u0026gt; \u0026lt;textfile\u0026gt; Adds multiple files to the job Each line of \u0026lt;textfile\u0026gt; lists a file\u0026#39;s remote name and local name, separated by spaces. A line beginning with \u0026#39;#\u0026#39; is treated as a comment. Once the file set is read into memory, the contents are added to the job. /ADDFILEWITHRANGES \u0026lt;job\u0026gt; \u0026lt;remote_url\u0026gt; \u0026lt;local_name range_list\u0026gt; Like /ADDFILE, but BITS will read only selected byte ranges of the URL. range_list is a comma-delimited series of offset and length pairs. For example, 0:100,2000:100,5000:eof instructs BITS to read 100 bytes starting at offset zero, 100 bytes starting at offset 2000, and the remainder of the URL starting at offset 5000. /REPLACEREMOTEPREFIX \u0026lt;job\u0026gt; \u0026lt;old_prefix\u0026gt; \u0026lt;new_prefix\u0026gt; All files whose URL begins with \u0026lt;old_prefix\u0026gt; are changed to use \u0026lt;new_prefix\u0026gt; Note that BITS currently supports HTTP/HTTPS downloads and uploads. It also supports UNC paths and file:// paths as URLS /LISTFILES \u0026lt;job\u0026gt; Lists the files in the job /SUSPEND \u0026lt;job\u0026gt; Suspends the job /RESUME \u0026lt;job\u0026gt; Resumes the job /CANCEL \u0026lt;job\u0026gt; Cancels the job /COMPLETE \u0026lt;job\u0026gt; Completes the job /GETTYPE \u0026lt;job\u0026gt; Retrieves the job type /GETACLFLAGS \u0026lt;job\u0026gt; Retrieves the ACL propagation flags /SETACLFLAGS \u0026lt;job\u0026gt; \u0026lt;ACL_flags\u0026gt; Sets the ACL propagation flags for the job O - OWNER G - GROUP D - DACL S - SACL Examples: bitsadmin /setaclflags MyJob OGDS bitsadmin /setaclflags MyJob OGD /GETBYTESTOTAL \u0026lt;job\u0026gt; Retrieves the size of the job /GETBYTESTRANSFERRED \u0026lt;job\u0026gt; Retrieves the number of bytes transferred /GETFILESTOTAL \u0026lt;job\u0026gt; Retrieves the number of files in the job /GETFILESTRANSFERRED \u0026lt;job\u0026gt; Retrieves the number of files transferred /GETCREATIONTIME \u0026lt;job\u0026gt; Retrieves the job creation time /GETMODIFICATIONTIME \u0026lt;job\u0026gt; Retrieves the job modification time /GETCOMPLETIONTIME \u0026lt;job\u0026gt; Retrieves the job completion time /GETSTATE \u0026lt;job\u0026gt; Retrieves the job state /GETERROR \u0026lt;job\u0026gt; Retrieves detailed error information /GETOWNER \u0026lt;job\u0026gt; Retrieves the job owner /GETDISPLAYNAME \u0026lt;job\u0026gt; Retrieves the job display name /SETDISPLAYNAME \u0026lt;job\u0026gt; \u0026lt;display_name\u0026gt; Sets the job display name /GETDESCRIPTION \u0026lt;job\u0026gt; Retrieves the job description /SETDESCRIPTION \u0026lt;job\u0026gt; \u0026lt;description\u0026gt; Sets the job description /GETPRIORITY \u0026lt;job\u0026gt; Retrieves the job priority /SETPRIORITY \u0026lt;job\u0026gt; \u0026lt;priority\u0026gt; Sets the job priority Priority usage choices: FOREGROUND HIGH NORMAL LOW /GETNOTIFYFLAGS \u0026lt;job\u0026gt; Retrieves the notify flags /SETNOTIFYFLAGS \u0026lt;job\u0026gt; \u0026lt;notify_flags\u0026gt; Sets the notify flags For more help on this option, please refer to the MSDN help page for SetNotifyFlags/GETNOTIFYINTERFACE \u0026lt;job\u0026gt; Determines if notify interface is registered /GETMINRETRYDELAY \u0026lt;job\u0026gt; Retrieves the retry delay in seconds /SETMINRETRYDELAY \u0026lt;job\u0026gt; \u0026lt;retry_delay\u0026gt; Sets the retry delay in seconds /GETNOPROGRESSTIMEOUT \u0026lt;job\u0026gt; Retrieves the no progress timeout in seconds /SETNOPROGRESSTIMEOUT \u0026lt;job\u0026gt; \u0026lt;timeout\u0026gt; Sets the no progress timeout in seconds /GETMAXDOWNLOADTIME \u0026lt;job\u0026gt; Retrieves the download timeout in seconds /SETMAXDOWNLOADTIME \u0026lt;job\u0026gt; \u0026lt;timeout\u0026gt; Sets the download timeout in seconds /GETERRORCOUNT \u0026lt;job\u0026gt; Retrieves an error count for the job /SETPROXYSETTINGS \u0026lt;job\u0026gt; \u0026lt;usage\u0026gt; Sets the proxy usage usage choices: PRECONFIG - Use the owner\u0026#39;s default Internet settings. AUTODETECT - Force autodetection of proxy. NO_PROXY - Do not use a proxy server. OVERRIDE - Use an explicit proxy list and bypass list. Must be followed by a proxy list and a proxy bypass list. NULL or \u0026#34;\u0026#34; may be used for an empty proxy bypass list. Examples: bitsadmin /setproxysettings MyJob PRECONFIG bitsadmin /setproxysettings MyJob AUTODETECT bitsadmin /setproxysettings MyJob NO_PROXY bitsadmin /setproxysettings MyJob OVERRIDE proxy1:80 \u0026#34;\u0026lt;local\u0026gt;\u0026#34; bitsadmin /setproxysettings MyJob OVERRIDE proxy1,proxy2,proxy3 NULL /GETPROXYUSAGE \u0026lt;job\u0026gt; Retrieves the proxy usage setting /GETPROXYLIST \u0026lt;job\u0026gt; Retrieves the proxy list /GETPROXYBYPASSLIST \u0026lt;job\u0026gt; Retrieves the proxy bypass list /TAKEOWNERSHIP \u0026lt;job\u0026gt; Take ownership of the job /SETNOTIFYCMDLINE \u0026lt;job\u0026gt; \u0026lt;program_name\u0026gt; [program_parameters] Sets a program to execute for notification, and optionally parameters. The program name and parameters can be NULL. IMPORTANT: if parameters are non-NULL, then the program name should be the first parameter. Examples: bitsadmin /SetNotifyCmdLine MyJob c:\\winnt\\system32\\notepad.exe NULL bitsadmin /SetNotifyCmdLine MyJob c:\\callback.exe \u0026#34;c:\\callback.exe parm1 parm2\u0026#34; bitsadmin /SetNotifyCmdLine MyJob NULL NULL /GETNOTIFYCMDLINE \u0026lt;job\u0026gt; Returns the job\u0026#39;s notification command line /SETCREDENTIALS \u0026lt;job\u0026gt; \u0026lt;target\u0026gt; \u0026lt;scheme\u0026gt; \u0026lt;username\u0026gt; \u0026lt;password\u0026gt; Adds credentials to a job. \u0026lt;target\u0026gt; may be either SERVER or PROXY \u0026lt;scheme\u0026gt; may be BASIC, DIGEST, NTLM, NEGOTIATE, or PASSPORT. /REMOVECREDENTIALS \u0026lt;job\u0026gt; \u0026lt;target\u0026gt; \u0026lt;scheme\u0026gt; Removes credentials from a job. /GETCUSTOMHEADERS \u0026lt;job\u0026gt; Gets the Custom HTTP Headers /SETCUSTOMHEADERS \u0026lt;job\u0026gt; \u0026lt;header1\u0026gt; \u0026lt;header2\u0026gt; \u0026lt;...\u0026gt; Sets the Custom HTTP Headers /MAKECUSTOMHEADERSWRITEONLY \u0026lt;job\u0026gt; Make a job\u0026#39;s Custom HTTP Headers write-only (cannot be undone). /GETHTTPMETHOD \u0026lt;job\u0026gt; Gets the HTTP verb to use. /SETHTTPMETHOD \u0026lt;job\u0026gt; \u0026lt;HTTPMethod\u0026gt; Sets the HTTP verb to use. /GETCLIENTCERTIFICATE \u0026lt;job\u0026gt; Gets the job\u0026#39;s Client Certificate Information /SETCLIENTCERTIFICATEBYID \u0026lt;job\u0026gt; \u0026lt;store_location\u0026gt; \u0026lt;store_name\u0026gt; \u0026lt;hexa-decimal_cert_id\u0026gt; Sets a client authentication certificate to a job. \u0026lt;store_location\u0026gt; may be 1(CURRENT_USER), 2(LOCAL_MACHINE), 3(CURRENT_SERVICE), 4(SERVICES), 5(USERS), 6(CURRENT_USER_GROUP_POLICY), 7(LOCAL_MACHINE_GROUP_POLICY) or 8(LOCAL_MACHINE_ENTERPRISE). /SETCLIENTCERTIFICATEBYNAME \u0026lt;job\u0026gt; \u0026lt;store_location\u0026gt; \u0026lt;store_name\u0026gt; \u0026lt;subject_name\u0026gt; Sets a client authentication certificate to a job. \u0026lt;store_location\u0026gt; may be 1(CURRENT_USER), 2(LOCAL_MACHINE), 3(CURRENT_SERVICE), 4(SERVICES), 5(USERS), 6(CURRENT_USER_GROUP_POLICY), 7(LOCAL_MACHINE_GROUP_POLICY) or 8(LOCAL_MACHINE_ENTERPRISE). /REMOVECLIENTCERTIFICATE \u0026lt;job\u0026gt; Removes the Client Certificate Information from the job /SETSECURITYFLAGS \u0026lt;job\u0026gt; \u0026lt;value\u0026gt; Sets the HTTP security flags for URL redirection and checks performed on the server certificate during the transfer. The value is an unsigned integer with the following interpretation for the bits in the binary representation. Enable CRL Check : Set the least significant bit Ignore invalid common name in server certificate : Set the 2nd bit from right Ignore invalid date in server certificate : Set the 3rd bit from right Ignore invalid certificate authority in server certificate : Set the 4th bit from right Ignore invalid usage of certificate : Set the 5th bit from right Redirection policy : Controlled by the 9th-11th bits from right 0,0,0 - Redirects will be automatically allowed. 0,0,1 - Remote name in the IBackgroundCopyFile interface will be updated if a redirect occurs. 0,1,0 - BITS will fail the job if a redirect occurs. Allow redirection from HTTPS to HTTP : Set the 12th bit from right /GETSECURITYFLAGS \u0026lt;job\u0026gt; Reports the HTTP security flags for URL redirection and checks performed on the server certificate during the transfer. /SETVALIDATIONSTATE \u0026lt;job\u0026gt; \u0026lt;file-index\u0026gt; \u0026lt;true|false\u0026gt; \u0026lt;file-index\u0026gt; starts from 0 Sets the content-validation state of the given file within the job. /GETVALIDATIONSTATE \u0026lt;job\u0026gt; \u0026lt;file-index\u0026gt; \u0026lt;file-index\u0026gt; starts from 0 Reports the content-validation state of the given file within the job. /GETTEMPORARYNAME \u0026lt;job\u0026gt; \u0026lt;file-index\u0026gt; \u0026lt;file-index\u0026gt; starts from 0 Reports the temporary filename of the given file within the job. The following options control peercaching of a particular job: /SETPEERCACHINGFLAGS \u0026lt;job\u0026gt; \u0026lt;value\u0026gt; Sets the flags for the job\u0026#39;s peercaching behavior. The value is an unsigned integer with the following interpretation for the bits in the binary representation. Allow the job\u0026#39;s data to be downloaded from a peer : Set the least significant bit Allow the job\u0026#39;s data to be served to peers : Set the 2nd bit from right /GETPEERCACHINGFLAGS \u0026lt;job\u0026gt; Reports the flags for the job\u0026#39;s peercaching behavior. The following options are valid for UPLOAD-REPLY jobs only: /GETREPLYFILENAME \u0026lt;job\u0026gt; Gets the path of the file containing the server reply /SETREPLYFILENAME \u0026lt;job\u0026gt; \u0026lt;path\u0026gt; Sets the path of the file containing the server reply /GETREPLYPROGRESS \u0026lt;job\u0026gt; Gets the size and progress of the server reply /GETREPLYDATA \u0026lt;job\u0026gt; Dumps the server\u0026#39;s reply data in hex format /SETHELPERTOKEN \u0026lt;job\u0026gt; Sets the current command prompt\u0026#39;s primary token as a job\u0026#39;s helper token /GETHELPERTOKENSID \u0026lt;job\u0026gt; Reports the user account SID of a job\u0026#39;s helper token, if one is set /SETHELPERTOKENFLAGS \u0026lt;job\u0026gt; \u0026lt;flags\u0026gt; Sets the helper token usage flags for a job. Possible values are: 1 - The helper token is used when accessing the local filesystem. 2 - The helper token is used when accessing the network. 3 - The helper token is used when accessing both the local filesystem and the network. /GETHELPERTOKENFLAGS \u0026lt;job\u0026gt; Reports a job\u0026#39;s helper token usage flags. /GETPEERSTATS \u0026lt;job\u0026gt; \u0026lt;file-index\u0026gt; \u0026lt;file-index\u0026gt; starts from 0 Reports statistics about the amount of data downloaded from peers and origin servers for a specific file within a job. The following options can be placed before the command: /RAWRETURN Return data more suitable for parsing /WRAP Wrap output around console (default) /NOWRAP Don\u0026#39;t wrap output around console The /RAWRETURN option strips new line characters and formatting. It is recognized by the /CREATE and /GET* commands. Commands that take a \u0026lt;job\u0026gt; parameter will accept either a job name or a job ID GUID inside braces. BITSADMIN reports an error if a name is ambiguous. Return Code: 0\n","date":"2019-12-07T09:08:46Z","permalink":"https://pen2.com/cmd/ja/bitsadmin/","title":"bitsadmin"},{"content":"ディスク チェック ユーティリティ\nchkdsk C:\\Windows\\system32\\chkdsk.exe /? Output:\n日本語\rディスクをチェックし、現在の状態を表示します。 CHKDSK [ボリューム[[パス]ファイル名]]] [/F] [/V] [/R] [/X] [/I] [/C] [/L[:サイズ]] [/B] [/scan] [/spotfix] ボリューム ドライブ文字 (文字の後にはコロンを付ける)、 マウント ポイント、ボリューム名を指定します。 filename FAT/FAT32 のみ: 断片化をチェックするファイルを 指定します。 /F ディスクのエラーを修復します。 /V On FAT/FAT32: ディスクの全ファイルの完全なパスと名前を表示 します。 On NTFS: クリーンアップ メッセージがあればそれも表示します。 /R 不良セクターを見つけて、読み取り可能な情報を回復します (/scan を指定しない場合、/F も暗黙的に指定されます)。 /L:size NTFS のみ: 指定されたキロバイト数にログ ファイル サイズを 変更します。サイズが指定されていないときは、現在のサイズを 表示します。 /X 必要であれば、最初にボリュームを強制的にマウント解除します。 ボリュームに対して開かれているすべてのハンドルは、無効になり ます (/F も暗黙的に指定されます)。 /I NTFS のみ: インデックス エントリのチェックを抑制して実行しま す。 /C NTFS のみ: フォルダー構造内の周期的なチェックをスキップ します。 /B NTFS のみ: ボリューム上の不良クラスターを再評価します (/R も 暗黙的に指定されます)。 /scan NTFS のみ: ボリュームに対してオンライン スキャンを実行します。 /forceofflinefix NTFS のみ: (\u0026#34;/scan\u0026#34; と共に使用する必要があります) すべてのオンライン修復を無視します。検出されたすべての障害は オフライン修復のためにキューに挿入されます (\u0026#34;chkdsk /spotfix\u0026#34;)。 /perf NTFS のみ: (\u0026#34;/scan\u0026#34; と共に使用する必要があります) できる限り早くスキャンが完了するようにより多くのシステム リソースを使用します。これにより、システムで実行中の他のタスク のパフォーマンスが低下する可能性があります。 /spotfix NTFS のみ: ボリュームに対してスポット修正を実行します。 /sdcleanup NTFS のみ: 不要なセキュリティ記述子データを ガベージ コレクトします (/F も暗黙的に指定されます)。 /offlinescanandfix オフライン スキャンを実行し、ボリューム上で修正します。 /freeorphanedchains FAT/FAT32/exFAT のみ: 孤立したクラスタ チェーンを それらのコンテンツを回復する代わりに解放します。 /markclean FAT/FAT32/exFAT のみ: /F が指定されていない場合であっても 破損が検出されなかった場合、ボリュームをクリーンとしてマークします。 /I または /C スイッチは、ボリュームの特定のチェックをスキップして、Chkdsk の 実行時間を短縮します。 英語\rChecks a disk and displays a status report. CHKDSK [volume[[path]filename]]] [/F] [/V] [/R] [/X] [/I] [/C] [/L[:size]] [/B] [/scan] [/spotfix] volume Specifies the drive letter (followed by a colon), mount point, or volume name. filename FAT/FAT32 only: Specifies the files to check for fragmentation. /F Fixes errors on the disk. /V On FAT/FAT32: Displays the full path and name of every file on the disk. On NTFS: Displays cleanup messages if any. /R Locates bad sectors and recovers readable information (implies /F, when /scan not specified). /L:size NTFS only: Changes the log file size to the specified number of kilobytes. If size is not specified, displays current size. /X Forces the volume to dismount first if necessary. All opened handles to the volume would then be invalid (implies /F). /I NTFS only: Performs a less vigorous check of index entries. /C NTFS only: Skips checking of cycles within the folder structure. /B NTFS only: Re-evaluates bad clusters on the volume (implies /R) /scan NTFS only: Runs an online scan on the volume /forceofflinefix NTFS only: (Must be used with \u0026#34;/scan\u0026#34;) Bypass all online repair; all defects found are queued for offline repair (i.e. \u0026#34;chkdsk /spotfix\u0026#34;). /perf NTFS only: (Must be used with \u0026#34;/scan\u0026#34;) Uses more system resources to complete a scan as fast as possible. This may have a negative performance impact on other tasks running on the system. /spotfix NTFS only: Runs spot fixing on the volume /sdcleanup NTFS only: Garbage collect unneeded security descriptor data (implies /F). /offlinescanandfix Runs an offline scan and fix on the volume. /freeorphanedchains FAT/FAT32/exFAT only: Frees any orphaned cluster chains instead of recovering their contents. /markclean FAT/FAT32/exFAT only: Marks the volume clean if no corruption was detected, even if /F was not specified. The /I or /C switch reduces the amount of time required to run Chkdsk by skipping certain checks of the volume. Return Code: 3\n","date":"2019-12-07T09:08:46Z","permalink":"https://pen2.com/cmd/ja/chkdsk/","title":"chkdsk"},{"content":"NTFS ボリューム メンテナンス ユーティリティ\nchkntfs C:\\Windows\\system32\\chkntfs.exe /? Output:\n日本語\rCHKNTFS ボリューム [...] CHKNTFS /D CHKNTFS /T[:時間] CHKNTFS /X ボリューム [...] CHKNTFS /C ボリューム [...] ボリューム ドライブ文字 (文字の後にはコロンを付ける)、マウント ポイント、ボリューム名を指定します。 /D コンピューターを既定の動作に戻します。 起動時にすべてのドライブを検査し、エラーがあったドライブに 対して CHKDSK を実行します。 /T:時間 指定された時間を秒に変換して、AUTOCHK を開始するカウント ダウン時間へ設定します。 時間が指定されていなければ、現在の設定を表示します。 /X ドライブを既定の起動時の検査から除外します。 除外するドライブは、このコマンドを実行するたびに指定する 必要があります。 /C ブート時にドライブを検査するようにスケジュールします。 ドライブにエラーがある場合、chkdsk が起動されます。 スイッチが指定されていない場合は、CHKNTFS は指定されたドライブに エラーがあるかどうか、次回の再起動で確認を行うようスケジュールされて いるかどうかを表示します。 英語\rDisplays or modifies the checking of disk at boot time. CHKNTFS volume [...] CHKNTFS /D CHKNTFS /T[:time] CHKNTFS /X volume [...] CHKNTFS /C volume [...] volume Specifies the drive letter (followed by a colon), mount point, or volume name. /D Restores the machine to the default behavior; all drives are checked at boot time and chkdsk is run on those that are dirty. /T:time Changes the AUTOCHK initiation countdown time to the specified amount of time in seconds. If time is not specified, displays the current setting. /X Excludes a drive from the default boot-time check. Excluded drives are not accumulated between command invocations. /C Schedules a drive to be checked at boot time; chkdsk will run if the drive is dirty. If no switches are specified, CHKNTFS will display if the specified drive is dirty or scheduled to be checked on next reboot. Return Code: 2\n","date":"2019-12-07T09:08:46Z","permalink":"https://pen2.com/cmd/ja/chkntfs/","title":"chkntfs"},{"content":"ファイル圧縮ユーティリティ\ncompact C:\\Windows\\system32\\compact.exe /? Output:\n日本語\rNTFS パーティション上のファイルの圧縮状態を表示または変更します。 COMPACT [/C | /U] [/S[:ディレクトリ]] [/A] [/I] [/F] [/Q] [/EXE[:アルゴリズム]] [/CompactOs[:オプション] [/WinDir:ディレクトリ]] [ファイル名 [...]] /C 指定されたファイルを圧縮します。/EXE を指定しない限り、 ディレクトリは、後で追加されたファイルが圧縮されるように マークされます。 /U 指定されたファイルを圧縮解除します。ディレクトリは、後で 追加されたファイルが圧縮されないようにマークされます。 /EXE を指定した場合は、実行可能ファイルとして圧縮された ファイルだけが圧縮解除されます。/EXE を省略した場合は、 NTFS 圧縮ファイルだけが圧縮解除されます。 /S 指定されたディレクトリおよびそのサブディレクトリにある ファイルに、指定された操作を実行します。 \u0026#34;ディレクトリ\u0026#34; の既定値は現在のディレクトリです。 /A 隠しファイルやシステム ファイルも表示します。既定の設定では、 これらのファイルは省略されます。 /I エラーが発生した場合でも、指定された処理を続行します。 既定の設定では、エラーが発生すると COMPACT は 停止されます。 /F 圧縮済みのファイルも含めて、指定されたすべてのファイルを 強制圧縮します。既定の設定では圧縮済みのファイルはスキップ されます。 /Q 重要な情報だけを報告します。 /EXE 頻繁に読み取られ、変更されることのない実行可能ファイルに合わせて 最適化された圧縮を使用します。次のアルゴリズムがサポートされています: XPRESS4K (最速) (既定) XPRESS8K XPRESS16K LZX (最小) /CompactOs システムの圧縮状態を設定または照会します。次のオプションがサポートされます。 query - システムの圧縮状態を照会します。 always - すべての OS バイナリを圧縮し、システムの状態を 圧縮に設定します。この状態は、管理者が変更しない限りそのままになります。 never - すべての OS バイナリを圧縮解除し、システムの状態を 無圧縮に設定します。この状態は、管理者が変更しない限りそのままになります。 /WinDir オフラインの OS を照会するときに、/CompactOs:query と共に使用します。 Windows がインストールされているディレクトリを指定します。 ファイル名 パターン、ファイル、またはディレクトリを指定します。 パラメーターを指定せずに COMPACT を実行すると、現在のディレクトリと ディレクトリに含まれるすべてのファイルの圧縮状態を表示します。 複数のファイル名やワイルド カードを指定できます。複数のパラメーターを 指定する場合は、パラメーターをスペースで区切ってください。 英語\rDisplays or alters the compression of files on NTFS partitions. COMPACT [/C | /U] [/S[:dir]] [/A] [/I] [/F] [/Q] [/EXE[:algorithm]] [/CompactOs[:option] [/WinDir:dir]] [filename [...]] /C Compresses the specified files. Directories will be marked so that files added afterward will be compressed unless /EXE is specified. /U Uncompresses the specified files. Directories will be marked so that files added afterward will not be compressed. If /EXE is specified, only files compressed as executables will be uncompressed; if this is omitted, only NTFS compressed files will be uncompressed. /S Performs the specified operation on files in the given directory and all subdirectories. Default \u0026#34;dir\u0026#34; is the current directory. /A Displays files with the hidden or system attributes. These files are omitted by default. /I Continues performing the specified operation even after errors have occurred. By default, COMPACT stops when an error is encountered. /F Forces the compress operation on all specified files, even those which are already compressed. Already-compressed files are skipped by default. /Q Reports only the most essential information. /EXE Use compression optimized for executable files which are read frequently and not modified. Supported algorithms are: XPRESS4K (fastest) (default) XPRESS8K XPRESS16K LZX (most compact) /CompactOs Set or query the system\u0026#39;s compression state. Supported options are: query - Query the system\u0026#39;s Compact state. always - Compress all OS binaries and set the system state to Compact which remains unless administrator changes it. never - Uncompress all OS binaries and set the system state to non Compact which remains unless administrator changes it. /WinDir Used with /CompactOs:query, when querying the offline OS. Specifies the directory where Windows is installed. filename Specifies a pattern, file, or directory. Used without parameters, COMPACT displays the compression state of the current directory and any files it contains. You may use multiple filenames and wildcards. You must put spaces between multiple parameters. Return Code: 0\n","date":"2019-12-07T09:08:46Z","permalink":"https://pen2.com/cmd/ja/compact/","title":"compact"},{"content":"MicrosoftR CAB ファイル展開ユーティリティ\nextrac32 C:\\Windows\\system32\\extrac32.exe /? Output:\nMicrosoft (R) Cabinet Extraction Tool Copyright (c) Microsoft Corporation. All rights reserved.. EXTRACT [/Y] [/A] [/D | /E] [/L dir] cabinet [filename ...] EXTRACT [/Y] source [newname] EXTRACT [/Y] /C source destination cabinet - Cabinet file (contains two or more files). filename - Name of the file to extract from the cabinet. Wild cards and multiple filenames (separated by blanks) may be used. source - Compressed file (a cabinet with only one file). newname - New filename to give the extracted file. If not supplied, the original name is used. /A Process ALL cabinets. Follows cabinet chain starting in first cabinet mentioned. /C Copy source file to destination (to copy from DMF disks). /D Display cabinet directory (use with filename to avoid extract). /E Extract (use instead of *.* to extract all files). /L dir Location to place extracted files (default is current directory). /Y Do not prompt before overwriting an existing file. Return Code: 0\n","date":"2019-12-07T09:08:46Z","permalink":"https://pen2.com/cmd/ja/extrac32/","title":"extrac32"},{"content":"Disk Format Utility\nformat C:\\Windows\\system32\\format.com /? Output:\n日本語\rWindows で使うディスクをフォーマットします。 FORMAT volume [/FS:file-system] [/V:label] [/Q] [/L[:state]] [/A:size] [/C] [/I:state] [/X] [/P:passes] [/S:state] FORMAT volume [/V:label] [/Q] [/F:size] [/P:passes] FORMAT ボリューム [/V:ラベル] [/Q] [/T:トラック数 /N:セクター数] [/P:passes] FORMAT ボリューム [/V:ラベル] [/Q] [/P:passes] FORMAT ボリューム [/Q] ボリューム ドライブ文字 (文字の後にはコロンを付ける)、マウント ポイント、ボリューム名を指定します。 /FS:ファイルシステム ファイルシステムにはファイルシステムの種類を指定 します (FAT、FAT32、exFAT、NTFS、UDF または ReFS)。 /V:ラベル ボリューム ラベルを指定します。 /Q クイック フォーマットを実行します。このスイッチは /P スイッチを上書きします。 /C NTFS のみ: 新しいボリューム上に作成されたファイルは、 既定では、圧縮されます。 /X 必要であれば、最初にボリュームを強制的にマウントを解除 します。ボリュームへ開かれているすべてのハンドルは、無効 になります。 /R:リビジョン UDF のみ: 形式を特定の UDF Version (1.02、1.50、2.00、2.01、 2.50) に強制します。既定のリビジョンは 2.01 です。 /D UDF 2.50 のみ: メタデータが複製されます。 /L[:state] NTFS のみ: ファイル レコードの既定のサイズを上書きします。 既定では、階層型でないボリュームは小さいサイズのファイル レコードを使用して フォーマットされ、階層型ボリュームは大きいサイズのファイル レコードを使用して フォーマットされます。/L と /L:enable を指定すると、フォーマットで 大きいサイズのファイル レコードが使用され、/L:disable を指定すると、フォーマットで 小さいサイズのファイル レコードが使用されます。 /A:サイズ 既定のアロケーション ユニット サイズを上書きします。 一般的には、既定の設定を使用してください。 ReFS は、4096、64K をサポートします。 NTFS は、512、1024、2048、4096、8192、16K、32K、64K、 128K、256K、512K、1M、2M をサポートします。FAT は、512、 1024、2048、4096、8192、16K、32K、64K をサポートします (セクター サイズが 512 バイトよりも大きい場合は 128K、256K)。 FAT32 は、512、1024、2048、4096、8192、16K、32K、64K をサポート します (セクター サイズが 512 バイトよりも大きい場合は 128K、256K)。 exFAT は、512、1024、2048、4096、8192、16K、32K、64K、128K、 256K、512K、1M、2M、4M、8M、16M、32M をサポートします。 FAT と FAT32 ファイル システムは、下記のボリュームの クラスター数の制限に従います: FAT: クラスター数 \u0026lt;= 65526 FAT32: 65526 \u0026lt; クラスター数 \u0026lt; 4177918 指定されたクラスター サイズを使用して上記の要件を 満たせないと判断された場合、フォーマットの処理は 直ちに停止します。 NTFS 圧縮は、4096 より大きいアロケーション ユニット サイズ に対してはサポートされません。 /F:サイズ フォーマットするフロッピー ディスクのサイズを指定します (1.44) /T:トラック数 ディスクの片面あたりのトラック数を指定します。 /N:セクター数 トラックあたりのセクター数を指定します。 /P:count ボリュームのすべてのセクターを 0 にします。この処理の後、 ボリュームが、\u0026#34;count\u0026#34; の回数だけ毎回異なる乱数で上書き されます。\u0026#34;count\u0026#34; が 0 の場合、すべてのセクターを 0 に した後にそれ以外の上書きは行われません。このスイッチは、 /Q が指定されていない場合は無視されます。 /S:状態 短いファイル名 (enable、disable) のサポートを指定します 短い名前は既定で無効になっています /TXF:state txf が有効 (enabled) か無効 (disabled) かを指定します TxF は既定で有効です /I:状態 ReFS のみ: 新しいボリュームで保全を有効にするかどうかを 指定します。\u0026#34;状態\u0026#34; は \u0026#34;enable\u0026#34; または \u0026#34;disable\u0026#34; になります。保全は、既定でデータ冗長がサポートされている 記憶域で有効になります。 /DAX[:state] NTFS のみ: このボリュームの直接アクセス記憶 (DAX) モードを 有効にします。DAX モードの場合、IO パフォーマンスを向上させるために、 メモリ バスを使用してボリュームにアクセスします。ボリュームを DAX モード でフォーマットできるのは、ハードウェアが DAX に対応している場合のみです。 状態として \u0026#34;enable\u0026#34; または \u0026#34;disable\u0026#34; を指定できます。/DAX は /DAX:enable と見なされます。 /LogSize[:size] NTFS のみ: NTFS ログ ファイルのサイズをキロバイト単位で 指定します。サポートされる最小サイズは 2 MB なので、2 MB より 小さいサイズを指定すると、2 MB になります。ゼロは既定値を示し、 一般に既定値はボリューム サイズに依存します。 /NoRepairLogs NTFS のみ: NTFS 修復ログを無効にします。フラグが設定されて いる場合、スポット修正 (つまり chkdsk /spotfix) は機能しません。 英語\rFormats a disk for use with Windows. FORMAT volume [/FS:file-system] [/V:label] [/Q] [/L[:state]] [/A:size] [/C] [/I:state] [/X] [/P:passes] [/S:state] FORMAT volume [/V:label] [/Q] [/F:size] [/P:passes] FORMAT volume [/V:label] [/Q] [/T:tracks /N:sectors] [/P:passes] FORMAT volume [/V:label] [/Q] [/P:passes] FORMAT volume [/Q] volume Specifies the drive letter (followed by a colon), mount point, or volume name. /FS:filesystem Specifies the type of the file system (FAT, FAT32, exFAT, NTFS, UDF, ReFS). /V:label Specifies the volume label. /Q Performs a quick format. Note that this switch overrides /P. /C NTFS only: Files created on the new volume will be compressed by default. /X Forces the volume to dismount first if necessary. All opened handles to the volume would no longer be valid. /R:revision UDF only: Forces the format to a specific UDF version (1.02, 1.50, 2.00, 2.01, 2.50). The default revision is 2.01. /D UDF 2.50 only: Metadata will be duplicated. /L[:state] NTFS Only: Overrides the default size of file record. By default, a non-tiered volume will be formatted with small size file records and a tiered volume will be formatted with large size file records. /L and /L:enable forces format to use large size file records and /L:disable forces format to use small size file records. /A:size Overrides the default allocation unit size. Default settings are strongly recommended for general use. ReFS supports 4096, 64K. NTFS supports 512, 1024, 2048, 4096, 8192, 16K, 32K, 64K, 128K, 256K, 512K, 1M, 2M. FAT supports 512, 1024, 2048, 4096, 8192, 16K, 32K, 64K, (128K, 256K for sector size \u0026gt; 512 bytes). FAT32 supports 512, 1024, 2048, 4096, 8192, 16K, 32K, 64K, (128K, 256K for sector size \u0026gt; 512 bytes). exFAT supports 512, 1024, 2048, 4096, 8192, 16K, 32K, 64K, 128K, 256K, 512K, 1M, 2M, 4M, 8M, 16M, 32M. Note that the FAT and FAT32 files systems impose the following restrictions on the number of clusters on a volume: FAT: Number of clusters \u0026lt;= 65526 FAT32: 65526 \u0026lt; Number of clusters \u0026lt; 4177918 Format will immediately stop processing if it decides that the above requirements cannot be met using the specified cluster size. NTFS compression is not supported for allocation unit sizes above 4096. /F:size Specifies the size of the floppy disk to format (1.44) /T:tracks Specifies the number of tracks per disk side. /N:sectors Specifies the number of sectors per track. /P:count Zero every sector on the volume. After that, the volume will be overwritten \u0026#34;count\u0026#34; times using a different random number each time. If \u0026#34;count\u0026#34; is zero, no additional overwrites are made after zeroing every sector. This switch is ignored when /Q is specified. /S:state Specifies support for short filenames (enable, disable) Short names are disabled by default /TXF:state Specifies txf is enabled/disabled (enabled, disabled) TxF is enabled by default /I:state ReFS only: Specifies whether integrity should be enabled on the new volume. \u0026#34;state\u0026#34; is either \u0026#34;enable\u0026#34; or \u0026#34;disable\u0026#34; Integrity is enabled on storage that supports data redundancy by default. /DAX[:state] NTFS Only: Enable direct access storage (DAX) mode for this volume. In DAX mode, the volume is accessed via the memory bus, boosting IO performance. A volume can be formatted with DAX mode only if the hardware is DAX capable. State can specify \u0026#34;enable\u0026#34; or \u0026#34;disable\u0026#34;. /DAX is considered as /DAX:enable. /LogSize[:size] NTFS Only: Specifies the size for NTFS log file in kilobytes. The minimum supported size is 2MB, so specifying size smaller than 2MB will result in a 2MB log file. Zero indicates the default value which generally depend on the volume size. /NoRepairLogs NTFS Only: Disables NTFS repair logs. If the flag is set spotfix (i.e. chkdsk /spotfix) will not work. Return Code: 0\n","date":"2019-12-07T09:08:46Z","permalink":"https://pen2.com/cmd/ja/format/","title":"format"},{"content":"MicrosoftR Cabinet Maker\nmakecab C:\\Windows\\system32\\makecab.exe /? Output:\nCabinet Maker - Lossless Data Compression Tool MAKECAB [/V[n]] [/D var=value ...] [/L dir] source [destination] MAKECAB [/V[n]] [/D var=value ...] /F directive_file [...] source File to compress. destination File name to give compressed file. If omitted, the last character of the source file name is replaced with an underscore (_) and used as the destination. /F directives A file with MakeCAB directives (may be repeated). Refer to Microsoft Cabinet SDK for information on directive_file. /D var=value Defines variable with specified value. /L dir Location to place destination (default is current directory). /V[n] Verbosity level (1..3). Return Code: 0\n","date":"2019-12-07T09:08:46Z","permalink":"https://pen2.com/cmd/ja/makecab/","title":"makecab"},{"content":"RPC Ping ユーティリティ\nrpcping C:\\Windows\\system32\\RpcPing.exe /? Output:\n日本語\r使用法: rpcping [-t \u0026lt;プロトコルシーケンス\u0026gt;] [-s \u0026lt;サーバーアドレス\u0026gt;] [-e \u0026lt;エンドポイント\u0026gt; |-f \u0026lt;インターフェイスUUID\u0026gt;[,MajorVer]] [-O \u0026lt;インターフェイスオブジェクトUUID] [-i \u0026lt;呼び出し数\u0026gt;] [-u \u0026lt;セキュリティパッケージID\u0026gt;] [-a \u0026lt;認証レベル\u0026gt;] [-N \u0026lt;サーバープリンシパル名\u0026gt;] [-I \u0026lt;認証ID\u0026gt;] [-C \u0026lt;機能\u0026gt;] [-T \u0026lt;ID追跡\u0026gt;] [-M \u0026lt;偽装の種類\u0026gt;] [-S \u0026lt;サーバーSID\u0026gt;] [-P \u0026lt;プロキシ認証ID\u0026gt;] [-F \u0026lt;RPCHTTPフラグ\u0026gt;] [-H \u0026lt;RPC/HTTP認証スキーム\u0026gt;] [-o \u0026lt;バインドオプション\u0026gt;] [-B \u0026lt;サーバー証明書サブジェクト\u0026gt;] [-b] [-E] [-q] [-c] [-A \u0026lt;httpプロキシ認証ID\u0026gt;] [-U \u0026lt;HTTPプロキシ認証スキーム\u0026gt;] [-r \u0026lt;レポート結果間隔\u0026gt;] [-v \u0026lt;詳細レベル\u0026gt;] RPC でサーバーに ping します。オプション: -t \u0026lt;プロトコル シーケンス\u0026gt; - 使用するプロトコル シーケンスです。 ncacn_ip_tcp、ncacn_np、ncacn_http などの標準 RPC プロトコル シーケンス の 1 つを指定できます。指定されない場合、既定は ncacn_ip_tcp です。 -s \u0026lt;サーバー アドレス\u0026gt; - サーバーのアドレスです。指定されない場合、 ローカル コンピューターを ping します。 例: サーバー名、server.com、157.59.244.141。 -e \u0026lt;エンドポイント\u0026gt; - ping するエンドポイントです。何も指定されていない場合、 対象のコンピューターのエンドポイント マッパーに ping されます。 このオプションは、インターフェイス (-f) オプションと同時に選択できません。 -o \u0026lt;バインド オプション\u0026gt; - RPC ping のバインド オプションです。詳細については MSDN を参照してください (RpcStringBindingCompose と RPC over HTTP)。 -f \u0026lt;インターフェイス UUID\u0026gt;[,MajorVer] - ping するインターフェイスです。 このオプションは、エンドポイント オプションと同時に選択できません。 インターフェイスは UUID として指定されます。MajorVer が指定されない場合、 インターフェイスのバージョン 1 が検索されます。インターフェイスを指定する と、rpcping によって対象のコンピューターのエンドポイント マッパーが照会 され、指定されたインターフェイスのエンドポイントが取得されます。コマンド ラインに指定されたオプションでエンドポイント マッパーが照会されます。 -O \u0026lt;Object UUID\u0026gt; - インターフェイスがオブジェクト UUID を登録している 場合のオブジェクト UUID です。 -i \u0026lt;呼び出し数\u0026gt; - 呼び出しの数です。既定値は 1 です。 このオプションは、繰り返しが複数指定されている場合に 接続待ち時間の測定に使用できます。 -u \u0026lt;セキュリティ パッケージ ID\u0026gt; - 呼び出すために RPC が使用する セキュリティ パッケージ (セキュリティ プロバイダー) です。 セキュリティ パッケージは番号または名前として識別されます。 番号が使用される場合は、RpcBindingSetAuthInfoEx API で指定されている 番号と同じです。下の一覧は、名前と番号です。名前の大文字と小文字は 区別されません: Negotiate - 9 または nego、snego、negotiate のいずれか NTLM - 10 または NTLM SChannel - 14 または SChannel Kerberos - 16 または Kerberos Kernel - 20 または Kernel このオプションを指定する場合は、いずれかの認証レベルを指定してください。 このオプションの既定値はありません。指定されていない場合、 RPC は ping にセキュリティを使用しません。 -a \u0026lt;認証レベル\u0026gt; - 使用する認証レベルです。設定可能な値は、 connect、call、pkt、integrity、および privacy です。このオプションを 指定する場合は、セキュリティ パッケージ ID (-u) も指定してください。 このオプションの既定値はありません。このオプションが指定されて いない場合、RPC は ping にセキュリティを使用しません。 -N \u0026lt;サーバー プリンシパル名\u0026gt; - サーバー プリンシパル名を指定します。 RpcBindingSetAuthInfoEx への ServerPrincName 引数と同じ形式です。 RpcBidningSetAuthInfoEx の詳細については、MSDN を参照してください。 このフィールドは、認証レベルとセキュリティ パッケージが選択されて いる場合のみ使用できます。 -I \u0026lt;認証 ID\u0026gt; - サーバーに接続する代替 ID を指定できます。 ID はユーザー,ドメイン,パスワードの形式で、 3 つのフィールドが明らかな意味を持ちます。ユーザー名、ドメイン、 またはパスワードにシェルによって解釈される可能性のある文字が ある場合は、ID を二重引用符で囲みます。パスワード ではなく * を指定することができ、RPC からパスワードの入力を求める メッセージが表示されます。パスワードは画面上に表示されません。 このフィールドが指定されていない場合は、ログオンしているユーザーの ID が 使用されます。このフィールドは、認証レベルとセキュリティ パッケージが 選択されている場合のみ使用されます。 -C \u0026lt;機能\u0026gt; - フラグの 16 進数のビットマスクです。 MSDN に記載されている RPC_SECURITY_QOS 構造の機能フィールド と同じ意味です。このフィールドは、認証レベルとセキュリティ パッケージが選択されている場合のみ使用できます。 -T \u0026lt;ID 追跡\u0026gt; - static または dynamic があります。指定されない 場合、既定では dynamic です。このフィールドは、認証レベルとセキュリティ パッケージが選択されている場合のみ使用できます。 -M \u0026lt;偽装の種類\u0026gt; - anonymous、identify、impersonate、 delegate を指定できます。既定では、impersonate です。 このフィールドは、認証レベルとセキュリティ パッケージが選択されている場合のみ使用できます。 -S \u0026lt;サーバー SID\u0026gt; - サーバーの予期される SID です。詳細については、 MSDN の RPC_SECURITY_QOS 構造の Sid フィールドを参照してください。 このオプションを使用するには、Windows .NET Server 2003 以降 が必要です。このフィールドは、認証レベルとセキュリティ パッケージが 選択されている場合のみ使用できます。 -Z \u0026lt;effectiveonly\u0026gt; - EffectiveOnly 設定です。詳細については、 MSDN の RPC_SECURITY_QOS 構造の EffectiveOnly フィールドを参照してください。 このオプションを使用するには、Windows Vista 以降が必要です。このフィールドは、 認証レベルとセキュリティ パッケージが選択されている場合のみ使用できます。 -D \u0026lt;serversecuritydescriptor\u0026gt; - 相互認証を使用する際の サーバーのセキュリティ記述子 (文字列形式) です。詳細については、 MSDN の RPC_SECURITY_QOS 構造の ServerSecurityDescriptor フィールドを参照してください。 このオプションを使用するには、Windows 8 以降 が必要です。このフィールドは、認証レベルとセキュリティ パッケージが 選択されている場合のみ使用できます。 -P \u0026lt;proxy_auth_identity\u0026gt; - \u0026lt;プロキシ認証 ID\u0026gt; - RPC/HTTP プロキシに認証する ID を指定します。 -I オプションと同じ形式です。このオプションを使用するには、 セキュリティ パッケージ (-u)、認証レベル (-a)、認証スキーム (-H) も指定してください。 -F \u0026lt;RPCHTTP フラグ\u0026gt; - RPC/HTTP フロント エンド認証に渡すフラグです。 フラグは番号または名前で指定することができます。 現在、認識されているフラグ: SSL の使用 - 1 または ssl または use_ssl 最初の認証スキームの使用 - 2 または first または use_first 詳細については、RPC_HTTP_TRANSPORT_CREDENTIALS の Flags フィールド を参照してください。このオプションを使用するには、 セキュリティ パッケージ (-u)、認証レベル (-a) も指定してください。 -H \u0026lt;RPC/HTTP 認証スキーム\u0026gt; - RPC/HTTP フロント エンド認証スキーム に使用する認証スキームです。このオプションは、数値の一覧または コンマで区切られた名前です。たとえば、Basic、NTLM。認識されている値は (名前の大文字と小文字は区別されない: Basic - 1 または Basic NTLM - 2 または NTLM Certificate - 65536 または Cert このオプションを使用するには、 セキュリティ パッケージ (-u)、認証レベル (-a) も指定してください。 -B \u0026lt;サーバー証明書サブジェクト\u0026gt; - サーバー証明書サブジェクトです。 詳細については、MSDN の RPC_HTTP_TRANSPORT_CREDENTIALS 構造の ServerCertificateSubject フィールドを参照してください。このオプションの 作業には、SSL を使用してください。このオプションを使用するには、セキュリティ パッケージ (-u)、 認証レベル (-a) も指定してください。 -b - サーバーから送信された証明書からサーバー証明書サブジェクトを 取得し、画面またはログ ファイルに印刷します。 プロキシ エコーのみオプション (-E) と SSL の使用オプションが指定されている 場合のみ有効です。このオプションを使用するには、セキュリティ パッケージ (-u)、 認証レベル (-a) も指定してください。 -R - HTTP プロキシを指定します。\u0026#39;none\u0026#39; の場合、 HTTP プロキシを使用せずに直接 RPC プロキシを試みます。\u0026#39;default\u0026#39; の 場合は、クライアント コンピューターの IE 設定が使用されます。 他の値は、明示的な HTTP プロキシとして扱われます。このフラグを 指定しない場合、値は default と見なされ、IE 設定がチェックされます。 このフラグは、-E (Echo Only) フラグを有効にした場合のみ有効です。 -E - ping を RPC/HTTP プロキシのみに制限します。ping はサーバーに 到達しません。RPC/HTTP プロキシを到達可能にする場合に便利です。 このオプションを使用するには、セキュリティ パッケージ (-u)、 認証レベル (-a) も指定してください。HTTP プロキシを指定するには、 -R フラグを使用します。-o フラグに HTTP プロキシが指定されている場合、 このオプションは無視されます。 -q - 自動モードです。パスワード以外のプロンプトを発行しません。 すべてのクエリへの回答を \u0026#39;Y\u0026#39; と見なします。このオプションは注意して 使用してください。 -c - スマート カード証明書を使用します。RPCPing はユーザーに スマート カードの選択を求めます。 -A \u0026lt;HTTP プロキシ認証 ID\u0026gt; - HTTP プロキシへ認証する ID を指定します。 -I オプションと同じ形式です。このオプションを使用するには、 認証スキーム (-U)、セキュリティ パッケージ (-u)、認証レベル (-a) も 指定してください。 -U \u0026lt;HTTP プロキシ認証スキーム\u0026gt; - HTTP プロキシ認証に使用する 認証スキームです。このオプションでは、数値または名前をコンマで 区切ってリストします (例: Basic,NTLM)。認識されている値は 次のとおりです (名前の大文字と小文字は区別されません)。 Basic - 1 または Basic NTLM - 2 または NTLM このオプションを使用するには、セキュリティ パッケージ (-u)、 認証レベル (-a) も指定してください。 -r \u0026lt;レポート結果間隔\u0026gt; - 繰り返しが複数指定されている場合、最終呼び出し後 ではなく一定の間隔で現在の実行の統計が rpcping によって表示されます。 レポートの間隔は秒で入力します。既定値は 15 です。 -v \u0026lt;詳細レベル\u0026gt; - rpcping に verbose の出力方法を指示します。 既定値は、1 です。2 または 3 を指定すると、rpcping からの出力が増えます。 例: RPC/HTTP 経由で接続する Exchange サーバーがアクセス可能か参照します。 rpcping -t ncacn_http -s exchange_server -o RpcProxy=front_end_proxy -P \u0026#34;ユーザー名,ドメイン,*\u0026#34; -H Basic -u NTLM -a connect -F 3 パスワードの入力を求められた場合に入力します。exchange_server は ユーザーの exchange server の名前、front_end_proxy はユーザーの プロキシの名前で、ユーザー名とドメインは Outlook プロンプトに入力する ユーザー名とドメインです。他のパラメーターは Outlook が標準プロファイルで 接続するのと同様に、rpcping に Exchange サーバーへ ping するよう求めます。 -p - 認証に失敗した場合、資格情報を要求します。 英語\rUsage: rpcping [-t \u0026lt;protseq\u0026gt;] [-s \u0026lt;server_addr\u0026gt;] [-e \u0026lt;endpoint\u0026gt; |-f \u0026lt;interface UUID\u0026gt;[,MajorVer]] [-O \u0026lt;Interface Object UUID] [-i \u0026lt;#_iterations\u0026gt;] [-u \u0026lt;security_package_id\u0026gt;] [-a \u0026lt;authn_level\u0026gt;] [-N \u0026lt;server_princ_name\u0026gt;] [-I \u0026lt;auth_identity\u0026gt;] [-C \u0026lt;capabilities\u0026gt;] [-T \u0026lt;identity_tracking\u0026gt;] [-M \u0026lt;impersonation_type\u0026gt;] [-S \u0026lt;server_sid\u0026gt;] [-P \u0026lt;proxy_auth_identity\u0026gt;] [-F \u0026lt;RPCHTTP_flags\u0026gt;] [-H \u0026lt;RPC/HTTP_authn_schemes\u0026gt;] [-o \u0026lt;binding_options\u0026gt;] [-B \u0026lt;server_certificate_subject\u0026gt;] [-b] [-E] [-q] [-c] [-A \u0026lt;http_proxy_auth_identity\u0026gt;] [-U \u0026lt;HTTP_proxy_authn_schemes\u0026gt;] [-r \u0026lt;report_results_interval\u0026gt;] [-v \u0026lt;verbose_level\u0026gt;] Pings a server using RPC. Options are: -t \u0026lt;protseq\u0026gt; - protocol sequence to use. Can be one of the standard RPC protocol sequences - ncacn_ip_tcp, ncacn_np, ncacn_http, etc. If not specified, default is ncacn_ip_tcp. -s \u0026lt;server_addr\u0026gt; - the server address. If not specified, the local machine will be pinged. E.g. server, server.com, 157.59.244.141 -e \u0026lt;endpoint\u0026gt; - the endpoint to ping. If none is specified, the endpoint mapper on the target machine will be pinged. This option is mutually exclusive with the interface (-f) option. -o \u0026lt;binding_options\u0026gt; - the binding options for the RPC ping. See the MSDN for more details (RpcStringBindingCompose and RPC over HTTP). -f \u0026lt;interface UUID\u0026gt;[,MajorVer] - the interface to ping. This option is mutually exclusive with the endpoint option. The interface is specified as a UUID. If the MajorVer is not specified, version 1 of the interface will be sought. When interface is specified, rpcping will query the endpoint mapper on the target machine to retrieve the endpoint for the specified interface. The endpoint mapper will be queried using the options specified in the command line. -O \u0026lt;Object UUID\u0026gt; - Object Uuid if the interface registerd one. -i \u0026lt;#_iterations\u0026gt; - number of calls to make. The default is 1. This option is useful for measuring connection latency if multiple iterations are specified. -u \u0026lt;security_package_id\u0026gt; - the security package (security provider) RPC will use to make the call. The security package is identified as a number or a name. If a number is used it is the same number as in the RpcBindingSetAuthInfoEx API. The table below gives the names and numbers. Names are not case sensitive: Negotiate - 9 or one of nego, snego or negotiate NTLM - 10 or NTLM SChannel - 14 or SChannel Kerberos - 16 or Kerberos Kernel - 20 or Kernel If you specify this option you must specify authentication level other than none. There is no default for this option. If it is not specified, RPC will not use security for the ping. -a \u0026lt;authn_level\u0026gt; - the authentication level to use. Possible values are connect, call, pkt, integrity and privacy. If this option is specified, the security package id (-u) must also be specified. There is no default for this option. If this option is not specified, RPC will not use security for the ping. -N \u0026lt;server_princ_name\u0026gt; - specifies a server principal name. Same semantics as the ServerPrincName argument to RpcBindingSetAuthInfoEx. See the MSDN for more information on RpcBidningSetAuthInfoEx. This field can be used only when authentication level and security package are selected. -I \u0026lt;auth_identity\u0026gt; - allows you to specify alternative identity to connect to the server. The identity is in the form user,domain,password where the three fields have the obvious meaning. If the user name, domain or password have special characters that can be interpreted by the shell be sure to enclose the identity in double quotes. You can specify * instead of the password and RPC will prompt you to enter the password without echoing it on the screen. If this field is not specified, the identity of the logged on user will be used. This field can be used only when authentication level and security package are selected. -C \u0026lt;capabilities\u0026gt; - a hex bitmask of flags. It has the same meaning as the Capabilities field in the RPC_SECURITY_QOS structure described in the MSDN. This field can be used only when authentication level and security package are selected. -T \u0026lt;identity_tracking\u0026gt; - can be static or dynamic. If not specified, dynamic is the default. This field can be used only when authentication level and security package are selected. -M \u0026lt;impersonation_type\u0026gt; - can be anonymous, identify, impersonate or delegate. Default is impersonate. This field can be used only when authentication level and security package are selected. -S \u0026lt;server_sid\u0026gt; - the expected SID of the server. For more information see the Sid field in the RPC_SECURITY_QOS structure in the MSDN. Using this option requires Windows .NET Server 2003 or higher. This field can be used only when authentication level and security package are selected. -Z \u0026lt;effectiveonly\u0026gt; - the EffectiveOnly setting to use. For more information see the EffectiveOnly field in the RPC_SECURITY_QOS structure in MSDN. Using this option requires Windows Vista or higher. This field can be used only when authentication level and security package are selected. -D \u0026lt;serversecuritydescriptor\u0026gt; - the security descriptor (in string format) of the server when using mutual authentication. For more information see the ServerSecurityDescriptor field in the RPC_SECURITY_QOS structure in MSDN. Using this option requires Windows 8 or higher. This field can be used only when authentication level and security package are selected. -P \u0026lt;proxy_auth_identity\u0026gt; - specifies the identity to authenticate with to the RPC/HTTP proxy. Has the same format as for the -I option. Also, you must specify security package (-u), authentication level (-a), and authentication schemes (-H) in order to use this option. -F \u0026lt;RPCHTTP_flags\u0026gt; - the flags to pass for RPC/HTTP front end authentication. The flags may be specified as numbers or names The currently recognized flags are: Use SSL - 1 or ssl or use_ssl Use first auth scheme - 2 or first or use_first See the Flags field in RPC_HTTP_TRANSPORT_CREDENTIALS for more information. Also, you must specify security package (-u) and authentication level (-a) in order to use this option. -H \u0026lt;RPC/HTTP_authn_schemes\u0026gt; - the authentication schemes to use for RPC/HTTP front end authentication. This option is a list of numerical values or names separated by comma. E.g. Basic,NTLM. Recognized values are (names are not case sensitive: Basic - 1 or Basic NTLM - 2 or NTLM Certificate - 65536 or Cert Also, you must specify security package (-u) and authentication level (-a) in order to use this option. -B \u0026lt;server_certificate_subject\u0026gt; - the server certificate subject. For more information, see the ServerCertificateSubject field in the RPC_HTTP_TRANSPORT_CREDENTIALS structure in the MSDN. You must use SSL for this option to work. Also, you must specify security package (-u) and authentication level (-a) in order to use this option. -b - retrieves the server certificate subject from the certificate sent by the server and prints it to a screen or a log file. Valid only when the Proxy Echo only option (-E) and the use SSL options are specified. Also, you must specify security package (-u) and authentication level (-a) in order to use this option. -R - specifies the HTTP proxy. if it\u0026#39;s \u0026#39;none\u0026#39;, we will not use HTTP proxy but directly attempt the RPC proxy. the value \u0026#39;default\u0026#39; means to use the IE settings in your client machine. any other value will be treated as the explicit HTTP proxy. if you don\u0026#39;t specify this flag, the default value is assumed, that is, the IE settings are checked. this flag is valid only when the -E (Echo Only) flag is enabled. -E - restricts the ping to the RPC/HTTP proxy only. The ping does not reach the server. Useful when trying to establish whether the RPC/HTTP proxy is reachable. Also, you must specify security package (-u) and authentication level (-a) in order to use this option. To specify an HTTP proxy, use the -R flag. If an HTTP proxy is specified in the -o flag, this option will be ignored. -q - quiet mode. Does not issue any prompts except for passwords. Assumes \u0026#39;Y\u0026#39; response to all queries. Use this option with care. -c - use smart card certificate. RPCPing will prompt user to choose smart card. -A \u0026lt;http_proxy_auth_identity\u0026gt; - specifies the identity to authenticate with to the HTTP proxy. Has the same format as for the -I option. Also, you must specify authentication schemes (-U), security package (-u) and authentication level (-a) in order to use this option. -U \u0026lt;HTTP_proxy_authn_schemes\u0026gt; - the authentication schemes to use for HTTP proxy authentication. This option is a list of numerical values or names separated by comma. E.g. Basic,NTLM. Recognized values are (names are not case sensitive: Basic - 1 or Basic NTLM - 2 or NTLM You must specify security package (-u) and authentication level (-a) in order to use this option. -r \u0026lt;report_results_interval\u0026gt; - if multiple iterations are specified, this option will make rpcping display current execution statistics periodically instead after the last call. The report interval is given in seconds. Default is 15. -v \u0026lt;verbose_level\u0026gt; - tells rpcping how verbose to make the output. Default value is 1. 2 and 3 provide more output from rpcping. Example: Find out if your Exchange server that you connect through RPC/HTTP is accessible: rpcping -t ncacn_http -s exchange_server -o RpcProxy=front_end_proxy -P \u0026#34;username,domain,*\u0026#34; -H Basic -u NTLM -a connect -F 3 When prompted for the password, enter it. exchange_server is the name of your exchange server, front_end_proxy is the name of your proxy, username and domain are your user name and domain as you would enter them in the Outlook prompt. The other parameters will ask rpcping to ping your Exchange server in exactly the same way as Outlook will connect to it for the typical profile. -p - Prompt for credentials if authentication fails. Return Code: 0\n","date":"2019-12-07T09:08:46Z","permalink":"https://pen2.com/cmd/ja/rpcping/","title":"rpcping"},{"content":"WMI Standard Event Consumer - scripting\nscrcons C:\\Windows\\System32\\Wbem\\scrcons.exe /? Output:\nCannot run standalone Return Code: 0\n","date":"2019-12-07T09:08:41Z","permalink":"https://pen2.com/cmd/ja/scrcons/","title":"scrcons"},{"content":"システム統合の確認と修復\nsfc 管理者権限(Administrator)\rC:\\Windows\\system32\\sfc.exe /? Output:\n日本語\rMicrosoft (R) Windows (R) Resource Checker Version 6.0 Copyright (C) Microsoft Corporation. All rights reserved. すべての保護されたシステム ファイルの整合性をスキャンして、間違ったバージョンを 正しい Microsoft バージョンに置換します。 SFC [/SCANNOW] [/VERIFYONLY] [/SCANFILE=\u0026lt;ファイル\u0026gt;] [/VERIFYFILE=\u0026lt;ファイル\u0026gt;] [/OFFWINDIR=\u0026lt;オフライン Windows ディレクトリ\u0026gt; /OFFBOOTDIR=\u0026lt;オフライン起動ディレクトリ\u0026gt; [/OFFLOGFILE=\u0026lt;ログ ファイルのパス\u0026gt;]] /SCANNOW すべての保護されたシステム ファイルの整合性をスキャンして、 可能な場合には問題のあるファイルを修復します。 /VERIFYONLY すべての保護されたシステム ファイルの整合性をスキャンします。 修復操作は実行されません。 /SCANFILE 参照されたファイルの整合性をスキャンして、問題が識別された 場合はファイルを修復します。完全パス \u0026lt;ファイル\u0026gt; を指定します /VERIFYFILE \u0026lt;ファイル\u0026gt; で指定された完全パスを持つファイルの整合性を確認 します。修復操作は実行されません。 /OFFBOOTDIR オフライン修復の場合は、オフライン起動ディレクトリの場所を指定します。 /OFFWINDIR オフライン修復の場合は、オフライン Windows ディレクトリの場所を指定します。 /OFFLOGFILE オフライン修復の場合は、オプションでログ ファイルのパスを指定してログを有効にします。 例 sfc /SCANNOW sfc /VERIFYFILE=c:\\windows\\system32\\kernel32.dll sfc /SCANFILE=d:\\windows\\system32\\kernel32.dll /OFFBOOTDIR=d:\\ /OFFWINDIR=d:\\windows sfc /SCANFILE=d:\\windows\\system32\\kernel32.dll /OFFBOOTDIR=d:\\ /OFFWINDIR=d:\\windows /OFFLOGFILE=c:\\log.txt sfc /VERIFYONLY 英語\rMicrosoft (R) Windows (R) Resource Checker Version 6.0 Copyright (C) Microsoft Corporation. All rights reserved. Scans the integrity of all protected system files and replaces incorrect versions with correct Microsoft versions. SFC [/SCANNOW] [/VERIFYONLY] [/SCANFILE=\u0026lt;file\u0026gt;] [/VERIFYFILE=\u0026lt;file\u0026gt;] [/OFFWINDIR=\u0026lt;offline windows directory\u0026gt; /OFFBOOTDIR=\u0026lt;offline boot directory\u0026gt; [/OFFLOGFILE=\u0026lt;log file path\u0026gt;]] /SCANNOW Scans integrity of all protected system files and repairs files with problems when possible. /VERIFYONLY Scans integrity of all protected system files. No repair operation is performed. /SCANFILE Scans integrity of the referenced file, repairs file if problems are identified. Specify full path \u0026lt;file\u0026gt; /VERIFYFILE Verifies the integrity of the file with full path \u0026lt;file\u0026gt;. No repair operation is performed. /OFFBOOTDIR For offline repair, specify the location of the offline boot directory /OFFWINDIR For offline repair, specify the location of the offline windows directory /OFFLOGFILE For offline repair, optionally enable logging by specifying a log file path e.g. sfc /SCANNOW sfc /VERIFYFILE=c:\\windows\\system32\\kernel32.dll sfc /SCANFILE=d:\\windows\\system32\\kernel32.dll /OFFBOOTDIR=d:\\ /OFFWINDIR=d:\\windows sfc /SCANFILE=d:\\windows\\system32\\kernel32.dll /OFFBOOTDIR=d:\\ /OFFWINDIR=d:\\windows /OFFLOGFILE=c:\\log.txt sfc /VERIFYONLY Return Code: 1\n","date":"2019-12-07T09:08:41Z","permalink":"https://pen2.com/cmd/ja/sfc/","title":"sfc"},{"content":"検証ツールの構成エディター\nverifier C:\\Windows\\system32\\verifier.exe /? Output:\n日本語\rCopyright (c) Microsoft Corporation. All rights reserved. 構文: verifier {/? | /help} verifier /standard /all verifier /standard /driver \u0026lt;名前\u0026gt; [\u0026lt;名前\u0026gt; ...] verifier {/ruleclasses | /rc} \u0026lt;オプション\u0026gt; [\u0026lt;規則クラス 1\u0026gt; \u0026lt;規則クラス 2\u0026gt; ...] /all verifier /flags \u0026lt;オプション\u0026gt; [\u0026lt;オプション\u0026gt; ...] /all verifier /flags \u0026lt;オプション\u0026gt; [\u0026lt;オプション\u0026gt; ...] /driver \u0026lt;名前\u0026gt; [\u0026lt;名前\u0026gt; ...] verifier /rules {query | reset | default \u0026lt;ID\u0026gt; | disable \u0026lt;ID\u0026gt;} verifier /query verifier /querysettings verifier /bootmode {persistent | resetonbootfail | oneboot | resetonunusualshutdown} verifier /persistthroughupgrade verifier /reset verifier /faults [probability [pool_tags [applications [delay_minutes]]]] verifier /faultssystematic [\u0026lt;オプション\u0026gt; ...] verifier /log \u0026lt;ファイル名\u0026gt; [/interval \u0026lt;秒\u0026gt;] verifier /volatile /flags \u0026lt;オプション\u0026gt; [\u0026lt;オプション\u0026gt; ...] verifier /volatile /adddriver \u0026lt;名前\u0026gt; [\u0026lt;名前\u0026gt; ...] verifier /volatile /removedriver \u0026lt;名前\u0026gt; [\u0026lt;名前\u0026gt; ...] verifier /volatile /faults [probability [pool_tags [applications [delay_minutes]]]] verifier /domain {wdm | ndis | ks | audio} [rules.all | rules.default ] /driver ... [/logging | /livedump] verifier /logging verifier /livedump パラメーター: /? または /help このヘルプ メッセージを表示します。 /standard 標準のドライバー検証ツールのフラグを指定します。 /all インストールされているすべてのドライバーを次回の再起動後に検証することを 指定します。 /driver \u0026lt;名前\u0026gt; [\u0026lt;名前\u0026gt; ...] 検証する 1 つ以上のドライバー (イメージ名) を指定します。 ワイルドカード値 (n*.sys など) はサポートされません。 /driver.exclude \u0026lt;名前\u0026gt; [\u0026lt;名前\u0026gt; ...] 検証から除外する 1 つ以上のドライバー (イメージ名) を指定します。 このパラメーターは、すべてのドライバーを検証対象として選択した場合に のみ使用できます。ワイルドカード値 (n*.sys など) は サポートされません。 /flags \u0026lt;オプション\u0026gt; [\u0026lt;オプション\u0026gt; ...] 検証を有効にする 1 つ以上のオプションを指定します。ドライバーの検証 ツールで検査されるすべてのドライバーにフラグが適用されます。オプション 値は、10 進数、16 進数 (\u0026#34;0x\u0026#34; のプレフィックス)、8 進数 (\u0026#34;0o\u0026#34; のプレフィックス)、 またはバイナリ (\u0026#34;0b\u0026#34; のプレフィックス) の形式で指定する必要があります。 標準のフラグ: ドライバーの検証ツールの標準のオプションは、\u0026#39;/standard\u0026#39; を使用して指定できます。 WDF の検証は、/standard に含まれていますが、ここには示されていません。 0x00000001 (ビット 0) - 特別なプール 0x00000002 (ビット 1) - 強制 IRQL 検査 0x00000008 (ビット 3) - プールのトラック 0x00000010 (ビット 4) - I/O の検証 0x00000020 (ビット 5) - デッドロックの検出 0x00000080 (ビット 7) - DMA 検査 0x00000100 (ビット 8) - セキュリティの検査 0x00000800 (ビット 11) - その他の検査 0x00020000 (ビット 17) - DDI 準拠の検査 その他のフラグ: これらのフラグは、特定の状況でのテスト用に設計されています。 (*) でマークされたフラグでは、必要な I/O の検証 (ビット 4) が自動的に 有効になります。(**) でマークされたフラグは個々の規則の無効化を サポートします。 0x00000004 (ビット 2) - ランダム化された低リソース シミュレーション 0x00000200 (ビット 9) - 保留中の I/O 要求を強制 (*) 0x00000400 (ビット 10) - IRP ログ (*) 0x00002000 (ビット 13) - 不変な MDL のスタック用検査 (*) 0x00004000 (ビット 14) - 不変な MDL のドライバー用検査 (*) 0x00008000 (ビット 15) - Power Framework 遅延ファジー テスト 0x00010000 (ビット 16) - ポート/ミニポート インターフェイスの検査 0x00040000 (ビット 18) - 体系的な低リソース シミュレーション 0x00080000 (ビット 19) - DDI 準拠の検査 (オプション) 0x00200000 (ビット 21) - NDIS/WIFI の検査 (**) 0x00800000 (ビット 23) - カーネル同期の遅延ファジー テスト 0x01000000 (ビット 24) - VM スイッチの検証 0x02000000 (ビット 25) - コードの整合性検査 /ruleclasses または /rc [\u0026lt;規則クラス 1\u0026gt; \u0026lt;規則クラス 2\u0026gt; ... \u0026lt;規則クラス k\u0026gt;] このパラメーターは、上記の \u0026#39;/flags\u0026#39; の大きいセットです。\u0026#39;/flags\u0026#39; は 32 ビットのビットマップ表現に制限されていますが、これには 32 より多くの 検証クラスを含めることができます。正の各 10 進整数が 検証クラスを表します。複数のクラスを記述するには、 各クラスを空白文字で区切ります。以下の規則クラス ID を 使用でき、先頭の 0 は省略できます。 標準の規則クラス: 1 - 特別なプール 2 - 強制 IRQL 検査 4 - プールのトラック 5 - I/O の検証 6 - デッドロックの検出 8 - DMA 検査 9 - セキュリティの検査 12 - その他の検査 18 - DDI 準拠の検査 34 - WDF の検証 その他の規則クラス: これらの規則クラスは、特定の状況でのテスト用に設計されています。 (*) でマークされた規則クラスでは、必要な I/O の検証 (5) が自動的に 有効になります。(**) でマークされたフラグは 個々の規則の無効化をサポートします。 3 - ランダム化された低リソース シミュレーション 10 - 保留中の I/O 要求を強制 (*) 11 - IRP ログ (*) 14 - 不変な MDL のスタック用検査 (*) 15 - 不変な MDL のドライバー用検査 (*) 16 - Power Framework 遅延ファジー テスト 17 - ポート/ミニポート インターフェイスの検査 19 - 体系的な低リソース シミュレーション 20 - DDI 準拠の検査 (オプション) 22 - NDIS/WIFI の検査 (**) 24 - カーネル同期の遅延ファジー テスト 25 - VM スイッチの検証 26 - コードの整合性検査 /log.code_integrity このオプションは、コードの整合性違反による中断を抑制し、検証された ドライバーの統計情報だけを収集します。統計情報は、/log オプション またはカーネル デバッガーを使用して抽出できます。このパラメーターは、 コードの整合性検査を有効にした場合にのみ適用できます。 /rules {query | reset | default \u0026lt;ID\u0026gt; | disable \u0026lt;ID\u0026gt;} 規則レベルの制御を指定します (詳細設定)。 query 制御可能な規則の現在の状態を表示します。 reset すべての規則を既定の状態にリセットします。 default \u0026lt;ID\u0026gt; 規則 ID を既定の状態に設定します。 disable \u0026lt;ID\u0026gt; 指定した規則 ID を無効にします。 /query ドライバーの検証ツールのランタイムの統計情報と設定を表示します。 /querysettings 現在有効なオプションおよびドライバーの要約、または次回の起動後に 検証されるオプションおよびドライバーの要約を表示します。 表示には、/volatile を使用して追加したドライバーおよびオプションは 含まれません。 /bootmode ドライバーの検証ツールのブート モードを指定します。このオプションによる 設定を有効にするには、システムの再起動が必要です。 persistent ドライバーの検証ツールの設定が再起動後も 維持されます。 これは既定値です。 resetonbootfail 次回以降の再起動時に、システムを開始できない 場合はドライバーの検証ツールを無効にします。 resetonunusualshutdown 通常とは異なるシャットダウンが発生するまでドライバーの検証ツールが 維持されます。省略形の \u0026#39;rous\u0026#39; を使用できます。 oneboot 次回の起動時にのみドライバーの検証ツールを有効にします。 /persistthroughupgrade ドライバーの検証ツールの設定がアップグレード後も維持されます。ドライバーの 検証ツールはシステムのアップグレード中にアクティブになります。 /reset ドライバーの検証ツールのフラグとドライバーの設定をクリアします。 このオプションによる設定を有効にするには、システムの再起動が必要です。 /faults [probability [pool_tags [applications [delay_minutes]]]] ランダム化された低リソース シミュレーション機能を有効にし、必要に応じて ランダム化された低リソース シミュレーションのパラメーターを制御します。 Probability ある割り当てをドライバーの検証ツールがエラーにする 確率を指定します。この値は、ドライバーの検証ツールが 割り当てをエラーにする可能性を、10,000 回あたりの 回数として表します。既定値は 600 で、600/10000 または 6. を意味します。 Pool Tags: フォールトを挿入するプール タグを、スペースで区切った 一覧として指定します。既定では、どのプール割り当て にもフォールトが挿入される可能性があります。 Applications フォールトを挿入するイメージ ファイル名 (実行可能 ファイル) を、スペースで区切った一覧として指定 します。既定では、どのプール割り当てにもフォールトが 挿入される可能性があります。 DelayMinutes ドライバーの検証ツールが割り当てを意図的にエラーに しない、起動後の時間 (分) を指定します。この遅延を 使用すると、ドライバーが読み込まれてシステムが安定化 してから、テストを開始することができます。既定値は 8 分です。 /faultssystematic [\u0026lt;オプション\u0026gt; ...] 体系的な低リソース シミュレーションのパラメーターを制御します。 enableboottime 再起動をまたぐフォールト挿入を有効にします。 disableboottime 再起動をまたぐフォールト挿入を無効に します。これは既定値です。 recordboottime 再起動をまたぐ \u0026#39;what if\u0026#39; モードでの フォールト挿入を有効にします。 resetboottime 再起動をまたぐフォールト挿入を無効にし、 スタック除外リストをクリアします。 enableruntime フォールト挿入を動的に有効にします。 disableruntime フォールト挿入を動的に無効にします。 recordruntime \u0026#39;what if\u0026#39; モードでのフォールト挿入を動的に 有効にします。 resetruntime フォールト挿入を動的に無効にし、以前に エラーが発生したスタック リストをクリアします。 querystatistics 現在のフォールト挿入の統計情報を表示します。 incrementcounter フォールトが挿入されたタイミングを示すために使用 されるテスト パス カウンターを増加させます。 getstackid \u0026lt;カウンター\u0026gt; 挿入された指定のスタック ID を取得します。 excludestack \u0026lt;スタック ID\u0026gt; フォールト挿入からスタックを除外します。 /log \u0026lt;ファイル名\u0026gt; [/interval \u0026lt;秒\u0026gt;] 指定した名前のログ ファイルを作成し、実行時の統計情報をこのファイルに 定期的に書き込みます。ログ ファイルの更新間隔は \u0026#39;/interval\u0026#39; パラメーターで制御します。既定値は 30 秒です。ログを終了して戻るには、 Ctrl + C キーを使用します。 /volatile コンピューターを再起動せずにドライバーの検証ツールの設定を変更します。 揮発性の設定は直ちに有効になり、次回のシステム再起動まで有効 です。 /volatile /adddriver \u0026lt;名前\u0026gt; [\u0026lt;名前\u0026gt; ...] 指定した 1 つ以上のドライバーの検証を開始します。 /volatile /removedriver \u0026lt;名前\u0026gt; [\u0026lt;名前\u0026gt; ...] 指定した 1 つ以上のドライバーの検証を停止します。 /domain {wdm | ndis | ks | audio} [rules.all | rules.default] /driver ... [/logging | /livedump | /onecheck] 検証ツールの拡張設定を制御します。次の種類の検証ツール拡張がサポート されています。 wdm WDM ドライバー用の検証ツール拡張を有効にします。 ndis ネットワーク ドライバー用の検証ツール拡張を有効にします。 ks カーネル モードのストリーム ドライバー用の検証 ツール拡張を有効にします。 audio オーディオ ドライバー用の検証ツール拡張を有効にします。 次の拡張オプションがサポートされています。 rules.default 選択した検証ツール拡張の既定の検証規則を有効に します。 rules.all 選択した検証ツール拡張のすべての検証規則を有効に します。 /logging 選択した検証ツール拡張によって検出された規則違反のログを有効に します。 /livedump 選択した検証ツール拡張によって検出された規則違反のライブ メモリ ダンプ収集を有効にします。 英語\rCopyright (c) Microsoft Corporation. All rights reserved. SYNTAX: verifier {/? | /help} verifier /standard /all verifier /standard /driver \u0026lt;name\u0026gt; [\u0026lt;name\u0026gt; ...] verifier {/ruleclasses | /rc} \u0026lt;options\u0026gt; [\u0026lt;ruleclass_1\u0026gt; \u0026lt;ruleclass_2\u0026gt; ...] /all verifier /flags \u0026lt;options\u0026gt; [\u0026lt;options\u0026gt; ...] /all verifier /flags \u0026lt;options\u0026gt; [\u0026lt;options\u0026gt; ...] /driver \u0026lt;name\u0026gt; [\u0026lt;name\u0026gt; ...] verifier /rules {query | reset | default \u0026lt;id\u0026gt; | disable \u0026lt;id\u0026gt;} verifier /query verifier /querysettings verifier /bootmode {persistent | resetonbootfail | oneboot | resetonunusualshutdown} verifier /persistthroughupgrade verifier /reset verifier /faults [probability [pool_tags [applications [delay_minutes]]]] verifier /faultssystematic [\u0026lt;options\u0026gt; ...] verifier /log \u0026lt;file_name\u0026gt; [/interval \u0026lt;seconds\u0026gt;] verifier /volatile /flags \u0026lt;options\u0026gt; [\u0026lt;options\u0026gt; ...] verifier /volatile /adddriver \u0026lt;name\u0026gt; [\u0026lt;name\u0026gt; ...] verifier /volatile /removedriver \u0026lt;name\u0026gt; [\u0026lt;name\u0026gt; ...] verifier /volatile /faults [probability [pool_tags [applications [delay_minutes]]]] verifier /domain {wdm | ndis | ks | audio} [rules.all | rules.default ] /driver ... [/logging | /livedump] verifier /logging verifier /livedump PARAMETERS: /? or /help Displays this help message. /standard Specifies standard Driver Verifier flags. /all Specifies that all installed drivers will be verified after the next boot. /driver \u0026lt;name\u0026gt; [\u0026lt;name\u0026gt; ...] Specifies one or more drivers (image names) that will be verified. Wildcard values (e.g. n*.sys) are not supported. /driver.exclude \u0026lt;name\u0026gt; [\u0026lt;name\u0026gt; ...] Specifies one or more drivers (image names) that will be excluded from verification. This parameter is applicable only if all drivers are selected for verification. Wildcard values (e.g. n*.sys) are not supported. /flags \u0026lt;options\u0026gt; [\u0026lt;options\u0026gt; ...] Specifies one or more options that should be enabled for verification. Flags are applied to all drivers being checked by Driver Verifier. The provided options values must be either in decimal, hexadecimal (\u0026#34;0x\u0026#34; prefix), octal (\u0026#34;0o\u0026#34; prefix) or binary (\u0026#34;0b\u0026#34; prefix) format. Standard Flags: Standard Driver Verifier options can be specified using \u0026#39;/standard\u0026#39;. WDF verification is included in /standard but is not shown here. 0x00000001 (bit 0) - Special pool 0x00000002 (bit 1) - Force IRQL checking 0x00000008 (bit 3) - Pool tracking 0x00000010 (bit 4) - I/O verification 0x00000020 (bit 5) - Deadlock detection 0x00000080 (bit 7) - DMA checking 0x00000100 (bit 8) - Security checks 0x00000800 (bit 11) - Miscellaneous checks 0x00020000 (bit 17) - DDI compliance checking Additional Flags: These flags are intended for specific scenario testing. Flags marked with (*) require I/O Verification (bit 4) that will be automatically enabled. Flags marked with (**) support disabling of individual rules. 0x00000004 (bit 2) - Randomized low resources simulation 0x00000200 (bit 9) - Force pending I/O requests (*) 0x00000400 (bit 10) - IRP logging (*) 0x00002000 (bit 13) - Invariant MDL checking for stack (*) 0x00004000 (bit 14) - Invariant MDL checking for driver (*) 0x00008000 (bit 15) - Power framework delay fuzzing 0x00010000 (bit 16) - Port/miniport interface checking 0x00040000 (bit 18) - Systematic low resources simulation 0x00080000 (bit 19) - DDI compliance checking (additional) 0x00200000 (bit 21) - NDIS/WIFI verification (**) 0x00800000 (bit 23) - Kernel synchronization delay fuzzing 0x01000000 (bit 24) - VM switch verification 0x02000000 (bit 25) - Code integrity checks /ruleclasses or /rc [\u0026lt;ruleclass_1\u0026gt; \u0026lt;ruleclass_2\u0026gt; ... \u0026lt;ruleclass_k\u0026gt;] This parameter is larger set of \u0026#39;/flags\u0026#39; above. While \u0026#39;/flags\u0026#39; is limited to 32 bit bitmap expression, this can include more than 32 verification classes. Each positive decimal integer represents a verification class. Multiple classes can be expressed by separating each class id with space character. Following rule classes IDs are available and leading 0\u0026#39;s can be omitted. Standard Rule Classes: 1 - Special pool 2 - Force IRQL checking 4 - Pool tracking 5 - I/O verification 6 - Deadlock detection 8 - DMA checking 9 - Security checks 12 - Miscellaneous checks 18 - DDI compliance checking 34 - WDF Verification Additional Rule Classes: These rule classes are intended for specific scenario testing. Rule classes are marked with (*) require I/O Verification (5) that will be automatically enabled. Flags marked with (**) support disabling of individual rules. 3 - Randomized low resources simulation 10 - Force pending I/O requests (*) 11 - IRP logging (*) 14 - Invariant MDL checking for stack (*) 15 - Invariant MDL checking for driver (*) 16 - Power framework delay fuzzing 17 - Port/miniport interface checking 19 - Systematic low resources simulation 20 - DDI compliance checking (additional) 22 - NDIS/WIFI verification (**) 24 - Kernel synchronization delay fuzzing 25 - VM switch verification 26 - Code integrity checks /log.code_integrity This option suppresses Code Integrity violation breaks and collects only statistics for verified drivers. Statistics could be extracted via /log option or kernel debugger. This parameter is applicable only if Code Integrity checks are enabled. /rules {query | reset | default \u0026lt;id\u0026gt; | disable \u0026lt;id\u0026gt;} Specifies rules level control (advanced). query Shows current status of controllable rules. reset Resets all rules to their default state. default \u0026lt;id\u0026gt; Sets rule ID to its default state. disable \u0026lt;id\u0026gt; Disables specified rule ID. /query Display runtime Driver Verifier statistics and settings. /querysettings Displays a summary of the options and drivers that are currently enabled, or options and drivers that will be verified after the next boot. The display does not include drivers and options added using /volatile. /bootmode Specifies the Driver Verifier boot mode. This option requires system reboot to take effect. persistent Ensures that Driver Verifier settings are persistent across reboots. This is the default value. resetonbootfail Disables Driver Verifier for subsequent reboots if the system failed to start. resetonunusualshutdown Driver Verifier persists until unusual shutdown happens. Its abbrevation, \u0026#39;rous\u0026#39;, can be used. oneboot Enables Driver Verifier only for the next boot. /persistthroughupgrade Makes the Driver Verifier settings persist through upgrade. Driver Verifier will be active during system upgrade. /reset Clears Driver Verifier flags and driver settings. This option requires system reboot to take effect. /faults [probability [pool_tags [applications [delay_minutes]]]] Enable the Randomized low resources simulation feature and optionally control parameters for the Randomized low resources simulation. Probability Specifies the probability that Driver Verifier will fail a given allocation. The value represents the number of chances in 10,000 that Driver Verifier will fail the allocation. The default value 600, means 600/10000 or 6. Pool Tags: Specifies a space separated list of the pool tags to be injected with faults. By default, any pool allocation can be injected with faults. Applications Specifies a space separated list of image file names (an executable) that will be injected with faults. By default, any pool allocation can be injected with faults. DelayMinutes Specifies the number of minutes after booting during which Driver Verifier does not intentionally fail any allocations. This delay allows the drivers to load and the system to stabilize before the test begins. The default value is 8 minutes. /faultssystematic [\u0026lt;options\u0026gt; ...] Controls the Systematic low resources simulation parameters. enableboottime Enables fault injections across reboots. disableboottime Disables fault injections across reboots. This is the default value. recordboottime Enables fault injections in \u0026#39;what if\u0026#39; mode across reboots. resetboottime Disables fault injections across reboots and clears the stack exclusion list. enableruntime Dynamically enables fault injections. disableruntime Dynamically disables fault injections. recordruntime Dynamically enables fault injections in \u0026#39;what if\u0026#39; mode. resetruntime Dynamically disables fault injections and clears the previously faulted stack list. querystatistics Shows the current fault injection statistics. incrementcounter Increments the test pass counter used to identify when a fault was injected. getstackid \u0026lt;counter\u0026gt; Retrieves the indicated injected stack id. excludestack \u0026lt;stack_id\u0026gt; Excludes the stack from fault injection. /log \u0026lt;file_name\u0026gt; [/interval \u0026lt;seconds\u0026gt;] Creates a log file with the specified name and periodically writes the runtime statistics to this file. The interval between log file updates is controlled by the \u0026#39;/interval\u0026#39; parameter. The default value is 30 seconds. Use CTRL+C to close the log and return. /volatile Changes Driver Verifier settings without rebooting the computer. Volatile settings take effect immediately and are in effect until the next system reboot. /volatile /adddriver \u0026lt;name\u0026gt; [\u0026lt;name\u0026gt; ...] Starts the verification for the specified driver or drivers. /volatile /removedriver \u0026lt;name\u0026gt; [\u0026lt;name\u0026gt; ...] Stops the verification for the specified driver or drivers. /domain {wdm | ndis | ks | audio} [rules.all | rules.default] /driver ... [/logging | /livedump] Controls the verifier extension settings. The following verifier extension types are supported: wdm Enabled verifier extension for WDM drivers. ndis Enabled verifier extension for networking drivers. ks Enabled verifier extension for kernel mode streaming drivers. audio Enabled verifier extension for audio drivers. The following extension options are supported: rules.default Enables default validation rules for the selected verifier extension. rules.all Enables all validation rules for the selected verifier extension. /logging Enables logging for violated rules detected by the selected verifier extensions. /livedump Enables live memory dump collection for violated rules detected by the selected verifier extensions. Return Code: 0\n","date":"2019-12-07T09:08:37Z","permalink":"https://pen2.com/cmd/ja/verifier/","title":"verifier"},{"content":"Display Diagnostics\ndispdiag C:\\Windows\\system32\\dispdiag.exe /? Output:\nLogs display information to a file in the current directory. Usage: dispdiag [-testacpi] [-d] [-delay \u0026lt;seconds\u0026gt;] [-brightnesslogging] [-out \u0026lt;FilePath\u0026gt;] -testacpi runs hotkey diagnostics test -d generates a dmp file as well with additional data. -delay delays the collection of data by specified time in seconds. -out \u0026lt;FilePath\u0026gt; path where the dispdiag file should be saved, including filename. This must be the last parameter -DumpIdDiag force Indirect DIsplay framework to dump diag info via WPP -brightnesslogging toggle verbose brightness logging. -ccddatabaselogging \u0026lt;on|off\u0026gt; toggle Ccd database access logging. -dxgautologger \u0026lt;on|off\u0026gt; toggle DxgDiagnostics autologger. Requires admin and a reboot. -DodFullscreenupdates \u0026lt;on|off\u0026gt; toggle if all active display only drivers should process each present as full screen dirty. -Msg \u0026lt;Message to log\u0026gt; Inserts the specified message into the diagnostic buffers Output: Name of the saved file. Return Code: 1\n","date":"2019-12-07T09:08:27Z","permalink":"https://pen2.com/cmd/ja/dispdiag/","title":"dispdiag"},{"content":"資格情報コンテナーのコマンド ライン プログラム\nvaultcmd C:\\Windows\\system32\\VaultCmd.exe /? Output:\n日本語\r資格情報の作成および保存された資格情報の表示、削除を行います。 次のコマンドがサポートされています。各コマンドの詳細なヘルプを表示するには VaultCmd /\u0026lt;コマンド\u0026gt; /? を実行してください VaultCmd /list VaultCmd /listschema VaultCmd /listcreds VaultCmd /addcreds VaultCmd /deletecreds VaultCmd /listproperties VaultCmd /sync 英語\rCreates, displays and deletes stored credentials. Following commands are supported.Use VaultCmd /\u0026lt;command\u0026gt; /? for further help VaultCmd /list VaultCmd /listschema VaultCmd /listcreds VaultCmd /addcreds VaultCmd /deletecreds VaultCmd /listproperties VaultCmd /sync Return Code: 0\n","date":"2019-12-07T09:08:24Z","permalink":"https://pen2.com/cmd/ja/vaultcmd/","title":"vaultcmd"},{"content":"WMI\nregister-cimprovider C:\\Windows\\system32\\Register-CimProvider.exe -help Output:\n日本語\rシステムに CIM プロバイダーを登録します 使用法: Register-CimProvider.exe -Namespace \u0026lt;名前空間名\u0026gt; -ProviderName \u0026lt;プロバイダー名\u0026gt; -Path \u0026lt;プロバイダー Dll のパス\u0026gt; [-ClassList \u0026lt;ホワイトリストに追加されたクラスのスペース区切りリスト\u0026gt;] [-Impersonation \u0026lt;True または False\u0026gt;] [-Decoupled \u0026lt;SDDL\u0026gt;] [-HostingModel \u0026lt;ホスティング モデル\u0026gt;] [-Localize \u0026lt;ロケール\u0026gt;] [-NoAutorecover] [-SupportWQL] [-GenerateUnregistration] [-ForceUpdate] [-Verbose] -Namespace \u0026lt;名前空間名\u0026gt; プロバイダーのターゲット名前空間を指定します。 -ProviderName \u0026lt;プロバイダー名\u0026gt; プロバイダー名を指定します。 -Path \u0026lt;プロバイダー Dll のパス\u0026gt; プロバイダーのバイナリ パスを指定します。 -Impersonation \u0026lt;True または False\u0026gt; 分離プロバイダーの foldidentity を指定します。既定値は True です。 -Decoupled \u0026lt;SDDL\u0026gt; プロバイダーを分離プロバイダーとして登録し、このプロバイダー を正しく登録できる一連のユーザーを定めたセキュリティ記述子を 指定します。 -HostingModel \u0026lt;ホスティング モデル\u0026gt; 結合プロバイダーのホスティング モデルを指定します。 -Localize \u0026lt;ロケール\u0026gt; 指定したロケールのリソースでプロバイダーをローカライズします。 -NoAutorecover プロバイダーの自動修復を行いません。 -SupportWQL フィルターにクエリ式を渡します。 -GenerateUnregistration 登録の uninstall mof を生成します。 既定では無効です。 -ForceUpdate クラスがシステムに存在する場合、そのクラスを強制的に更新します。 -ClassList \u0026lt;プロバイダーの Dll のパス\u0026gt; mof で生成される、ホワイトリストに追加された クラスのスペース区切りリストを指定します。 -Verbose 登録ログを出力します。 英語\rRegisters CIM Provider into system Usage: Register-CimProvider.exe -Namespace \u0026lt;NamespaceName\u0026gt; -ProviderName \u0026lt;ProviderName\u0026gt; -Path \u0026lt;ProviderDllPath\u0026gt; [-ClassList \u0026lt;Space delimited list of white-listed classes\u0026gt;] [-Impersonation \u0026lt;True or False\u0026gt;] [-Decoupled \u0026lt;SDDL\u0026gt;] [-HostingModel \u0026lt;HostingModel\u0026gt;] [-Localize \u0026lt;locale\u0026gt;] [-NoAutorecover] [-SupportWQL] [-GenerateUnregistration] [-ForceUpdate] [-Verbose] -Namespace \u0026lt;NamespaceName\u0026gt; Specifies the target namespace of the provider. -ProviderName \u0026lt;ProviderName\u0026gt; Specifies the provider name. -Path \u0026lt;ProviderDllPath\u0026gt; Specifies the provider binary path. -Impersonation \u0026lt;True or False\u0026gt; Specifies foldidentity of decoupled provider, by default is True. -Decoupled \u0026lt;SDDL\u0026gt; Registers provider as decoupled and specifies the security descriptor that determines the set of users that can successfully register the provider. -HostingModel \u0026lt;HostingModel\u0026gt; Specifies the HostingModel of coupled provider. -Localize \u0026lt;locale\u0026gt; Localizes the provider with resource of specified locale. -NoAutorecover Doesn\u0026#39;t autorecover the provider. -SupportWQL Passes the query expression to the filter. -GenerateUnregistration Generate the uninstall mof for the registration, which is disabled by default. -ForceUpdate Force update the class if it exists in the system. -ClassList \u0026lt;ProviderDllPath\u0026gt; Specifies space delimited list of white-listed classes that will be generated in the mof. -Verbose Outputs registration log. Return Code: 0\n","date":"2019-12-07T09:08:19Z","permalink":"https://pen2.com/cmd/ja/register-cimprovider/","title":"register-cimprovider"},{"content":"winrs\nwinrs C:\\Windows\\system32\\winrs.exe /? Output:\n日本語\r使用法 ===== (\u0026lt; \u0026gt; で囲まれた箇所 = 値をユーザーが指定する必要があります) winrs [-/\u0026lt;スイッチ\u0026gt;[:\u0026lt;値\u0026gt;]] \u0026lt;コマンド\u0026gt; \u0026lt;コマンド\u0026gt; - cmd.exe シェル内でコマンドとして実行することのできる任意の文字列 です。 スイッチ ======== (すべてのスイッチでは、省略形と完全形のどちらも指定できます。たとえば、 -r と -remote はどちらも有効です。) -r[emote]:\u0026lt;エンドポイント\u0026gt; - NetBIOS 名または標準の接続 URL ([\u0026lt;トランス ポート\u0026gt;://]\u0026lt;ターゲット\u0026gt;[:\u0026lt;ポート\u0026gt;]) を使用する対象エンドポイント。指定され ない場合、-r:localhost が使用されます。 -un[encrypted] - リモート シェルへのメッセージが暗号化され ないように指定します。これは、トラブルシューティングを行う場合、ネットワーク トラフィックが IPsec を使用して既に暗号化されている場合、または物理的なセキュ リティが強制されているときに有効です。既定では、Kerberos または NTLM キーを 使ってメッセージが暗号化されます。HTTPS トランスポートが選択されているときは、 このスイッチは無視されます。 -u[sername]:\u0026lt;ユーザー名\u0026gt; - コマンド ラインでユーザー名を指定します。 ユーザー名が指定されない場合、ツールによりネゴシエート認証が使用されるか、 ユーザー名の入力画面が表示されます。-username が指定されている場合は、 -password も指定する必要があります。 -p[assword]:\u0026lt;パスワード\u0026gt; - コマンド ラインでパスワードを指定します。 -password が指定されておらず、-username が指定されている場合、ツールによりパ スワード入力画面が表示されます。-password が指定されている場合は、-user も 指定する必要があります。 -t[imeout]:\u0026lt;秒数\u0026gt; - このオプションは使用されません。 -d[irectory]:\u0026lt;パス\u0026gt; - リモート シェルの開始ディレクトリを指定しま す。指定されない場合、リモート シェルは、環境変数 %USERPROFILE% で定義される、 ユーザーのホーム ディレクトリで開始されます。 -env[ironment]:\u0026lt;文字列\u0026gt;=\u0026lt;値\u0026gt; - シェルを起動する際の単一環境変数を指定しま す。この変数により、シェルの既定の環境を変更することができます。複数の環境 変数を指定するには、このスイッチを複数回使用する必要があります。 -noe[cho] - エコーを無効にするかどうかを指定します。これ は、リモート プロンプトに対するユーザーの応答がローカルで表示されないように するために必要な場合があります。既定では、エコーは \u0026#34;オン\u0026#34; です。 -nop[rofile] - ユーザーのプロファイルを読み込まないことを 指定します。既定では、サーバーはユーザーのプロファイルを読み込もうとします。 リモート ユーザーが対象システムのローカル管理者でない場合、このオプションが 必要です (既定の設定ではエラーになります)。 -a[llow]d[elegate] - ユーザーの資格情報をリモート共有へのアクセス (たとえば、対象エンドポイントとは異なるコンピューター上での検索) に使用できる ことを指定します。 -comp[ression] - 圧縮をオンにします。 リモート コンピューター上にある従来のインストールが圧縮をサポートして いない場合があるため、これは既定でオフになっています。 -? - ヘルプです。 リモート コマンドを終了するには、Ctrl + C キーまたは Ctrl + Break キーを押し ます。これはリモート シェルに送信されます。もう一度 Ctrl + C キーを押すと、 winrs.exe が強制的に終了されます。 アクティブなリモート シェルまたは WinRS 構成を管理するには、WinRM ツールを 使用します。アクティブなシェルを管理するための URI エイリアスは shell/cmd です。WinRS 構成のための URI エイリアスは winrm/config/winrs です。使用例は、 WinRM ツールで「WinRM -?」と入力することで参照できます。 例: winrs -r:https://myserver.com command winrs -r:myserver.com -usessl command winrs -r:myserver command winrs -r:http://127.0.0.1 command winrs -r:http://169.51.2.101:80 -unencrypted command winrs -r:https://[::FFFF:129.144.52.38] command winrs -r:http://[1080:0:0:0:8:800:200C:417A]:80 command winrs -r:https://myserver.com -t:600 -u:administrator -p:$%fgh7 ipconfig winrs -r:myserver -env:PATH=^%PATH^%;c:\\tools -env:TEMP=d:\\temp config.cmd winrs -r:myserver netdom join myserver /domain:testdomain /userd:johns /passwordd:$%fgh789 winrs -r:myserver -ad -u:administrator -p:$%fgh7 dir \\\\anotherserver\\share 英語\rUSAGE ===== (ALL UPPER-CASE = value that must be supplied by user.) winrs [-/SWITCH[:VALUE]] COMMAND COMMAND - Any string that can be executed as a command in the cmd.exe shell. SWITCHES ======== (All switches accept both short form or long form. For example both -r and -remote are valid.) -r[emote]:ENDPOINT - The target endpoint using a NetBIOS name or the standard connection URL: [TRANSPORT://]TARGET[:PORT]. If not specified -r:localhost is used. -un[encrypted] - Specify that the messages to the remote shell will not be encrypted. This is useful for troubleshooting, or when the network traffic is already encrypted using ipsec, or when physical security is enforced. By default the messages are encrypted using Kerberos or NTLM keys. This switch is ignored when HTTPS transport is selected. -u[sername]:USERNAME - Specify username on command line. If not specified the tool will use Negotiate authentication or prompt for the name. If -username is specified, -password must be as well. -p[assword]:PASSWORD - Specify password on command line. If -password is not specified but -username is the tool will prompt for the password. If -password is specified, -user must be specified as well. -t[imeout]:SECONDS - This option is deprecated. -d[irectory]:PATH - Specifies starting directory for remote shell. If not specified the remote shell will start in the user\u0026#39;s home directory defined by the environment variable %USERPROFILE%. -env[ironment]:STRING=VALUE - Specifies a single environment variable to be set when shell starts, which allows changing default environment for shell. Multiple occurrences of this switch must be used to specify multiple environment variables. -noe[cho] - Specifies that echo should be disabled. This may be necessary to ensure that user\u0026#39;s answers to remote prompts are not displayed locally. By default echo is \u0026#34;on\u0026#34;. -nop[rofile] - Specifies that the user\u0026#39;s profile should not be loaded. By default the server will attempt to load the user profile. If the remote user is not a local administrator on the target system then this option will be required (the default will result in error). -a[llow]d[elegate] - Specifies that the user\u0026#39;s credentials can be used to access a remote share, for example, found on a different machine than the target endpoint. -comp[ression] - Turn on compression. Older installations on remote machines may not support compression so it is off by default. -[use]ssl - Use an SSL connection when using a remote endpoint. Specifying this instead of the transport \u0026#34;https:\u0026#34; will use the default WinRM default port. -? - Help To terminate the remote command the user can type Ctrl-C or Ctrl-Break, which will be sent to the remote shell. The second Ctrl-C will force termination of winrs.exe. To manage active remote shells or WinRS configuration, use the WinRM tool. The URI alias to manage active shells is shell/cmd. The URI alias for WinRS configuration is winrm/config/winrs. Example usage can be found in the WinRM tool by typing \u0026#34;WinRM -?\u0026#34;. Examples: winrs -r:https://myserver.com command winrs -r:myserver.com -usessl command winrs -r:myserver command winrs -r:http://127.0.0.1 command winrs -r:http://169.51.2.101:80 -unencrypted command winrs -r:https://[::FFFF:129.144.52.38] command winrs -r:http://[1080:0:0:0:8:800:200C:417A]:80 command winrs -r:https://myserver.com -t:600 -u:administrator -p:$%fgh7 ipconfig winrs -r:myserver -env:PATH=^%PATH^%;c:\\tools -env:TEMP=d:\\temp config.cmd winrs -r:myserver netdom join myserver /domain:testdomain /userd:johns /passwordd:$%fgh789 winrs -r:myserver -ad -u:administrator -p:$%fgh7 dir \\\\anotherserver\\share Return Code: 0\n","date":"2019-12-07T09:08:19Z","permalink":"https://pen2.com/cmd/ja/winrs/","title":"winrs"},{"content":"Windows タイム ゾーン ユーティリティ\ntzutil C:\\Windows\\system32\\tzutil.exe /? Output:\n日本語\rWindows タイム ゾーン ユーティリティ 使用法: TZUTIL \u0026lt;/? | /g | /s TimeZoneID[_dstoff] | /l\u0026gt; パラメーター: /? 使用法の情報を表示します。 /g 現在のタイム ゾーン ID を表示します。 /s TimeZoneID[_dstoff] 指定したタイム ゾーン ID によって現在のタイム ゾーンを設定します。 _dstoff サフィックスを指定すると、タイム ゾーンに対する夏時間の調整が 無効になります (該当する場合)。 /l 有効なすべてのタイム ゾーン ID および表示名を表示します。 出力は次のようになります。 \u0026lt;表示名\u0026gt; \u0026lt;タイム ゾーン ID\u0026gt; 例: TZUTIL /g TZUTIL /s \u0026#34;Pacific Standard Time\u0026#34; TZUTIL /s \u0026#34;Pacific Standard Time_dstoff\u0026#34; 注釈: 終了コードが 0 の場合、コマンドが正常に終了したことを示します。 英語\rWindows Time Zone Utility Usage: TZUTIL \u0026lt;/? | /g | /s TimeZoneID[_dstoff] | /l\u0026gt; Parameters: /? Displays usage information. /g Displays the current time zone ID. /s TimeZoneID[_dstoff] Sets the current time zone using the specified time zone ID. The _dstoff suffix disables Daylight Saving Time adjustments for the time zone (where applicable). /l Lists all valid time zone IDs and display names. The output will be: \u0026lt;display name\u0026gt; \u0026lt;time zone ID\u0026gt; Examples: TZUTIL /g TZUTIL /s \u0026#34;Pacific Standard Time\u0026#34; TZUTIL /s \u0026#34;Pacific Standard Time_dstoff\u0026#34; Remarks: An exit code of 0 indicates the command completed successfully. Return Code: 0\n","date":"2019-12-07T09:08:13Z","permalink":"https://pen2.com/cmd/ja/tzutil/","title":"tzutil"},{"content":"Windows タイム サービス診断ツール\nw32tm C:\\Windows\\system32\\w32tm.exe /? Output:\n日本語\rw32tm [/? | /register | /unregister ] ? - このヘルプを表示します。 register - サービスとして実行するように登録し、既定の構成をレジストリに 追加します。 unregister - サービスの登録を取り消し、レジストリからすべての構成情報を 削除します。 w32tm /monitor [/domain:\u0026lt;ドメイン名\u0026gt;] [/computers:\u0026lt;名前\u0026gt;[,\u0026lt;名前\u0026gt;[,\u0026lt;名前\u0026gt;...]]] [/threads:\u0026lt;数\u0026gt;] [/ipprotocol:\u0026lt;4|6\u0026gt;] [/nowarn] domain - 監視するドメインを指定します。ドメイン名が指定され なかった場合、またドメインおよびコンピューター オプションが指定され なかった場合は、既定のドメインが使用されます。このオプションは 複数使用することができます。 computers - 一覧に指定されたコンピューターを監視します。コン ピューター名はコンマで区切ってください。スペースは使用できません。 名前の前に \u0026#39;*\u0026#39; が付いている場合は、AD PDC として処理されます。 このオプションは複数使用できます。 threads - 同時に何台のコンピューターを分析するかを指定します。 既定値は 3 です。1 から 50 の間の値で指定してください。 ipprotocol - 使用する IP プロトコルを指定します。既定では 利用可能なプロトコルがどれでも使用されます。 nowarn - 警告メッセージをスキップします。 w32tm /ntte \u0026lt;NT タイム エポック\u0026gt; NT システム時刻 (0h 1-Jan 1601 から (10^-7)s 間隔) を読み取り可能な形式に 変換します。 w32tm /ntpte \u0026lt;NTP タイム エポック\u0026gt; NTP 時刻 (0h 1-Jan 1900 から (2^-32)s 間隔) を読み取り可能な形式に変換します。 w32tm /resync [/computer:\u0026lt;コンピューター\u0026gt;] [/nowait] [/rediscover] [/soft] 蓄積したエラー統計をすべて削除して今すぐ時刻の同期をとり直すように コンピューターに指示します。 computer:\u0026lt;コンピューター\u0026gt; - 同期をとり直すコンピューターです。指定がない場合は、ローカル コンピューターに適用されます。 nowait - 同期の再実行を待たずにすぐに返します。指定がない場合は、 同期の再実行の完了を待ってから返します。 rediscover - ネットワーク構成を再検出し、ネットワーク ソースを再発見 してから、同期をとり直します。 soft - 既存のエラー統計を使って同期をとり直します。互換性のために 用意されたもので、あまり有効ではありません。 w32tm /stripchart /computer:\u0026lt;ターゲット\u0026gt; [/period:\u0026lt;秒\u0026gt;] [/dataonly] [/samples:\u0026lt;値\u0026gt;][/packetinfo] [/ipprotocol:\u0026lt;4|6\u0026gt;] [/rdtsc] このコンピューターと他のコンピューター間のオフセットのストリップ チャートを 表示します。 computer:\u0026lt;ターゲット\u0026gt; - オフセットを計測するターゲット コンピューターです。 period:\u0026lt;秒\u0026gt; - サンプルを収集する秒単位の間隔です。既定値は 2 秒です。 dataonly - データのみを表示し、グラフィックは表示しません。 samples:\u0026lt;値\u0026gt; - 指定された数のサンプルを収集します。値が指定されていない 場合は、Ctrl+C キーが押されるまで収集を続けます。 packetinfo - NTP パケット応答メッセージを印刷します。 ipprotocol - 使用する IP プロトコルを指定します。既定では、利用可能な プロトコルがどれでも使用されます。 rdtsc - TSC の値と時間オフセット データを CSV 形式で表示します。 出力には、NTP 要求が送信される前にキャプチャされた TSC と FILETIME の値、NTP 応答が受信された後の TSC の値と共に、 NTP のランドトリップと時間オフセットの値が表示されます。 w32tm /config [/computer:\u0026lt; ターゲット\u0026gt;] [/update] [/manualpeerlist:\u0026lt;ピア\u0026gt;] [/syncfromflags:\u0026lt;ソース\u0026gt;] [/LocalClockDispersion:\u0026lt;秒\u0026gt;] [/reliable:(YES|NO)] [/largephaseoffset:\u0026lt;ミリ秒\u0026gt;] computer:\u0026lt;ターゲット\u0026gt; - 指定されたターゲットの構成を調整します。指定がない場合は、 ローカル コンピューターに適用されます。 update - タイム サービスに構成が変更されたことを通知し、 変更を有効にします。 manualpeerlist:\u0026lt;ピア\u0026gt; - 手動ピアの一覧を指定されたピアに設定します。DNS および IP アドレス、またはその両方をスペースで区切った一覧です。 複数のピアを指定する場合は、このスイッチを引用符で 囲む必要があります。 syncfromflags:\u0026lt;ソース\u0026gt; - NTP クライアントの同期先であるソースを指定します。 以下のキーワードをコンマで区切って指定します。 大文字と小文字の区別はありません: MANUAL - 手動ピアの一覧にあるピアから同期をとる DOMHIER - ドメイン階層にある AD DC から同期をとる NO - どこからも同期をとらない ALL - 手動ピアとドメイン ピアの両方から同期をとる LocalClockDispersion:\u0026lt;秒\u0026gt; - w32time が構成されたソースから時間を取得できないときに 想定する内部クロックの正確さを構成します。 reliable:(YES|NO) - このコンピューターが信頼性の高いタイム ソースであるかどうかを 設定します。 この設定が有益なのはドメイン コントローラーでのみです。 YES - このコンピューターは信頼性の高いタイム サービスです NO - このコンピューターは信頼性の高いタイム サービスでは ありません largephaseoffset:\u0026lt;ミリ秒\u0026gt; - w32time がスパイクと見なすローカル時刻とネットワーク時刻の 時間差を設定します。 w32tm /tz 現在のタイム ゾーンの設定を表示します。 w32tm /dumpreg [/subkey:\u0026lt;キー\u0026gt;] [/computer:\u0026lt; ターゲット\u0026gt;] 指定されたレジストリ キーと関連付けられた値を表示します。 既定のキーは HKLM\\System\\CurrentControlSet\\Services\\W32Time (タイム サービスのルート キー) です。 subkey:\u0026lt;キー\u0026gt; - 既定のキーのサブキー \u0026lt;キー\u0026gt; と関連付けられた値を表示します。 computer:\u0026lt;ターゲット\u0026gt; - コンピューター \u0026lt;ターゲット\u0026gt; のレジストリ設定を照会します。 w32tm /query [/computer:\u0026lt;ターゲット\u0026gt;] {/source | /configuration | /peers | /status} [/verbose] コンピューターの Windows タイム サービス情報を表示します。 computer:\u0026lt;ターゲット\u0026gt; - \u0026lt;ターゲット\u0026gt; の情報を照会します。指定がない場合は、 既定でローカル コンピューターが指定されます。 source - タイム ソースを表示します。 configuration - ランタイムおよび設定の取得元の構成を表示します。 詳細モードでは、未定義または未使用の設定も表示します。 peers - ピアの一覧とそれらの状態を表示します。 status - Windows タイム サービスの状態を表示します。 verbose - 詳細情報を表示する詳細モードを設定します。 w32tm /debug {/disable | {/enable /file:\u0026lt;名前\u0026gt; /size:\u0026lt;バイト\u0026gt; /entries:\u0026lt;値\u0026gt; [/truncate]}} ローカル コンピューターの Windows タイム サービスのプライベート ログを有効 または無効にします。 disable - プライベート ログを無効にします。 enable - プライベート ログを有効にします。 file:\u0026lt;名前\u0026gt; - 絶対ファイル名を指定します。 size:\u0026lt;バイト\u0026gt; - 循環ログの最大サイズを指定します。 entries:\u0026lt;値\u0026gt; - フラグ一覧を含めます。フラグは数値で指定し、 コンマで区切ります。 フラグにより、ログ対象の情報の種類を指定します。 有効な数値は、0 から 300 です。単独の数値だけ ではなく、0-100,103,106 のように数字の範囲を 指定できます。0-300 の値を指定すると、すべての 情報がログに記録されます。 truncate - ファイルが存在する場合に切り捨てます。 w32tm /leapseconds /getstatus [/verbose] ローカル コンピューターのうるう秒の状態を表示します。 verbose: 詳細情報を表示する詳細モードを設定します。 英語\rw32tm [/? | /register | /unregister ] ? - this help screen. register - register to run as a service and add default configuration to the registry. unregister - unregister service and remove all configuration information from the registry. w32tm /monitor [/domain:\u0026lt;domain name\u0026gt;] [/computers:\u0026lt;name\u0026gt;[,\u0026lt;name\u0026gt;[,\u0026lt;name\u0026gt;...]]] [/threads:\u0026lt;num\u0026gt;] [/ipprotocol:\u0026lt;4|6\u0026gt;] [/nowarn] domain - specifies which domain to monitor. If no domain name is given, or neither the domain nor computers option is specified, the default domain is used. This option may be used more than once. computers - monitors the given list of computers. Computer names are separated by commas, with no spaces. If a name is prefixed with a \u0026#39;*\u0026#39;, it is treated as an AD PDC. This option may be used more than once. threads - how many computers to analyze simultaneously. The default value is 3. Allowed range is 1-50. ipprotocol - specify the IP protocol to use. The default is to use whatever is available. nowarn - skip warning message. w32tm /ntte \u0026lt;NT time epoch\u0026gt; Convert a NT system time, in (10^-7)s intervals from 0h 1-Jan 1601, into a readable format. w32tm /ntpte \u0026lt;NTP time epoch\u0026gt; Convert an NTP time, in (2^-32)s intervals from 0h 1-Jan 1900, into a readable format. w32tm /resync [/computer:\u0026lt;computer\u0026gt;] [/nowait] [/rediscover] [/soft] Tell a computer that it should resynchronize its clock as soon as possible, throwing out all accumulated error statistics. computer:\u0026lt;computer\u0026gt; - computer that should resync. If not specified, the local computer will resync. nowait - do not wait for the resync to occur; return immediately. Otherwise, wait for the resync to complete before returning. rediscover - redetect the network configuration and rediscover network sources, then resynchronize. soft - resync utilizing existing error statistics. Not useful, provided for compatibility. w32tm /stripchart /computer:\u0026lt;target\u0026gt; [/period:\u0026lt;refresh\u0026gt;] [/dataonly] [/samples:\u0026lt;count\u0026gt;] [/packetinfo] [/ipprotocol:\u0026lt;4|6\u0026gt;] [/rdtsc] Display a strip chart of the offset between this computer and another computer. computer:\u0026lt;target\u0026gt; - the computer to measure the offset against. period:\u0026lt;refresh\u0026gt; - the time between samples, in seconds. The default is 2s dataonly - display only the data, no graphics. samples:\u0026lt;count\u0026gt; - collect \u0026lt;count\u0026gt; samples, then stop. If not specified, samples will be collected until Ctrl-C is pressed. packetinfo - print out NTP packet response message. ipprotocol - specify the IP protocol to use. The default is to use whatever is available. rdtsc - display the TSC values and time offset data in CSV format. The output displays TSC and FILETIME values captured before the NTP request is sent, TSC value after an NTP response is received along with NTP roundtrip and time offset values. w32tm /config [/computer:\u0026lt;target\u0026gt;] [/update] [/manualpeerlist:\u0026lt;peers\u0026gt;] [/syncfromflags:\u0026lt;source\u0026gt;] [/LocalClockDispersion:\u0026lt;seconds\u0026gt;] [/reliable:(YES|NO)] [/largephaseoffset:\u0026lt;milliseconds\u0026gt;] computer:\u0026lt;target\u0026gt; - adjusts the configuration of \u0026lt;target\u0026gt;. If not specified, the default is the local computer. update - notifies the time service that the configuration has changed, causing the changes to take effect. manualpeerlist:\u0026lt;peers\u0026gt; - sets the manual peer list to \u0026lt;peers\u0026gt;, which is a space-delimited list of DNS and/or IP addresses. When specifying multiple peers, this switch must be enclosed in quotes. syncfromflags:\u0026lt;source\u0026gt; - sets what sources the NTP client should sync from. \u0026lt;source\u0026gt; should be a comma separated list of these keywords (not case sensitive): MANUAL - sync from peers in the manual peer list DOMHIER - sync from an AD DC in the domain hierarchy NO - sync from none ALL - sync from both manual and domain peers LocalClockDispersion:\u0026lt;seconds\u0026gt; - configures the accuracy of the internal clock that w32time will assume when it can\u0026#39;t acquire time from its configured sources. reliable:(YES|NO) - set whether this machine is a reliable time source. This setting is only meaningful on domain controllers. YES - this machine is a reliable time service NO - this machine is not a reliable time service largephaseoffset:\u0026lt;milliseconds\u0026gt; - sets the time difference between local and network time which w32time will consider a spike. w32tm /tz Display the current time zone settings. w32tm /dumpreg [/subkey:\u0026lt;key\u0026gt;] [/computer:\u0026lt;target\u0026gt;] Display the values associated with a given registry key. The default key is HKLM\\System\\CurrentControlSet\\Services\\W32Time (the root key for the time service). subkey:\u0026lt;key\u0026gt; - displays the values associated with subkey \u0026lt;key\u0026gt; of the default key. computer:\u0026lt;target\u0026gt; - queries registry settings for computer \u0026lt;target\u0026gt;. w32tm /query [/computer:\u0026lt;target\u0026gt;] {/source | /configuration | /peers | /status} [/verbose] Display a computer\u0026#39;s windows time service information. computer:\u0026lt;target\u0026gt; - query the information of \u0026lt;target\u0026gt;. If not specified, the default is the local computer. source: display the time source. configuration: display the configuration of run-time and where the setting comes from. In verbose mode, display the undefined or unused setting too. peers: display a list of peers and their status. status: display windows time service status. verbose: set the verbose mode to display more information. w32tm /debug {/disable | {/enable /file:\u0026lt;name\u0026gt; /size:\u0026lt;bytes\u0026gt; /entries:\u0026lt;value\u0026gt; [/truncate]}} Enable or disable local computer windows time service private log. disable: disable the private log. enable: enable the private log. file:\u0026lt;name\u0026gt; - specify the absolute filename. size:\u0026lt;bytes\u0026gt; - specify the maximum size for circular logging. entries:\u0026lt;value\u0026gt; - contains a list of flags, specified by number and separated by commas, that specify the types of information that should be logged. Valid numbers are 0 to 300. A range of numbers is valid, in addition to single numbers, such as 0-100,103,106. Value 0-300 is for logging all information. truncate: truncate the file if it exists. w32tm /leapseconds /getstatus [/verbose] Display the status of leap seconds on the local machine. verbose: Set the verbose mode to display more information. Return Code: 0\n","date":"2019-12-07T09:08:13Z","permalink":"https://pen2.com/cmd/ja/w32tm/","title":"w32tm"},{"content":"BootCfg - ブート設定の一覧表示または変更。\nbootcfg C:\\Windows\\system32\\bootcfg.exe /? Output:\n日本語\rBOOTCFG /パラメーター [引数] 説明: このコマンド ライン ツールを使って、BOOT.INI ファイルのブート エントリの 設定を構成、クエリ、変更または削除できます。 パラメーター一覧: /Copy 既存のブート エントリのコピーを作成します。 /Delete BOOT.INI ファイルの既存のブート エントリを削除します。 /Query 現在のブート エントリと設定を表示します。 /Raw 追加するスイッチをユーザーが指定できるようにします。 /Timeout タイムアウトの時間を変更します。 /Default 既定のブート エントリを変更します。 /EMS /redirect スイッチをヘッドレス サポート用に ユーザーが構成できるようにします。 /Debug リモート デバッグのためのポートとボーレートを ユーザーが指定できるようにします。 /Addsw 定義済みのスイッチをユーザーが追加できるようにします。 /Rmsw 定義済みのスイッチをユーザーが削除できるようにします。 /Dbg1394 デバッグ用に 1394 ポートをユーザーが構成できるようにします。 /? このヘルプを表示します。 例: BOOTCFG /Copy /? BOOTCFG /Delete /? BOOTCFG /Query /? BOOTCFG /Raw /? BOOTCFG /Timeout /? BOOTCFG /EMS /? BOOTCFG /Debug /? BOOTCFG /Addsw /? BOOTCFG /Rmsw /? BOOTCFG /Dbg1394 /? BOOTCFG /Default /? BOOTCFG /? 警告: BOOT.INI は Windows XP およびそれ以前のオペレーティング システムで ブート オプションに使用されます。Windows Vista のブート オプションを 変更するには、BCDEDIT コマンド ライン ツールを使用します。 英語\rBOOTCFG /parameter [arguments] Description: This command line tool can be used to configure, query, change or delete the boot entry settings in the BOOT.INI file. Parameter List: /Copy Makes a copy of an existing boot entry. /Delete Deletes an existing boot entry from the BOOT.INI file. /Query Displays the current boot entries and their settings. /Raw Allows the user to specify any switch to be added. /Timeout Allows the user to change the Timeout value. /Default Allows the user to change the Default boot entry. /EMS Allows the user to configure the /redirect switch for headless support. /Debug Allows the user to specify the port and baudrate for remote debugging. /Addsw Allows the user to add predefined switches. /Rmsw Allows the user to remove predefined switches. /Dbg1394 Allows the user to configure 1394 port for debugging. /? Displays this help message. Examples: BOOTCFG /Copy /? BOOTCFG /Delete /? BOOTCFG /Query /? BOOTCFG /Raw /? BOOTCFG /Timeout /? BOOTCFG /EMS /? BOOTCFG /Debug /? BOOTCFG /Addsw /? BOOTCFG /Rmsw /? BOOTCFG /Dbg1394 /? BOOTCFG /Default /? BOOTCFG /? WARNING: BOOT.INI is used for boot options on Windows XP and earlier operating systems. Use the BCDEDIT command line tool to modify Windows Vista boot options. Return Code: 0\n","date":"2019-12-07T09:08:07Z","permalink":"https://pen2.com/cmd/ja/bootcfg/","title":"bootcfg"},{"content":"ブート セクター操作ツール\nbootsect C:\\Windows\\system32\\bootsect.exe /help Output:\n日本語\rbootsect {/help|/nt60|/nt52} {SYS|ALL|\u0026lt;ドライブ文字\u0026gt;:} [/force] [/mbr] ブート セクター復元ツール Bootsect.exe は、BOOTMGR と NTLDR を切り替えるために、ハード ディスク パーティションのマスター ブート コードを更新します。このツールを使用すると、 コンピューターのブート セクターを復元できます。 /help 以下の使用法を表示します。 /nt52 NTLDR と互換性があるマスター ブート コードを SYS、ALL、または \u0026lt;ドライブ文字\u0026gt; に適用します。SYS、ALL、または \u0026lt;ドライブ文字\u0026gt; に インストールされているオペレーティング システムは Windows Vista よりも古くなければなりません。 /nt60 BOOTMGR と互換性があるマスター ブート コードを SYS、ALL、または \u0026lt;ドライブ文字\u0026gt; に適用します。SYS、ALL、または \u0026lt;ドライブ文字\u0026gt; に インストールされているオペレーティング システムは Windows Vista、 Windows Server 2008 以降でなければなりません。 SYS Windows のブートに使用されるシステム パーティション上のマスター ブート コードを更新します。 ALL すべてのパーティションのマスター ブート コードを更新します。ALL は 各ボリュームのブート コードを必ずしも更新しません。代わりに、Windows ブート ボリュームとして使用できるボリュームのブート コードを更新 します。つまり、基になるディスク パーティションに接続されていない ダイナミック ボリュームはすべて除外されます。ブート コードはディスク パーティションの先頭に配置されている必要があるため、このような制限が 存在します。 \u0026lt;ドライブ文字\u0026gt; このドライブ文字に関連付けられているボリュームのマスター ブート コードを更新します。次のいずれかの場合には、ブート コードは 更新されません。1) \u0026lt;ドライブ文字\u0026gt; がボリュームに関連付けられていない 場合、または 2) \u0026lt;ドライブ文字\u0026gt; が基になるディスク パーティションに 接続されていないボリュームに関連付けられている場合。 /force ブート コードの更新中にボリュームを強制的にマウント解除します。 このオプションを使用する再には注意が必要です。 Bootsect.exe が排他的なボリューム アクセスを取得できない場合、次の リブートの前にファイル システムによってブート コードが上書きされる ことがあります。 Bootsect.exe は、各更新の前に、必ずボリュームをロックしてマウント解除 しようとします。/force が指定されている場合、最初のロック試行が失敗 すると、強制的なマウント解除が試行されます。他のプログラムが対象の ボリューム上のファイルを現在開いている場合などには、ロックが失敗する ことがあります。 成功すると、最初のロックが失敗した場合でも、強制的なマウント解除により 排他的なボリューム アクセスと信頼性の高いブート コードの更新が可能に なります。それと同時に、対象のボリューム上のファイルへの開いている ハンドルがすべて無効になります。その結果、これらのファイルを開いていた プログラムが予期しない動作をする可能性があります。そのため、この オプションを使用する際には注意が必要です。 /mbr SYS、ALL、またはドライブ文字で指定されたパーティションを含むディスクの セクター 0 にあるパーティション テーブルを変更することなく、マスター ブート レコードを更新します。/nt52 オプションと共に使用した場合、 マスター ブート レコードは Windows Vista よりも古いオペレーティング システムと互換性があります。/nt60 オプションと共に使用した場合、 マスター ブート レコードは Windows Vista、Windows Server 2008 以降と 互換性があります。 例: NTLDR と互換性があるマスター ブート コードを E: というラベルのボリュームに 適用するには、次のコマンドを使用します。 bootsect /nt52 E: 英語\rbootsect {/help|/nt60|/nt52} {SYS|ALL|\u0026lt;DriveLetter\u0026gt;:} [/force] [/mbr] Boot sector restoration tool Bootsect.exe updates the master boot code for hard disk partitions in order to switch between BOOTMGR and NTLDR. You can use this tool to restore the boot sector on your computer. /help Displays these usage instructions. /nt52 Applies the master boot code that is compatible with NTLDR to SYS, ALL, or \u0026lt;DriveLetter\u0026gt;. The operating system installed on SYS, ALL, or \u0026lt;DriveLetter\u0026gt; must be older than Windows Vista. /nt60 Applies the master boot code that is compatible with BOOTMGR to SYS, ALL, or \u0026lt;DriveLetter\u0026gt;. The operating system installed on SYS, ALL, or \u0026lt;DriveLetter\u0026gt; must be Windows Vista, Windows Server 2008 or later. SYS Updates the master boot code on the system partition used to boot Windows. ALL Updates the master boot code on all partitions. ALL does not necessarily update the boot code for each volume. Instead, this option updates the boot code on volumes that could be used as Windows boot volumes, which excludes any dynamic volumes that are not connected with an underlying disk partition. This restriction is present because boot code must be located at the beginning of a disk partition. \u0026lt;DriveLetter\u0026gt; Updates the master boot code on the volume associated with this drive letter. Boot code will not be updated if either 1) \u0026lt;DriveLetter\u0026gt; is not associated with a volume or 2) \u0026lt;DriveLetter\u0026gt; is associated with a volume not connected to an underlying disk partition. /force Forcibly dismounts the volume(s) during the boot code update. You should use this option with caution. If Bootsect.exe cannot gain exclusive volume access then the file system may overwrite the boot code before the next reboot. Bootsect.exe always attempts to lock and dismount the volume before each update. When /force is specified, a forced dismount is attempted if the initial lock attempt fails. A lock can fail, for example, if files on the target volume are currently opened by other programs. When successful, a forced dismount allows exclusive volume access and a reliable boot code update even though the initial lock failed. At the same time, a forced dismount invalidates all open handles to files on the target volume. This could result in unexpected behavior from the programs that opened these files. Therefore, you should use this option with caution. /mbr Updates the Master Boot Record without changing the partition table on sector 0 of the disk that contains the partition specified by SYS, ALL, or drive letter. When used with /nt52 option, the master boot record is compatible with operating systems older than Windows Vista. When used with the /nt60 option, the master boot record is compatible with Windows Vista, Windows Server 2008 or later. Example: To apply the master boot code that is compatible with NTLDR to the volume labeled E:, use the following command: bootsect /nt52 E: Return Code: 0\n","date":"2019-12-07T09:08:07Z","permalink":"https://pen2.com/cmd/ja/bootsect/","title":"bootsect"}]