Tech Wizard

Lets do IT Spells

Menu

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

Tag Archives: 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.

Secure Password or Token on Windows – Python

My journey of python is going well and with my New role, I have to do more work on it I have started enjoying it and now sharing my recent learning. I need to connect to Office 365 graph API using python, I have generated the token and build mechanism to refresh it as every…

February 9, 2022 in Cloud, 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

← Older 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,203 other subscribers
Follow Tech Wizard on WordPress.com

Follow on Facebook

Follow on Twitter

Archives

Login

  • Register
  • Log in
  • Entries feed
  • Comments feed
  • WordPress.com
Advertisements
Website Powered by WordPress.com.
Tech Wizard
Website Powered by WordPress.com.
  • Follow Following
    • Tech Wizard
    • Join 239 other followers
    • Already have a WordPress.com account? Log in now.
    • Tech Wizard
    • Customize
    • Follow Following
    • Sign up
    • Log in
    • Report this content
    • View site in Reader
    • Manage subscriptions
    • Collapse this bar
 

Loading Comments...