PS /powerclidata/data> $wwn
100000109B7DD1BE
PS /powerclidata/data> $aa="";$x='';$y='';$count=0;$wwn -split ""|foreach{if($_ -ne ""){$_}}|foreach{$count+=1;if($count%2 -eq 1){$x=$_};if($count%2 -eq 0){$y=$_;-join ($x,$y)}} |foreach{$aa=-join($aa,":",$_)};$aa.Substring(1,23)
10:00:00:10:9B:7D:D1:BE
PS /powerclidata/data>
阅读(1569) | 评论(0) | 转发(0) |