|
|
Browse by Tags
All Tags » XML
-
In TechNet Magazine you can find the Scripting Guy article The Games Are Afoot! Oh, and Some XML, Too
I translated the scripts given for this article into PowerShell
# Create
$xml = New-Object xml
$root = $xml.CreateElement("ITChecklist")
[void]$xml.AppendChild($root)
$Record = ...
-
Dan Sullivan did an in depth and interesting article about : Processing XML with PowerShell
for reference I wanted to add some simple examples using more interactive powershell functionality to do this in this post, ending with creating a simple 2 line function that works the some as Dan's first Xeval example, so we can do ...
-
As you could see in my last post : My First WinRM PowerShell Script , I started playing with WinRM in this post how to retrieve a list of services on a remote computer, often youcan not do this with your current user account
So we want to connect to a remote server to list the services, and need other credentials First the ...
-
My First WinRM PowerShell Script
PoSH> $wa = New-Object -ComObject Wsman.AutomationPoSH> $session = $wa.CreateSession()PoSH> $res = $session.Identify()PoSH> $xr = [xml]$resPoSH> $xr.IdentifyResponse.ProductVersionOS: 5.1.2600 SP: 2.0 Stack: 1.1PoSH>
This is only connecting to get the version information of WinRM
Note that ...
-
Paul Thurrott wrote a nice article about PowerShell and CMD support in Windows Server 2008
Dueling Command Lines in Windows Server 2008
except for my toughts about the outcome I found it a excelent article, with a great start :
In this corner, in the black trunks, we have the reigning champion, that last unwelcome reminder of ...
-
In the TechNet Magizine Februari Edition There is an excelent Hey, Scripting Guy! Column about parsing XML Chasing Cars…and XML
It shows how to filter and select data from a XML file
I will give the translations of the examples given in PowerShell for the explanations see the Orignal article.
PoSH> ...
-
This is part 3 of a series, about PowerTab an extended PowerShell TabExpansion Function
for more information see former posts :
PowerTab Overview Page ( Downloads and Links ) PowerTab 0.72 PowerShell TabExtension - Part 2 The basics PowerTab 0.72 PowerShell TabExtension - Part 1 Installation this part is about The Tabcompletion ...
-
In a post on my former blog, /\/\o\/\/ PowerShelled: Read the raw Monad XML helpfiles , I showed how to parse the XML help file of PowerShell
(as this was in a Beta version of PowerShell you need to change the extension $mshHome by $PSHOME)
# XmlHelp.PS! # Reading Xml Helpfile Example ...
|
|
|