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) 2,951 1/21/2023
0.20.2 3,279 6/20/2020
0.20.1 4,393 9/22/2019
0.20.0 226 9/20/2019
0.16.0 1,054 2/3/2019
0.15.0 80 1/13/2019
0.14.2 79 1/6/2019
0.14.1 44 1/5/2019
0.14.0 41 1/2/2019
0.13.7 353 8/16/2018
0.13.6 130 7/1/2018
0.12.10 159 2/14/2018
0.12.9 47 2/14/2018
0.12.8 41 2/12/2018
0.12.6 30 2/11/2018
0.12.5 38 2/11/2018
0.12.4 40 2/10/2018
0.12.2 45 2/8/2018
Show more