mirror of
https://github.com/GAM-team/GAM.git
synced 2026-06-03 22:01:39 +00:00
Update Shared-Drives.md
This commit is contained in:
@@ -14,6 +14,7 @@
|
||||
- [Change Shared Drive visibility](#change-shared-drive-visibility)
|
||||
- [Display Shared Drives](#display-shared-drives)
|
||||
- [Display Shared Drive Counts](#display-shared-drive-counts)
|
||||
- [Display Shared Drive Storage Info](#display-shared-drive-storage-info)
|
||||
- [Display List of Shared Drives in an Organizational Unit](#display-list-of-shared-drives-in-an-organizational-unit)
|
||||
- [Display Count of Shared Drives in an Organizational Unit](#display-count-of-shared-drives-in-an-organizational-unit)
|
||||
- [Display Shared Drive Organizers](#display-shared-drive-organizers)
|
||||
@@ -563,6 +564,21 @@ Windows Command Prompt
|
||||
for /f "delims=" %a in ('gam print shareddrives showitemcountonly') do set count=%a
|
||||
```
|
||||
|
||||
## Display Shared Drive Storage Info
|
||||
|
||||
Get a list of Shared Drives/organizers.
|
||||
```
|
||||
gam redirect csv ./SharedDriveOrganizers.csv print shareddriveorganizers includefileorganizers
|
||||
```
|
||||
Get SharedDrive Drive file count and storage info; use one of the following for size information:
|
||||
* `showsize` - 31549200951 - This is a byte count
|
||||
* `showsizeunits` - 31.55 GB - This is as shown in the Admin console
|
||||
```
|
||||
gam config csv_output_header_filter "id,name,Total,Size,Item cap" csv_input_row_filter "organizers:regex:^.+$"
|
||||
redirect csv ./SharedDriveStorageInfo.csv multiprocess redirect stderr - multiprocess
|
||||
csv ./SharedDriveOrganizers.csv gam user "~organizers" print filecounts select shareddriveid "~id" showsizeunits
|
||||
```
|
||||
|
||||
## Display all Shared Drives with a specific organizer
|
||||
Substitute actual email address for `organizer@domain.com`.
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user