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...
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...
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...
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
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
Hello,
This script below is giving me a problem on lines 12 and 14. Says expected object is missing. Not sure if i am missing double back slashes or what. Any help would be much appreciated
Thanks
var cstrShowMyIP = "http://www.showmyip.com/xml/";
var objRemXML;
var strIPAddress;
var...
Hello,
Need help getting this const assignment working in jscript. Am I using the right variable declaration or should var work for this
Const cstrShowMyIP = "http://www.showmyip.com/xml/
Hello,
I have a real newbie question about the code below. when I try to display the current user session in Windows it doesn't work. when i run the code it says } expected on line 4. Any help would be deeply appreciated
Thank you,
Paul
var wbemFlagReturnImmediately = 0x10;
var...
Hello,
trying to export the registry key below to a text file. The test file does not work. I would appreciate any help!
Thank You,
Paul
var regkey;
var WshShell = WScript.CreateObject("WScript.Shell");
WshShell.Run("regedit /e c:\test.txt...
Hello,
I need some help with the code below. This code will fail to run successfully if this location in the registry doesnt exist. HKCU\\Printers\\DeviceOld. That would be great if we could see if it is valid before we proceed with the function or popup a message saying the location doesnt...
Hello,
I need some help with the code below. This code will fail to run successfully if this location in the registry doesnt exist. HKCU\\Printers\\DeviceOld. That would be great if we could see if it is valid before we proceed with the function or popup a message saying the location doesnt...
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.