God I feel so stupid, it was a simple switch to Cookie
from Get-Cookie
.I was 100% sure I had tried that alot before but I guess when something else was wrong. Either way I'll mark this as correct but feel free to remove this question if necessary. =)