July 2017
Beginner
222 pages
5h 2m
English
Since Exchange is managed through a remote session, the commands are simply issued from the PowerShell Core instance but executed on the remote machine (the Office 365 remote connection that we set up with New-PSSession).
The following script is very similar to the connection script in Chapter 5, Managing Exchange Online Using PowerShell. To showcase how we can combine Unix and PowerShell commands, we pipe the results of the Get-User command to a file and then use the cat command to show the contents of the result.txt file on the screen:
Last login: Sat Jul 15 16:34:48 2017 from martinp7.localdomain[psuser@centos7B ~]$ powershellPowerShell v6.0.0-beta.4Copyright (C) Microsoft Corporation. All rights ...
Read now
Unlock full access