SHARE
TWEET

Untitled

a guest Nov 21st, 2019 100 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. $uppercaseLetterPos = 0
  2. $position = foreach ($character in $networkDisks.ToCharArray())
  3. {
  4.   if ([Char]::IsUpper($character))
  5.   {
  6.     #Change color of this letter
  7.     $uppercaseLetterPos -foreground red -nonewline
  8.   }
  9.  $uppercaseLetterPos ++
  10. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top