Martin Zugec Posted June 17, 2005 Posted June 17, 2005 Even through monad beta release was planned for end of this month (21), it is already avaiable for download at MS beta site!!! Have you tried it? Do you LOVE it the same way I do? Lets share your opinion...
Zxian Posted June 17, 2005 Posted June 17, 2005 Link? I'd like to try it out. Or do you have to sign up as an official beta tester?
Martin Zugec Posted June 17, 2005 Author Posted June 17, 2005 Try to go to beta.microsoft.com and log with GuestID mshPDC (case sensitive!)I was impressed long time ago with alpha, but this beta is simply amazing!For example accessing WMI classes is awesome!C:\> $strBiosManufacturer = get-WMIObject Win32_BIOS | get-member ManufacturerC:\> write-object $strBiosManufacturer.ValueDell Computer CorporationC:\> write-object $strBiosManufacturer TypeName: System.Management.ManagementObject#root\cimv2\Win32_BIOSName MemberType Definition---- ---------- ----------Manufacturer Property System.String Manufacturer {get;set;}C:\>Or another example... Accessing diferent providers as filesystem. Like registry:C:\> Set-Location HKLM:\SoftwareHKLM:\Software> Get-ChildItem Hive: Registry::HKEY_LOCAL_MACHINE\SoftwareSKC VC Name Property--- -- ---- -------- 0 2 AdMuncher {AppPath, MigrateDone} 2 0 Adobe {} 10 0 Ahead {} 5 0 ATI Technologies {} 1 0 ATI Technologies Inc`. {} 1 0 Battle`.net {} 1 0 Blizzard Entertainment {} 2 0 Broadcom {} 1 1 C07ft5Y {(default)} 9 1 CheckPoint {CPTMPDIR}148 0 Classes {} 10 0 Clients {} 16 0 ComputerAssociates {} 1 0 Crimson System {} 1 0 Dell Computer Corporation {} 3 0 DivXNetworks {} 4 0 Ericsson {} 2 0 Extended Systems {} 1 0 Gemplus {} 1 0 Ghisler {} 1 1 GIANTCompany {DefSyncFailure} 1 0 Google {} 1 0 Headlight {} 1 0 InstalledOptions {} 1 0 InstallShield {} 1 0 InterMute {} 1 0 MDC {}123 1 Microsoft {(default)} 1 0 Microsoft Press {} 0 1 Miranda {Install_Dir} 1 0 Netgroup - Politecnico di T... {} 1 0 Nullsoft {} 2 0 ODBC {} 0 1 Phonemonitor {IsRunning} 1 0 PocketSoft {} 2 0 Policies {} 0 1 Program Groups {ConvertedToLinks} 1 0 Schlumberger {} 0 0 Secure {} 1 0 Siber Systems {} 1 0 SigmaTel {} 1 0 Skype {} 1 0 Soeperman Enterprises Ltd`. {} 1 0 Sony Ericsson {} 1 0 Trymedia Systems {} 3 1 Widcomm {(default)} 2 0 Windows 3`.1 Migration Status {} 1 0 Wise Solutions {}HKLM:\Software>Or manipulating with variables similar way to FSO!C:\> set-location variable:Variable:\> get-ChildItemName Value---- -----Error {DriveNotFound,System.Management.Automation.C..DebugPreference SilentlyContinueace System.Security.AccessControl.FileSystemAcces..first Falsecatr d----HOME C:\Documents and Settings\mzugecstrBiosManufacturer System.String Manufacturer {get;set;}Host System.Management.Automation.Internal.Host.In..MaximumHistoryCount 64MaximumAliasCount 4096foreach System.Collections.ArrayList+ArrayListEnumera..input System.Array+SZArrayEnumeratorStackTrace System.Management.Automation.CommandNotFoundE..ReportErrorShowSource 1ExecutionContext System.Management.Automation.EngineIntrinsicstrue TrueVerbosePreference ContinueMSHHOME C:\Program Files\Microsoft Command Shellfalse FalsenullMaximumFunctionCount 4096ErrorActionPreference ContinueReportErrorShowStackTrace 0? Truethis^ set-location_ReportErrorShowExceptionClass 0ProgressPreference ContinueMyInvocation System.Management.Automation.InvocationInfoargs {}MaximumErrorCount 256$ variable:ReportErrorShowInnerException 0toString NT AUTHORITY\SYSTEM Allow FullControlPID 3824MaximumDriveCount 4096MaximumVariableCount 4096Variable:\>Or this:Show me processes and show me sum of working set they are usingC:\> get-process | Measure-Object -property WorkingSet -SumCount : 61Average :Sum : 169435136Max :Min :Property : WorkingSetC:\>Maybe now you will understand why I am so fascinated Hope so in few days new geeks will come and share their knowledge about MSH
Martin Zugec Posted June 17, 2005 Author Posted June 17, 2005 Another super thing for testing purposes - whatif? What should happend if I run this command? There is switch (-whatif), that will not perform the action, it will only show you what will happen!C:\> get-process w* | stop-process –whatifWhat if: Operation "stop-process" on Target "wdfmgr (772)"What if: Operation "stop-process" on Target "winlogon (984)"What if: Operation "stop-process" on Target "WINWORD (3504)"What if: Operation "stop-process" on Target "WLTRAY (2808)"What if: Operation "stop-process" on Target "WLTRYSVC (1888)"C:\>In this case it would kill 4 processes
Martin Zugec Posted June 17, 2005 Author Posted June 17, 2005 Wow! No need to use the world, if you know batches, you can see from the code what can be done:MSH> Function funcHelloWorld {>> param ($strName = (read-host "What is your name, dear MSFN user?"))>> "Hi $strName, welcome to wonderful world of Monad!">> }>>MSH> funcHelloWorldWhat is your name, dear MSFN user?MartinHi Martin, welcome to wonderful world of Monad!MSH> funcHelloWorld MartinHi Martin, welcome to wonderful world of Monad!MSH>
Zxian Posted June 17, 2005 Posted June 17, 2005 Wow! No need to use the world, if you know batches, you can see from the code what can be done:MSH> Function funcHelloWorld {>> param ($strName = (read-host "What is your name, dear MSFN user?"))>> "Hi $strName, welcome to wonderful world of Monad!">> }>>MSH> funcHelloWorldWhat is your name, dear MSFN user?MartinHi Martin, welcome to wonderful world of Monad!MSH> funcHelloWorld MartinHi Martin, welcome to wonderful world of Monad!MSH><{POST_SNAPBACK}>Wow... that's crazy powerful... it's like a built in C interpreter...
Noise Posted June 17, 2005 Posted June 17, 2005 I heard this got killed off in the next release of Windows...
Noise Posted June 17, 2005 Posted June 17, 2005 (edited) It's True"It will take three to five years to fully develop and deliver," said Microsoft Senior Vice President Bob Muglia this week at Tech Ed 2005. "We're also building a next-generation user interface, taking our existing Microsoft Management Console (MMC) technology to the next level in terms of usability."Holy Crap! 3-5 YEARS!!! That's just plain stupid. It took 5 years to go from DOS to Win98.Sorry Martin... looks like it's back to the old batch files Edited June 17, 2005 by Nois3
Martin Zugec Posted June 18, 2005 Author Posted June 18, 2005 I would like to say something about this hoax (3-5 years)...It wasnt meant that monad will be ready in 3-5 years. It was ment that Monad will achieve full support in this time period - that means that every tool/utility/program from microsoft, including big ones like exchange, sms, IIS etc. will be ported to MSH
Martin Zugec Posted June 21, 2005 Author Posted June 21, 2005 Hmmm, so there is nobody interested in MSH like me?
xper Posted June 21, 2005 Posted June 21, 2005 I wrote about it 7 days ago.http://www.msfn.org/comments.php?id=13481&...highlight=monad
Martin Zugec Posted June 21, 2005 Author Posted June 21, 2005 Yep, I know... There were few articles/comments about it here. What I am talking about is this board is orientated mainly on "geeks" - home/pro users, that likes to play with system. And there is nobody here really working/testing Monad I would like to have some place to talk about different cmdlets, functions etc. Official forums are quite unhandy
Noise Posted June 21, 2005 Posted June 21, 2005 @ Martin,I think you'll find very few people interested in this. Personally I'd rather script in VBS. I understand this is a new command shell, and it's not just for scripting. But seriously, if I'm going to spend even 20 minutes working on a "process" to do something, I'm going to save the sucker to a file.Manually typing in a command to "find all files in C:\temp containing the string 'test' with the extention .tmp" is all well and fine. But anything more complex than that I'm going to write a full blown script.I fully acknowledge that Monad is much more powerful than the command shell. But I doubt you can do more in Monad than you can in VBS. In addition VBS seems simpler to me.In my opinion Monad is just another product that Microsoft's marketing department forced them to make. It's not really needed, but they need something similar to UNIX shell's - simply so they can say, "Windows can do that too!"Perhap's I'm missing the big picture (I usually do - LOL). I respect your opinions Martin.... what am I missing here?
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now