~/talk

PSScriptAnalyzer (PSSA) VS-code integration & customization Compatibility Analysis

slides:none on file

PSScriptAnalyzer integrates into VS Code via PowerShell Editor Services and actually shows which rules run, how to enable all rules by default by checking in a PSScriptAnalyzerSettings.psd1, and how to package compatibility profiles JSON to get per-OS and per-PS-version warnings. Demos show autofixable suggestions, pipeline indentation and casing fixes, and custom rules (InjectionHunter example) that return diagnostic records with custom rules with suggested corrections. Engine is a binary .NET Standard module, cold-run performance is about twice as fast in the shown release.

AI-written summary · about

  1. 0:00Start
  2. 2:45What Is Peerscript Analyzer
  3. 4:50Invoke Script Analyzer
  4. 6:49Code Formatting
  5. 14:13Pipeline Indentation
  6. 15:32Correcting the Casing
  7. 18:07Integration into Vs Code
  8. 19:42Script Analyzer
  9. 20:21Commandlet Design Rules
  10. 25:02Compatibility Analysis
  11. 27:28Semantic Versioning
  12. 28:39Winforms in Wpf
  13. 31:17Compatibility Profiles
  14. 32:50Optional Profiles
  15. 33:30Custom Rules
  16. 33:48Hello World Example
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.