79748814

Date: 2025-08-28 08:25:19
Score: 1.5
Natty:
Report link

It’s not possible to change a method’s visibility at runtime in PowerShell classes. The private or hidden keywords must be used at design time. Get-Member will always show public methods defined in the class, and attributes like Browsable cannot dynamically hide them once the class is compiled.

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Dmytro Tsypchenko