Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
0 votes
1 answer
492 views

How to run a batch script completely and automatically on event such as sleep/hibernate and shutdown event using task scheduler?

I have written a batch script to perform some folder synchronizing task. I have scheduled the script to execute using task scheduler on events such as sleep/hibernate(kernel power event id 42) and ...
Harsh's user avatar
  • 1
0 votes
1 answer
478 views

Installing operating system from server PC to all the client PC

I am working on the project in which I have decided to install operating system from server PC to all the client PC. I have one windows iso file on the server PC which is shared on the network. This ...
DKB's user avatar
  • 27
1 vote
1 answer
142 views

Network file handling

Using a batch file I'm trying to copy and then move a file from a local FTP folder to my pc. To access the local FTP I use the administration user and password. This how it looks. net use Z: "\\...
M.Vielma's user avatar
1 vote
1 answer
2k views

WMIC Command works, but doesn't work in powershell script

#Get Data Rate wmic "/OUTPUT:'C:\Users\user\Documents\DATE RATE\Data_Rate-ts8"+".txt" nic where 'NetEnabled = True' 'get Name,MacAddress,Speed'" Running this in the console directly works. That is ...
Faahmed's user avatar
  • 113
0 votes
1 answer
72 views

Cannot use PStool for more than 7 PCs over LAN

Below is the batch file command I am currently using to shut down remote computers on our LAN. Here is what it does. I have specified the remote computers IP address in text file named list.txt I ...
Dragonborn's user avatar
5 votes
3 answers
19k views

how to get default gateway of certain adapter in windows bat?

Please see below ipconfig output in windows. C:>ipconfig Windows IP Configuration Ethernet adapter Local Area Connection 11: Connection-specific DNS Suffix . : Link-local IPv6 Address . ....
K. C 's user avatar
  • 163
0 votes
4 answers
4k views

How can my my batch file determine whether I'm on my work network?

I have a batch file that runs whenever I log in on my laptop. I only want the batch file to execute when I'm on my employer's network. At home, I'd like the batch file to simply exit. What's an ...
Jeremy Stein's user avatar
2 votes
6 answers
19k views

How do I run a batch file on a local network as Administrator? (Vista)

I have a couple of batch files which must be run as Administrator. I can do so if they are on my machine, but when I put them on the network and then try to run them as Administrator, the command ...
Paul Williams's user avatar