Online Safety Community


SSIS includes two special tasks that enable you to query system information and monitor system events: the WMI Data Reader Task and the WMI Event Watcher Task. These tasks are especially useful for system management, as you will discover with examples later in External Management and WMI Task Implementation Topic. WMI uses a specialized query language known as WQL, which is similar to SQL, to obtain information about a Windows system. WMI has many features and capabilities, so we won’t be able to cover all of them, but here are a few common uses:

  • You can get information about files and directories, such as file size, or enumerate the files in a folder. You can also monitor the file system for events, such as whether a file has been modified recently. This could be required in a package if your package is importing data from a CSV or XML file. A change in the file could trigger tasks to fire in your package.
  • You can determine whether an application is currently running. In addition, you can find out how much memory that application is using or how much processor time it has used. This is useful if your package needs to know whether a companion process is running before creating some sort of output result.
  • You can obtain information about users in Active Directory, such as whether a user is active or has certain permissions to a resource. This is useful in a package if information about a user or machine on the network is required for your package’s execution.
  • You can control services that are running on a computer system and actually start and stop them as required. This is useful if your package needs to stop a service during a data transfer.

This is just a small sample of the information you can glean from a computer system. You can obtain information not only about the current system but also about remote systems. As you can see, this gives you access to a great deal of information that could be used in the execution of an SSIS package. For example, you could determine if enough disk space existed on a drive before copying a backup file from a remote system to the current system. You could also monitor a file for updates and automatically import the changes into a database table. Later in External Management and WMI Task Implementation Topic you will see how to actually implement these two examples. For more information on the WMI system, visit HTTP://MSDN.MICROSOFT.COM/ENUS/LIBRARY/WINDOWS/DESKTOP/AA394582(V=V....

Article Credits: Mindmajix

Views: 22

Reply to This

Take our poll!

Take our poll!

Latest Activity

Training Doyens posted events
Soujanya Naganuri posted a discussion

Flow of SAP MM and SUS Portal

SAP Material Management (MM) and SAP Supplier Self Service (SUS) and some customizable features of SAP SUS.In the Plan-Driven Procurement with Supplier Integration scenario the SAP SUS is installed and configured with SAP MM/SRM. Technically, in a classic scenario SAP SUS maybe connected with one or more MM and/or SRM back-end systems.PO is sent to SAP SUS system, in which supplier can perform the follow-on procurement process, i.e. PO response, ASN, GR response and invoice response.SAP…See More
John Robinson posted blog posts
Emma Miah posted a blog post

Latest Men’s Fashion Trends For Winter

Most people will agree that fashion trends use to fade, but the style is the one thing that is eternal. So, it’s always suggested that you should only follow the fashion trends that actually suits your personality. Winter is coming now it’s time to…See More


Flow of SAP MM and SUS Portal

SAP Material Management (MM) and SAP Supplier Self Service (SUS) and some customizable features of SAP SUS.In the Plan-Driven Procurement with Supplier Integration scenario the SAP SUS is installed…Continue

Tags: sapmmcourse, sapmmonline, sapmm

Started by Soujanya Naganuri on Thursday.

PEGA Axis error: Parser already accessed

We have a PEGA frontend, from in which we're keying in double byte characters like japanese and being send to allotted java webservice through axis. this is working best when we ship singlebyte…Continue

Tags: pega_training, pega_online, pega

Started by Soujanya Naganuri Dec 6.

VMware player error on install vmware tools.

 I've installed the last version of VMware player (4.0.2) and created a virtual machine with ubuntu 10.04. However, some operations with …Continue

Tags: training, online, vmware

Started by emmablisa Dec 1.

All About QlikView

QlikViewQlik relies on sophisticated analytics that enables data discovery using an in-memory engine to analyze data for patterns not visible via SQL data structures or queries. The company’s two…Continue

Tags: Safety, Qlikview

Started by nicolewells Nov 25.

Occupational Health and Safety 5 Replies

Health and safety are important aspects of an organisation’s smooth and effective functioning.  Did you know that workplace health & safety injuries cost Australian businesses over $60 billion…Continue

Tags: Safety, and, Health, Occupational

Started by WHS Solutions. Last reply by Tara safe Nov 16.



© 2017   Created by Safety Community.   Powered by

Badges  |  Report an Issue  |  Terms of Service