IsElevated

Table of contents

  1. get @iselevated

get @iselevated

Retrieves if the current cmd is running with elevated privileges or as administrator.

echo Running with elevated privileges: !@iselevated!