Using Rest Api From Powershell Windowstyle Options