getting error when running this code , any ideas what might be wrong here:
Copy-File -Path “$dirSupportFiles\Config.xml” -Destination $FileExists -Force
Copy-File : The term ‘Copy-File’ 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:1
- Copy-File -Path “$dirSupportFiles\Config.xml” -Destination $FileEx …
+ CategoryInfo : ObjectNotFound: (Copy-File:String) , CommandNotFoundException + FullyQualifiedErrorId : CommandNotFoundException