PSGSuite
PSGSuite copied to clipboard
Get-GSUserLicense in some cases return null
$AccountGSuiteLicenses = Get-GSUserLicense -User (get-aduser $UserAccount.SamAccountName -property EmailAddress).EmailAddress -CheckAll
Does it have any timeouts? This part of code in big script. Some times it return null or empty ;( Any ideas? Thank you.
Curious what the -verbose output says. when you run the command by itself from the console?