Hi! So this is the final post of this year. I’m going to be enjoying some well deserved holidays and spend Christmas with my family. The past year has been pretty cool. I’ve been doing so many cool projects. I figured I also would list the top blogs of this year by views, and just…
Category
Powershell
Monitoring with PowerShell: User Recycle bin Remediation
I deploy a lot of environments where there is some form of folder redirection – be it classical folder redirection using a GPO or UPD on Windows Virtual Desktop, or even Known Folder Redirection using OneDrive. The benefits to using these forms of folder redirection is clear, but comes with another cool feature; The recycle…
Monitoring with PowerShell: Monitoring disk speed
Sometimes we get complaints from clients reporting “my machine is slow” and not really get any leads to work with. The client just experiences slowness. In most cases this is due to disk speeds – the client bought some cheap computer with a 5400RPM spinner in it and is expecting it to perform just as…
Connect to Exchange Online automated when MFA is enabled (Using the SecureApp Model)
So in the past months Microsoft has been forcing CSPs and MSPs to use MFA, something I strongly encourage and am glad with. The only issue with this was that Microsoft made this move without accounting for automation and automated jobs that need to run, especially jobs that run unattended and over multiple delegates. To…
Monitoring with PowerShell: Monitoring Event log size
Lately I’ve been getting some questions about how to handle event logs when you do not have a SIEM or log collector in place. I like thinking about these situations as I know a lot of MSPs struggle with log analysis and collection. As a test I’ve set our event logs to never overwrite as…
Monitoring with PowerShell: Monitoring Active Directory replication
I’ve often deployed domain controllers in environments that weren’t the most stable due to connectivity issues. To make sure that the domain controllers keep replicating correctly and we detect issues early we use the Active Directory cmdlets in combination with our RMM system. This makes it so we can monitor the current status of the…
Monitoring with PowerShell: Monitoring RDS UPD size
So our clients have RDS deployment, WVD deployments, and just in general VDI-like environments. To make sure their profile can be loaded on each machine without having to set everything up again we use UPDs. Of course these UDP’s have a maximum size defined and need to be monitored, you can monitor the location where…
Functional PowerShell for MSPs webinar
Hi all, I hope you’ve enjoyed the webinar. The recording can be found here. I have to admit I was a little nervous due to over 600 attendees! The scripts used during the presentation can be found attached here. As I said; I am available for code reviews, personal PowerShell classes, or any other automation…
Monitoring with PowerShell: Monitoring RRAS status.
So for my clients I’ve always relied completely on the Microsoft stack – I do not like most VPN appliances but still want to offer a stable SSL VPN for all clients. Enter SSTP, I’ve blogged about SSTP before when looking at DirectAccess or even Always-on VPN. As with all products, appliances or server I…
Monitoring with PowerShell: Monitoring Office365 admin password changes
So when I was at Dattocon I was approached by an MSP that was using his RMM system to alert on changes of the local admin password, as he wanted to be updated every time a local admin got a new password. He did this by using an older script of mine below. Monitoring Local…
Documenting with PowerShell: Bulk edit configurations in IT-Glue
I know last week I said I’d take a break from the monitoring blogs, but a MSP recently requested if I knew a way to mass-edit specific configuration items in IT-Glue. In his case, he was going to change the network configuration of devices and wanted a quicker way than to just click on 20…
Monitoring with PowerShell: External port scanning
So I like knowing exactly what ports are open on my clients network, and have the ability to alert on specific ports that are opened. The problem with most port-scan utilities, and the PowerShell Test-netconnection cmdlet is that they always scan the internal network. In the case that you do enter the external IP whitelisting…
Monitoring with PowerShell: The Windows Firewall
In a lot of situations where we take over server management from clients we often see bad security practices, where the client does not understand the inherent risk and just wants everything to work. Some administrators that don’t know what they are doing often just disable the entire firewall and hope that their application works…
Using the Secure Application Model with PartnerCenter 2.0 for Office365.
I was recently informed that my scripts for the secure application model no longer worked. This is due to Microsoft updating the PartnerCenter module with some breaking changes. To make sure you can use the Secure App Model script I’ve made a new version below. The changes in this script are in the way the…
Functional PowerShell for MSPs (Beginner course)
Hi guys, I’m organising another PowerShell event. Joining the event can be done here. It’ll be a webinar about PowerShell. The session is mostly oriented for beginners, We’ll have a public Q&A and everyone will be able to enter content during the presentation if you have questions about specific scripts or other issues. The session…