Something Mark Dasco and I dug up
/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).
Code zealot in a connected world
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).
# 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.
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!
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
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:
I look at how a small team can build amazing things with the latest tools we have in Office 365 & SharePoint. I'm a coder, developer, Office SharePoint MVP. I dream, then I rant.
Founder @ Flow Studio App
A poweruser tool to help every maker write better Microsoft Flows and manage them.
MVP Alumni Office Apps and Services: SharePoint
MVP Alumni Business Applications: Flow
This work by John Liu is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.
Permissions beyond the scope of this license may be available at /about-me/.