Hi,
Like Forms, it is more complicated to track down the owner of a Google Site (new). As an example had to find the owner of;-
So it would be good to search for device-guide in the URL. And the file name for this Site is Parents' Device Guide so not an exact match to device-guide. But the URL is not shown in the File Info so I assume this is not possible.
So, as I actually knew the owner (but am trying to think ahead when I don't) I used this command to test (I'll change to All Users or OU etc after)
gam user <Known User> print filelist query "name contains '\"guide\"' and mimeType = 'application/vnd.google-apps.site'" fields id,name,driveid filepath corpora alldrives
It found the file but did not display it.
Getting all Drive Files/Folders that match query ((name contains '"guide"' and mimeType = 'application/vnd.google-apps.site')) for <Known User>
Got 1 Drive File/Folder that matched query ((name contains '"guide"' and mimeType = 'application/vnd.google-apps.site')) for <Known User>...
Owner,id,name,driveId,paths
Does anyone know why the results are not displayed and/or a better way to track down the file?
Cheers
James