An open API service indexing awesome lists of open source software.

https://github.com/santisq/simplequeryui

SimpleQuery is a program to query ActiveDirectory in bulk.
https://github.com/santisq/simplequeryui

active-directory powershell winforms

Last synced: 4 months ago
JSON representation

SimpleQuery is a program to query ActiveDirectory in bulk.

Awesome Lists containing this project

README

          

# SimpleQuery_UI

Simple Query helps you perform bulk queries against Active Directory and export the data in different formats.

__Latest version:__
![Alt text](/Example/0.png?raw=true)

## CHANGELOG

### 2021-03-01
#### Added
- __Forms DPI Awareness:__ Now all forms should adapt to screen resolution and scaling. C# code from https://hinchley.net/articles/get-the-scaling-rate-of-a-display-using-powershell/
- __`Refresh` Button:__ Performs the query against Active Directory for the items on the `DataGrid` without the need to perform a new search.
- __`Select Properties` Button:__ Add or Remove properties to the items on the DataGrid without the need to perform a new search.
- __`Remove All` Button:__ Added to the `Properties` Form, allows to remove all items on the Properties List.

## FUNCTIONALITY

All the entries added to the Search Form will be validated, those entries that do not correspond with the selected __`ObjectClass`__ as well as those entries that could not be found on the Domain will be displayed on a new form where you can see each skipped entry as well as the status (why was the entry skipped). This information can also be exported.

__Screenshots are from an older version.__

![Alt text](/Example/1.png?raw=true)

![Alt text](/Example/2.png?raw=true)

Once all entries have been validated a new form should appear where you can select which properties or attributes you wish to query. The Properties Form has a drop-down list with text prediction containing all the properties of the first object on the list. Note that you can use the 'Enter' key to add the selected / predicted items on the list.

![Alt text](/Example/3.png?raw=true)

After selecting the properties, the main DataGrid should be filled and the __`Export`__ button should become enabled.

![Alt text](/Example/4.png?raw=true)
![Alt text](/Example/5.png?raw=true)
![Alt text](/Example/6.png?raw=true)

All buttons on the forms have shortcuts, the shortcuts can be accessed by pressing the ALT key.
For example, on the main form, ALT + S is the shortcut for the 'Search' button, ALT + E is the shortcut for the __`Export`__ button, etc.

### Requirements:
- PowerShell v5.1
- ActiveDirectory PS Module
- ImportExcel v7.1.0 PS Module

### Export Formats: `*.xlsx`, `*.csv`, `*.txt`, `*.xml`, `*.json`

#### For any bugs feel free to pm or email me.

#### __Special mention to Douglas Finke for creating the awesome ImportExcel PowerShell Module. Check out his GitHub at https://github.com/dfinke.__