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...
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...
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...
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...
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...
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...
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
=============...
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...
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...
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"...
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...
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...
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...
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...
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...
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...
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...
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...-
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)
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.