This blog has moved to http://ThePowerShellGuy.com
Greetings /\/\o\/\/
First Monad B3 impression and please help the scripting guys,
I was looking for some new examples in Beta3 XML
(See :
Read the raw Monad XML helpfiles) looks a miss a bit (example output) I will check on later
But I noticed :
a lot of examples like this :
get-process where {$_.workingset -gt 25000*1024}
hmm :
MSH>25000*1024
25600000
MSH>25000k
25600000
very interesting are :
add-member -in $MyObject -Type Note* -Name Status -Value Done
$a = add-member -in $a -Type Alias* Checked Monday; $a gm
$MyVar = [MyStaticAndPubliClass].GetMethod(MyGetBla());$MyObject = Add-member $MyObject -Type CodeMethod "MyGetMethodName" $MyVar; $MyObject gm
add-MshSnapin Microsoft.Exchange,Microsoft.Windows.AD
add-MshSnapin Microsoft.Exchange format-list
more on that later
and this line that did not work in B2 does work now.
(get-wmiobject Win32_UTCTime).get_properties() | ft name,value
I know you can do this.
(get-date).ToUniversalTime()
but as noticed before by DBMWS (
monadblog) , I don't think you should list this in this category
TechNet Home >
Script Center >
Script Repository >
Microsoft Shell Scripts >
Scripting Techniques >
Dates and Timesthe MSH content could be better ;-)
but You can do something about that !
Look here :
Submit a Script … And Get a Free E-Learning Course!, you may post other languages to but it would be nice to give the MSH section a boost.
to give the wmi section a start you could cheat with
This. , but ofcourse (as the scripting guys) you would not do that ;-)
gr /\/\o\/\/
Tags : Monad msh