Get-PSCloudScript
Development function to get the contents of a PSCloudScript.
Module
OSD
Platform
WinPE (amd64 / arm64)
Description
Development function to get the contents of a PSCloudScript. Optionally allows for execution by command or file.
Syntax
FromUriContent (Default)
Get-PSCloudScript [-Uri] <String> [-Invoke <String>] [-ProgressAction <ActionPreference>] [<CommonParameters>]FromAzKeyVaultSecret
Get-PSCloudScript -VaultName <String> [-Name <String[]>] [-Invoke <String>]
[-ProgressAction <ActionPreference>] [<CommonParameters>]FromClipboard
Get-PSCloudScript [-Clipboard] [-Invoke <String>] [-ProgressAction <ActionPreference>] [<CommonParameters>]FromFile
FromString
FromGitHubRepo
Parameters
-Uri
String
True
Uri content to use as a PSCloudScript
-VaultName
String
True
Specifies the name of the key vault to which the secret belongs. This cmdlet constructs the fully qualified domain name (FQDN) of a key vault based on the name that this parameter specifies and your current environment.
-Name
String[]
False
Specifies the name of the secret to get the content to use as a PSCloudScript
-Clipboard
SwitchParameter
True
Clipboard raw text to use as a PSCloudScript
-File
FileInfo
True
File content to use as a PSCloudScript
-String
String
True
String to use as a PSCloudScript
-RepoOwner
String
True
GitHub Organization
-RepoName
String
True
GitHub Repo
-GithubPath
String
False
GitHub Path
-Invoke
String
False
No additional description provided.
Examples
Example
Related
Last updated
Was this helpful?

