Connect-IPPSSession : El término ‘Connect-IPPSSession’ no se reconoce como nombre de un cmdlet

Estaba usando Connect-IPPSession y obtuve el siguiente menaje.

Connect-IPPSSession : El término 'Connect-IPPSSession' no se reconoce como nombre de un cmdlet, función, archivo de     script o programa ejecutable. Compruebe si escribió correctamente el nombre o, si incluyó una ruta de acceso,
compruebe que dicha ruta es correcta e inténtelo de nuevo.
En línea: 1 Carácter: 1
+ Connect-IPPSSession
+ ~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : ObjectNotFound: (Connect-IPPSSession:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException

Lo solucione ejecutando los siguientes comandos.

Set-ExecutionPolicy unrestricted -Force
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12
Install-Module ExchangeOnlineManagement -Force

Del anterior comando se obtiene un mensaje como el siguiiente donde deberemos aceptar con una S y Enter.

Se necesita el proveedor de NuGet para continuar
PowerShellGet necesita la versión del proveedor de NuGet '2.8.5.201' o posterior para interactuar con repositorios
basados en NuGet. El proveedor de NuGet debe estar disponible en 'C:\Program
Files\PackageManagement\ProviderAssemblies' o 'C:\Users\omeza\AppData\Local\PackageManagement\ProviderAssemblies'.
También puedes instalar el proveedor de NuGet ejecutando 'Install-PackageProvider -Name NuGet -MinimumVersion 2.8.5.201
 -Force'. ¿Quieres que PowerShellGet se instale e importe el proveedor de NuGet ahora?
[S] Sí  [N] No  [U] Suspender  [?] Ayuda (el valor predeterminado es "S"):

Seguimos con Connect-Exchange-Online

Connect-Exchange-Online

Que retorna el siguiente mensaje con lo que ya estariamos listos para ejecutar Connect-IPPSession.

----------------------------------------------------------------------------------------
This V3 EXO PowerShell module contains new REST API backed Exchange Online cmdlets which doesn't require WinRM for Client-Server communication. You can now run these cmdlets after turning off WinRM Basic Auth in your client machine thus making it more secure.

Unlike the EXO* prefixed cmdlets, the cmdlets in this module support full functional parity with the RPS (V1) cmdlets.

V3 cmdlets in the downloaded module are resilient to transient failures, handling retries and throttling errors inherently.

However, REST backed EOP and SCC cmdlets are not available yet. To use those, you will need to enable WinRM Basic Auth.

For more information check https://aka.ms/exov3-module
----------------------------------------------------------------------------------------

Deja un comentario