Select-Exchange Cmdlet
Searches Microsoft Exchange data.
Syntax
Select-Exchange [parameters]
Remarks
The Select-Exchange cmdlet allows you to use a syntax similar to SQL SELECT statements to search Microsoft Exchange data.
$conn = Connect-Exchange -User '[email protected]' -Password 'myPassword' -Server 'https://outlook.office365.com/EWS/Exchange.asmx' -Platform 'Exchange_Online' Select-Exchange -Connection $conn -Table "Contacts" -Columns @("LastModifiedByName","GivenName") -Where "BusinessAddress_City='Raleigh'"