Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. pbanacos

    Count RD sessions on multiple servers

    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...
  2. pbanacos

    NETLOGON Script

    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...
  3. pbanacos

    Need help regarding my subdomain

    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...
  4. pbanacos

    Need help regarding my subdomain

    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...
  5. pbanacos

    Need help adding a conditional statement

    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
  6. pbanacos

    Need help adding a conditional statement

    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...
  7. pbanacos

    How Can I List Programs in Alphabetical Order?

    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...
  8. pbanacos

    Error 550 generated while performing CDONTS.NewMail&quot;)

    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")...
  9. pbanacos

    Error 550 generated while performing CDONTS.NewMail&quot;)

    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...
  10. pbanacos

    Registry script question

    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
  11. pbanacos

    Program Usage

    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
  12. pbanacos

    Guest User Account Question

    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
  13. pbanacos

    List File Size Script

    That worked Mark!!! Thanks Again
  14. pbanacos

    List File Size Script

    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
  15. pbanacos

    List File Size Script

    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...
  16. pbanacos

    Search for files Script

    Thanks for the previous post XWB Is there a way just to display total memory used
  17. pbanacos

    Search for files Script

    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
  18. pbanacos

    Enumerate registry key

    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 = "."...
  19. pbanacos

    List All Members of each Group

    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...
  20. pbanacos

    User Account Query and Permission Level

    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

Part and Inventory Search

Back
Top