PowerShell does not case-sensitive by default, so you need to use the operator -cmatch:
if ($mystring -cmatch "^[a-z]*$") { ... }
-cmatchalways case sensitive, and -imatchalways case insensitive.
: . , ,
PS: , , , , , , , , , , :
if ($mystring -cmatch "^[^A-Z]*$") { ... }
^ , , . , , -. , -cmatch - .