Home Forums Programming Powershell Powershell SMO work in cmd, not from script RE: Powershell SMO work in cmd, not from script

  • Script file does not contain a script, but a function. Loaded the script file into memory, and then called the function -- it works fine, just like execution at the command line. Thanks to D. Jones / J. Hicks "Learn Powershell Toolmaking in a month of lunches" (p. 36).