Filtered articles: "WMI"

Filtered articles: "WMI"

Parsing Dates in Batch Files & Regional Settings / Locale

Determining day, month and year on the command line is surprisingly difficult if the solution is to work across locales, i.e. on international systems with different regional settings. Although we can use the variables %DATE% and %TIME% their contents is specific to the locale. If set to German, the date is displayed in the format dd.MM.yyyy, if set to English (United States), the date format is M/d/yyyy.

helge's picture
App-V und WMI – I like

Der WMI-Provider für App-V bietet zwei unterschiedliche Klassen zum Abfragen von Informationen über virtuelle Anwendungen und Pakete. Diese befinden sich in dem Namespace „WMI root\microsoft\appvirt\client“. Aktuell gibt es nur einen Read-Only Zugriff, so dass WMI nicht zur Konfiguration von App-V Clients verwendet werden kann. Zum Abfragen von WMI-Klassen können Skriptsprachen wie VBScript und Powershell oder Tools wie z.B. wbemtest verwendet werden.

marc's picture
WMI Troubleshooting

Windows Management Instrumentation (WMI) ist eine objektorientierte Technologie mit dieser lokale, sowie auch  Remote Windows-Computer verwaltet werden können. Bei der Verwendung von WMI für die Verwaltung von Remote-Systemen kommt es häufig zu folgenden Problemen.

marc's picture
How to List All Installed Applications From the Command Line
Published by Helge Klein on 01/14/2010 | 13 Comments | 31,230 Views

How to easily create a list of all programs and (MSI) packages installed on a system for later processing? That sounds like a simple task, and it is. Interestingly, a quick web search revealed primarily more complex solutions where a script is used to iterate through the uninstall information in the registry. That not only is far too complicated, but also inaccurate.

helge's picture
How to Determine the Windows Installation Date with and without PowerShell
Published by Helge Klein on 09/24/2009 | 3 Comments | 27,705 Views

There are many ways to determine when Windows was installed. Here are some of them.

helge's picture
New Articles, Tools, Tips and Tricks: Bugs, Annoyances, PowerShell and some other Stuff

Bugs and Annoyances

ICA connections initiated over the ICA client object (ICO) SDK fail because 128-bit encryption cannot be enabled. Apparently, setting EncryptionLevelSession does not work. Annoyingly, this bug is more than a year old, was fixed in the ICA client 10.2 and reappeared in the current version 11.0. Bugs like this one are bad for the entire Citrix ecosystem, because they break cool tools like Citrix Quick Launch, xConnect and others I may not even know about. [Update 2009-09-30: this bug has been fixed in ICA client 11.2.]

Windows 7's version of Robocopy does not copy EFS-encrypted files to an unencrypted location on another computer. Even Explorer can do that. Vista's version of Robocopy was not so narrow-minded.

helge's picture