Reputation
429
Top tag
Next privilege 500 Rep.
Access review queues
Badges
1 13 26
Newest
 Constituent
Impact
~48k people reached

Nov
23
asked Security Group vs Distribution Group
Nov
2
accepted Powershell delete files only from directory
Nov
2
revised Powershell delete files only from directory
Added example for deleting (actual question asked)
Nov
2
suggested approved edit on Powershell delete files only from directory
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