PHPackages                             tisantan/php-wbemscripting - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. tisantan/php-wbemscripting

ActiveProject[Utility &amp; Helpers](/categories/utility)

tisantan/php-wbemscripting
==========================

Connect into any windows machine using COM extension and WbemScripting

v1(4y ago)13PHPPHP &gt;=7.1.0

Since May 2Pushed 4y ago1 watchersCompare

[ Source](https://github.com/TiagoISantana/php-WbemScripting)[ Packagist](https://packagist.org/packages/tisantan/php-wbemscripting)[ RSS](/packages/tisantan-php-wbemscripting/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)DependenciesVersions (2)Used By (0)

PHP project using com\_dotnet extension and &amp; WbemScripting
===============================================================

[](#php-project-using-com_dotnet-extension-and---wbemscripting)

This project is a concept that php can be used to connect with Windows machines using WMI.

#### Requirements

[](#requirements)

- PHP &gt; 7.1.\*;
- com\_dotnet extension active;
- Windows machines: Because it uses com\_dotnet extension;
- Make sure to enable WMI service on the remote machine: [tutorial](https://docs.microsoft.com/en-us/windows/win32/wmisdk/connecting-to-wmi-remotely-starting-with-vista)

###### Disclaimer

[](#disclaimer)

This library is in its initial stage and is without stability, I do not guarantee that it will work correctly on all machines.

###### What can you do with this?

[](#what-can-you-do-with-this)

- Connect to local &amp; remote machines
- Get machine specs
- Create/End windows process
- Format Disk
- Even control screen brightness
- Much more coming soon...

###### Installation

[](#installation)

You need to enable WMI service on your target machine

Download the files and run composer

`composer install`

TODO:Composer registry

`composer install php-wbemscripting`

###### Running example.php

[](#running-examplephp)

```
