Forum Discussion

TungNguyen1600's avatar
TungNguyen1600
Copper Contributor
Jun 27, 2022

Google Drive App Install Issue

Hi guys,   I deploy Google Drive (GD) to all devices, but i am getting a failed status (see below). GD is definitely installing correctly so it must be something to do with my config (see attached)...
  • Harm_Veenstra's avatar
    Jun 27, 2022

    TungNguyen1600 Are you just checking to that folder or a file in that folder? Perhaps using a registry check is a beter option of a detection.ps1 script? Something like this below:

     

    if (test-path -path 'C:\Program Files\Google\Drive File Stream') {
    write-host Google Drive is installed
    exit 0
    }
    else {
    write-host Google Drive is not installed
    exit 1
    }