Skip to content
  • Home
  • PowerShell Modules
  • Russian version of the blog

sergey vasin

The IT blog

Delegate

Using delegates in PowerShell

May 13, 2020May 13, 2020Сергей ВасинLeave a comment

What is a delegate? This is an object type, that instantiates by associating with some method so that we can invoke this method by calling the delegate.

Why is this needed? One of the cases – is that we can use delegate as a parameter for another method.

Is PowerShell supports this? Starting with version 6.1 – yes.

Continue reading →

PowerShellDelegate, PowerShell

Pages

  • PowerShell Modules

Links:

  • twitter.com/vsseth
  • github.com/sethvs
  • fb.com/inpowershell
  • vk.com/inpowershell
  • RSS - Posts

Categories

  • PowerShell
  • PSModule
  • PSReadline
  • SharePoint
  • Uncategorized

Tags

Delegate ForEach-Object Operators PowerShell PSModule PSPropertyExpression PSReadline SharePoint Types

Archives

  • August 2020
  • July 2020
  • June 2020
  • May 2020
  • August 2019
  • April 2019
  • November 2018
  • August 2018
  • July 2018
  • April 2018

Planet PowerShell

The text.

Blog at WordPress.com.
  • Subscribe Subscribed
    • sergey vasin
    • Already have a WordPress.com account? Log in now.
  • Privacy
    • sergey vasin
    • Subscribe Subscribed
    • Sign up
    • Log in
    • Report this content
    • View site in Reader
    • Manage subscriptions
    • Collapse this bar
Design a site like this with WordPress.com
Get started