@jaredbusch said in 365 have I been pwned script:
@kelly said in 365 have I been pwned script:
@jaredbusch said in 365 have I been pwned script:
@stuartjordan said in 365 have I been pwned script:
@jaredbusch said in 365 have I been pwned script:
The code he posted must assume something because it will not run as is for me.
Someone said their powershell wasn't updated and soon as they updated it worked?
I take it this is a single tenant your are trying it on? there was 2 scripts on that page I believe.Windows 10 1803, with whatever powershell is default.
Yes, I was using single tenant. But it pukes on the first command.
Do you have the O365 modules loaded?
You are supposed to save the script into VSCode and execute it.
So I have no environment loaded.
It has been a little while since I've managed O365 with Powershell, and I don't have a tenant right now, so I can't test it, but when I last used it if you didn't load the Azure/O365 modules you wouldn't have access to most of the commands used in the script.