Skip to content

Commit 0a2b4a4

Browse files
Fix Az.EdgeOrder Syntax Errors (#17574)
1 parent b23ab0e commit 0a2b4a4

10 files changed

+10
-10
lines changed

src/EdgeOrder/help/Get-AzEdgeOrder.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ Gets an order.
3737
### Example 1: Get order details
3838
```powershell
3939
$order = Get-AzEdgeOrder -Name pwOrderItem11 -SubscriptionId "SubscriptionId" -Location "eastus" -ResourceGroupName "resourceGroupName"
40-
$order | fl
40+
$order | Format-List
4141
```
4242

4343
```output

src/EdgeOrder/help/Get-AzEdgeOrderAddress.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ Gets information about the specified address.
3838
### Example 1: Get address details
3939
```powershell
4040
$address = Get-AzEdgeOrderAddress -SubscriptionId SubscriptionId -ResourceGroupName "resourceGroupName"
41-
$address | fl
41+
$address | Format-List
4242
```
4343

4444
```output

src/EdgeOrder/help/Get-AzEdgeOrderItem.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ Gets an order item.
3838
### Example 1: Get orderItem details
3939
```powershell
4040
$orderItem = Get-AzEdgeOrderItem -Name examplePowershell -SubscriptionId "SubscriptionId" -ResourceGroupName "resourceGroupName"
41-
$ordderItem | fl
41+
$ordderItem | Format-List
4242
```
4343

4444
```output

src/EdgeOrder/help/New-AzEdgeOrderAddress.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ $DebugPreference = "Continue"
4242
# }
4343
# }
4444
$address = New-AzEdgeOrderAddress -Name "TestPwAddress" -ResourceGroupName "resourceGroupName" -ContactDetail $contactDetail -SubscriptionId SubscriptionId -ShippingAddress $ShippingDetails -Location "eastus"
45-
$address | fl
45+
$address | Format-List
4646
```
4747

4848
```output

src/EdgeOrder/help/New-AzEdgeOrderFilterablePropertyObject.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ Create an in-memory object for FilterableProperty.
2525
### Example 1: Filterable property object
2626
```powershell
2727
$filterableProperty = New-AzEdgeOrderFilterablePropertyObject -Type "ShipToCountries" -SupportedValue @("US")
28-
$filterableProperty | fl
28+
$filterableProperty | Format-List
2929
```
3030

3131
```output

src/EdgeOrder/help/New-AzEdgeOrderHierarchyInformationObject.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ Create an in-memory object for HierarchyInformation.
2525
### Example 1: Creates hierarchy information object
2626
```powershell
2727
$HierarchyInformation=New-AzEdgeOrderHierarchyInformationObject -ProductFamilyName "azurestackedge" -ProductLineName "azurestackedge" -ProductName "azurestackedgegpu" -ConfigurationName "EdgeP_High"
28-
$HierarchyInformation | fl
28+
$HierarchyInformation | Format-List
2929
```
3030

3131
```output

src/EdgeOrder/help/New-AzEdgeOrderItem.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ $DebugPreference = "Continue"
4848
# }
4949
# }
5050
$orderItem = New-AzEdgeOrderItem -Name "examplePowershell" -ResourceGroupName "resourceGroupName" -ForwardAddressContactDetail $contactDetail -Location "eastus" -OrderId "/subscriptions/"SubscriptionId"/resourceGroups/resourceGroupName/providers/Microsoft.EdgeOrder/locations/eastus/orders/pwOrderItem11" -OrderItemDetail $details -SubscriptionId SubscriptionId -ForwardShippingAddress $ShippingDetails
51-
$orderItem | fl
51+
$orderItem | Format-List
5252
```
5353

5454
```output

src/EdgeOrder/help/New-AzEdgeOrderShippingAddressObject.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ Create an in-memory object for ShippingAddress.
2727
```powershell
2828
$ShippingDetails = New-AzEdgeOrderShippingAddressObject -StreetAddress1 "101 TOWNSEND ST" -StateOrProvince "CA" -Country "US" -City "San Francisco" -PostalCode "94107" -AddressType "Commercial"
2929
30-
$ShippingDetails | fl
30+
$ShippingDetails | Format-List
3131
```
3232

3333
```output

src/EdgeOrder/help/Update-AzEdgeOrderAddress.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ $DebugPreference = "Continue"
4646
# "Target": null
4747
# }
4848
# }
49-
$updatedContactInAddress = Update-AzEdgeOrderAddress -Name "TestPwAddress" -ResourceGroupName "resourceGroupName" -SubscriptionId SubscriptionId -ContactDetail $contactDetail -ShippingAddres $ShippingDetails
49+
$updatedContactInAddress = Update-AzEdgeOrderAddress -Name "TestPwAddress" -ResourceGroupName "resourceGroupName" -SubscriptionId SubscriptionId -ContactDetail $contactDetail -ShippingAddress $ShippingDetails
5050
$updatedContactInAddress.ContactDetail.ContactName
5151
```
5252

src/EdgeOrder/help/Update-AzEdgeOrderItem.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ $DebugPreference = "Continue"
5050
# }
5151
$updatedOrderItem = Update-AzEdgeOrderItem -Name "examplePowershell" -ResourceGroupName "resourceGroupName" -SubscriptionId SubscriptionId -ForwardAddressContactDetail $contactDetail
5252
53-
$updatedOrderItem.ForwardAddressContactDetail | fl
53+
$updatedOrderItem.ForwardAddressContactDetail | Format-List
5454
```
5555

5656
```output

0 commit comments

Comments
 (0)