stangm
-
Use the following as your first line in case someone runs your batch file from a UNC path: PUSHD %~dp0
1:13 PM Nov 20th
from TweetDeck
-
@ Have MS mark it as critical, and it will get done ASAP ;-)
12:00 PM Nov 20th
from TweetDeck
in reply to doctordns
-
for /f "tokens=1,2,3 delims=:." %a in ('echo %time%') do set hour=%a&& set minute=%b&& set seconds=%c
11:57 AM Nov 20th
from TweetDeck
-
for /f "tokens=2,3,4 delims=/ " %a in ('date /t') do set month=%a&& set day=%b&& set year=%c
11:56 AM Nov 20th
from TweetDeck
-
@ probably servers. Probably not be pushed to all desktops, so will have to wait until Win7 is deployed
9:39 AM Nov 20th
from TweetDeck
in reply to ScriptingGuys
-
@ also, until we get pushed to all servers, I will be spending time in the CMD prompt
9:35 AM Nov 20th
from TweetDeck
in reply to ScriptingGuys
-
@ Another example "Net LocalGroup group user /add" is still a lot simpler than using ADSI in vbscript or powershell
9:29 AM Nov 20th
from TweetDeck
in reply to 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:13 AM Nov 20th
from TweetDeck
in reply to ScriptingGuys
-
@ Powershell, and Batch
9:04 AM Nov 20th
from TweetDeck
in reply to ScriptingGuys
-
For a sysadmin /non-developer types , PrimalForms ROCKS! Thanks @
8:50 AM Nov 20th
from TweetDeck
-
RT @: VMware vSphere PowerCLI Cmdlets Reference
6:37 AM Nov 20th
from TweetDeck
-
RT @: VMware: vSphere PowerCLI Blog: PowerCLI 4.0 U1 is out!
6:37 AM Nov 20th
from TweetDeck
-
Huh, powershell.exe params are position sensitive. Cannot put -noprofile after -file
5:01 AM Nov 20th
from TweetDeck
-
hmm. how does one remove the IPv6 protocol from the command line?
1:16 PM Nov 19th
from TweetDeck
-
@ Dogfish Head 90 Minute IPA
7:18 AM Nov 19th
from TweetDeck
in reply to JeffHicks
-
Window 2008 R2 unattend.xml is ridiculously complex, and ridiculously fragile.
6:12 AM Nov 19th
from TweetDeck
-
RT @: I got some work done on PoshConsole for a change. Search works on the buffer, inline WPF output from PoshWPF is fixed... <-cool
5:42 AM Nov 19th
from TweetDeck
-
RT @: Office 2007 documents are zipped XML. <==whoa, interesting.
8:51 PM Nov 18th
from TweetDeck
-
RT @: New blog post: PrimalForms 2009: New Packager STA Mode
8:48 PM Nov 18th
from TweetDeck
-
RT @: RT @: I"Coolest PowerShell Trick Ever, Redux" at <=don't try that code at work!! ;-)
10:11 AM Nov 17th
from TweetDeck
|
- Name Mark Stang
- Location Columbus, Ohio
- Bio SysAdmin, Scripter, Dad, Novice Powershell evangelist
|