PowerShell : Drop (remove) the last character from a string ... Substring(0,$ComputerName.Length-1) $ComputerName. Result is “DCCOMP01″.
確定! 回上一頁