Quantcast
Channel: psappdeploytoolkit Discussions Rss Feed
Viewing all articles
Browse latest Browse all 1769

New Post: Write-Log and Exit-Script errors when running Deploy-Application.ps1

$
0
0
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
  • ... tackTrace)`)"; Write-Log "$exceptionMessage"; Show-DialogBox -Text $exceptionMes ...
  • ~~~~~~~~~
    • CategoryInfo : ObjectNotFound: (Write-Log:String) [], CommandNotFoundException
    • FullyQualifiedErrorId : CommandNotFoundException
Exit-Script : The term 'Exit-Script' 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:123 char:1
  • Exit-Script -ExitCode 0 # Otherwise call the Exit-Script function to perform fin ...
  • ~~~~~~~~~~~
    • CategoryInfo : ObjectNotFound: (Exit-Script:String) [], CommandNotFoundException
    • FullyQualifiedErrorId : CommandNotFoundException

Viewing all articles
Browse latest Browse all 1769

Trending Articles