Quantcast
Viewing all articles
Browse latest Browse all 1130

How to reference DS 6.9.x server from script?

I need a solution

Hello,

I'm tryng to update BIOS from multiple machines by executing a script in a job in production.

If I execute a similar script in automation (Windows PE) I know I can reference directories in the server like this:

set model=%#!computer@prod_name%
if exist ".\bios\%model%\BIOSUpdate.exe" copy ".\bios\%model%\BIOSUpdate.exe" c:\temp > nul

But, under production, how I reference the Xpress share in the server?

My idea es the following:

- Use tokens for product: set model=%#!computer@prod_name%

- Copy files to local hardisk: copy \\%dsserver%\express\bios\%model%\BIOSUpdate.exe c:\temp > nul (but, how I can reference the share without mapping it ... does the agent have access to the server for copying files?)

- Execute the actual BIOS update c:\temp\BIOSupdate.exe -nopause -noreboot

Any help would be very appreciated.

Thanks.


Viewing all articles
Browse latest Browse all 1130

Trending Articles