While sending an email from the Powershell on Ubuntu linux VM, it adds the home directory path as a prefix to the given path. Maybe, it needs to be linuxified to recognize the path given as an argument to the Attachments parameter.
Observed error:
Send-MKMailMessage: Could not find a part of the path '/home/username/usr/share/git-core/repos/metadata/Inventory.csv'.
While sending an email from the Powershell on Ubuntu linux VM, it adds the home directory path as a prefix to the given path. Maybe, it needs to be linuxified to recognize the path given as an argument to the Attachments parameter.
Observed error:
Send-MKMailMessage: Could not find a part of the path '/home/username/usr/share/git-core/repos/metadata/Inventory.csv'.