Im currently trying to convert an old vbs file into .net
The file is a remote installation script for some software.
It uses wmi to install the program remotely however wmi cant install from a mapped drive and we dont want to have to insert the CD on all of the remote machines (there are quite a few).
To get around this the script maps the remote c$ copies the installation files, installs the program and then removes the installation files. It then moves onto the next remote host in the list.
How would I go about creating the mapping to the remote c$ to the U: drive of the local machine used to install the program in .net??
The mapping will need to pass a user name and password.
Cheers
The file is a remote installation script for some software.
It uses wmi to install the program remotely however wmi cant install from a mapped drive and we dont want to have to insert the CD on all of the remote machines (there are quite a few).
To get around this the script maps the remote c$ copies the installation files, installs the program and then removes the installation files. It then moves onto the next remote host in the list.
How would I go about creating the mapping to the remote c$ to the U: drive of the local machine used to install the program in .net??
The mapping will need to pass a user name and password.
Cheers