Search found 6 matches

by mattw
Tue May 26, 2009 10:54 pm
Forum: Other Scripting Languages
Topic: Help with an HTA/DSQUERY
Replies: 8
Views: 7217

Help with an HTA/DSQUERY

This code works in VBS: dim objNetworkdim sDomain, sGroup, sUserdim objGroup, objUserdim bMember sUser = InputBox("Enter logon ID")Set objNetwork = CreateObject("WScript.Network")sDomain = objNetwork.UserDomain' MsgBox "sDomain: " & sDomain' sUser = objNetwork.UserName' MsgBox "sUser: " & sUser set ...
by mattw
Tue May 26, 2009 6:55 am
Forum: Other Scripting Languages
Topic: Help with an HTA/DSQUERY
Replies: 8
Views: 7217

Help with an HTA/DSQUERY

Well, while messing around with pulling AD info into the HTA I tried the following: <HTML> <HEAD> <TITLE>Users Group Query HTA</TITLE> <HTA:APPLICATION ID="MyApp" APPLICATIONNAME="Template" BORDER="thick" BORDERSTYLE="complex" CAPTION="yes" CONTEXTMENU="no" INNERBORDER="yes" MAXIMIZEBUTTON="yes" MIN...
by mattw
Fri May 22, 2009 4:32 am
Forum: Other Scripting Languages
Topic: Help with an HTA/DSQUERY
Replies: 8
Views: 7217

Help with an HTA/DSQUERY

Thanks for the information. I've been able to get the dsget and dsquery to pipe with a DN in DOS, but can't seem to get them to work together in vbscript. I've used the ADSI scripts before, but had really liked the slimmer code possibilities. Guess we can't have it all. :) Thanks again, for your help.
by mattw
Thu May 21, 2009 3:13 am
Forum: Other Scripting Languages
Topic: Help with an HTA/DSQUERY
Replies: 8
Views: 7217

Help with an HTA/DSQUERY

Hi all, I'm trying to run a DSGet inside an HTA using a value piped from a DSQuery, and I keep getting an error that the pipe is an invalid character when I try to open the HTA. Here's the code that I'm working with. I'm sure that my issue is one of format, but I've tried adjusting " marks all aroun...
by mattw
Fri Feb 20, 2009 7:43 am
Forum: Windows PowerShell
Topic: Exchange/PS Messagetracking question
Replies: 3
Views: 1234

Exchange/PS Messagetracking question

I'll try that on Monday, thanks!
by mattw
Fri Feb 20, 2009 6:33 am
Forum: Windows PowerShell
Topic: Exchange/PS Messagetracking question
Replies: 3
Views: 1234

Exchange/PS Messagetracking question

Hello All, I'm hoping that someone can help me work out the command that I'm looking for. Here's the pseudocode that I've got in mind: Get all distribution lists For Each Distribution List, get message tracking log count for all items in this date range. Write each result to file. This is the code I...