AnsweredAssumed Answered

Power shell script issue

Question asked by Maitreyi on Sep 30, 2020
Latest reply on Oct 1, 2020 by James Devine

Hi there,

WE have a dedicated PI interface server. I'm trying to run a basic Power shell script to connect to the PI server and get the PI value from the archive. Using the command Connect-PIDataArchive  -PIDataArchive "PIServername"

When I run the power shell script, it spits out with the following error message:

Connect-PIDataArchive: The term 'Connect-PIDataArchive' is not recognised as the name of a cmdlet, function, script, file or operable program. Check the spelling of the name, or if a paths was included, verify that the path is correct and try again.


Could somebody let me know what may be wrong?