Re: Pushing a file
- From: "Scott Brimley [MSFT]" <scottbr@xxxxxxxxxxxxxxxxxxxx>
- Date: Mon, 16 May 2005 11:12:09 -0700
Hi Stevie,
To copy a file to your computers using SMS you will need to write some sort
of script to accomplish this. The script can be written in just about
anything, a few of the more comon methods are: VBScript, SMS Installer, DOS
Batch file.
The script would then need to have the functionality that you desire like
overwriting an existing file. Then to send this out via SMS you would put
the script and the file to distribute in a directory and set that directory
as the Source directory in the SMS package (note the script can be in the
source directory and the file to update on a Share). Then in the SMS
Program you would specify the script on the command line. Then you would
Advertise that program to the Collection of Users/Machines that you want to
recieve the updated file. This will send out an update for that file.
For subsequent updates to the file you would need to update the file in the
source directory and then Update the Source on your DP's. This can be an
automated process too using the SMS SDK to update the DP's with a new
version of the content.
Here is a good place to get started, it has links to online help and a
download of the SDK.
http://www.microsoft.com/technet/scriptcenter/hubs/sms.mspx
When you put it all together you will have a Package/Program that knows how
to copy the file to the computer. An advertisement that is likely scheduled
to run once a day. And a script that gets run to update the source files
and trigger the DP's to get a new copy of the source files. Note this
second script could be run as an SMS Package targeted to your Site Server.
--
Thanks
Scott Brimley [MSFT]
This posting is provided "AS IS" with no warranties, and confers no rights.
Additional Resources:
SMS 2.0 Resource Page:
http://www.microsoft.com/technet/prodtechnol/sms/sms2/default.mspx
SMS 2003 Resource Page:
http://www.microsoft.com/technet/prodtechnol/sms/sms2003/default.mspx
SMS 2003 Technical FAQ:
http://www.microsoft.com/technet/prodtechnol/sms/sms2003/techfaq/default.mspx
SMS 2003 Flow Charts:
http://www.microsoft.com/technet/prodtechnol/sms/sms2003/maintain/flowcharts/default.mspx#EEAA
Scripts: http://www.microsoft.com/technet/scriptcenter/scripts/default.mspx
"Stevie" <Stevie@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:4FA024DB-730D-40E1-9236-2652546D53E6@xxxxxxxxxxxxxxxx
> Can anyone tell me how to push a file. (ini or dll) this file in some
> cases
> needs to be able to overwrite existing. we have a couple specialized
> applications that need files updated on every client machine. I have a
> script that will copy a file but not clear on how to make this work.
.
- Follow-Ups:
- Re: Pushing a file
- From: Stevie
- Re: Pushing a file
- References:
- Pushing a file
- From: Stevie
- Pushing a file
- Prev by Date: Re: Advertisement taking long time in SMS 2003..
- Next by Date: My VBS script requires I pass the SMS package dir to it during execution. How can I accomplish this?
- Previous by thread: Pushing a file
- Next by thread: Re: Pushing a file
- Index(es):
Relevant Pages
|