Set-ASOptionProperty
AdminStudio 2024 | 27.0 | AdminStudio PowerShell Cmdlets
Edition:Powershell cmdlets are enabled with AdminStudio Enterprise Edition.
you can use the Set-ASOptionProperty to set the download path for the Package Feed Module.
Example
Set-ASOptionProperty -OptionType ImportOptions -PropertyName 'ApplyNamingFormat' -PropertyValue false
Set-ASOptionProperty -OptionType PackageFeedOptions -PropertyName PackageFeedDownloadPath -PropertyValue D:\AR\AdminStudio Shared\PF\[Vendor]\[Product Name]\[Version]
Set-ASOptionProperty -OptionType PowerShellWrapOptions -PropertyName 'PSOutputLocation' -PropertyValue 'C:\Users\Administrator\Desktop\Test\[ProductName]\[SetupType]\[Language]\[Platform]\[Version]\[Vendor]\Folder1'
Parameters
The cmdlet has the following parameter:
Set-ASOptionProperty Parameters
|
|
OptionType
|
Select one of the following option type:
|
PropertyName
|
Use to specify the below property names that you want to set ImportOptions:
Use to specify the below property names that you want to set PackageFeedOptions:
|
•
|
PackageFeedDownloadPath |
|
•
|
RetainAdditionalSwitches |
Use to specify the below property names that you want to set PowerShellWrapOptions:
|
PropertyValue
|
Use to specify the property value that you want to set for ImportOptions:
Can provide any of these placeholders separated by underscore.
[Product Name]_[Version]_[Vendor]_[Platform]_[SetupType]_[Language]
|
•
|
Can also provide a valid text without Placeholders |
Use to specify the property value that you want to set for PackageFeedOptions:
|
•
|
PackageFeedDownloadPath |
|
•
|
RetainAdditionalSwitches |
Use to specify the property value that you want to set for PowerShellWrapOptions:
|
Return value
A success or failure message is returned.
See Also
Get-ASOptionProperty