Search found 3 matches
- 14 Apr 2016 15:25
- Forum: DOS Batch Forum
- Topic: Needing Help Creating a .bat file with Powershell Incorporated
- Replies: 4
- Views: 3432
Re: Needing Help Creating a .bat file with Powershell Incorporated
So how would I make the script to run psec to do a gpupdate? I want it to have them enter the computer number and with that the cmd.exe will open to that specific computer number and run the gpupdate
- 14 Apr 2016 15:21
- Forum: DOS Batch Forum
- Topic: Needing Help Creating a .bat file with Powershell Incorporated
- Replies: 4
- Views: 3432
Re: Needing Help Creating a .bat file with Powershell Incorporated
I assumed I needed power shell for that. so when I run the psexec command.exe it opens a new window but the computer number doesnt populate. Do you know what the code would be or what I need to write to fix it?
- 14 Apr 2016 11:40
- Forum: DOS Batch Forum
- Topic: Needing Help Creating a .bat file with Powershell Incorporated
- Replies: 4
- Views: 3432
Needing Help Creating a .bat file with Powershell Incorporated
I am trying to make a .bat file I am trying to run powershell in it so I can run psexec to open cmd.exe in a another computer to do a gpupdate /force. I am trying to have them prompt to enter the computer number and then psexec would run with that computer number I have the following so far but its ...