90 likes | 133 Views
Rewriting history. Extending and enhancing PowerShell features with fantastic results. Get- PresenterInfo –Name Kirk. Name : Kirk Munro Title : Director of Learning Solutions Company : Learn on Demand Systems Twitter : @Poshoholic GitHub : github.com/ KirkMunro. Get-Mission.
E N D
Rewriting history Extending and enhancing PowerShellfeatures with fantastic results
Get-PresenterInfo –Name Kirk Name : Kirk Munro Title : Director of Learning Solutions Company : Learn on Demand Systems Twitter : @Poshoholic GitHub : github.com/KirkMunro
Get-Mission Inspire you by showing you creative ways you can hook tools into PowerShell. Encourage you to add compiled cmdlets and C#/.NET to your skill set.
Start-Demo -ShowAndTell VERBOSE: Many of these features would not be possible without compiled cmdlets.
Assert-WhyLearn -Cmdlets • Some very cool things that are only really possible via compiled cmdlets: • ProperScriptBlock parameter usage • Derived commands with inheritance • Proxy Cmdlets • Highly performant commands • PowerShell is open source • You’re opening yourself up to PowerShell’s full potential
Get-Started –With Cmdlets What you need: • Editor to build your project (e.g. Visual Studio 2017, Visual Studio Code, etc.) • Microsoft reference assemblies for the minimum PS version you are targeting e.g. Microsoft.PowerShell.*.ReferenceAssemblies • Time and patience if this is new to you
Start-Demo -CompiledCmdlet VERBOSE: Don’t be afraid, you’re already part way there!
Watch-PS6 • PowerShell 6 is cross platform and currently in alpha • You can already compile cmdlets into a single DLL and use that module on multiple platforms (using what is essentially an alias layer) • Good time to learn basic compiled cmdlets now, then evolve your skills to cross-platform work
Thank you! Safe travels, and hope to see you next year!