New-UDCardMedia
Synopsis
Creates a new card media.
Syntax
New-UDCardMedia [-Id <String>] [-Component <String>] [-Alt <String>] [-Height <String>] [-Image <String>] [-Title <String>] [-Sx <Hashtable>] [-Style <Hashtable>] [<CommonParameters>]
New-UDCardMedia [-Id <String>] [-Component <String>] [-Alt <String>] [-Height <String>] [-Title <String>] [-Source <String>] [-Sx <Hashtable>] [-Style <Hashtable>] [<CommonParameters>]Description
Creates a new card media. Used with New-UDCard.
Parameters
-Id
The ID of the component. It defaults to a random GUID.
Required? false
Position? named
Default value ([Guid]::NewGuid()).ToString()
Accept pipeline input? false
Aliases
Accept wildcard characters? false-Component
The type of media component. This can be img, video or audio.
-Alt
The alt text for the media.
-Height
The height of the media.
-Image
The image to display.
-Title
The title of the media.
-Source
The source of the media.
-Sx
-Style
Common parameters
This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, WarningVariable, OutBuffer, PipelineVariable, and OutVariable. For more information, see about_CommonParameters.
Outputs
System.Collections.Hashtable
Examples
Example 1
Last updated
Was this helpful?