365 have I been pwned script
-
@kelly said in 365 have I been pwned script:
@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.
The script doesn't load the module?
-
@travisdh1 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:
@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.
The script doesn't load the module?
Unfortunately not. It may be that he is an O365 admin and can't imagine someone not loading it in their profile. I don't know.
-
@kelly said in 365 have I been pwned script:
@travisdh1 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:
@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.
The script doesn't load the module?
Unfortunately not. It may be that he is an O365 admin and can't imagine someone not loading it in their profile. I don't know.
Likely. This is what I hate so much about guides on the internet and why I always base my guides on the most minimal base I can. People always assume so much shit and then things never work right.
You cannot even import the Azure modules without first installing something from MS right?
This script says nothing about that.
-
@jaredbusch said in 365 have I been pwned script:
@kelly said in 365 have I been pwned script:
@travisdh1 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:
@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.
The script doesn't load the module?
Unfortunately not. It may be that he is an O365 admin and can't imagine someone not loading it in their profile. I don't know.
Likely. This is what I hate so much about guides on the internet and why I always base my guides on the most minimal base I can. People always assume so much shit and then things never work right.
You cannot even import the Azure modules without first installing something from MS right?
This script says nothing about that.
Correct, even a lot of MS sites don't give you enough to actually get it to work. Following all the MS directions and still there are gaps. It's insanely poorly documented. And simply doesn't work on some PS versions (like Linux) but never says that it's incomplete there. So PS isn't the only requirement, but they never list requirements.
-
I was hoping this was going to work, haven't tried it as don't have access to a tenant at that the minute. I found this on a post under the MSP category on Reddit. I will try and find the link....
-
You cannot even import the Azure modules without first installing something from MS right?
Correct. I was using this script last week. Works great with the module loaded but what a shit guide as you say.
-
Thanks for confirming Jack, so it does work well with module loaded. Could you confirm which modules you had to import.
-
@scottalanmiller I think this brings to light a big problem in the IT world, people do not know how to do documentation. There are a few good ones but many more are just plain bad.
-
@jmoore said in 365 have I been pwned script:
@scottalanmiller I think this brings to light a big problem in the IT world, people do not know how to do documentation. There are a few good ones but many more are just plain bad.
That and many don't know what their own environment is!
-
@travisdh1 You are sure right there