I'm receiving the following errors when I run a test Java deploy script I'm working on. Any thoughts?
PS C:\temp\toolkit> .\Deploy-Application.ps1
Write-Log : The term 'Write-Log' 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 C:\temp\toolkit\Deploy-Application.ps1:122 char:87
program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
At C:\temp\toolkit\Deploy-Application.ps1:123 char:1
PS C:\temp\toolkit> .\Deploy-Application.ps1
Write-Log : The term 'Write-Log' 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 C:\temp\toolkit\Deploy-Application.ps1:122 char:87
- ... tackTrace)`)"; Write-Log "$exceptionMessage"; Show-DialogBox -Text $exceptionMes ...
-
~~~~~~~~~
- CategoryInfo : ObjectNotFound: (Write-Log:String) [], CommandNotFoundException
-
FullyQualifiedErrorId : CommandNotFoundException
program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
At C:\temp\toolkit\Deploy-Application.ps1:123 char:1
- Exit-Script -ExitCode 0 # Otherwise call the Exit-Script function to perform fin ...
-
~~~~~~~~~~~
- CategoryInfo : ObjectNotFound: (Exit-Script:String) [], CommandNotFoundException
- FullyQualifiedErrorId : CommandNotFoundException