Reputation
399
Top tag
Next privilege 500 Rep.
Access review queues
Badges
1 10 25
Impact
~28k people reached

Nov
2
comment Powershell delete files only from directory
This works (only delete files from specified directory, ignoring sub-dirs): Remove-Item "D:\MyTemp\*.*" | Where { ! $_.PSIsContainer }
Nov
2
comment Powershell delete files only from directory
This only lists file in the current directory
Nov
2
revised Powershell Directory.Name return the trailing separator?
Added recurse example of Remove-Item
Nov
2
asked Powershell delete files only from directory
Nov
2
suggested approved edit on Powershell Directory.Name return the trailing separator?
Nov
1
accepted Powershell Directory.Name return the trailing separator?
Nov
1
comment Powershell Directory.Name return the trailing separator?
I'm looking to delete everything in $Dir, files and sub-folders (and everything in those)
Nov
1
comment Powershell Directory.Name return the trailing separator?
To remove all files do you not do: Remove-Item $Dir +"*" -recurse? I thought you needed the \ to use the *?
Nov
1
asked Powershell Directory.Name return the trailing separator?
Nov
1
awarded  Enthusiast
Oct
31
awarded  Editor
Oct
31
revised MS SQL Server DB version without restoring?
Added 2008R2 and 2012 version numbers along with warning about version mnatches
Oct
31
suggested approved edit on MS SQL Server DB version without restoring?
Oct
31
accepted MS SQL Server DB version without restoring?
Oct
31
asked MS SQL Server DB version without restoring?
Oct
24
awarded  Teacher
Oct
24
answered What are invalid table names in SQLServer?
Oct
20
awarded  Nice Question
Oct
19
accepted Defrag in Windows VM?
Oct
19
comment Defrag in Windows VM?
Thanks, I'm primarily interested in the performance aspect.