lzybkr / TabExpansionPlusPlus

A V3 PowerShell module to improve tab expansion and Intellisense
BSD 2-Clause "Simplified" License
196 stars 33 forks source link

Parsing errors in RemoteDesktop PowerShell module #38

Closed pcgeek86 closed 9 years ago

pcgeek86 commented 9 years ago

I'm running Update-ArgumentCompleters, and am getting a bunch of parsing errors in the RemoteDesktop PowerShell module that is included with Windows Server.

image

VERBOSE: Parse errors: At C:\Windows\system32\WindowsPowerShell\v1.0\Modules\RemoteDesktop\Deployment.psm1:467 char:6

  • [Microsoft.RemoteDesktopServices.Common.RDMSConstants]::RoleServ ...
  • 
    Attribute argument must be a constant or a script block. \n At C:\Windows\system32\WindowsPowerShell\v1.0\Modules\RemoteDesktop\Deployment.psm1:468 char:6
  • [Microsoft.RemoteDesktopServices.Common.RDMSConstants]::RoleServ ...
  • 
    Attribute argument must be a constant or a script block. \n At C:\Windows\system32\WindowsPowerShell\v1.0\Modules\RemoteDesktop\Deployment.psm1:469 char:6
  • [Microsoft.RemoteDesktopServices.Common.RDMSConstants]::RoleServ ...

Cheers, Trevor Sullivan Microsoft MVP: PowerShell http://trevorsullivan.net http://twitter.com/pcgeek86

lzybkr commented 9 years ago

I think these errors are harmless. I plan on removing the scanning code anyway (along with Update-ArgumentCompleters), and when that is done, these errors will go away too.