fabrisodotps1 / M365PSProfile

M365PSProfile installs and keeps the PowerShell Modules needed for Microsoft 365 Management up to date. It provides a simple way to add it to the PowerShell Profile.
GNU General Public License v3.0
38 stars 5 forks source link

InvalidOperation: You cannot call a method on a null-valued expression. #18

Open Apoc70 opened 3 weeks ago

Apoc70 commented 3 weeks ago

After installing M365PSPRofile on a new machine, the initial installation of the PowerShell modules generates the following error: InvalidOperation: You cannot call a method on a null-valued expression.

image

Maybe some exception handling can deal with this?

fabrisodotps1 commented 3 weeks ago

Thanks for reporting this issue. I'll have a look at this on the weekend!