DirectoryPredictor

0.0.5

Used with PSReadLine as a predictor to enable active Directory lookups.

Minimum PowerShell version

7.3.0

Installation Options

Copy and Paste the following command to install this package using PowerShellGet More Info

Install-Module -Name DirectoryPredictor

Copy and Paste the following command to install this package using Microsoft.PowerShell.PSResourceGet More Info

Install-PSResource -Name DirectoryPredictor

You can deploy this package directly to Azure Automation. Note that deploying packages with dependencies will deploy all the dependencies to Azure Automation. Learn More

Manually download the .nupkg file to your system's default download location. Note that the file won't be unpacked, and won't include any dependencies. Learn More

Owners

Copyright

(c) Justin Quinn. All rights reserved.

Package Details

Author(s)

  • Justin Quinn

Tags

Directory Searcher PSReadLine Predictor Plugin File Files Filenames Path Folders

Cmdlets

Set-DirectoryPredictorOption

Dependencies

This module has no dependencies.

Release Notes


v0.0.5
� New Pattern matching behaviour with ? (any), * (wildcard, before, after), and | (OR, match multiple search patterns, prepend with a quote)
� New -DirectoryMode [Files | Folders | Mixed] to search any combination of files and folders
� New -SortMixedResults [Files | Folders] to prioritize which suggestions are sorted at top
� New -ExtensionMode [Enable | Disable] to search just file extensions (does not work with -DirectoryMode Folders)
� Reworked code to be more extensible for future cmdlet options

v0.0.4
� New -IgnoreCommands [comma separated list] to ignore some cmds from using the predictor
� New -ResultsLimit [1-10] to limit the number of results (10 is PSReadLine limit for now)
� Multiword cmdline support; Your cmd flags are now respected and usable
� Refactored how state is shared to better represent PSReadLines best practices with DirectoryPredictorOption
� Refactored how cmdline string parsing is conducted for better performance
� General underlying code cleanup

v0.0.3
� Fixed case sensitivities by ignoring all case and conducting all strings in lowercase
� Future option possible to change this behaviour, future issue
� Minor variable initialization precautions
� Minor string handling cleanup

v0.0.2
� Initial public release with -FileExtension option only
� Bug with case sensitivities present in this version

v0.0.1
� Proof of concept private release

FileList

Version History

Version Downloads Last updated
0.0.5 (current version) 303 4/11/2023
0.0.4 47 1/14/2023