I am fairly new to PowerShell & one of the virtual learning I’ve seen was a series of .ps1 file was created and then dragged into the PowerShell window and the script ran.
I couldn’t asked a question on that tutorial since it’s a recorded one.
Anybody know’s how to do this?
I know how to create the .ps1 and is able to run my script by right clicking and selecting to Run in PowerShell.
But I need to know how to do the drag and drop and script gets executed.