187 reputation
129
bio website pixelchef.net
location Iowa, USA
age
visits member for 2 years, 2 months
seen Apr 4 at 16:59

I'm a server admin working with Windows Server, PowerShell, VMware, SolarWinds, etc.


Apr
20
comment Having difficulty getting multi-line Powershell regex to work - no matches
Fair enough. That's how I approach these things too. I will amend my comment with another approach.
Apr
19
revised Having difficulty getting multi-line Powershell regex to work - no matches
a more complete example
Apr
19
awarded  Editor
Apr
19
revised Having difficulty getting multi-line Powershell regex to work - no matches
added 109 characters in body
Apr
19
answered Having difficulty getting multi-line Powershell regex to work - no matches
Apr
12
answered PowerShell Remoting w/ Exchange 2010: Value cannot be null
Apr
9
awarded  Supporter
Apr
9
comment SNMP keeps crashing
@user70410, I navigated to a similar registry value: "Pathname"="C:\\Program Files\\Adaptec\\Adaptec Storage Manager\\aus-snmp.dll" Deleting this solved my problem. Thanks!
Apr
3
answered How do I (robustly) remotely execute tasks on Windows workstations in a domain?
Apr
2
comment Purge print driver cache on windows 7 with powershell script
oh ok. So if you try to delete the old driver, what happens? Files are locked? In that case, fire up Sysinternals Process Explorer and see which process has the driver locked. Kill that, and try to delete the files...
Mar
28
comment Purge print driver cache on windows 7 with powershell script
what is the problem with the current script?
Mar
27
comment How do I execute a powershell script via group policy?
if you are writing to C:\, make sure you have permission to do so. That's why I used the %userprofile% variable.
Mar
27
comment How do I execute a powershell script via group policy?
push files to computers in GPO: Computer Configuration - Preferences - Windows Settings - Files.
Mar
26
answered Purge print driver cache on windows 7 with powershell script
Mar
26
comment How do I execute a powershell script via group policy?
Something like this would do the trick: echo "test" > "%userprofile%\desktop\test.txt" that's a .BAT file on the scripts tab, not on the PowerShell tab.
Mar
26
answered How do I execute a powershell script via group policy?
Mar
26
comment How do I execute a powershell script via group policy?
Another option would be to use another GPO to push the script to the local computer and execute it from there.
Mar
26
comment How do I execute a powershell script via group policy?
Is this a computer start up or user log on script? If the former, you'd need to make sure the machine account has access to the network location. I'm not sure what would cause the latter to not work. Maybe replace the PowerShell bit with a simple .bat file or something like that so that you know the script is able to run. That way you'll know if your problem is with calling the script, or getting to the script in the first place.
Mar
22
awarded  Teacher
Mar
22
answered How do I execute a powershell script via group policy?