Hey Guyz,
I’m automating the AD creation using UI path. When I run the command to set the Attributes using PowerShell in start Process by passing the .exe of the PowerShell It works fine.
But the Challenge here is for Exchange Management PowerShell .
It does not contain the .exe file. when I tried to get the .exe location.
It was giving the exact powershell.exe location.
and this was the Target of the Exchange Management shell.
Target : [ C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -noexit -command “. ‘C:\Program Files\Microsoft\Exchange Server\V15\bin\RemoteExchange.ps1’; Connect-ExchangeServer -auto -ClientApplication:ManagementShell”]
thanks in advance.
Regards,
Nizam