![]() ![]() ![]() To use the older, less secure remote PowerShell connection instructions that will eventually be deprecated, see Basic auth - Connect to Exchange Online PowerShell. Kein manueller Download von einer Microsoft Downloadseite, sondern sie müssen zuerst das Modul 'PowerShellGet' installieren, wenn es nicht schon eh auf dem System installiert ist. To connect to Exchange Online PowerShell for automation, see App-only authentication for unattended scripts. Provide your Microsoft 365 administrator credentials: LiveCred Get-Credential. PS C:WINDOWSsystem32> Session New-PSSession -ConfigurationName Microsoft. Here are some instructions on TechNet that detail the prerequisites for a connection to Exchange Online, though you might find you’ve got these installed already: (v=exchg.160). Hinweis: Die neue Exchange PowerShell funktioniert noch nicht mit der PowerShell Core oder PowerShell 7 Schon die Installation unterscheidet sich von bisherigen PowerShell-Erweiterungen. To successfully connect to Exchange Online with PowerShell, it is recommended to set the policy to RemoteSigned: Set-ExecutionPolicy RemoteSigned. ![]() It’s also a good idea to create shortcuts to the various Office 365 services, so you can quickly log on to them without having to copy and paste commands one by one. If you’re going to be working with Office 365 via PowerShell, it’s a good idea to set up your computer with the appropriate PowerShell cmdlets and versions. In the Windows PowerShell Credential Request dialog box, type your Exchange Online user name and password, and then click OK. How to set up a quick connection to Exchange Online To successfully connect to Exchange Online with PowerShell, it is recommended to set the policy to RemoteSigned: Set-ExecutionPolicy RemoteSigned. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |