external help file: pshtml-help.xml Module Name: PSHTML online version: schema: 2.0.0
script
SYNOPSIS
Generates script HTML tag.
SYNTAX
script [[-src] <String>] [[-type] <String>] [[-integrity] <String>] [[-crossorigin] <String>]
[[-Class] <String>] [[-Id] <String>] [[-Style] <String>] [[-Attributes] <Hashtable>] [[-content] <String>]
[<CommonParameters>]
DESCRIPTION
{{Fill in the Description}}
EXAMPLES
EXAMPLE 1
script -type text/javascript -src "myscript.js"
Generates the following code:
\<script type="text/javascript" src="myscript.js">\</script>
EXAMPLE 2
script -type text/javascript -content "alert( 'Hello, world!' );"
Generates the following code:
\<script type="text/javascript">alert( 'Hello, world!' );\</script>
PARAMETERS
-src
{{Fill src Description}}
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-type
{{Fill type Description}}
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 2
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-integrity
{{Fill integrity Description}}
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 3
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-crossorigin
{{Fill crossorigin Description}}
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 4
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-Class
{{Fill Class Description}}
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 5
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-Id
{{Fill Id Description}}
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 6
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-Style
{{Fill Style Description}}
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 7
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-Attributes
{{Fill Attributes Description}}
Type: Hashtable
Parameter Sets: (All)
Aliases:
Required: False
Position: 8
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-content
{{Fill content Description}}
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 9
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).