2
Need to find files on remote system that start with specific characters
Post Flair (click to view more posts with a particular flair)
Post Body
I have a script that checks a users Documents folder to make sure there aren't any invalid/unsupported files that start with ~$. If it finds one it reports it in the log and full stops. So if there are 13 or 50 or 100 files after that one you have to delete them one by one. Is there any way to get powershell to report all files that start with ~$ on a remote system?
Author
Account Strength
100%
Account Age
12 years
Verified Email
Yes
Verified Flair
Yes
Total Karma
66,614
Link Karma
30,920
Comment Karma
35,639
Profile updated: 6 days ago
Posts updated: 9 months ago
Subreddit
Post Details
We try to extract some basic information from the post title. This is not
always successful or accurate, please use your best judgement and compare
these values to the post title and body for confirmation.
- Posted
- 2 years ago
- Reddit URL
- View post on reddit.com
- External URL
- reddit.com/r/PowerShell/...