Security 101 – Basic things a SysAdmin can do to better secure their environment(s) – Part 1 – LAPS

So the thought behind these Posts are to offer very basic things that System Administrators (you) can do to help secure the network. These are things I see time and time again when doing Assessments and worse, Incident Responses. I will try to break these down in SysAdmin talk and… Continue reading

Create SPN for Running PowerShell into Azure as Scheduled Task

So yes, It has been 2 years since I posted <sigh> You would think with Covid I would have been all over this, but well .. we all agree that time of our lives sucked and here we are. As we have all had, I recently had the requirement to… Continue reading

‘ls’ is not recognized as an internal or external command

Yeah .. we all do it, admit it or not. But I am tired of doing it so here is my work around. Create a file called ls.bat In the file put just dir Save that file to a folder in your System Path I saved to c:\users\<user>\AppData\Local\Microsoft\WindowsApps Alternatively you… Continue reading

Get-ADGroupMember : The size limit for this request was exceeded

This is due to a limit with Get-ADGroupMember having a 5k limit, so this is telling you that the group you are trying to get members from has more than 5k Members. To get around this you can use this Myself I ran it as such so I can do… Continue reading

o365 Domains – Possible Service Issues

These are just annoying, Everything works but we still have domains that show up as “Possible Service Issues” in the Domain setup in o365. I know there are no issues, you know there are no issues, but heaven forbid someone that doesn’t know what they are looking at sees it…. Continue reading

Powershell – Getting Formatted Date Info

This is a simple one, want to get today, yesterday, last month or last year .. try this $Date = Get-Date $Today = $Date | Get-date -Format MM/dd/yyyy $Yesterday = $Date.AddDays(-1) | Get-Date -Format MM/dd/yyyy $LastMonth = $Date.AddMonths(-1) | Get-date -Format MM/dd/yyyy $LastYear = $Date.AddYears(-1) | Get-Date -Format MM/dd/yyyy You… Continue reading