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

Dec
11
revised Zipping only files using powershell
added 60 characters in body
Dec
10
answered Zipping only files using powershell
Dec
10
accepted Zipping only files using powershell
Dec
10
comment Zipping only files using powershell
Sorry, it was my fault, I'd accidentally changed it to Test-Path-Path! That works great now.
Dec
10
comment Zipping only files using powershell
That looked good, but when I tried it nothing happened. I didn't get a zip file but I also didn't get any errors. Could you expand on what the Set-Content and ReadOnly = false lines do?
Dec
7
comment Zipping only files using powershell
@MDMarra - that works great, thanks. I've just realised that .Net 4.5 isn't supported on Server 2003! I might try calling a zip utility from the command-line, thanks for all your efforts.
Dec
7
comment Zipping only files using powershell
@MDMarra - Only up to 4, I'll install 4.5 and try again, thanks
Dec
7
comment Zipping only files using powershell
@MDMarra - I now get a "make sure that the assembly containing this type is loaded." error, I've tried "[System.AppDomain]::CurrentDomain.GetAssemblies()" but can't see a compression dll
Dec
7
awarded  Commentator
Dec
7
comment Zipping only files using powershell
@MDMarra - Yes, powershell 3 (developed on Win7, deployed on Server 2003), isn't that what the "-com shell.application" does? Or have I messed that up?
Dec
7
asked Zipping only files using powershell
Dec
1
awarded  Vox Populi
Dec
1
awarded  Suffrage
Dec
1
awarded  Critic
Nov
28
awarded  Autobiographer
Nov
23
accepted Security Group vs Distribution Group
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