Get-AXWebComponent
Important
This content is archived and is not being updated. For the latest documentation, see Microsoft Dynamics 365 product documentation. For the latest release plans, see Dynamics 365 and Microsoft Power Platform release plans.
Get-AXWebComponent
Returns a list of web components for a specified Enterprise Portal site.
Syntax
Parameter Set: Default
Get-AXWebComponent -WebSiteUrl <Uri> [-AOTNode <String> ] [-IISReset] [ <CommonParameters>]
Detailed description
The Get-AXWebComponent cmdlet returns the web components associated with an Enterprise Portal site in a node of the AOT.
Parameters
-AOTNode<String>
Specifies an AOT node to return a list of web components from.
To return all web files and images, specify \Web or *.
Aliases |
none |
Required? |
false |
Position? |
named |
Default Value |
none |
Accept Pipeline Input? |
false |
Accept Wildcard Characters? |
false |
-IISReset
Specifies that IIS will be restarted after the operation has been completed.
Aliases |
none |
Required? |
false |
Position? |
named |
Default Value |
none |
Accept Pipeline Input? |
false |
Accept Wildcard Characters? |
false |
-WebSiteUrl<Uri>
The URL of the site to deploy content to. The required format is
http:// serverName[:port]/ Sites/SiteName
is the name of the server on which Enterprise Portal is running.
SiteName is the name of the virtual server site to be updated.
Aliases |
none |
Required? |
true |
Position? |
named |
Default Value |
none |
Accept Pipeline Input? |
false |
Accept Wildcard Characters? |
false |
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, OutBuffer, OutVariable, WarningAction, and WarningVariable. For more information, see about_CommonParameters https://go.microsoft.com/fwlink/?LinkID=113216
Inputs
The input type is the type of the objects that you can pipe to the cmdlet.
None
You cannot pipe input to this cmdlet.
Outputs
The output type is the type of the objects that the cmdlet emits.
None
The cmdlet does not generate any output.
Examples
The following example returns a list of the web components in the AOT Node Web Controls associated with the DynamicsAX site on the DEVEP server.
PS C:\>Get–AXWebComponent –AOTNode "Web\Web Files\Web Controls\WorkOrderDetails" – WebSiteUrl
http://DEVEP/Sites/DynamicsAX
Name : WebProductCatalog
CreatedBy : Admin
CreatedDate : 6/28/2011 3:14:14 AM
ChangedBy : Admin ChangedDate : 6/28/2011 3:14:14 AM
Layer : sys
ModelName : Foundation
Type : WebControl
Name : WebProductCatalogItem
CreatedBy : Admin
CreatedDate : 6/28/2011 3:14:14 AM
ChangedBy : Admin
ChangedDate : 6/28/2011 3:14:14 AM
Layer : sys
ModelName : Foundation
Type : WebControl ---
PS C:\>
Copyright Microsoft Corporation. All rights reserved.