scriptclass

0.20.3

Class definition extensions for PowerShell's object-based type system

Minimum PowerShell version

5.1

Installation Options

Copy and Paste the following command to install this package using PowerShellGet More Info

Install-Module -Name scriptclass

Copy and Paste the following command to install this package using Microsoft.PowerShell.PSResourceGet More Info

Install-PSResource -Name scriptclass

You can deploy this package directly to Azure Automation. Note that deploying packages with dependencies will deploy all the dependencies to Azure Automation. Learn More

Manually download the .nupkg file to your system's default download location. Note that the file won't be unpacked, and won't include any dependencies. Learn More

Owners

Copyright

(c) 2023 Adam Edwards.

Package Details

Author(s)

  • Adam Edwards

Tags

class object PSCustomObject netcore Windows Linux MacOS

Functions

=> ::> Add-MockInScriptClassScope Add-ScriptClassMock Enable-ScriptClassVerbosePreference Get-ScriptClass Import-Assembly Import-Script Invoke-Method New-ScriptClass New-ScriptObject New-ScriptObjectMock Remove-ScriptClassMock Test-ScriptObject

PSEditions

Desktop Core

Dependencies

This module has no dependencies.

Release Notes

# ScriptClass 0.20.3 Release Notes

Minor update to fix blocking regression on PowerShell 7.3.1

## New features

None.

## Breaking changes

None.

## Fixed defects

   * Regression on PowerShell 7.3.1 due to ambiguous type name string representation for types such as [ordered]@{} used with strict-val: https://github.com/adamedx/scriptclass/issues/36
   * Minor issue with undefined variable accessed by error message when strict-val is used incorrectly: https://github.com/adamedx/scriptclass/issues/37

FileList

Version History

Version Downloads Last updated
0.20.3 (current version) 6,379 1/21/2023
0.20.2 3,280 6/20/2020
0.20.1 4,395 9/22/2019
0.20.0 227 9/20/2019
0.16.0 1,055 2/3/2019
0.15.0 81 1/13/2019
0.14.2 80 1/6/2019
0.14.1 45 1/5/2019
0.14.0 42 1/2/2019
0.13.7 354 8/16/2018
0.13.6 131 7/1/2018
0.12.10 160 2/14/2018
0.12.9 48 2/14/2018
0.12.8 42 2/12/2018
0.12.6 31 2/11/2018
0.12.5 39 2/11/2018
0.12.4 41 2/10/2018
0.12.2 46 2/8/2018
Show more