I have a long script consisting of some loops and different parts. I want the script to run in order part 1, part 2. How can I achieve this?
{
part 1
}
{
part2
{
.
.
I have a long script consisting of some loops and different parts. I want the script to run in order part 1, part 2. How can I achieve this?
{
part 1
}
{
part2
{
.
.
By default all commands - except of jobs - in a PowerShell script run in order. There’s no extra efford needed.