Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function New-UDHelmet {
- param(
- [Parameter()]
- [string]$Id = (New-Guid).ToString(),
- [Parameter(Mandatory = $true)]
- [scriptblock]$Content
- )
- End {
- @{
- assetId = $AssetId
- isPlugin = $true
- type = "ud-helmet"
- id = $Id
- content = $Content.Invoke()
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement