2014-04-09

未分類

PowerShellでディレクトリ内にある最新のディレクトリを取得する

関数にしてしまいましたが、一行でできちゃいますね。function GetLatestChildDirectory($rootDir) { return (dir $rootDir | where {$_.PSIsContainer} | ...