< Back

Invoke-ALPublish

Mon Jan 13, 2020 7:40 am

NAME Invoke-ALPublish



SYNOPSIS

Publishes image(template)





SYNTAX

Invoke-ALPublish [-websession] <Object> [-imageid] <Array> [-WhatIf] [-Confirm] [<CommonParameters>]





DESCRIPTION

Publishes image(template)





PARAMETERS

-websession <Object>

Existing Webrequest session for ELM Appliance



Required? true

Position? 1

Default value

Accept pipeline input? false

Accept wildcard characters? false



-imageid <Array>

Image ID's to be published



Required? true

Position? 2

Default value

Accept pipeline input? false

Accept wildcard characters? false



-WhatIf [<SwitchParameter>]



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-Confirm [<SwitchParameter>]



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS



OUTPUTS



-------------------------- EXAMPLE 1 --------------------------



PS C:\\>$images = Get-ALimage -websession $websession|where{$_.name -eq "Win 10 Accounting"}



$image = get-alimagedetail -websession $websession -id $images.Id

invoke-alpublish -websession $websession -imageid $images.id











RELATED LINKS