Hello,
In the script, the $domainDN variable specifies the distinguished name (DN) of the domain that will store the last number set. You can just check the value of the property specified in variable $propertyName for the domain. For example, it can be done in the Administration console. Just select the domain and you will see its property values in the Result Pane on the right.