Get-ChildItem -Path C:\projects *document-manager-* -Directory | ForEach-Object -Process {Rename-item -Path $_.Name -NewName ($_.name -replace "document-manager-","") -whatif}
Get-ChildItem -Path C:\projects *document-manager-* -Directory | ForEach-Object -Process {Rename-item -Path $_.Name -NewName ($_.name -replace "document-manager-","") -Verbose}
Get-ChildItem -Path C:\projects *document-manager-* -Directory | ForEach-Object -Process {Rename-item -Path $_.Name -NewName ($_.name -replace "document-manager-","") -Verbose}
1 comment:
it is not working.. send some example.
Post a Comment