Skip to content

PSAvoidUsingPositionalParameters Not working? #510

Closed
@RBHM

Description

@RBHM

PSAvoidUsingPositionalParameters rule does not seem to be working? It is easy to see bu creating a simple script with 2 lines 1. Write-Host "Message" 2. Write-Host -Object "Message "and it will not hit on line 1. The same script using the ISE version will show an issue on line 1. The module version I have installed is 1.5.

Version number of this module.

ModuleVersion = '1.5.0'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions