SourceCode
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| Version | String | the version of the code | [required] |
| Script | String | The code | [required] |
Examples
- Prepare the resource
$SourceCode = Initialize-BetaSourceCode -Version 1.0 `
-Script return "Mr. " + firstName;
- Convert the resource to JSON
$SourceCode | ConvertTo-JSON