Discussion on:

15
Comments

Join the conversation!

Follow via:
RSS
Email Alert
0 Votes
+ -
Contributr
Ooopsie!
b4real@... 8th Feb 2008
On #9, the date format for the third example should be:

?$(Get-Date -format o) Start logging? 2008-02-05T21:15:13.0368750-05:00
0 Votes
+ -
Pro
Thanks for the catch, Rick -- I fixed it.
--Jody
Looks good for Windows but I wish Microsoft would get with the game and create an open solution you could use on any platform. (Windows, Linux, Mac, Unix --etc.)
other platforms are already a "powershell".
But they have gotten with the game. A cross platform management console would lessen the percieved switching costs of customers exercising free will to look at other solutions.

Unfortunately, MS has baught and repainted the stadium then convinced everyone that it's always been the home team living there.

We'll just have to wait until someone truly innovative reverse engineers the powershell protocol so we can finally manage Windows servers from any client workstation (unless you currently count rDesktop).
0 Votes
+ -
Look at Cygwin
The Ref 13th Feb 2008
for a bash equivalent for windows
I do need to give Cygwin another go though. I try out the xWindows servers for win32/64 every six months or so but have never had the motivation to fight through too my prefered refined setup.

For any serious work on a *nix machine I boot a VM or liveCD then go in through ssh and X natively. In general, my VMs go the other way though; *nix host with win32 guests.

hehe.. your recommendation to support the point though. If your using something other than Windows for your server, there are cross platform management tools available. If your server is Windows, it does all it can to force your workstations to be Windows.
Jodi thanks win powersell additional information/R??#&di p??l/
Windows command line, even with PowerShell, doesn't even come close to the efficiency and power of UNIX/Linux shell commands. As a Windows Server admin and a UNIX server admin I am qualified to make that statement. Looking at the above commands for PowerShell, the syntax seems a little too clunky. Similar UNIX commands are much more streamlined.

It's funny that after all these years the Windows OS is starting to incorporate Unix like commands that have existed since the late 1970's. I am glad the Microsoft is more fully embracing the power/efficiency of command driven interaction.

Now if only PowerShell had a command equivalent to the power of "grep". I am not an experienced PowerShell user so if one exists please prove me wrong...
0 Votes
+ -
It's in there...
gbrayjr 3rd Nov 2009
The powershell version of grep is Select-String. Easily aliased to grep, if you prefer.

http://blogs.msdn.com/powershell/archive/2008/03/23/select-string-and-grep.aspx
0 Votes
+ -
UnixUtils
NetMan1958 3rd Nov 2009
Do what I did, download and install UnixUtils. It includes grep plus many other common unix utilities and they run as native Win32's do you don't have to install Cygwin first.
0 Votes
+ -
Bless open source wink

i cant live without grep/awk/sed etc.
Here you can grab either individually or download the whole package with loads of linux power for your windows.
great tips yar ! thnks 4 them n u
Well, what can I say. I am very happy reading this stuff. But what i want to know is, is there help for beginners about PowerShell out there.
Keyboard Shortcuts:
Prev
Next
Toggle
Join the conversation
Formatting +
BB Codes - Note: HTML is not supported in forums
  • [b] Bold [/b]
  • [i] Italic [/i]
  • [u] Underline [/u]
  • [s] Strikethrough [/s]
  • [q] "Quote" [/q]
  • [ol][*] 1. Ordered List [/ol]
  • [ul][*] · Unordered List [/ul]
  • [pre] Preformat [/pre]
  • [quote] "Blockquote" [/quote]

Join the TechRepublic Community and join the conversation! Signing-up is free and quick, Do it now, we want to hear your opinion.