1,029 reputation
11232
bio website brettgustafson.com
location
age
visits member for 5 years, 1 month
seen 8 hours ago

Aug
16
awarded  Popular Question
Aug
12
accepted Invoke-Restmethod breaks script in PS 4.0
Aug
12
comment Invoke-Restmethod breaks script in PS 4.0
Good call. I had code in my poweshell 3.0 script that did that, but somehow I must have deleted it before I started testing in PS4. However, now I have this error: "Invoke-RestMethod : The underlying connection was closed: An unexpected error occurred on a send."
Aug
12
awarded  Yearling
Aug
11
asked Invoke-Restmethod breaks script in PS 4.0
Jul
2
awarded  Curious
Jul
2
awarded  Inquisitive
Jun
11
awarded  Popular Question
Jun
2
awarded  Nice Question
Jun
2
accepted Expire Files In A Folder: Delete Files After x Days
May
28
comment Expire Files In A Folder: Delete Files After x Days
Great simple idea, just like @BeowulfNode42 pointed out. To ensure users must create a folder, a simple "Deny" of "Create Files / Write Data" ACL to "This Folder Only" will ensure that users must create subfolders as well.
May
23
comment Expire Files In A Folder: Delete Files After x Days
Ha, I didn't realize you meant that long when you said "a while". Yeah funny enough I was just looking at FileSystemWatcher. Although, I don't think it would work with moved/copied files. Thanks for the reply!
May
23
comment Expire Files In A Folder: Delete Files After x Days
Perfect idea. I'll do my own research.. but any idea what resource monitoring utility you used?
May
23
comment Expire Files In A Folder: Delete Files After x Days
Sorry, I know what alternate data streams are, I was just trying to understand their usage in this context. So you're saying instead of using a hash or something, use a GUID (and/or date) in the alternate data stream in order to track the files.. aha.
May
23
comment Expire Files In A Folder: Delete Files After x Days
How would one do this?
May
23
asked Expire Files In A Folder: Delete Files After x Days
Mar
25
revised Monitoring/Alerting On Log File Change In Windows
added 70 characters in body
Mar
25
asked Monitoring/Alerting On Log File Change In Windows
Feb
13
awarded  Enlightened
Feb
13
awarded  Nice Answer