Code: Select all
$test = get-vbrbackup -id <ID>
PS C:\> $test.Dirpath
IsVbm
-----
False
PS C:\> $test | select Dirpath
DirPath
-------
Backup-Standalone-Daily
PS C:\> $test.Dirpath.ToString()
Backup-Standalone-Daily
Code: Select all
$test = get-vbrbackup -id <ID>
PS C:\> $test.Dirpath
IsVbm
-----
False
PS C:\> $test | select Dirpath
DirPath
-------
Backup-Standalone-Daily
PS C:\> $test.Dirpath.ToString()
Backup-Standalone-Daily
Code: Select all
PS C:\Users\david.LAB> $backup.DirPath|gm
TypeName: Veeam.Backup.Common.CLegacyPath
Name MemberType Definition
---- ---------- ----------
AddDelimiterIfNeeded Method Veeam.Backup.Common.CLegacyPath AddDelimiterIfNeeded(string delimiter)
CompareTo Method int CompareTo(Veeam.Backup.Common.CLegacyPath other), int IComparable[CLegacyPath...
Equals Method bool Equals(Veeam.Backup.Common.CLegacyPath other), bool Equals(System.Object obj...
FilterInvalidCharacters Method Veeam.Backup.Common.CLegacyPath FilterInvalidCharacters(Veeam.Backup.Common.EPath...
GetHashCode Method int GetHashCode()
GetObjectData Method void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Ru...
GetSchema Method System.Xml.Schema.XmlSchema GetSchema(), System.Xml.Schema.XmlSchema IXmlSerializ...
GetType Method type GetType()
ReadXml Method void ReadXml(System.Xml.XmlReader reader), void IXmlSerializable.ReadXml(System.X...
ToString Method string ToString(), string ToString(System.IFormatProvider formatProvider)
Trim Method Veeam.Backup.Common.CLegacyPath Trim()
TrimDelimiter Method Veeam.Backup.Common.CLegacyPath TrimDelimiter(char delimiter)
WriteXml Method void WriteXml(System.Xml.XmlWriter writer), void IXmlSerializable.WriteXml(System...
IsVbm Property bool IsVbm {get;}
PS C:\Users\david.LAB> $backup.DirPath.ToString()
E:\Repo1\dd-malware-box-backup
Users browsing this forum: No registered users and 25 guests