Hey /g/, my powershell 5 object private variables are still accessible from outside... Can someone point out where I messed up?Class PrivateTest{
[Int] $Private:PrivateVariable
}
$T = New-Object PrivateTest
$T.PrivateVariable = 1 #PS stahp
Write-Host $T.PrivateVariable #PS wat r u doing
>powershell
found your problem.
>>53682843
No offense OP, but this is correct.
>>53682861
but how else can I script automation without opening visual studios D:
>>53682877
install cygwin, or even better, gentoo
>>53682965
>gentoo
http://www.gentoogroup.com/for-customers/
what the fuck am i looking at