Search found 416 matches

by donj
Wed Apr 09, 2008 6:49 am
Forum: Windows PowerShell
Topic: New-Object for Data Collection ?
Replies: 3
Views: 3779

New-Object for Data Collection ?

This is an example I use in our Advanced training course which does more or less what you're looking for. You can see at the end that it uses the Get-DriveInventory output - which are objects - in three different ways, which is the whole reason to spew objects rather than text. I created a second fu...
by donj
Wed Apr 09, 2008 5:43 am
Forum: VBScript
Topic: DSQuery / Script for Published Certificates
Replies: 8
Views: 4742

DSQuery / Script for Published Certificates

So you'd do a GetEx("userCertificate") with the user object.
by donj
Wed Apr 09, 2008 4:31 am
Forum: VBScript
Topic: DSQuery / Script for Published Certificates
Replies: 8
Views: 4742

DSQuery / Script for Published Certificates

I'm not even familiar with where that info is *kept* in AD. If you can tell me that I could probably show how to get the info...
by donj
Wed Apr 09, 2008 1:59 am
Forum: Windows PowerShell
Topic: connecting to Informix db
Replies: 12
Views: 8771

connecting to Informix db

You do need to make sure you're calling it - rather than using the older ODBC drivers, make sure your connection string is pulling the OLE DB drivers directly. It's usually the connection string that tells it which specific driver to call on.
by donj
Wed Apr 09, 2008 1:28 am
Forum: VBScript
Topic: File Versions information
Replies: 6
Views: 2619

File Versions information

Depending on the Exe, modifying its header might also break a digital signature rendering the file useless.
by donj
Wed Apr 09, 2008 12:34 am
Forum: Windows PowerShell
Topic: connecting to Informix db
Replies: 12
Views: 8771

connecting to Informix db

http://connectionstrings.com/?carrier=informix has some example connection strings - looks like you've got that bit correct which is usually the issue. Beyond that, you're right - that's not terribly helpful. You're sure you have the Informix drivers on your computer? Do this: Create a new text file...
by donj
Wed Apr 09, 2008 12:20 am
Forum: VBScript
Topic: Runoce Registry key
Replies: 2
Views: 1389

Runoce Registry key

If the user needs admin rights to perform the task, then they need admin rights to run the script. Unfortunately, a script isn't designed to bypass Windows' security. You might consider packaging the script (PrimalScript Pro and Enterprise offer a packager) in an EXE that allows alternate credential...
by donj
Tue Apr 08, 2008 3:48 am
Forum: Windows PowerShell
Topic: computer asset inventory
Replies: 59
Views: 35119

computer asset inventory

As I said, it's not installed on Win2003 by default. You have to add the class.
by donj
Tue Apr 08, 2008 3:40 am
Forum: Windows PowerShell
Topic: computer asset inventory
Replies: 59
Views: 35119

computer asset inventory

The win32Reg_AddRemovePrograms class comes from installing SMS Server 2003 onto that computer. It provides different results than Win32_Product. The actual syntax you use (-class or -query) doesn't matter.