Tests if NTFS compression is turned on.
Test-NtfsCompression [-Path] <String> [<CommonParameters>]
Returns $true if compression is enabled, $false otherwise.
| Name | Type | Description | Required? | Pipeline Input | Default Value |
|---|---|---|---|---|---|
| Path | String | The path where compression should be enabled. |
true | false |
Test-NtfsCompression -Path C:\Projects\Carbon
Returns $true if NTFS compression is enabled on C:\Projects\CArbon. If it is disabled, returns $false.