$user= get-wmiobject -class win32_computersystem | select-object username
wmic UserAccount where name=$User set Passwordexpires=true
net user $env:USERNAME /logonpasswordchg:yes
I typed it wrong that time, this is copy and pasted from Pulseway. My problem isnt with lines 1 and 2....line 3 is broke, more specifically the username variable is broke