I am new to PS and got a script run. The first thing I do is enter c:\powershell\ir.ps1 . It seems to work. Then, after defining the directory of my clients, I should be able to simply enter functions such as ir-n . This worked on a personal table that showed me how to do this, but I get the following error:
The term 'ir-n' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. At line:1 char:5 + ir-n <<<< + CategoryInfo : ObjectNotFound: (ir-n:String) [], CommandNotFoundException + FullyQualifiedErrorId : CommandNotFoundException
Is there something simple I can do to run it? I see the function in the ir.ps1 file, so I know that it is.
source share