From 61b4ca6a8f795e0f96f3dede5955e26ca4d2861b Mon Sep 17 00:00:00 2001 From: Andrew Childs Date: Fri, 29 Sep 2017 10:58:38 -0500 Subject: [PATCH 1/2] Right and left quote characters changed to single quotes --- .../Configure-GPOOfficeInventory/Inventory-OfficeVersion.ps1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Office-ProPlus-Preparation/Configure-GPOOfficeInventory/Inventory-OfficeVersion.ps1 b/Office-ProPlus-Preparation/Configure-GPOOfficeInventory/Inventory-OfficeVersion.ps1 index a0cc38373..23d4ffb01 100644 --- a/Office-ProPlus-Preparation/Configure-GPOOfficeInventory/Inventory-OfficeVersion.ps1 +++ b/Office-ProPlus-Preparation/Configure-GPOOfficeInventory/Inventory-OfficeVersion.ps1 @@ -56,7 +56,7 @@ begin { $defaultDisplaySet = 'DisplayName','Version', 'ComputerName' - $defaultDisplayPropertySet = New-Object System.Management.Automation.PSPropertySet(‘DefaultDisplayPropertySet’,[string[]]$defaultDisplaySet) + $defaultDisplayPropertySet = New-Object System.Management.Automation.PSPropertySet('DefaultDisplayPropertySet',[string[]]$defaultDisplaySet) $PSStandardMembers = [System.Management.Automation.PSMemberInfo[]]@($defaultDisplayPropertySet) } @@ -328,4 +328,4 @@ Function Inventory-OfficeVersion { } } -Inventory-OfficeVersion -AttributeToStoreOfficeVersion $AttributeToStoreOfficeVersion -OverWriteAttributeValue $OverWriteAttributeValue \ No newline at end of file +Inventory-OfficeVersion -AttributeToStoreOfficeVersion $AttributeToStoreOfficeVersion -OverWriteAttributeValue $OverWriteAttributeValue From 70a2291d753dcfcfcd863432f284771f12380ad4 Mon Sep 17 00:00:00 2001 From: Andrew Childs Date: Fri, 29 Sep 2017 11:16:04 -0500 Subject: [PATCH 2/2] Example typo --- .../Configure-GPOOfficeInventory/Inventory-OfficeVersion.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Office-ProPlus-Preparation/Configure-GPOOfficeInventory/Inventory-OfficeVersion.ps1 b/Office-ProPlus-Preparation/Configure-GPOOfficeInventory/Inventory-OfficeVersion.ps1 index 23d4ffb01..749fe9a90 100644 --- a/Office-ProPlus-Preparation/Configure-GPOOfficeInventory/Inventory-OfficeVersion.ps1 +++ b/Office-ProPlus-Preparation/Configure-GPOOfficeInventory/Inventory-OfficeVersion.ps1 @@ -24,7 +24,7 @@ Description: Will return the locally installed Office product .EXAMPLE -Get-OfficeVersion +Get-LocalOfficeVersion Description: Will return the locally installed Office product