Get or Set Cookies

Hi is there any way to set and get browser cookie name or value from powershell universal v3?

looks like it can be done using new-udjavascript but looking for a way to do it directly in UD

thanks

Product: PowerShell Universal
Version: 1.5.21