Profile_bird

Hey there! stangm is using Twitter.

Twitter is a free service that lets you keep in touch with people through the exchange of quick, frequent answers to one simple question: What's happening? Join today to start receiving stangm's tweets.

Already using Twitter
from your phone? Click here.

stangm

  1. Use the following as your first line in case someone runs your batch file from a UNC path: PUSHD %~dp0 #cmdoneliners
  2. @doctordns Have MS mark it as critical, and it will get done ASAP ;-)
  3. for /f "tokens=1,2,3 delims=:." %a in ('echo %time%') do set hour=%a&& set minute=%b&& set seconds=%c #cmdoneliners
  4. for /f "tokens=2,3,4 delims=/ " %a in ('date /t') do set month=%a&& set day=%b&& set year=%c #cmdoneliners
  5. @ScriptingGuys probably servers. Probably not be pushed to all desktops, so will have to wait until Win7 is deployed
  6. @ScriptingGuys also, until we get #powershell pushed to all servers, I will be spending time in the CMD prompt
  7. @ScriptingGuys Another example "Net LocalGroup group user /add" is still a lot simpler than using ADSI in vbscript or powershell #batch
  8. @ScriptingGuys Still find batch useful for quick and dirty stuff. example, import all .reg files in a folder is a one liner in batch
  9. @ScriptingGuys Powershell, and Batch
  10. For a sysadmin /non-developer types , PrimalForms ROCKS! #powershell Thanks @SAPIENTECH
  11. RT @halr9000: VMware vSphere PowerCLI Cmdlets Reference http://ff.im/-bKSKq
  12. RT @halr9000: VMware: vSphere PowerCLI Blog: PowerCLI 4.0 U1 is out! http://ff.im/-bKSJj
  13. Huh, powershell.exe params are position sensitive. Cannot put -noprofile after -file
  14. hmm. how does one remove the IPv6 protocol from the command line? #2008R2
  15. @JeffHicks Dogfish Head 90 Minute IPA http://bit.ly/2QB4L #ThirstyThursday
  16. Window 2008 R2 unattend.xml is ridiculously complex, and ridiculously fragile.
  17. RT @Jaykul: I got some work done on PoshConsole for a change. Search works on the buffer, inline WPF output from PoshWPF is fixed... <-cool
  18. RT @JohnDCook: Office 2007 documents are zipped XML. http://bit.ly/sJdg5 <==whoa, interesting.
  19. RT @SAPIENTech: New blog post: PrimalForms 2009: New Packager STA Mode http://bit.ly/3wHdZQ
  20. RT @JeffHicks: RT @concentrateddon: I"Coolest PowerShell Trick Ever, Redux" at http://bit.ly/KV1kt <=don't try that code at work!! ;-)