Skip to content
View DigitalAXPP's full-sized avatar
  • NNIT A/S
  • Czech Republic, Prague

Block or report DigitalAXPP

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Please don't include any personal information such as legal names or email addresses. Maximum 100 characters, markdown supported. This note will be visible to only you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse

Pinned Loading

  1. jwtPS jwtPS Public

    This module generates JSON Web Tokens in PowerShell.

    F# 17 2

  2. AleroPS AleroPS Public

    This repository contains functions to leverage the CyberArk Alero REST API.

    PowerShell 5 5

  3. The gist lists both options to test ... The gist lists both options to test PowerShell cmdlets in C#.
    1
    # PowerShell testing in C#
    2
    
                  
    3
    PowerShell cmdlets can be written in C# by inheriting either form the `Cmdlet` class or the `PSCmdlet` class. In short, the difference between both classes are the level of dependence to the PowerShell runspace. The `Cmdlet`-class is less tighly coupled to the PowerShell runspace, than the `PSCmdlet` class. A more in-depth comparison between both classes can be found [here](https://weblogs.asp.net/shahar/cmdlet-vs-pscmslet-windows-powershell).
    4
    
                  
    5
    One important difference between both classes are the requirements for automated testing. The `Cmdlet` class can be easily invoked in C#, while the `PSCmdlet` class requires to be run in a PowerShell runspace. A great description about the two testing variations can be found in the course by Nathan Honeycutt "[PowerShell Cmdlet Development in C# - The Ins and Outs](https://www.pluralsight.com/courses/powershell-cmdlet-development-csharp)".