Skip to content

Doesn't work in Windows 10 powershell #6

@kevinthedestroyr

Description

@kevinthedestroyr

I tried out the powershell theme in windows 10 and it kicked back a bunch of errors.

PS C:\Users\kevin\workspace\external\solarized> . .\Powershell\Theme-Solarized.ps1
The property 'FontName' cannot be found on this object. Verify that the property exists and can be set.
At C:\Users\kevin\workspace\external\solarized\Powershell\Theme-Solarized.ps1:22 char:1
+ $psISE.Options.FontName = 'Source Code Pro'
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidOperation: (:) [], RuntimeException
    + FullyQualifiedErrorId : PropertyNotFound

The property 'FontSize' cannot be found on this object. Verify that the property exists and can be set.
At C:\Users\kevin\workspace\external\solarized\Powershell\Theme-Solarized.ps1:23 char:1
+ $psISE.Options.FontSize = 10
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidOperation: (:) [], RuntimeException
    + FullyQualifiedErrorId : PropertyNotFound

...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions