thub.users.profile.tabs.comments.personalized


Ok I see.

It only works when people are trying to make a connections to my accounts.

But I cant stop someone from sending me an email from a non legacy clients.

It's only works on authentication.

Thanks

@RichMatheisen-8856 Thank you.

I like the look of your script and I just ran it on my machine but it didn't manage to find anything.

Here is what the other version returned.

157944-log4jss.jpg



Thanks

log4jss.jpg (35.2 KiB)

@LimitlessTechnology-2700 Thank you for your reply. That was really helpful.

thanks DS,

I was looking for something that could scan a group of pcs in my domain and returns the service accounts that were running under a particular user account.

For example something like this :

AllComputersInDomain = Get-AllComputersInDomain
Get-WmiObject win32_service -AllComputersInDomain | Where-Object {$_.startupname -like “user1”} | Format-Table name,startname,

Is that possible.

Thanks

Hi Rich,

Yes I need something like that but my PS is not that great.

I will have to try and make something that works.

I think I might have to collect a list and loop through them like DSPatrick mentions below.

Thanks

Hi Rich,

Thanks for that.

I tried using them but I run issues. It threw the following error for all of the machines.

Get-WmiObject : The RPC server is unavailable. (Exception from HRESULT: 0x800706BA)

I suspect that it is Firewall Related or the Service is not turned on for Remote Procedure Call.


Hi Dev073,

Thanks for that.

I will have a look at the article and see what works for me.

I think GPO might be the best way to go or PS somehow.

Thanks

Hi Stefan,

Thanks for the reply.

My main concern is that MS are going to leave Orchestrator behind and focus on Azure when there is still so much On-Premise infrastructure out there.
For example we have over 500 Servers and I can't see them being migrated to Azure anytime soon and attempting to manage them from the Cloud seems a bit over the top when we have so much to do.

I can see the hybrid model working for a couple of machines, but I don't know if it would be any good in my case where we need something a more robust and dependable.



Hi George.

I had been looking at them but I was worried about the cost and the Cloud.

We are only looking to automate things on our OnPrem Servers.

Hi Ian

Thanks that works well and it has formatted it for what I need.

I have one more question.

How can I subtract 24hrs from the returned value of the DateTime object and format it in the same way?

Here is an example of what I mean.
Where-Object
{
$_.Created -ge Get-Date -24hrs -format "MM/dd/yyyy HH:mm:ss"
}

Thanks


Hi thgibard,

Yes but I would have to write the logic and then have azure automation run the script or workbook on a scheduled basis and it costs.

I was hoping that MS would have built the logic into dynamic groups already because some of my users only need to be in there for a couple of days and it would be neat if they could drop out at a pre-defined time without me having to go in there and maintain it.

Thanks

Hi Aman,

I have never used Access Review before and it looks quite good. I have been after something like this for some time too.

It may not meet the requirements for what I am looking for here. But at least I can get the owner to go through the membership and add/remove users on their own without having to do it myself.

I will explore this avenue for now until I can find a way for users to drop out of a group based on a date/time value.

Thanks