Members of the state highway patrol, when duly appointed, shall have the powers of peace officers in this state and may exercise such powers anywhere within the state.