~/talk

Script Blocks Decoded

links:none on file
slides:none on file

Defines script blocks as anonymous functions and shows how they run via Invoke and the call operator, used in jobs and remoting with the using keyword and positional argument lists; demonstrates parameter validation limits (no parameter sets), builds dynamic modules in memory, creates a closure-based counter that preserves state, and assembles a proxy Out-Default that auto-cds or opens URLs. Demos include splitting by pairs, separable pipelines, and why module exports are closures.

AI-written summary · about

  1. 0:00Introduction
  2. 6:11Windows PowerShell in Action
  3. 6:34What are Script Blocks
  4. 7:20Using Script Blocks
  5. 9:10Function Providers
  6. 10:35Script Blocks
  7. 12:36Advanced Functions
  8. 13:08Parabola
  9. 13:35Parameters
  10. 14:54Script Blocks Documentation
  11. 15:42Scope
  12. 17:32Jobs
  13. 18:06White Job
  14. 18:36Kick Job
  15. 19:24Showoff Method
  16. 20:29Remoting
  17. 21:01Scope Parameter
  18. 22:04Bill and Ben
  19. 23:34Modular arithmetic
  20. 27:26Closures
  21. 31:12Functions
  22. 34:30Getting Process
  23. 36:31Proxy Functions
~/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.