Get-OSDCoreCacheDrive
Last updated
Was this helpful?
Returns OSDCloud cache drive metadata from local file system drives.
Module
OSD
Platform
WinPE (amd64 / arm64)
Enumerates mounted file system drives that contain an OSDCloud cache path and returns only USB, DriveRoot, VolumeLabel, and VolumeUniqueId properties.
Get-OSDCoreCacheDrive [[-Include] <String[]>] [[-Exclude] <String[]>] [-ProgressAction <ActionPreference>]
[<CommonParameters>]-Include
String[]
False
Optional list of drive letters to include when searching for OSDCloud cache paths. Accepts values such as 'C', 'D:', or 'E:'. When omitted, all mounted file system drive letters are considered.
-Exclude
String[]
False
Optional list of drive letters to exclude when searching for OSDCloud cache paths. Accepts values such as 'C', 'D:', or 'E:'. Excluded drives are skipped even when they are also present in Include.
Get-OSDCoreCacheDriveReturns OSDCloud cache drive metadata for all mounted file system drives.
Returns OSDCloud cache drive metadata only for drive C.
Last updated
Was this helpful?
Was this helpful?
Get-OSDCoreCacheDrive -Include C,D -Exclude D
