mirror of
https://github.com/EvotecIT/GPOZaurr.git
synced 2026-08-18 22:36:15 +00:00
Add size
This commit is contained in:
@@ -329,6 +329,8 @@
|
||||
SuggestedActionComment = $SuggestedActionComment
|
||||
BelongsToGPO = $BelongsToGPO
|
||||
GPODisplayName = $GPODisplayName
|
||||
SizeMB = [math]::Round(($_.Length / 1MB), 2)
|
||||
Size = $_.Length
|
||||
Attributes = $_.Attributes
|
||||
CreationTime = $_.CreationTime
|
||||
LastAccessTime = $_.LastAccessTime
|
||||
@@ -340,6 +342,8 @@
|
||||
$MetaData['SuggestedActionComment'] = $SuggestedActionComment
|
||||
$MetaData['BelongsToGPO'] = $BelongsToGPO
|
||||
$MetaData['GPODisplayName'] = $GPODisplayName
|
||||
$MetaData['SizeMB'] = [math]::Round(($_.Length / 1MB), 2)
|
||||
$MetaData['Size'] = $_.Length
|
||||
}
|
||||
if ($Signature) {
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user