New
#1
Powershell doubt
I have created a script in D:\Data\Lvg\gadgets\Laptops\Docs\powershell called myfirstfunction.ps1. I copied the same file as mysecfunc.ps1 in C:\. As you can see in following pic, .ps1 in C:\ works when I run it. But myfirstfunction.ps1 does not run either from C:\ or D:\Data\Lvg\gadgets\Laptops\Docs\powershell .
Any reason?