external help file | Module Name | online version | schema |
---|---|---|---|
AMSoftware.Crm.PowerShell.Commands.dll-Help.xml |
AMSoftware.Crm |
2.0.0 |
Add new new webresource.
New-CrmWebresource [-Name] <String> [-DisplayName <String>] [-Description <String>]
-WebresourceType <CrmWebresourceType> -Content <Byte[]> [-IsCustomizable <Boolean>] [-PassThru]
[<CommonParameters>]
New-CrmWebresource [-Name] <String> [-DisplayName <String>] [-Description <String>]
-WebresourceType <CrmWebresourceType> -LiteralPath <String> [-IsCustomizable <Boolean>] [-PassThru]
[<CommonParameters>]
Add new new webresource.
The content for the webresource.
Type: System.Byte[]
Parameter Sets: NewWebresourceFromContent
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: False
The description for the webresource.
Type: System.String
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
The displayname for the webresource.
Type: System.String
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Whether the webresource is customizable.
Type: System.Nullable`1[System.Boolean]
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
The path to a file the get the content of the webresource from.
Type: System.String
Parameter Sets: NewWebresourceFromPath
Aliases: PSPath, Path
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
The name for the webresource.
Type: System.String
Parameter Sets: (All)
Aliases:
Required: True
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Returns an object that represents the WebResource. By default, this cmdlet does not generate any output.
Type: System.Management.Automation.SwitchParameter
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
The type of the webresource.
Type: AMSoftware.Crm.PowerShell.Common.CrmWebresourceType
Parameter Sets: (All)
Aliases:
Accepted values: All, HTML, CSS, JS, XML, PNG, JPG, GIF, XAP, XSL, ICO
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.