Forum Discussion
ibjames
Jan 09, 2019Copper Contributor
Logging in to O365 using password file
I created a small piece of script I want to use to login to o365 remotely using powershell. The script will create the pssession and import the cmdlets but when I use a cmdlet the first time, it...
- Jan 09, 2019
Nevermind.. when I start a new powershell instance, I did a get-pssession and notice that there was a ExchangeO365 module already being loaded, I removed it and now my code works.. :( It must have been calling those cmdlets instead of the ones I was importing, even though I have clobber set
ibjames
Jan 09, 2019Copper Contributor
Nevermind.. when I start a new powershell instance, I did a get-pssession and notice that there was a ExchangeO365 module already being loaded, I removed it and now my code works.. :( It must have been calling those cmdlets instead of the ones I was importing, even though I have clobber set
Jan 09, 2019
Isn’t it great figuring things out?? :)