Skip to main content

Simple Powershell Wrapper that Queries MS Active Directory for Users

Project description

msad-query - Microsoft Active Directory Query

Simple wrapper to perform Windows Powershell-based AD User Querys

Installation

Prerequisites

Active Directory Powershell feature. This can be installed from within Powershell with the following command:

    Install-WindowsFeature -Name "RSAT-AD-PowerShell" -IncludeAllSubFeature

Cloning For Development

Set up a virtual environment. Once an environment is set up, activate it and add dependencies with the following:

    pip install -r requirements/dev.txt

The dev.txt file includes:

  • BLACK, a code formatter, see notes at the bottom of this file for details
  • setuptools, which provides the support for the building of the package

To run tests:

    python -m unittest discover -s tests/

Code Formatting

Code formatting is done using BLACK. BLACK allows almost no customization to how code is formatted with the exception of line length, which has been set to 119 characters.

Use the following to bulk format files:

    black . -l 119

Creating A New Release

Please do the following when making a new release, most are documented above:

  1. Run tests
  2. Code format
  3. Be sure to update the change log and _metadata.json with version and notes
  4. git add, commit, and push changes
  5. run the following code to generate a wheel:
    python -m build

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

msad_query-1.0.15.tar.gz (5.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

msad_query-1.0.15-py3-none-any.whl (5.5 kB view details)

Uploaded Python 3

File details

Details for the file msad_query-1.0.15.tar.gz.

File metadata

  • Download URL: msad_query-1.0.15.tar.gz
  • Upload date:
  • Size: 5.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for msad_query-1.0.15.tar.gz
Algorithm Hash digest
SHA256 69934a38e42d0c2cf711791b0f5031b578a03344704ff8028d47e8aa4d2cf055
MD5 e42b9d1345b528a1c5c68791a371b820
BLAKE2b-256 8ffc3c8cc8ca2dcf711450d7d46b7f3968ae965ac585ba4e6fb3e3a3b86cf7bc

See more details on using hashes here.

Provenance

The following attestation bundles were made for msad_query-1.0.15.tar.gz:

Publisher: publish.yml on joemarchionna/msad-query

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file msad_query-1.0.15-py3-none-any.whl.

File metadata

  • Download URL: msad_query-1.0.15-py3-none-any.whl
  • Upload date:
  • Size: 5.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for msad_query-1.0.15-py3-none-any.whl
Algorithm Hash digest
SHA256 d49d0278e65ea0f8c4831727eeca2c89d63235ed05293ace5414027b35c22d30
MD5 c91489651458a53dfd55a93b08a18e5a
BLAKE2b-256 4e32efc383fc96070ed500e70e0a05bc57ab5180fea5324b80e315855fd2d16d

See more details on using hashes here.

Provenance

The following attestation bundles were made for msad_query-1.0.15-py3-none-any.whl:

Publisher: publish.yml on joemarchionna/msad-query

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page