Tech Wizard

Lets do IT Spells

Menu

Skip to content
  • Home
  • Cloud
  • Exchange
  • Scripting
  • Active Directory
  • Teams
  • SharePoint
  • SystemAdmin
  • Downloads
  • Modules
  • About me

Python

Python – Remove Specific AD groups From Target Users

We have received a requirement where we need to remove a specific AD group from certain users. Sharing a Python Script Sample which you can modify according to your needs. I have deliberately used Python instead of Powershell for this magic to Sharpen my Python skills and also to assist Python lovers. Modules required: LDAP3…

January 28, 2023 in Python, Scripting, SystemAdmin.

Python – Get Common Operating System Values

I was converting one of my AD solutions from PowerShell to Python (hobby that I have developed recently to pass time on holidays ) That solution required getting current DC & current directory which I have found is available in os library. So, I thought lets blog about all the common things that you can…

December 21, 2022 in Python, Scripting, SystemAdmin.

ADD and Remove Users from AD group – Python

Lately, I am working with Python so sharing a TIP on how to ADD and remove users from AD group. With PowerShell there is Active Directory Module that makes our life easy. Similarly with python you can utilize ldap3 library. https://pypi.org/project/ldap3/ Install it on your machine using pip install ldap3 Here are the samples that I…

July 8, 2022 in Active Directory, Python, Scripting.

Export Active Directory Attributes using Python

Here is another work on Python that I want to share with the community. To learn Python here are the references: Introduction to Python https://leanpub.com/PowerShell-to-Python – ebook https://www.pluralsight.com/ – Core Python (Video training) Download and install python on your windows machine For IDE you can use Pycharm Community edition Let’s now get back to the…

November 2, 2020 in Active Directory, Python, Scripting, SystemAdmin.

Export Sharepoint Online List Items – Python

As I am continuing my Python journey so sharing a script that will export the Sharepoint List items to CSV file. We have seen scripts like these with Powershell but this is for python lovers Here is the Script that you can download from Github. (Tested on Python 3.8.5) https://github.com/VikasSukhija/Python/blob/main/ListExportSPO.py Libraries used: CSV Office365-REST-Python-Client Demo…

October 13, 2020 in Cloud, Python, Scripting, SharePoint.

Post navigation

Newer posts →

PowerShell Fast Track

Advertisements

Learn Microsoft 365

Learn Microsoft Azure

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Join 2,131 other subscribers
Follow Tech Wizard on WordPress.com

Follow on Facebook

Follow on Twitter

Archives

Login

  • Create account
  • Log in
  • Entries feed
  • Comments feed
  • WordPress.com
Advertisements
Website Powered by WordPress.com.
Privacy & Cookies: This site uses cookies. By continuing to use this website, you agree to their use.
To find out more, including how to control cookies, see here: Cookie Policy
  • Subscribe Subscribed
    • Tech Wizard
    • Join 262 other subscribers
    • Already have a WordPress.com account? Log in now.
    • Tech Wizard
    • Subscribe Subscribed
    • Sign up
    • Log in
    • Report this content
    • View site in Reader
    • Manage subscriptions
    • Collapse this bar