This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Recreation of the example found here: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ssm-document.html | |
$ssmDocContent = [PSCustomObject]@{ | |
schemaVersion = "1.2" | |
description = "Join instances to an AWS Directory Service domain." | |
parameters = @{ | |
directoryId = @{ | |
type = "String" | |
description = "(Required) The ID of the AWS Directory Service directory." | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function Rename-Subtitles { | |
[CmdletBinding()] | |
Param | |
( | |
[parameter(Mandatory = $true,Position = 0,ValueFromPipeline = $true)] | |
[ValidateScript({Test-Path $_})] | |
[String] | |
$Path, | |
[parameter(Mandatory = $false)] | |
[String] |
NewerOlder