********************** Windows PowerShell transcript start Start time: 20210924063625 Username: DC-CONTAB\SYSTEM RunAs User: DC-CONTAB\SYSTEM Configuration Name: Machine: BACKUP (Microsoft Windows NT 10.0.17763.0) Host Application: Powershell.exe -File C:\VeeamScripts\VeeamDiscordNotifications\DiscordNotificationBootstrap.ps1 Process ID: 5900 PSVersion: 5.1.17763.2183 PSEdition: Desktop PSCompatibleVersions: 1.0, 2.0, 3.0, 4.0, 5.0, 5.1.17763.2183 BuildVersion: 10.0.17763.2183 CLRVersion: 4.0.30319.42000 WSManStackVersion: 3.0 PSRemotingProtocolVersion: 2.3 SerializationVersion: 1.1.0.1 ********************** Transcript started, output file is C:\VeeamScripts\VeeamDiscordNotifications\log\debug.log [Info] Transcript is being logged to C:\VeeamScripts\VeeamDiscordNotifications\log\debug.log WARNING: The names of some imported commands from the module 'Veeam.Backup.PowerShell' include unapproved verbs that might make them less discoverable. To find the commands with unapproved verbs, run the Import-Module command again with the Verbose parameter. For a list of approved verbs, type Get-Verb. parentpid: 12020 parentcmd: "C:\Program Files\Veeam\Backup and Replication\Backup\Veeam.Backup.Manager.exe" "startbackupjob" "owner=[vbsvc]" "Normal" "b8a7213b-8951-4fda-8d2f-4b295f5b3244" "c7a60639-eec6-4fb3-9417-fb0b4319fc8d" WARNING: This cmdlet is no longer supported for computer backup jobs. Use "Get-VBRComputerBackupJob" instead. job: session: You cannot call a method on a null-valued expression. At C:\VeeamScripts\VeeamDiscordNotifications\DiscordNotificationBootstrap.ps1:28 char:1 + $Id = '"' + $session.Id.ToString().ToString().Trim() + '"' + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : InvalidOperation: (:) [], RuntimeException + FullyQualifiedErrorId : InvokeMethodOnNull You cannot call a method on a null-valued expression. At C:\VeeamScripts\VeeamDiscordNotifications\DiscordNotificationBootstrap.ps1:28 char:1 + $Id = '"' + $session.Id.ToString().ToString().Trim() + '"' + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : InvalidOperation: (:) [], RuntimeException + FullyQualifiedErrorId : InvokeMethodOnNull Id: You cannot call a method on a null-valued expression. At C:\VeeamScripts\VeeamDiscordNotifications\DiscordNotificationBootstrap.ps1:30 char:1 + $JobName = '"' + $session.OrigJobName.ToString().Trim() + '"' + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : InvalidOperation: (:) [], RuntimeException + FullyQualifiedErrorId : InvokeMethodOnNull You cannot call a method on a null-valued expression. At C:\VeeamScripts\VeeamDiscordNotifications\DiscordNotificationBootstrap.ps1:30 char:1 + $JobName = '"' + $session.OrigJobName.ToString().Trim() + '"' + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : InvalidOperation: (:) [], RuntimeException + FullyQualifiedErrorId : InvokeMethodOnNull JobName: args: -file C:\VeeamScripts\VeeamDiscordNotifications\DiscordVeeamAlertSender.ps1 -JobName -Id [Info] Stopping transcript logging. ********************** Windows PowerShell transcript end End time: 20210924063632 **********************