Andrea Wennefors
asked on
bash to powershell
I have a bash script, and I need to re write it in to powershell.
I am newbie and I am learning but its taking me too long, and I feel that altho I am learning by searching I am losing a lot f time.
attached 3 bash files
&
what I have done so far im ps1
enrollment.sh
mock_server_control.sh
script_helper.sh
EnrollmentTest.ps1
mock_server_control.ps1
script_helper.ps1
I am newbie and I am learning but its taking me too long, and I feel that altho I am learning by searching I am losing a lot f time.
attached 3 bash files
&
what I have done so far im ps1
enrollment.sh
mock_server_control.sh
script_helper.sh
EnrollmentTest.ps1
mock_server_control.ps1
script_helper.ps1
Consideration: Repeatedly running ./sammy then somehow (unsure how) checking each invocation for various Apache return codes...
At best this will just be slow.
At worst, some actions may run duplicate logic + pollute underlying data storage mechanisms.
Better to do a single run of ./sammy, then switch on either success or any error code returned.
At best this will just be slow.
At worst, some actions may run duplicate logic + pollute underlying data storage mechanisms.
Better to do a single run of ./sammy, then switch on either success or any error code returned.
ASKER
Hello David!!
Thank you for getting back to me.
the bash files are running in Linux Ubuntu, Clion.
This is my first time doing this, and I have spent 1 week trying to understand how to do this, where to start, and such.
I feel very very lost!
Thank you for getting back to me.
the bash files are running in Linux Ubuntu, Clion.
This is my first time doing this, and I have spent 1 week trying to understand how to do this, where to start, and such.
I feel very very lost!
This question needs an answer!
Become an EE member today
7 DAY FREE TRIALMembers can start a 7-Day Free trial then enjoy unlimited access to the platform.
View membership options
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
First, mention if the bash scripts are currently running on Windows or on Linux.