| 両方とも前のリビジョン 前のリビジョン 次のリビジョン | 前のリビジョン |
| windows:windows_control_panel [2019/01/26 21:34] – ともやん | windows:windows_control_panel [2020/10/05 00:42] (現在) – ともやん |
|---|
| | <html> |
| | <style> |
| | #mintbl table { |
| | font-size: 10px; |
| | } |
| | #mintbl table pre { |
| | font-size: 12px; |
| | padding: 0; |
| | margin: 0 0 2px 0; |
| | /*width: 270px;*/ |
| | word-wrap: inherit; |
| | } |
| | </style> |
| | </html> |
| ====== コントロール パネル項目 ====== | ====== コントロール パネル項目 ====== |
| ^ パス/コマンドライン ^ OS ^ 説明 ^ | <WRAP prewrap 100% #mintbl> |
| | C:\Windows\System32\appwiz.cpl | Win10 | プログラムと機能 | | ^ パス ^ コマンドライン ^ OS ^ 説明 ^ |
| | C:\Windows\System32\bthprops.cpl | Win10 | | | | C:\Windows\System32\ | netplwiz.exe | Win7, Win10 | ユーザー アカウント | |
| | C:\Windows\System32\desk.cpl | Win10 | ディスプレイ | | | C:\Windows\System32\ | appwiz.cpl | Win7, Win10 | プログラムと機能 | |
| | C:\Windows\System32\Firewall.cpl | Win10 | Windows Defender ファイアウォール | | | C:\Windows\System32\ | bthprops.cpl | Win7, Win10 | 不明 | |
| | C:\Windows\System32\hdwwiz.cpl | Win10 | デバイスマネージャー | | | C:\Windows\System32\ | collab.cpl | Win7 | 近くの人との接続 | |
| | C:\Windows\System32\inetcpl.cpl | Win10 | インターネットのプロパティ | | | C:\Windows\System32\ | desk.cpl | Win7, Win10 | ディスプレイ、画面の解像度 | |
| | C:\Windows\System32\intl.cpl | Win10 | 地域 | | | C:\Windows\System32\ | Firewall.cpl | Win7, Win10 | Windows Defender ファイアウォール | |
| | C:\Windows\System32\irprops.cpl | Win10 | 赤外線 | | | C:\Windows\System32\ | hdwwiz.cpl | Win7, Win10 | デバイスマネージャー | |
| | C:\Windows\System32\joy.cpl | Win10 | ゲーム コントローラー | | | C:\Windows\System32\ | inetcpl.cpl | Win7, Win10 | インターネットのプロパティ | |
| | C:\Windows\System32\main.cpl | Win10 | マウスのプロパティ | | | C:\Windows\System32\ | intl.cpl | Win7, Win10 | 地域、地域と言語 | |
| | C:\Windows\System32\mmsys.cpl | Win10 | サウンド | | | C:\Windows\System32\ | irprops.cpl | Win10 | 赤外線 | |
| | C:\Windows\System32\ncpa.cpl | Win10 | ネットワーク接続 | | | C:\Windows\System32\ | joy.cpl | Win7, Win10 | ゲーム コントローラー | |
| | C:\Windows\System32\powercfg.cpl | Win10 | 電源オプション | | | C:\Windows\System32\ | main.cpl | Win7, Win10 | マウスのプロパティ | |
| | C:\Windows\System32\RTSnMg64.cpl | Win10 | | | | C:\Windows\System32\ | mmsys.cpl | Win10 | サウンド | |
| | C:\Windows\System32\Speech\SpeechUX\sapi.cpl | Win10 | 音声認識のプロパティ | | | C:\Windows\System32\ | ncpa.cpl | Win7, Win10 | ネットワーク接続 | |
| | C:\Windows\System32\sysdm.cpl | Win10 | システムのプロパティ | | | C:\Windows\System32\ | powercfg.cpl | Win7, Win10 | 電源オプション | |
| | C:\Windows\System32\TabletPC.cpl | Win10 | ペンとタッチ | | | C:\Windows\System32\ | RTSnMg64.cpl | Win10 | 不明 | |
| | C:\Windows\System32\telephon.cpl | Win10 | 所在地情報 | | | C:\Windows\System32\ | Speech\SpeechUX\sapi.cpl | Win7, Win10 | 音声認識のプロパティ | |
| | C:\Windows\System32\timedate.cpl | Win10 | 日付と時刻 | | | C:\Windows\System32\ | sysdm.cpl | Win7, Win10 | システムのプロパティ | |
| | C:\Windows\System32\wscui.cpl | Win10 | セキュリティとメンテナンス | | | C:\Windows\System32\ | TabletPC.cpl | Win7, Win10 | ペンとタッチ | |
| | | C:\Windows\System32\ | telephon.cpl | Win7, Win10 | 所在地情報 | |
| | | C:\Windows\System32\ | timedate.cpl | Win7, Win10 | 日付と時刻 | |
| | | C:\Windows\System32\ | wscui.cpl | Win7, Win10 | セキュリティとメンテナンス、アクション センター | |
| | </WRAP> |
| | |
| | ===== PowerShell コマンド ===== |
| | PowerShell 5.1\\ |
| | <WRAP prewrap 100%> |
| | <code powershell> |
| | $ Get-ControlPanelItem |
| | </code> |
| | </WRAP> |
| | <WRAP prewrap 100% #result_long> |
| | <code powershell> |
| | Name CanonicalName Category |
| | Leap Motion Control Panel (32 ビット) LeapMotion.Leap Motion Control Panel {すべてのコントロール パネル項目, ハ... |
| | セキュリティとメンテナンス Microsoft.ActionCenter {システムとセキュリティ} |
| | 管理ツール Microsoft.AdministrativeTools {システムとセキュリティ} |
| | 自動再生 Microsoft.AutoPlay {ハードウェアとサウンド} |
| | バックアップと復元 (Windows 7) Microsoft.BackupAndRestore {システムとセキュリティ} |
| | BitLocker ドライブ暗号化 Microsoft.BitLockerDriveEncryption {システムとセキュリティ} |
| | 色の管理 Microsoft.ColorManagement {すべてのコントロール パネル項目} |
| | 資格情報マネージャー Microsoft.CredentialManager {ユーザー アカウント} |
| | 日付と時刻 Microsoft.DateAndTime {時計と地域} |
| | 既定のプログラム Microsoft.DefaultPrograms {プログラム} |
| | デバイス マネージャー Microsoft.DeviceManager {すべてのコントロール パネル項目} |
| | デバイスとプリンター Microsoft.DevicesAndPrinters {ハードウェアとサウンド} |
| | コンピューターの簡単操作センター Microsoft.EaseOfAccessCenter {コンピューターの簡単操作, デスクトッ... |
| | ファイル履歴 Microsoft.FileHistory {システムとセキュリティ} |
| | エクスプローラーのオプション Microsoft.FolderOptions {デスクトップのカスタマイズ} |
| | フォント Microsoft.Fonts {デスクトップのカスタマイズ} |
| | インデックスのオプション Microsoft.IndexingOptions {すべてのコントロール パネル項目} |
| | インターネット オプション Microsoft.InternetOptions {ネットワークとインターネット} |
| | キーボード Microsoft.Keyboard {すべてのコントロール パネル項目} |
| | Windows Live の言語設定 Microsoft.LangSelector {時計と地域} |
| | マウス Microsoft.Mouse {すべてのコントロール パネル項目} |
| | ネットワークと共有センター Microsoft.NetworkAndSharingCenter {ネットワークとインターネット} |
| | ペンとタッチ Microsoft.PenAndTouch {ハードウェアとサウンド} |
| | 電話とモデム Microsoft.PhoneAndModem {すべてのコントロール パネル項目} |
| | Windows To Go Microsoft.PortableWorkspaceCreator {すべてのコントロール パネル項目} |
| | 電源オプション Microsoft.PowerOptions {ハードウェアとサウンド, システムとセ... |
| | プログラムと機能 Microsoft.ProgramsAndFeatures {プログラム} |
| | 回復 Microsoft.Recovery {すべてのコントロール パネル項目} |
| | 地域 Microsoft.RegionAndLanguage {時計と地域} |
| | RemoteApp とデスクトップ接続 Microsoft.RemoteAppAndDesktopConnections {すべてのコントロール パネル項目} |
| | サウンド Microsoft.Sound {ハードウェアとサウンド} |
| | 音声認識 Microsoft.SpeechRecognition {コンピューターの簡単操作} |
| | 記憶域 Microsoft.StorageSpaces {システムとセキュリティ} |
| | 同期センター Microsoft.SyncCenter {すべてのコントロール パネル項目} |
| | システム Microsoft.System {システムとセキュリティ} |
| | タブレット PC 設定 Microsoft.TabletPCSettings {ハードウェアとサウンド} |
| | タスク バーとナビゲーション Microsoft.Taskbar {デスクトップのカスタマイズ} |
| | トラブルシューティング Microsoft.Troubleshooting {すべてのコントロール パネル項目} |
| | ユーザー アカウント Microsoft.UserAccounts {ユーザー アカウント} |
| | Windows Defender ファイアウォール Microsoft.WindowsFirewall {システムとセキュリティ} |
| | ワーク フォルダー Microsoft.WorkFolders {システムとセキュリティ} |
| | メール (32 ビット) {ユーザー アカウント} |
| | QuickTime (32 ビット) {すべてのコントロール パネル項目} |
| | Flash Player (32 ビット) {システムとセキュリティ} |
| | Java {プログラム} |
| | My Bluetooth {すべてのコントロール パネル項目} |
| | DivX Control Panel (32 ビット) {すべてのコントロール パネル項目} |
| | </code> |
| | </WRAP> |
| | |
| | <WRAP prewrap 100%> |
| | <code powershell> |
| | $ Get-Host |
| | </code> |
| | </WRAP> |
| | <WRAP prewrap 100% #result> |
| | <code powershell> |
| | |
| | Name : ConsoleHost |
| | Version : 5.1.18362.1110 |
| | InstanceId : b060a04d-6c41-4ddb-affd-e8cc7c14be75 |
| | UI : System.Management.Automation.Internal.Host.InternalHostUserInterface |
| | CurrentCulture : ja-JP |
| | CurrentUICulture : ja-JP |
| | PrivateData : Microsoft.PowerShell.ConsoleHost+ConsoleColorProxy |
| | DebuggerEnabled : True |
| | IsRunspacePushed : False |
| | Runspace : System.Management.Automation.Runspaces.LocalRunspace |
| | |
| | </code> |
| | </WRAP> |
| | |
| | **Get-ControlPanelItem** は何故かエラーになって実行できない。\\ |
| | <WRAP prewrap 100%> |
| | <code powershell> |
| | $ Get-ControlPanelItem |
| | </code> |
| | </WRAP> |
| | <WRAP prewrap 100% #result> |
| | <code powershell> |
| | Get-ControlPanelItem: 型 'System.__ComObject' の COM オブジェクトをインターフェイス型 'Shell32.Shell' にキャストできません。IID '{286E6F1B-7113-4355-9562-96B7E9D64C54}' が指定されたインターフェイスの COM コンポーネント上での QueryInterface 呼び出しのときに次のエラーが発生したため、この操作に失敗しました: インターフェイスがサポートされていません (HRESULT からの例外:0x80004002 (E_NOINTERFACE))。 |
| | </code> |
| | </WRAP> |
| | |
| | PowerShell 7.0.3 では、そのようなコマンドレットは存在しないと言われる。\\ |
| | <WRAP prewrap 100%> |
| | <code powershell> |
| | $ Get-ControlPanelItem |
| | </code> |
| | </WRAP> |
| | <WRAP prewrap 100% #result> |
| | <code powershell> |
| | Get-ControlPanelItem: The term 'Get-ControlPanelItem' is not recognized as the name of a cmdlet, function, script file, or operable program. |
| | Check the spelling of the name, or if a path was included, verify that the path is correct and try again. |
| | </code> |
| | <code powershell> |
| | Get-ControlPanelItem: 'Get-ControlPanelItem' という用語は、コマンドレット、関数、スクリプトファイル、または操作可能なプログラムの名前として認識されません。 |
| | 名前のスペルを確認するか、パスが含まれている場合は、パスが正しいことを確認して、再試行してください。 |
| | </code> |
| | </WRAP> |
| | |
| | <WRAP prewrap 100%> |
| | <code powershell> |
| | $ Get-Host |
| | </code> |
| | </WRAP> |
| | <WRAP prewrap 100% #result> |
| | <code powershell> |
| | |
| | Name : ConsoleHost |
| | Version : 7.0.3 |
| | InstanceId : a83ba7ed-2e2c-4453-a404-2f458de0b607 |
| | UI : System.Management.Automation.Internal.Host.InternalHostUserInterface |
| | CurrentCulture : ja-JP |
| | CurrentUICulture : ja-JP |
| | PrivateData : Microsoft.PowerShell.ConsoleHost+ConsoleColorProxy |
| | DebuggerEnabled : True |
| | IsRunspacePushed : False |
| | Runspace : System.Management.Automation.Runspaces.LocalRunspace |
| | |
| | </code> |
| | </WRAP> |
| | |
| | ===== 参考文献 ===== |
| | [[https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.management/get-controlpanelitem|Get-ControlPanelItem (Microsoft.PowerShell.Management) - PowerShell | Microsoft Docs]]\\ |
| | [[https://docs.microsoft.com/en-us/windows/win32/shell/controlpanel-canonical-names|Canonical Names of Control Panel Items - Win32 apps | Microsoft Docs]]\\ |
| | [[https://soma-engineering.com/desktop/windows10/command-items-controlpanel/2018/09/09/|【Windows10】コントロールパネルのアイテムをコマンド起動 | SEブログ]]\\ |
| |