Jump to content

HPlum78

Members
  • Posts

    1,530
  • Joined

  • Last visited

Everything posted by HPlum78

  1. So there is a way to do this via a graph API call see here: https://docs.microsoft.com/en-us/graph/api/event-accept?view=graph-rest-1.0&tabs=http Not sure that this would be the approach I would take mind, if your invited to a meeting and do not accept/ or indeed decline the meeting request this is up to the attendee no? Just because you accept it on their behalf mean that they have to attend? Just thinking out loud there...
  2. Back up AD and run the PowerShell, still think that you will be doing a side by side but you will be in a known position (sort of). Good luck seems like you have your work cut out in the coming months.
  3. ^^sorry mate that will never take off...
  4. I have had an idea for a harvesting battery that after the inputs useful life it decays down to virtually nothing for e-bikes, have not run the numbers but TBH nor has this mob! And as soon as the input has reached the end of its useful life its not all bad as it can be replaced with a newer model. Answers on a postcard....
  5. I reckon your going to find this is something to do with SMB, but TBH and you ain't going to like it get off server 2008r2 and kill SMB v1 in the process as there as some let's say issues with it!
  6. Most of the time you will still be covered but will be third party only and you will be in a position where you are having to answer yes to the question of having ever been declined car insurance in the past, just get it updated. Thirty pound is far cheaper than the other options!
  7. You need to tell em, as soon as that ring hits her finger and before the ink drys on the register. Else they are going to take your house and dog off you and charge you for the pleasure. :-p
  8. Unfortunately we don't have the ability to bring class actions here in the UK as such (I have some unique insights into this from a dodgy vaccination and knock on side effects that its had). There are a mass of ins and outs to this and the fall out is that you are having to recover, I feel your pain here I got caught in an interesting issue with a SAN that only came to light if the SAN was on a particular version of the firmware and the server had a particular version of the driver installed (ended in a restore from backups!) and the unit was in warranty with additional support but all of this is little help when you have users knocking on your door! The only thing it did bring was some guaranteed replacement hardware on the backup from their support guys who in the end where a useful backup and did help us recover in a timely manner. Good luck.
  9. Yeah I know the pain of outputting in interactive and non interactive scripts there are ways of dealing with this seemed a bit much to get into whilst trying to get something in and working. That said I am happy to cover the ins and outs of all this, I do love me a PowerShell and will always turn to it to for automation. There is another way to report on licensing that I noticed the other day using the graph API. I was going to take a look at the PS and graph calls to see what I could come up with will let you know how that goes. One other note is when writing scripts use try catch blocks these will help you in your scripting endeavours in the future. Look at some of my previous post on error trapping in the scripts thread on here.
  10. Just post the code that you have thus far please.
  11. Ah I see what's going on give me a sec should have cast my eye over the code in the foreach So that line there: $MSOusers =Get-msoluser -userprincipalname $ADUser.userPrincipalName Should probably be something like: $MSOusers =Get-msoluser -userprincipalname $_ And your good with the version not the issue here. But then that leads us to the next issue you are going to find.... Try it make sure it returns a user then will will sort the next part out.
  12. I think that should do the trick, I have said this a number of times the -.ForEach method is quick due to the work the -.Net team has put in under the hood (although only available in later versions of PS) is the easiest way to put it.
  13. So if you use my above line of code with your var you should get the UserPrincipalName of all the users that match your filter. From there you can use: $ADUsers.UserPrincipalName.ForEach({ $MSOusers =Get-msoluser -userprincipalname $ADUser.userPrincipalName |where-object{$_.Licenses.AccountSkuId-eq "mydomain:STANDARDWOFFPACK_STUDENT"} })
  14. I always find myself doing -like -eq head bang I never get it even after all this time..
  15. First things first can we sort out the -Filter * -Properties * In itself it seems like a minor thing but you start doing that on a AD directory with any amount of objects you will be most unpopular! If you want more on this I will point you at Jeff Snover and Don Jones they love this as much as i do... So I would do something like: Get-ADUser -Filter {extensionAttribute6 -like "TESTATT"} | select UserPrincipalName Would do I think (need to be in front of a computer!) but demonstrates what I am driving at.
  16. here is a link to a useful post on the above: https://www.cyberdrain.com/monitoring-with-powershell-monitoring-o365-alerts/ could have posted it in the Scripts thread but going here for a change...
  17. @dhicks that argon case is nice... that will probably the case that i get for my next Pi.
  18. i am running mine in these https://thepihut.com/collections/raspberry-pi-cases/products/dual-fan-heatsink-case-for-raspberry-pi-4 and yes they do run on the warm side... to avoid having the CPU restricted a fan cooled case is recommended, (oh and they aint loud). Am going to add this, the case will use some of the pins on the GPIO pins so if you need to use these pins then clearly the fans will not run, but i have a few powered bread boards that take care of that issue when doing proto work.
  19. @free780 yeah I have been on my lock down staycation (we set a tent up in the back garden and put the paddling pool next to the sandpit) so i have only just clocked that update and did not do my research to see if anyone else had posted. Anyhow it not a bad thing to have called its out more than once as come Feb i bet we are having conversations about this :-P And your comment around slipping i had the self same thought!
  20. Worth calling the following out: https://support.microsoft.com/en-gb/help/4557222/how-to-manage-the-changes-in-netlogon-secure-channel-connections-assoc you all may need to do some analysis on how this looks in your environments. Be warned..... Hope this helps.
  21. I had a meeting about this in ~2013 as a couple of interested parties involved in the schools where i worked has an intolerance to EMF and where driving around in old Land Rovers as they had little electronics in them, I was given a report that the Scandinavian countries had put together and there was some interesting stuff in that ~500 page document. I think that in Sweden if you live near high voltage over head power cables you can get them rerouted/ live near phone base stations (or at least make a case for them to be!). It is something that is getting more and more traction in recent years, would be an interesting line to take considering the cost that telcos pay for the spectrum space "oh we have sold you that space but don't go filling that space up around where people live (or kids go!)
  22. @Norphy sorry I do agree that the tool looks good and as you say not everyone has the time or people to do in house dev like I suggest.
  23. I am going to add this as I don't believe in spending money on utilities that are 1. Free and 2. You could develop in house... https://gallery.technet.microsoft.com/scriptcenter/LAPSpass-Standalone-LAPS-7fa3a5aa
  24. For what it's worth I would recommend you hook it up to to a computer and read out what's the on board computer(s) has to say before sending it to a garage (not much use to you if you have had it dragged back to them mind) that said you can still glean some insights to what has happened to your car if you do ( and you know what to look for)
×
×
  • Create New...