McGlovin1337 / PSAsigraDSClient

Powershell Cmdlets to Manage the Asigra DS-Client
0 stars 0 forks source link

Improve Error Output when lack of Notification Options Specified for New Backup Set #150

Open McGlovin1337 opened 2 years ago

McGlovin1337 commented 2 years ago

When creating a New Backup Set, failing to specify all the required Notification Parameters results in an unimformative Error, e.g.

New-DSClientWinFsBackupSet: Object reference not set to an instance of an object.

If possible, the Notification Parameters should be added to a Parameter Set with the required Parameters marked as Mandatory, alternatively, add custom parameter validation and output an appropriate error.