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

Remove Office Click To Run PS1 Error #354

Open
ghost opened this issue Jul 15, 2020 · 0 comments
Open

Remove Office Click To Run PS1 Error #354

ghost opened this issue Jul 15, 2020 · 0 comments

Comments

@ghost
Copy link

ghost commented Jul 15, 2020

When running the .ps1 file in Powershell as an admin I get the following error

At C:\Users\Wyatt\Desktop\Remove-OfficeClickToRun.ps1:517 char:123 + ... ent.Automation.PSPropertySet(‘DefaultDisplayPropertySet’,[string[ ... + ~ Missing argument in parameter list. + CategoryInfo : ParserError: (:) [], ParseException + FullyQualifiedErrorId : MissingArgument

Throws error line 517 which is: $defaultDisplayPropertySet = New-Object System.Management.Automation.PSPropertySet(‘DefaultDisplayPropertySet’,[string[]]$defaultDisplaySet)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

0 participants