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.
- Host: GitHub
- URL: https://github.com/santisq/simplequeryui
- Owner: santisq
- Created: 2021-01-15T14:22:00.000Z (about 5 years ago)
- Default Branch: main
- Last Pushed: 2021-11-26T14:28:53.000Z (about 4 years ago)
- Last Synced: 2025-04-08T05:49:34.496Z (10 months ago)
- Topics: active-directory, powershell, winforms
- Homepage:
- Size: 351 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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:__

## 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.__


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.

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



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.__