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 bkrike 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: *

  • Users: Councilk
  • Content: Threads
  • Order by date
  1. Councilk

    Comparing home folders on new server

    Hello all, I hope everyone is doing well. I have a situation here where Im trying to compare the user home directory on the new Win2003 server with the home folders on the old server. I want to print the folders which are not found to a logfile This will give me an idea of the folders who...
  2. Councilk

    need help with logic in code

    Hello all, I want to grab the user home folder from an AD domain and compare this user account information to the same accounts residing on the backup domain controller. The reason for the mixup is the result of a migration from NT40 to AD I have a script here that writes this account and...
  3. Councilk

    Renaming Home Directory

    Hello all, I have a primary and old domain which users were migrated from and I want to check the home directory against the homeDirectory in the old DC I was thinking it should go something like thisd... Dim objCurrentHome, OldHome Set odsearch =("LDAP:",dc=server,ou=OU,cn="",cn="") Set...
  4. Councilk

    Using the IntReturn function

    Hello, I've been able to write a script to move Zip files to a local folder, but I'm trying to use the following which doesn't seem to work See line of code here intReturn = WshShell.Run("pkzip25.exe /add=update /move /temp=strDestSvr & strZipFile & " " & strAppFile,4,True) strDestSvr is a...
  5. Councilk

    Checking user home directory

    Hello all, I need to check a primary sever for user home share against the home shares on a backup server. It the script detects a share missing from the backup server or incorrect share for he user it will create the correct share on the backup server Im trying to figure where I should...
  6. Councilk

    Invalid procedure call or argument

    Hello all I've been making great strides since using this forum with many technologies and want to again express my appreciation to responses to the questions. I was able to get this script to work where it backs up the parent and sub folders. I also need to scann the source folder for files...
  7. Councilk

    Script to backup files from subfolders based on date

    Hello all, I have a tasks where I need to backup a parent folder monthly and two subfolders daily based on the modified date. I'm able to get the entire folder copied, but the backup folder needs to have the current month as part of the folder name. This is what I have so far =============...
  8. Councilk

    Problem with folders need help

    Hello all I have the follwing folder structure I would like to manipulate. 1. I have C:\PPress with 5 sub folders 2. I want to bakup the entire folder before I update two of the subfolders with PDF files This is what I have so far Option Explicit On error resume next Dim objFso, objfolder...
  9. Councilk

    Script prompting for file or directory name

    Hello all, Still working my way through various scripts and I needed some information on why my code is asking for a file or directory upon creation When I get to the line of code highlighted here in red it brings up a DOS window with the following prompt Does C:\Depot-Old specify a file name...
  10. Councilk

    Invalid Procedure Call

    Hello I have a problem here with an invalid procedure call 'Option Explicit 'On Error Resume next Dim objNetwork Dim objFso Dim objFolder Dim FromShare Set objFso = CreateObject("Scripting.FileSystemObject") Set objNetwork = CreateObject("Wscript.Network") FromShare = "\\Enterprise\Depot1"...
  11. Councilk

    Just need some code srcubbing

    Hello all I've been working on code where I need to copy all files from a master folder Folder1 to Folder1 in a new location Once these files are copied, I need to create a new folder named folder1 with the time a date of creation I used the createfolder object and "NOW" as part of the...
  12. Councilk

    Need to script the copying of network shares

    Hello all, I know there are several ways to skin a cat however, I need to skin the cat a certain way. I'm trying to write a script to copy the share\folder along with the permissions. I used the "Xcopy /o" which appears to do the job, so I'm guessing the approach would be to script it where I...
  13. Councilk

    Trying to copy files to a folder based on creation date

    Hello all, I'm trying to put together a script to copy files to a folder based on the date. The script needs to look at the month and year and based on this information, the folder with the corresponding month is created and files copied to it. This is what I've come up with so far - see...
  14. Councilk

    Using the Select Case to map drive based on AD Group

    Hello everyone, I'm using a select case statement to check several groups in AD. If the current user is a member of the group, then the appropriate drive is mapped. The script appeared to be working but it's still mapping the drive even when the user is no longer a member of a particular...
  15. Councilk

    I need the function map used based dual group membership

    Hello All scripting pros out there.. I'm working on a logon script I converted from DOS and I ran into a problem with a function Im using to map a user to a drive. I keep getting a syntax and compilation error with the code below [*************************** Function to check dual memebership...
  16. Councilk

    Vbscript Generating Permission denied

    Hello everyone, I'm having a problem with a script where I want to check a log and upon finding a successful install message, I'm writing this to another file. Please eyeball the embedded script to see if anything jumps out at you. It was working for a while and all of a sudden started...
  17. Councilk

    Calling Sub routine

    Hello, can anyone tell me why I get "Invalid property" when I try to create and call a sub-routine? Thanks...
  18. Councilk

    Web Reporting

    We're about to upgrqade our 2.0 clients to 2k3 advanced clients, however we will not be decommisioning the 2.0 site server. Does anyone know of any web reporting where we could confirm the client upgrade success. I know we want to collect info on the new assigned site and we also want to know...
  19. Councilk

    Help SMS2003 Advertisement and Package status not working!

    Hello: We discovered a problem here with the Ad and package status nodes. They only display the Ads and packages in the pane to the right, but we cannot see any information if we click on an individual object...-
  20. Councilk

    Command line for MBSA

    Hello, It's been a while since I've posted becuase I'm albe to pick out most info from the post Can anyone give me the different command lines we should use when ditributing the software inventory tool from SMS 2.0? (MBSA)

Part and Inventory Search

Back
Top