New
#20
Hello, what would be the best way to run this as a stand alone script (and not always runs when you open PowerShell). So that when you run the .ps1 file it stays open and displays the output? Thank you.
Call PowerShell -ExecutionPolicy ByPass -file "D:\Folder_name\File_name.ps1"
To all members, no one in particular..... please refrain from posting in all bold bright colors, like all bold red. It is not as easy to read, particularly if more than one sentence. Also, may not render well or at all in certain TF themes. I believe John has mentioned this in the past. Thanks.
I used red and boldface because it was a line of commands. I always do so when posting commands.
I suppose you are referring to sentences. A command is not a sentence. The former is intended to be run, while the latter, to be read. I intend a command to be copied, pasted, and run, not to be read.
Also, it is easy to read at my end. Assuming red does not look good at your end, can you suggest a different colour?
If both a sentence and a command are in black, they look the same. I want a command to be distinct from a sentence. What else can be done except using boldface and a different colour?