Yes, we have a winner. Houston we do not have a problem!
The error you are getting is the one that I mentioned. All variables need to be declared.
Put the line below at the top of the outlook profile script and it should work. What happens now is that kix expects all variables to be declared and the ones in my script are not (at least some of them) so you need to declare them. Now kix finds some variables that are not declared so it exits the script and all further actions are canceled so no outlook profile is created. There may be other variables that need to be declared in my script like $rc but it could be that Glenn is using the same variable name so they are already declared. You may only declare a variable once otherwise you will get an error telling you that there are doubly declared variables.
[edit]
Oh and BTW you are checking if outlook.prf exists on the users home drive. I did that also but then added a piece of code to check the file date and replace the file if the file date was different from the one on the server. But that is for later use. Let’s first get the basics to work.
[/edit]
Edited by Mart (2008-09-28 10:35 PM)
Edit Reason: Added some stuff.
_________________________
Mart
- Chuck Norris once sold ebay to ebay on ebay.