Hi,
I have a file having data around 5GB. I tried to get size of the file using get-content $path2 | Measure-Object method. But its taking more time as Get-Content cmdlet is present.
Is there method to get the size of this kind of file very quickly. I would like to get the file size using Properties of a file using Get-ItemProperty.
Can anyone suggest me on this,
Thanks,
Dinesh