Search notes:

System.IO.DirectoryInfo (class)

System.IO.DirectoryInfo represents a file system directory.
This class is mainly used to copy, move, rename, create and delete directories.
System.IO.DirectoryInfo derives from System.IO.FileSystemInfo.
In PowerShell, this type is returned by get-item if the item is a directory:
PS C:\> (get-item . ).GetType().FullName
System.IO.DirectoryInfo

See also

System.IO.Directory
Compare with System.Management.Automation.PathInfo
The Directory property of the System.IO.FileInfo object.

Index