I'm trying to query multiple servers in our RD Farm and count all the Status:Active sessions and display them in a text file. I was hoping this is possible using query user /server:$Server1,Server2,Server$3...etc. 2>&1
Server 1 has 21 active connections
Server 2 has 12 active connections
Server...
I found out recently that Server 2008 R2 dropped support for IFMEMBER.exe. Is that is true? If so I need to get the script below working with a related method.
Our company needs a logon script that looks at two different company groups in AD and maps drives base on group membership.
@echo off...
Here is the structure:
- I upload and store the daily price in a text file here domain/oilprice/OilPrice.txt
- On my homepage index.asp I have the following entry: <!--#include file="TodayOilPrice.inc"-->
- TodayOilPrice.inc file has this code <%=Session("priceLine")%>
- The global.asa file...
Hello,
I manage a website that displays a companies daily price on the frontpage. I recently created a mobile subdomain of that site, but when i try to #include the text file from the root directory the values are empty on my subdomain pages. Am I doing anything wrong or do I need a subdomain...
When I try using the if statement below it doesn't work and nothing is checked... im not sure why?
If itemChecked.ToString = "java" Then
Thanks Again,
Paul
Hello,
I have a CheckedListBox that will list common RIA applications. I want to check if the object assigned to 'itemchecked' is equal to java and if so to download it. Please see below:
Dim itemChecked As Object
For Each itemChecked In CheckedListBox1.CheckedItems...
Hi Guys,
I want to take a list of results generated by the code below and list it in alphabetical Order. Should I use a bubble sorting algorithm or does WMI have any native method or function to get this done?
Here is the snippet of code:
Const HKLM = &H80000002 'HKEY_LOCAL_MACHINE...
Thanks for the solution. It worked once I uploaded a new VBscript below:
<%@ LANGUAGE=VBSCRIPT %>
<%
Dim objMail
Dim strName, strEmail
strName =Request("name")
strEmail =Request("email")
Set ObjMail = Server.CreateObject("CDO.Message")...
Hello,
I changed domain providers recently and ever since I pointed the records to the new server the 'contact us form' gives me the following error:
Most likely causes:
•The website is under maintenance.
•The website has a programming error.
What you can try:
Refresh the page...
I'm trying to find a way to see what registry keys were created or modified after installing software on my computer. Is there a report I can create for this task
Thanks,
Paul
Hello,
I'm having trouble finding an accurate way of scripting how frequently an application is used on a WinXP, Vista system. Add or Remove programs always displays false information. Is there a log that would be more useful for this?
Thanks for any help!
Paul
I recently worked with a customer that no:
Wireless Connection or
Local Area Connection
Is there anyway to unlock this feature on a guest account or do you need to create a Limited User account.
Thanks for any help!
Paul
Thanks for the post Mark that was a great help.
I have one more newbie question...
If I wanted to search for multiple file types should I use an IF statement with || or && "M4A", "Windows Media Audio" etc.
Is that even possible to search for multiple file types?
Thanks for the post again!
Paul
Hello,
The script below is searching for specific files and memory usage on my system. Is there a way to just make this display the total file size.
Thanks in adavance!
-------------------------------------
Set objShell = CreateObject("WScript.Shell")
objShell.Run "%comspec% /c c: & dir /s /w...
Hello,
Is there a way to search for MP3 files using WSH and VBscript? Im trying to get the total number of files and how much space they take up on a users system. Any Help with this would be much Appreciated!!
I was thinking that the WIN32_Directory may be useful for this?
Thanks
Hello,
I keep getting a Ubound error message when I run this script. Does anyone see what is wrong? I would appreciate any help
Const HKEY_LOCAL_MACHINE = &H80000002
Const REG_SZ = 1
Const REG_EXPAND_SZ = 2
Const REG_BINARY = 3
Const REG_DWORD = 4
Const REG_MULTI_SZ = 7
strComputer = "."...
I need help converting this too loop statements below to jscript:
strComputer = "."
Set colGroups = GetObject("WinNT://" & strComputer & "")
For Each objGroup In colGroups
Wscript.Echo objGroup.Name
For Each objUser in objGroup.Members
Wscript.Echo vbTab & objUser.Name...
Hey, I'm trying to use the WMI and Win32_GroupUser to get
the Win32_UserAccount class for all members of a specific
group, how would I construct the query string for the
request?
Would like to see:
Admins
PowerUsers
Guests
Limited...Etc
Any Help would be appreciated!
Thanks
Paul
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.