{"id":15192189,"url":"https://github.com/powershell/cimpsdrive","last_synced_at":"2025-10-02T06:32:48.799Z","repository":{"id":65985517,"uuid":"105799540","full_name":"PowerShell/CimPSDrive","owner":"PowerShell","description":"SHiPS based provider to navigate CIM classes and namespaces","archived":true,"fork":false,"pushed_at":"2017-11-14T22:05:31.000Z","size":4788,"stargazers_count":27,"open_issues_count":4,"forks_count":14,"subscribers_count":11,"default_branch":"development","last_synced_at":"2024-09-28T21:06:11.753Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PowerShell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/PowerShell.png","metadata":{"files":{"readme":"README.md","changelog":"Changelog.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-10-04T17:51:18.000Z","updated_at":"2023-07-24T00:06:23.000Z","dependencies_parsed_at":"2023-02-19T18:31:19.213Z","dependency_job_id":null,"html_url":"https://github.com/PowerShell/CimPSDrive","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PowerShell%2FCimPSDrive","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PowerShell%2FCimPSDrive/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PowerShell%2FCimPSDrive/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PowerShell%2FCimPSDrive/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/PowerShell","download_url":"https://codeload.github.com/PowerShell/CimPSDrive/tar.gz/refs/heads/development","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":234951942,"owners_count":18912492,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-09-27T21:06:12.954Z","updated_at":"2025-10-02T06:32:43.320Z","avatar_url":"https://github.com/PowerShell.png","language":"PowerShell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# CimPSDrive\n\nThe CimPSDrive provider allows easy navigation and discovery of CIM namespaces, including those in WMI.\nCimPSDrive is a [SHiPS](https://github.com/PowerShell/SHiPS) based PowerShell provider and is based on [CIM cmdlets][cim].\n\n![CimPSDrive in Action](media/intro.gif)\n\n## Supported Platform\n\n- PowerShell 5.1 (or later), which is shipped in Windows 10, Windows Server 2016, or [WMF 5.1][wmf51]\n\n## Dependencies\n\n[SHiPS](https://github.com/PowerShell/SHiPS) PowerShell module is required.\n\n## Usage\n\n- To start using the functionality of `CimPSDrive`, import the `CimPSDrive` module and create a PSDrive\n\n    ```powershell\n    Import-Module -Name CimPSDrive -Verbose\n    New-PSDrive -Name CIM -PSProvider SHiPS -Root CIMPSDrive#CMRoot\n    ```\n\n- You can `cd` into a specific namespace and discover the classes\n    ```powershell\n    # List the classes under cimv2 namespace on local machine\n\n    CIM:\\localhost\\cimv2\u003e dir\n\n    # Output will be similar to the following\n        Directory: CIM:\\localhost\\cimv2\n\n    Mode Type      Name\n    ---- ----      ----\n    +    Namespace Applications\n    +    Namespace mdm\n    +    Namespace power\n    +    Namespace Security\n    +    Namespace sms\n    +    Namespace TerminalServices\n    +    Class     CCM_ComputerSystemExtended\n    +    Class     CCM_LogicalMemoryConfiguration\n    +    Class     CCM_OperatingSystemExtended\n    +    Class     CIM_Action\n    ...\n    ...\n    ```\n\n- Using `dir` or `ls`, you can find instances of a class\n\n    ```powershell\n    # Find the details about operating system\n    CIM:\\localhost\\cimv2\\Win32_OperatingSystem\u003e dir\n\n    # Output will be similar to the following\n    SystemDirectory     Organization BuildNumber RegisteredUser SerialNumber            Version    PSComputerName\n    ---------------     ------------ ----------- -------------- ------------            -------    --------------\n    C:\\WINDOWS\\system32              16299       Windows User   00329-00000-00003-AA424 10.0.16299 localhost\n    ```\n\n- To connect to remote machines, use the `Connect-CIM` command\n    \u003e Note: This command only  works from within the PSDrive created above\n\n    ```powershell\n    # Connect to a remote machine\n    Connect-CIM -ComputerName remoteMachine\n\n    # Now you can see another entry under the PSDrive root\n    CIM:\\localhost\\cimv2\\Win32_OperatingSystem\u003e dir /\n\n        Directory: CIM:\n\n    Mode Type Name\n    ---- ---- ----\n    +         localhost\n    +         remoteMachine\n    ```\n\n    Now you can navigate the CIM hierarchy on remoteMachine as well.\n\n- Use `Disconnect-CIM` command to disconnect from the remote machines\n    \u003e Note: This command only  works from within the PSDrive created above\n\n## Installing CimPSDrive\n\n- Download from the [PowerShell Gallery][psgallery]\n- `git clone` https://github.com/PowerShell/CimPSDrive.git\n\n## Developing and Contributing\n\nPlease follow [the PowerShell Contribution Guide][contribution] for how to contribute.\n\n## Legal and Licensing\n\nCimPSDrive is under the [MIT license][license].\n\n[cim]: https://docs.microsoft.com/en-us/powershell/module/cimcmdlets\n[wmf51]: https://www.microsoft.com/en-us/download/details.aspx?id=54616\n[psgallery]: https://www.powershellgallery.com/packages/CimPSDrive\n[contribution]: https://github.com/PowerShell/PowerShell/blob/master/.github/CONTRIBUTING.md\n[license]: LICENSE.txt\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpowershell%2Fcimpsdrive","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpowershell%2Fcimpsdrive","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpowershell%2Fcimpsdrive/lists"}