adding powershell sdk docs back

This commit is contained in:
darrell-thobe-sp
2025-01-28 13:29:29 -05:00
parent 248e4afe6b
commit c69a78b807
2822 changed files with 201703 additions and 0 deletions

View File

@@ -0,0 +1,37 @@
---
id: beta-source-code
title: SourceCode
pagination_label: SourceCode
sidebar_label: SourceCode
sidebar_class_name: powershellsdk
keywords: ['powershell', 'PowerShell', 'sdk', 'SourceCode', 'BetaSourceCode']
slug: /tools/sdk/powershell/beta/models/source-code
tags: ['SDK', 'Software Development Kit', 'SourceCode', 'BetaSourceCode']
---
# 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.BetaSourceCode -Version 1.0 `
-Script return "Mr. " + firstName;
```
- Convert the resource to JSON
```powershell
$SourceCode | ConvertTo-JSON
```
[[Back to top]](#)