KeepAlive Parameter (Connect-Gmail Cmdlet)
The IMAP connection should be kept alive when this value is true.
Syntax
Connect-Gmail -KeepAlive bool
Data Type
bool
Default Value
true
Remarks
The cmdlet uses the KeepAlive setting to decide if the IMAP connection should be kept alive. It is preferable to keep a connection alive if more than one query is to be made against the mail server.