PowerShell commands fail when launched from Windows Command Line

Closed Posted 4 years ago Paid on delivery
Closed Paid on delivery

I have a script that joins computers to domain and renames the computer as well.

It works when I paste the command in to PS or CMD, but in a batch file, one PS command fails to execute.

I need help to find why its failing to execute from CMD batch script and fix it so that it works.

Powershell Windows Desktop Microsoft Software Architecture

Project ID: #20376434

About the project

14 proposals Remote project Active 4 years ago

14 freelancers are bidding on average $23 for this job

AHTOAH

Hello, I have great experience in Powershell\CMD scripting. Let me know if you are interested and I'm ready to discuss further details and help you solve the failing command problem. Regards, Tony Benev

$20 USD in 1 day
(43 Reviews)
4.7
AhmadSameer

Hey there, I'm a Systems Engineer with coding skills. I had developed tons of scripts using batch, and Powershell. I can help. Regards.

$30 USD in 1 day
(18 Reviews)
4.4
goodwork20k

I am good in cmd and powershell script, please let me know if you are good to award this project to me

$29 USD in 1 day
(13 Reviews)
4.6
dnickel80

Hello there. Is this project still open? If so I would like to help you resolve your issue. We can make this work either way but I find it easier to code from powershell instead of batch.

$15 USD in 1 day
(4 Reviews)
3.5
kanwaljeetk56

Hi, I have expertize in powershell, vbscripting and batch programming, share the batch file text and error message will let you know the reason and will correct the same.

$20 USD in 1 day
(7 Reviews)
3.0
eviledin

Hi, Good Day! My name is Vivek Hudden and i am a system administrator with over 7 years of hands on experience. I am working for Marine Industries from last 4 years as a system administrator, Responsible for managing More

$17 USD in 1 day
(0 Reviews)
0.0
tpsrinivasan

I havepowershl worked in application packaging where we use powershell as scripting tool. Also worked in windows powershell commands. Relevant Skills and Experience Good knowledge in powershell and vb scripting as win More

$25 USD in 1 day
(0 Reviews)
0.0
my2k

Check the execution-policy , if its stopping the execution of the script you can do one of the following solution: 1. Group policy (temporary) to change the execution-policy then revert it back 2. At the script itsel More

$25 USD in 7 days
(0 Reviews)
0.0
marutinandan13

let me know the script details. share the creds, will fix ur issue.

$20 USD in 1 day
(0 Reviews)
0.0
Virenr90

Hello Team, Can you let me know the error you are getting while executing the script? Can we check the issue remotely?

$20 USD in 7 days
(0 Reviews)
0.0
kres0345

I know my way around the windows command prompt and I have past experience with debugging batch scripts.

$10 USD in 2 days
(0 Reviews)
0.0
sivaposh

should not be big issue ,we can resolve it just by understanding the error. Let me know if we can start doing it.

$30 USD in 1 day
(0 Reviews)
1.4
marcelinuubk

Hello, I'm Lucas i have largest experience at Windows environment, 7 years working already. I'm certificate MCSA,MCSE Windows Server / Server Core. I can do it easily Waiting your aswer. Thx

$30 USD in 1 day
(0 Reviews)
0.0