Something Mark Dasco and I dug up
Tuesday, July 24, 2007 at 3:16PM I'm just going to blog it so I don't need to remember it.
powershell -nologo -command "& {c:\test.ps1}"
executes the powershell script from old command prompt (or scheduled tasks).
Tuesday, July 24, 2007 at 3:16PM I'm just going to blog it so I don't need to remember it.
powershell -nologo -command "& {c:\test.ps1}"
executes the powershell script from old command prompt (or scheduled tasks).
Tuesday, July 24, 2007 at 2:30PM # build
msbuild /t:Rebuild /v:q
# kill aspnet
get-process aspnet_wp | kill
# reset iis
iisreset
# clear log4net logs
del -force c:\logs\*.*
# poke the webpage so that IIS/ASP.NET will load the webapp
get-url http://localhost/TestProject/TestPage.aspx | out-null
You'll need the Power Shell Community Extensions for the last get-url cmdlet.
Monday, July 9, 2007 at 5:37PM I realized what I need.
A transformers desktop.
When you double click a folder, it does a massive transformation sequence to open up!
:-D
The movie broke $125 million for opening week, made record for a "non-sequel" film beating even Spiderman back in its day.
Now I can rest, because there's going to be a Transformers 2 now!
Wednesday, July 4, 2007 at 11:39AM PS C:\> (get-item env:path).value.split("") | where { $_ -ne "" } | where { test-path( join-path $_ "msbuild.exe" ) }
C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727
Next task, make it a parameterized cmdlet
Tuesday, July 3, 2007 at 11:31AM Many companies now have Wiki's. A lot of wiki's can do with a nice clean-up bot to do maintenance. So the plan is this:
Write a wiki bot.
Thoughts: