This adds the ability to test either the properties of a volume, or for the existence of the volume itself. This is based on @beaudryj's PR that is not able to be merged.
Usage:
Describe 'Volume' {
Volume C DriveType { Should Be 'Fixed' }
Volume C FileSystem { Should Be 'NTFS' }
Volume X { Should BeNullOrEmpty }
Volume ShouldNotExist { Should BeNullOrEmpty }
}
This adds the ability to test either the properties of a volume, or for the existence of the volume itself. This is based on @beaudryj's PR that is not able to be merged.
Usage: