diff --git a/Office-ProPlus-Preparation/Configure-GPOOfficeInventory/Inventory-OfficeVersion.ps1 b/Office-ProPlus-Preparation/Configure-GPOOfficeInventory/Inventory-OfficeVersion.ps1 index a0cc38373..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 @@ -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