Great job showing the concept. Just a few comments:
1. You opened a command-prompt, then called powershell. There is already a Windows PowerShell item in the start menu, but both ways are valid.
2. When it came time for you to invoke/run the PowerShell script, you were already in a PowerShell session, there was no need to repeat "powershell .\my_script.ps1", because simply ".\my_script.ps1" would have run the script.
Great job showing the concept. Just a few comments:
1. You opened a command-prompt, then called powershell. There is already a Windows PowerShell item in the start menu, but both ways are valid.
2. When it came time for you to invoke/run the PowerShell script, you were already in a PowerShell session, there was no need to repeat "powershell .\my_script.ps1", because simply ".\my_script.ps1" would have run the script.
marcoshaw1 1 year ago