powershell rest service working.