Skip to content
This repository has been archived by the owner on Jan 14, 2021. It is now read-only.

Right and left quotes changed to single quotes #265

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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)
}

Expand Down Expand Up @@ -328,4 +328,4 @@ Function Inventory-OfficeVersion {
}
}

Inventory-OfficeVersion -AttributeToStoreOfficeVersion $AttributeToStoreOfficeVersion -OverWriteAttributeValue $OverWriteAttributeValue
Inventory-OfficeVersion -AttributeToStoreOfficeVersion $AttributeToStoreOfficeVersion -OverWriteAttributeValue $OverWriteAttributeValue