location

Save location as variable

$RunFrom = Split-Path -Parent $MyInvocation.MyCommand.Path
$reportfile = "$RunFrom\ExchangeActiveSyncDeviceReport.csv"

map a drive

New-PSDrive -Name F -PSProvider FileSystem -Root \\server\share

Last modified August 4, 2025: fix app location (467b24c)