SyntaxFix
Write A Post
Hire A Developer
Questions
Use:
$filelist = @("11", "1", "2") $filelist | sort @{expression={[int]$_}} | % {$newName = [string]([int]$_ + 1)} New-Item $newName -ItemType Directory