-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
modules not imported in Get-Office365Forwarders #1
Comments
Oh, I've not had to import a module for years. Since PS 3, modules get imported automatically don't they? Which version of PS are you using? |
It must be something funky with the Windows Terminal, I tried it in the Powershell terminal and it worked fine. |
Yes, I've not used that. Will try in the morning and then do a test on the host type - importing if needed. Thanks for letting me know. |
I've updated it to work with Windows Terminal by importing the modules. Let me know if it works for you when you have a chance 👍. |
I was testing your Get-Office365Forwarders script, and noticed that you check if the MSOnline and ExchangeOnlineManagement are installed but you never actually import them in your script causing the Connect-MsolService to fail as the function doesn't exist.
The text was updated successfully, but these errors were encountered: