Understanding PasswordLastSet and PwdLastSet Using PowerShell
Faris – The SysAdmin
by Faris Malaeb
21h ago
In Active Directory (AD), the PasswordLastSet and pwdLastSet attributes refer to the same property of an AD object – the time and date when the password for that object was last changed. This attribute is used to enforce password policies and track when a password was last changed. This quick post helps you understand these... The post Understanding PasswordLastSet and PwdLastSet Using PowerShell appeared first on Faris Malaeb ..read more
Visit website
OpenAI Chat GPT 3 Can Write Your PowerShell Script
Faris – The SysAdmin
by Faris Malaeb
2M ago
Do you know how to write a PowerShell script? If the answer is no, let me introduce you to your new friend OpenAI Chat GPT 3. OpenAI Chat GPT uses a human-spoken natural language to generate your desired code. So all you need to do is describe what you want your script to do, and... The post OpenAI Chat GPT 3 Can Write Your PowerShell Script appeared first on Faris Malaeb ..read more
Visit website
PowerShell Script to Simplify Send-MgUserMail
Faris – The SysAdmin
by Faris Malaeb
5M ago
Okay, Microsoft Graph API is cool, but sometimes it’s boring to deal with all these hashtables and arrays. The Send-MgUserMail is a great graph cmdlet to send Emails using the Graph API endpoint, this post is fully explained in the Send-MgUserMail BodyParameter Explained. But going through these hashtables is a challenge, and its more complicated... The post PowerShell Script to Simplify Send-MgUserMail appeared first on Faris Malaeb ..read more
Visit website
Send-MgUserMail BodyParameter Explained
Faris – The SysAdmin
by Faris Malaeb
5M ago
Send-MailMessage is obsolete and no longer supported. Microsoft says this cmdlet does not guarantee a secure connection to SMTP servers. We will use Send-MgUserMail. This tutorial takes you through using Send-MgUserMail to send emails instead of Send-MailMessage Using Send-MailMessage When you try to use the Send-MailMessage cmdlet, you get the following warning. WARNING: The command... The post Send-MgUserMail BodyParameter Explained appeared first on Faris Malaeb ..read more
Visit website
Connect to Office 365 Using Graph API and PowerShell
Faris – The SysAdmin
by Faris Malaeb
6M ago
With the superannuation of AzureAD and the MSOnline module, Microsoft Graph API is the new direction for cloud computing. To maintain and configure Office 365 or Microsoft 365, admins must ensure they can link to Microsoft Graph API endpoints. Using only a single REST API point (https://graph.microsoft.com), you can connect to any object in the... The post Connect to Office 365 Using Graph API and PowerShell appeared first on Faris Malaeb ..read more
Visit website
Migrate Your Script from AzureAD or MSOnline to Graph API
Faris – The SysAdmin
by Faris Malaeb
6M ago
No one can deny the superior help of AzureAD and MSOL PowerShell modules and how these two made cloud management easy and simple. But the end for these two modules is nearby, and the direction is the Graph API. So why not start now and learn what you need to know to migrate your PowerShell […] The post Migrate Your Script from AzureAD or MSOnline to Graph API appeared first on Faris - The SysAdmin ..read more
Visit website
Find Which Azure AD Group Configured For Writeback
Faris – The SysAdmin
by Faris Malaeb
7M ago
Recently Microsoft has introduced a new feature in Azure Active Directory which allows the admin to specify which group should be written back to your On-Premise Active Directory and the writeback scope. In today’s PowerShell script, the script report which Azure AD Group enabled for Group writeback through reading the AAD Group writebackConfiguration resource in […] The post Find Which Azure AD Group Configured For Writeback appeared first on Faris - The SysAdmin ..read more
Visit website
Get AD User Group Membership Report Using PowerShell
Faris – The SysAdmin
by Faris Malaeb
7M ago
In this post, I will explain how to generate a report for Active Directory users and each group a user is a member of. So if UserA is a member of five groups, the report shows all these groups and exports the result as CSV. Prerequisites You need Windows PowerShell 5.1 or PowerShell 7. Also, […] The post Get AD User Group Membership Report Using PowerShell appeared first on Faris - The SysAdmin ..read more
Visit website
Send Teams Message Using PowerShell Graph
Faris – The SysAdmin
by Faris Malaeb
7M ago
Today’s post will cover the basics of using PowerShell to send Teams messages to users (One to One). This is through utilizing Microsoft Graph APIs. Prerequisites You need to download PowerShell Graph SDK from Microsoft PowerShell Gallery. Required permission scope: Chat.ReadWrite Chat.Create If you are new to Microsoft Graph, then you can read more about […] The post Send Teams Message Using PowerShell Graph appeared first on Faris - The SysAdmin ..read more
Visit website
Adding Multiple Azure AD Named Location Using Graph API
Faris – The SysAdmin
by Faris Malaeb
7M ago
The following PowerShell script allows you to add multiple Azure AD Named location IP address ranges using Microsoft Graph API PowerShell Module. You need to download the Microsoft Graph PowerShell SDK. You can read more about Microsoft Graph SDK and how to use it in a previous post Understanding Microsoft Graph SDK PowerShell The Script […] The post Adding Multiple Azure AD Named Location Using Graph API appeared first on Faris - The SysAdmin ..read more
Visit website

Follow Faris – The SysAdmin on Feedspot

Continue with Google
OR