Use network parameter if command doesn't have windowId