This post has been de-listed
It is no longer included in search results and normal feeds (front page, hot posts, subreddit posts, etc). It remains visible only via the author's post history.
2
use powershell to copy a file from a list of computers with the hostname appended
Post Flair (click to view more posts with a particular flair)
Post Body
is it possible to copy a file from a list of computers and drop that file in a new location (in this case a shared drive via unc) and have the hostname appended to the filename so i know where the file came from? i have been successful in copying the file from the target machines to the shared folder using robocopy but i cant seem to figure out how to append the hostname.
Author
Account Strength
100%
Account Age
7 years
Verified Email
Yes
Verified Flair
No
Total Karma
19,227
Link Karma
772
Comment Karma
18,020
Profile updated: 5 hours ago
Posts updated: 1 month 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
- 4 years ago
- Reddit URL
- View post on reddit.com
- External URL
- reddit.com/r/PowerShell/...