OfficeDev / Office-IT-Pro-Deployment-Scripts

A collection of useful PowerShell scripts to make deploying Office 2016 and Office 365 ProPlus easier for IT Pros and administrators. If you have any feature requests or ideas for future scripts please add the idea to the issues list in this repository
http://officedev.github.io/Office-IT-Pro-Deployment-Scripts
MIT License
888 stars 840 forks source link

Issue with Get-OfficeVersion.ps1 #285

Open dyeLucky opened 6 years ago

dyeLucky commented 6 years ago

When running Get-OfficeVersion.ps1, I get this error:

At C:\users[USERNAME]\Desktop\Get-OfficeVersion.ps1:61 char:119

jvierrajrv commented 5 years ago

Replace smart quotes at line 61 with single quotes.

$defaultDisplayPropertySet = New-Object System.Management.Automation.PSPropertySet(�DefaultDisplayPropertySet�, [string[]]$defaultDisplaySet)