Powershell Using $OFS
$OFS which is a special variable in powershell . OFS stands for Output field separator . You would use this to separate objects in your array for example :
PS H:\> $numbers = 1,2,3,4,5
PS H:\> $numbers
What if you wanted to separate these let say with a semi colon . You can use the $OFS variable..
PS H:\> $ofs = “;” ;[string]$numbers
This could be useful lets say if your getting users out of AD to setup an e-mail in outlook .
Not to bad …🙂
For More info :
Have Fun !