Skip to content

Cmdlets have SupportsShouldProcess but don't actually implement it #279

Closed
@ThomasNieto

Description

@ThomasNieto

Cmdlets have SupportsShouldProcess but don't actually implement it for -WhatIf and -Confirm parameters. This gives users a false sense of security.

  • Install-PSResource
  • Publish-PSResource
  • Save-PSResource
  • Update-PSResource
  • Uninstall-PSResource
  • Register-PSResourceRepository
  • Unregister-PSResourceRepository
  • Set-PSResourceRepository

These don't need SupportsShouldProcess since they are non-state changing cmdlets.

  • Get-PSResourceRepository
  • Find-PSResource
  • Get-PSResource

Metadata

Metadata

Assignees

Labels

Issue-BugSomething isn't working

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions