• Skip to primary navigation
  • Skip to main content
  • Skip to footer

Stephanos Constantinou Blog

PowerShell Scripting

  • Home
  • Blogs
    • PowerShell Tutorials
    • PowerShell Scripts
    • PowerShell Modules
      • Modules Cmdlets
    • Software Reviews
  • About
  • Contact
You are here: Home / Archives for Get-ADUser

Notify Users for Password Expiration

26/07/2018 by Stephanos 6 Comments

Notify Users for Password Expiration - Code

Notify Users for Password Expiration Scenario: Notify Users for Password Expiration The script that we will discuss below is about notifying domain users via email when the password will expire. Based on the policy of each company, you set the rules in Group Policy for the password to expire on ...

Read More

PowerShell Force Password Change Multiple Users

22/06/2018 by Stephanos Leave a Comment

PowerShell Force Password Change Multiple Users - No User

PowerShell Force Password Change Multiple Users PowerShell Force Password Change Multiple Users Scenario: A friend of mine told that he has a task to do and it will take time to perform it. I have asked him what is was it and he told me that he has to ensure that all users in his Active Directory ...

Read More

PowerShell Users and Membership – Part 2

13/06/2018 by Stephanos Leave a Comment

PowerShell Users and Membership

PowerShell Users and Membership - Part 2 Scenario: PowerShell Users and Membership - Part 2 In part 1, I have shown you a simple script on how you are able to list all users or under a specific location along with their membership. The problem with that script is that you can only get the ...

Read More

User Not Syncing to Office 365

08/03/2018 by Stephanos Leave a Comment

User Not Syncing to Office 365 - Set-CorrectUPN-UPN-Difference

User Not Syncing to Office 365 Scenario: User Not Syncing to Office 365. Are you using AD Connect to synchronize your users in Azure AD? Every time there is a change on a user, AD Connect will synchronize the changes based on the cycle that you have configured. Some times there are errors ...

Read More

Enable Unified Messaging Office 365 using PowerShell

22/01/2018 by Stephanos Leave a Comment

Enable Unified Messaging Office 365 using PowerShell Scenario: Enable Unified Messaging Office 365 using PowerShell. Unified Messaging is a feature that you have to enable through your Exchange server OnPremise or Exchange Online, on the mailbox site. The next information has been extracted ...

Read More

Set Active Directory user attributes automatically with PowerShell

09/01/2018 by Stephanos Leave a Comment

Set Active Directory user attributes automatically with PowerShell Scenario: Set Active Directory user attributes automatically with PowerShell. During a check in Active Directory and on the details of the users I found out that a lot of information is wrong or missed. I was trying to ...

Read More

PowerShell List all Users and Group Membership

06/01/2018 by Stephanos 1 Comment

PowerShell Users and Membership

PowerShell List all Users and Group Membership Scenario: PowerShell List all Users and Group Membership In an environment with a lot of user and groups, it is very difficult to keep track of the groups that each user is a member.Have you ever thought to check the group and their member and ...

Read More

Find users with password never expire using PowerShell

04/01/2018 by Stephanos Leave a Comment

Find users with password never expire using PowerShell

Find users with password never expire using PowerShell Scenario: Find users with password never expire using PowerShell. Some companies have policy that user should always change their password on a specified interval. If there are multiple locations with local IT Administrators on each ...

Read More

Counting objects in Active Directory using PowerShell

21/12/2017 by Stephanos 2 Comments

Counting objects in Active Directory using PowerShell

Counting objects in Active Directory using PowerShell Scenario: The below basic script will deal only with counting objects in Active Directory using PowerShell. The commands in the script are able to perform the below. Get instant information about the below: Number of user objects in ...

Read More

Footer

Recent Posts

  • ICS Cube Product Review 26/04/2019
  • PowerShell Module SysInfo v1.2.0 15/03/2019
  • PowerShell Module SysInfo v1.1.2 13/11/2018
  • PowerShell Module SysInfo 24/10/2018
  • Get-VoltageProbe 24/10/2018
  • Get-VideoController 24/10/2018
  • Get-USBController 24/10/2018
  • Get-TrackPoint 24/10/2018
  • Get-TrackBall 24/10/2018
  • Get-TouchScreen 24/10/2018
Planet PowerShell

Categories

  • Modules Cmdlets (57)
  • PowerShell Modules (5)
  • PowerShell Scripts (38)
  • PowerShell Tutorials (35)
  • Software Reviews (2)

Archives

  • April 2019 (1)
  • March 2019 (1)
  • November 2018 (1)
  • October 2018 (56)
  • September 2018 (13)
  • August 2018 (9)
  • July 2018 (6)
  • June 2018 (8)
  • May 2018 (7)
  • April 2018 (9)
  • March 2018 (4)
  • February 2018 (6)
  • January 2018 (12)
  • December 2017 (4)
Top 10 PowerShell 2018

Blogroll

  • Planet PowerShell
  • Reddit – PowerShell
  • PowerShell Magazine
  • PowerShell.org
  • PowerShell Team Blog
  • Hey, Scripting Guy! Blog
  • Mike F Robbins
  • PowerShell Explained with Kevin Marquette
  • Mike Kanakos – Network Admin
  • The Lonely Administrator
  • AskME4Tech
PowerShell Blogs Sysadmin Blogs Banners for Top 20 Programming Blogs

© 2023 · Stephanos Constantinou Blog

  • Home
  • Blogs
  • About
  • Contact