I’ve been told the code I should use and reproduce it below, but have NO idea how to apply it, so I need help.
"To stop a service run the following command:
To start a service run the following command:
You can add that code to separate .PS1 files, or use the PowerShell editor to create your scripts."
Since I have no idea about .PS1 files, but CAN launch the Powershell editor - the second option might suit me best.
I can launch Powershell editor - but it evaporates after a few seconds.