Syncing Global Address List (GAL) to personal contacts and between Office 365 tenants with PowerShell
Evotec | PowerShell Blog
by Przemyslaw Klys
4M ago
Hey there! Today, I wanted to introduce you to one of the small but excellent module I've created called the O365Synchronizer. This module focuses on synchronizing contacts and users. If you've ever been tasked with synchronizing Global Address Lists (GAL) across different Office 365 tenants or just wanted to sync GAL with user mailboxes so they can access contacts directly on their phones, this tool is for you. Think of O365Synchronizer as your new best friend in Office 365 synchronization needs. It's like having a magic wand that smoothly aligns your contact lists across various domains an ..read more
Visit website
Active Directory Health Check using Microsoft Entra Connect Health Service
Evotec | PowerShell Blog
by Przemyslaw Klys
6M ago
Active Directory (AD) is crucial in managing identities and resources within an organization. Ensuring its health is pivotal for the seamless operation of various services. Today, I decided to look at Microsoft Entra Connect Health (Azure AD Connect Health) service, which allows monitoring Azure AD Connect, ADFS, and Active Directory. This means that under a single umbrella, you can have an overview of three services health. But is it worth it? Before we check what this service has to offer, after reading the documentation it's clear Microsoft needs to do some updates, as depending on wher ..read more
Visit website
Seamless HTML Report Creation: Harness the Power of Markdown with PSWriteHTML PowerShell Module
Evotec | PowerShell Blog
by Przemyslaw Klys
7M ago
In today's digital age, the ability to create compelling and informative HTML reports and documents is a crucial skill for professionals in various fields. Whether you're a data analyst, a system administrator, a developer, or simply someone who wants to present information in an organized and visually appealing manner, having the right tools at your disposal can make all the difference. That's where the PSWriteHTML PowerShell module steps in, offering an array of possibilities to suit your reporting needs. In this blog post, we'll explore the fascinating world of HTML report generation using ..read more
Visit website
How to Efficiently Remove Comments from Your PowerShell Script
Evotec | PowerShell Blog
by Przemyslaw Klys
7M ago
As part of my daily development, I create lots of code that I subsequently comment on and leave to ensure I understand what I tried, what worked, and what didn't. This is my usual method of solving a problem. Sure, I could commit it to git and then look it up, and I do that, but that doesn't change my behavior where I happen to have lots of “junk” inside of my functions that stay commented out. While this works for me, and I've accepted this as part of my process, I don't believe this should be part of the production code on PowerShellGallery or when the code is deployed. Function to remove ..read more
Visit website
Unlocking PowerShell Magic: Different Approach to Creating ‘Empty’ PSCustomObjects
Evotec | PowerShell Blog
by Przemyslaw Klys
8M ago
Today I saw an article from Christian Ritter, “PowerShell: Creating an “empty” PSCustomObject” on X that got me curious. Do people create empty objects like Christian proposes? I want to offer an alternative to Christian's article, which uses OrderedDictionary and converts to PSCustomObject. Converting OrderedDictionary to PSCustomObject Here's a snippet code that shows how to create a custom object using OrderedDictionary and conversion process $CustomObject = [ordered] @{} $CustomObject['FirstName'] = 'John' $CustomObject['LastName'] = 'Doe' $CustomObject['UserName'] = 'John.Doe' [psc ..read more
Visit website
Report Active Directory Accounts that are Synchronized with Azure AD
Evotec | PowerShell Blog
by Przemyslaw Klys
8M ago
I was scrolling X (aka Twitter) today and saw this blog post, PowerShell: Report On-Premises Active Directory Accounts that are Synchronized with Azure AD Connect, by Kevin Trent. I like reading blog posts as I tend to learn some new things and see how people tend to solve their problems. Upon reading the provided code, two things stood out to me: usage of the AzureAD module, which is going to stop working on March 2024 (if Microsoft won't change it again) using Get-AzureADUser inside the Select-Object statement Here's what that solution looks like: Import-Module ActiveDirectory Connect ..read more
Visit website
Function cannot be created because function capacity 4096 has been exceeded for this scope
Evotec | PowerShell Blog
by Przemyslaw Klys
8M ago
I had a long day today when my long-running script (10 hours) gave me weird errors with Microsoft Graph for Teams. Finally, I solved my mistakes and reran the hand to see if the report would be complete this time. Surprisingly, it gave me an error I'd never seen before. “Function cannot be created because function capacity 4096 has been exceeded for this scope“. The error is at least weird because it's shown on a production server where I've just a handful of PowerShell modules installed, and I've never seen it on my development machine where I've over 200 modules. The error means I've ..read more
Visit website
Connect-MgGraph: Keyset does not exist
Evotec | PowerShell Blog
by Przemyslaw Klys
9M ago
I had this little issue today when I tried to schedule the Microsoft Graph script to run as a service account on a certificate. To my surprise, even tho I had all permissions required, I was getting this error message: Connect-MgGraph: Keyset does not exist. Something that didn't show up for my user. The message indicated my process has difficulty reaching the key of my chosen certificate. Trying to run the scheduled task with the highest privileges didn't change anything. Since Connect-MGGraph doesn't support PFX files, you must upload the certificate to the Local Machine store and ref ..read more
Visit website
Strengthening Password Security in Active Directory: A PowerShell-Powered Approach
Evotec | PowerShell Blog
by Przemyslaw Klys
10M ago
Active Directory plays a central role for many organizations: those with twenty users and those with thousands of them. While everyone is looking at Azure AD as a replacement, it will not happen for most organizations for a very long time, and most organizations will stay in a hybrid environment. Over recent years there was a push to split the roles in Active Directory so that Administrators don't use their standard account to manage Active Directory but have their particular account for different Tier to enhance security. Users were also pushed to make sure they use more complicated passwor ..read more
Visit website
Track Ubiquiti Unifi Stock, and get notified of changes
Evotec | PowerShell Blog
by Przemyslaw Klys
1y ago
I am a pretty big fan of Ubiquiti and their Unifi products line. Whether it's network equipment or their camera systems, Unifi Protect, I have it all, and I'm pretty happy with how it works. However, over the last two years, some of their stocks in the store were very hard to find. For example, I've searched for Unifi Protect G4 Doorbell Pro for over six months. I've tried local shops all around Europe, even in the Ubiquiti Europe store, to never found any of them. The thing is, I am not the only one. If you go to Reddit's very own community, Ubiquiti, plenty of people are searching for di ..read more
Visit website

Follow Evotec | PowerShell Blog on FeedSpot

Continue with Google
Continue with Apple
OR