$cs.Sys_IsMinimumRequiredDiskspaceAvailable

Syntax

$cs.Sys_IsMinimumRequiredDiskspaceAvailable(string drive = "C:", double minimumdiskspaceinmb = 100)

 

Parameters

drive

Drive to get free diskspace from (default is C:)

minimumdiskspaceinmb

Required diskspace to check for

 

Example

if(!$cs.Sys_IsMinimumRequiredDiskspaceAvailable('c:',1000)){return}

returns value as boolean

Â