Example of wmic authentication file in Linux

1.Create a file, with the content.

2. For security, assign the permission 400. Example

Usage:

 

Read More

Install wmi in CentOS

Problem: It is necessary to query Windows servers from Linux using Windows Management Instrumentation (WMI). Solution:   Install the wmi client in Linux, follow these steps 1. Download wmi from  www.atomicorp.com

  2. Install wmi using yum:

  3. Test it  

  Usage: wmic -U user%password //host “query” Example: Remotely obtain […]

Read More