adding docs back with new ids

This commit is contained in:
darrell-thobe-sp
2025-01-27 16:01:17 -05:00
parent 90087c5d3f
commit b4a279954e
2823 changed files with 130835 additions and 78 deletions

View File

@@ -0,0 +1,37 @@
---
id: source-code
title: SourceCode
pagination_label: SourceCode
sidebar_label: SourceCode
sidebar_class_name: powershellsdk
keywords: ['powershell', 'PowerShell', 'sdk', 'SourceCode']
slug: /tools/sdk/powershell/v2024/models/source-code
tags: ['SDK', 'Software Development Kit', 'SourceCode']
---
# SourceCode
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**Version** | **String** | the version of the code | [required]
**Script** | **String** | The code | [required]
## Examples
- Prepare the resource
```powershell
$SourceCode = Initialize-PSSailpoint.V2024SourceCode -Version 1.0 `
-Script return "Mr. " + firstName;
```
- Convert the resource to JSON
```powershell
$SourceCode | ConvertTo-JSON
```
[[Back to top]](#)