{"id":16630171,"url":"https://github.com/anoopt/spo.powershell.predictor","last_synced_at":"2025-08-27T14:17:52.939Z","repository":{"id":60467860,"uuid":"540653771","full_name":"anoopt/SPO.PowerShell.Predictor","owner":"anoopt","description":null,"archived":false,"fork":false,"pushed_at":"2025-03-02T01:30:07.000Z","size":820,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-02T02:32:59.972Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/anoopt.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-09-23T23:54:25.000Z","updated_at":"2025-03-02T01:30:10.000Z","dependencies_parsed_at":"2023-10-15T22:25:11.779Z","dependency_job_id":"b72ede32-5cb4-4c97-aa5e-93b1f9d502d7","html_url":"https://github.com/anoopt/SPO.PowerShell.Predictor","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anoopt%2FSPO.PowerShell.Predictor","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anoopt%2FSPO.PowerShell.Predictor/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anoopt%2FSPO.PowerShell.Predictor/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anoopt%2FSPO.PowerShell.Predictor/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/anoopt","download_url":"https://codeload.github.com/anoopt/SPO.PowerShell.Predictor/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243090917,"owners_count":20234909,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-12T04:45:22.034Z","updated_at":"2025-03-11T18:33:05.846Z","avatar_url":"https://github.com/anoopt.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SPO PowerShell Predictor module\n\n## Overview\n\n[SPO PowerShell Predictor](https://www.powershellgallery.com/packages/SPO.PowerShell.Predictor) is a PowerShell\nmodule that helps you navigate the cmdlets and parameters of\n[SharePoint Online Management Shell](https://learn.microsoft.com/en-us/powershell/sharepoint/sharepoint-online/connect-sharepoint-online) in PowerShell. It provides suggestions for command completion when using SharePoint Online Managment Shell cmdlets in PowerShell.\n\nSPO PowerShell Predictor uses the\n[subsystem plugin model](/powershell/scripting/learn/experimental-features#pssubsystempluginmodel)\navailable in PowerShell 7.2. This updated version requires\n[PSReadLine 2.2.2](https://www.powershellgallery.com/packages/PSReadLine/2.2.2) or higher to display\nsuggestions.\n\n![demo](./assets/demo.gif)\n\n## Requirements\n\nRequired configuration for SPO PowerShell Predictor:\n\n- [PowerShell 7.2](https://github.com/PowerShell/PowerShell/) or higher\n- [PSReadline 2.2.2](https://github.com/PowerShell/PSReadLine/) or higher\n\nInstall the latest version of PSReadLine:\n\n```powershell\nInstall-Module -Name PSReadline\n```\n\n#### Set preferred source and view for suggestions\n\nEnable predictions from history and plugins\n\n```powershell\nSet-PSReadLineOption -PredictionSource HistoryAndPlugin\n```\n\nEnable list view:\n\n```powershell\nSet-PSReadLineOption -PredictionViewStyle ListView\n```\n\n## Getting started\n\n### Install SPO PowerShell Predictor\n\nTo install the SPO.PowerShell.Predictor PowerShell module run the following\n\n```powershell\nInstall-Module -Name SPO.PowerShell.Predictor\n```\n\n### Import SPO PowerShell Predictor\n\nTo import the SPO PowerShell Predictor PowerShell module in the current session run the following\n\n```powershell\nImport-Module -Name SPO.PowerShell.Predictor\n```\n\n### Use SPO PowerShell Predictor\n\nOnce imported, start typing SharePoint Online Management Shell cmdlet (e.g. `Connect-SPOService`) and see the predictions loading.\n\n## Changing predictions search method\n\nBy default the module uses `Contains` search i.e. it shows predictions that contain the input entered. This can be changed to either `StartsWith` or `Fuzzy` by using the following cmdlet\n\n```powershell\nSet-PnPPredictorSearch -Method StartsWith|Contains|Fuzzy\n```\n\n`StartsWith` - as per the name shows predictions that start with the entered input\n`Fuzzy` - does a Fuzzy search and returns predictions. Sometimes the results might not be as per the expectaion in this case.\n## Uninstallation\n\nOnce installed and enabled, SPO PowerShell Predictor is loaded in the PowerShell profile.\nTo uninstall the SPO.PowerShell.Predictor module:\n\n1. Close **all** PowerShell sessions including VS Code.\n\n1. Launch a PowerShell session with no profile.\n\n   ```powershell\n   pwsh -noprofile\n   ```\n\n1. Uninstall SPO PowerShell Predictor\n\n   ```powershell\n   Uninstall-Module -Name SPO.PowerShell.Predictor -Force\n   ```\n\n1. Close PowerShell","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanoopt%2Fspo.powershell.predictor","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fanoopt%2Fspo.powershell.predictor","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanoopt%2Fspo.powershell.predictor/lists"}