Skip to content

Fix Issue while using SendEmail option in New-AsBuiltReport #74

@rebelinux

Description

@rebelinux

Bug description

Error when setting the option to SendEmail.

Reported by a user:
https://community.veeam.com/yara-and-script-library-67/announcing-asbuiltreport-veeam-vbr-1-0-0-13058?postid=92095#post92095

New-AsBuiltReport: The term 'Draw-AsciiBox' is not recognized as a name of a cmdlet, function, script file, or executable program.
Check the spelling of the name, or if a path was included, verify that the path is correct and try again.

Command-line input

New-AsBuiltReport -Report Veeam.VBR -Target HOSTNAME -Username $credential.UserName -Password $credential.GetNetworkCredential().Password -Format Html,Word -OutputFolderPath 'C:\AsBuiltReport' -ReportConfigFilePath 'C:\AsBuiltReport\Config\AsBuiltReport.Veeam.VBR.json' -Timestamp -AsBuiltConfigFilePath 'C:\AsBuiltReport\Config\AsBuiltReport.json' -SendEmail

Steps to reproduce

  1. Run the New-AsBuiltReprot with the SendEmail option

Expected behaviour

The ability to send emails without problems

Screenshots

No response

Operating System

All

PowerShell Version

Pwsh5.1/7

PowerShell Modules

Name               Version
----               -------
AsBuiltReport.Core 1.6.2
PScribo            0.11.1

Additional Context

No response

Before submitting

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions