< Back

Set-ALApplayer

Mon Jan 13, 2020 7:57 am

NAME Set-ALApplayer



SYNOPSIS

Edits values of an application layer





SYNTAX

Set-ALApplayer [-websession] <Object> [-id] <String> [[-name] <String>] [[-description] <String>] [[-scriptpath]

<String>] [[-icon] <String>] [[-OsLayerSwitching] <String>] [-WhatIf] [-Confirm] [<CommonParameters>]





DESCRIPTION

Edits values of an application layer





PARAMETERS

-websession <Object>

Existing Webrequest session for ELM Appliance



Required? true

Position? 1

Default value

Accept pipeline input? false

Accept wildcard characters? false



-id <String>

ID of the applayer to edit



Required? true

Position? 2

Default value

Accept pipeline input? false

Accept wildcard characters? false



-name <String>

Name of the application layer



Required? false

Position? 3

Default value

Accept pipeline input? false

Accept wildcard characters? false



-description <String>

Description of the layer



Required? false

Position? 4

Default value

Accept pipeline input? false

Accept wildcard characters? false



-scriptpath <String>

Path of script to be run



Required? false

Position? 5

Default value

Accept pipeline input? false

Accept wildcard characters? false



-icon <String>

Icon ID



Required? false

Position? 6

Default value

Accept pipeline input? false

Accept wildcard characters? false



-OsLayerSwitching <String>

Allow OS Switching NotBoundToOsLayer=ON BoundToOsLayer=OFF



Required? false

Position? 7

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:\\>$app = Get-ALapplayer -websession $websession|where{$_.name -eq "7-Zip"}



Set-alapplayer -websession $websession -name "7-Zip" -description "7-zip" -id $app.Id -scriptpath

"C:\\NeededScript.ps1" -OsLayerSwitching BoundToOsLayer











RELATED LINKS