Win32::OLE(0.1403) error 0x80070542: "Either a required impersonation level was not provided, or the provided impersonation level is invalid" in METHOD/PROPERTYGET "Name" at d:\Scripts\BackupVM.pl line 14 Use of uninitialized value in concatenation (.) or string at d:\Scripts\BackupVM .pl line 14. Name: Win32::OLE(0.1403) error 0x80070542: "Either a required impersonation level was not provided, or the provided impersonation level is invalid" in METHOD/PROPERTYGET "VirtualMachines" at d:\Scripts\BackupVM.pl line 16 Can't call method "Name" on an undefined value at d:\Scripts\BackupVM.pl line 18 .