Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Get-ChildItem -Path .* -Recurse -File |
- Where-Object{$_.Extension -and $_.BaseName -like "*$($_.Extension)"}
- Get-ChildItem -Path .* -Recurse -File |
- Where-Object{$_.Extension -and $_.BaseName -like "*$($_.Extension)"}|
- Rename-Item -NewName {$_.BaseName} -WhatIf
- Get-ChildItem -Path .* -Recurse -File -Exclude "C:Windows" -EA SilentlyContinue|
- Where-Object{$_.Extension -and $_.BaseName -like "*$($_.Extension)"}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement