![]() ![]() Remote PowerShell connections require Basic authentication in WinRM on your client computer.Remote PowerShell connections are deprecated in Exchange Online PowerShell and will be deprecated in Security & Compliance PowerShell.You need to use the UseRPSSession switch in the Connect-IPPSSession command to access cmdlets in remote PowerShell mode.Ĭonsider the following items for connections in remote PowerShell mode: In Exchange Online PowerShell and in Security & Compliance PowerShell, REST API connections are used by default. For alternatives, see Workarounds for Invoke-Command scenarios in REST API connections.Īll available cmdlets in Exchange Online PowerShell and virtually all cmdlets in Security & Compliance PowerShell are backed by the REST API. The Invoke-Command cmdlet doesn't work in REST API connections. REST API cmdlets have the same cmdlet names and work just like their remote PowerShell equivalents, so you don't need to update any of your scripts. Limited parameters and output properties available The benefits of REST API cmdlets are described in the following table:Īll parameters and output properties available Better performance: The connection avoids setting up a PowerShell runspace.Delays due to large queries that take a long time to complete.More reliable: REST API cmdlets handle transient failures with built-in retries, so failures or delays are minimized.More secure: REST API cmdlets have built-in support for modern authentication and don't rely on the remote PowerShell session, so PowerShell on your client computer doesn't need Basic authentication in WinRM.REST API cmdlets have the following advantages over their historical counterparts: Security & Compliance PowerShell: v3.2.0 or later.Exchange Online PowerShell: v3.0.0 or later.The EXO V3 module improves upon the historical capabilities of the EXO V2 module with the following features:Ĭertificate based authentication (also known as CBA or app-only authentication) is available for Security & Compliance PowerShell.Ĭmdlets backed by the REST API are available in the following PowerShell environments based on the version of the EXO V3 module: Version 3.0.0 or later is known as the EXO V3 module. The rest of this article explains how the module works, how to install and maintain the module, and the optimized Exchange Online cmdlets that are available in the module. Connect to Exchange Online Protection PowerShell.Connect to Security & Compliance PowerShell.Version 3.0.0 and later is known as the Exchange Online PowerShell V3 module (abbreviated as the EXO V3 module).įor connection instructions using the module, see the following articles: ![]() Version 2.0.5 and earlier is known as the Exchange Online PowerShell V2 module (abbreviated as the EXO V2 module). ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |