Para desplegar un fichero MSI en todos los usuarios de un dominio Windows, es necesario crear este script de VBS: Dim dialog_name, dir_sccm, local(1), objIE, WshEnv, objShell, objRed, cmd_line(2) Set objRed = CreateObject(«Wscript.Network») Set objIE = CreateObject(«internetexplorer.application») Set objShell = CreateObject(«WScript.Shell») Set FSO = CreateObject(«Scripting.FileSystemObject») set WshEnv = objShell.Environment(«Process») ‘Revisar si el programa está instalada,
Conectarse a la cuenta desde powershell: $UserCredential = Get-Credential $Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://outlook.office365.com/powershell-liveid/ -Credential $UserCredential -Authentication Basic -AllowRedirection Import-PSSession $Session -DisableNameChecking HABILITAR EXPANSIÓN AUTOMÁTICA DE ARCHIVADO: Enable-Mailbox <user mailbox> -AutoExpandingArchive COMPROBAR QUE ESTA ACTIVADO, TIENE QUE DEVOLVER TRUE: Get-Mailbox <user mailbox> | FL AutoExpandingArchiveEnabled