Else
Else
Inserts an Else-branch into a condition block, thus initiating the statement part for a non-true condition. The commands that are executed after the Else branch must be indented.
Note: If the Else command is deleted and the request is confirmed, all commands in the Else condition block are also deleted. If you need them, copy or move them to another part of your script before deleting them. |
Corresponds to DSM eScript command:
- Else
See also:
- $BeginUninstallScript
- ElseIf
- Exit-Package
- If
- If-Conditions
- Invoke-Goto
- Invoke-PowerShellCode
- Invoke-Script
- Invoke-ScriptAs
- Register-SystemRestart
- Register-SystemShutdown
- Request-EndInstallerSession
- Set-Label
- Start-Program
- Start-ProgramAs
- Stop-PdProcess
- Suspend-ScriptExecution
- Unregister-SystemRestart