Browse Forum Posts by Tags

Showing related tags and posts for the Forums application. See all tags in the site
  • Updating a xml file from another xml file

    Hello all, I hope somebody will give me a help with this. I need to make a Powershell script that receives 2 XML files (source and destination) as parameter and based on what is on one file, it updates the second one. I don’t know what can be on the “source” XML, so the script needs...
    Posted to General (Forum) by nifa on 12-19-2009
    Filed under: XML, powershell 1.0, script
  • comment/uncomment XML using powershell

    Can anybody help me to comment or uncomment data using powershell. Actually I have a very big XML file where a lots of data are commented, I need to comment out these data using powershell. At the same time I need to make some data commented using powershell. Appreciate your help on it.
    Posted to General (Forum) by Ashrafur Rahaman on 03-23-2010
    Filed under: XML
  • XML, Powershell and Arrays

    Hello I have an Infopath Doc that is stored as XML on our SP farm, I am trying to access certain information in the infopath form to assign as a variable for use in creating folder structures and websites. That is not too hard when dealing with clearly named elements in the xml doc, however on large...
    Posted to PowerShell for Windows (Forum) by Robert Burke on 02-20-2011
    Filed under: powershell, powershell Windows-programming, Variable, windows, powershell remoting, XML, array
  • Re: XML, Powershell and Arrays

    Hi Tobias, Thank you for the quick response, and I am sorry for not giving enough information. Here is the complete XML doc, you will notice there are 2 sections called Proxy Layer, each layer is associated with a different URL. I am new to PS and I have never dealt with XML but this is alot of fun Thank...
    Posted to PowerShell for Windows (Forum) by Robert Burke on 02-21-2011
    Filed under: Variable, windows, XML, array
  • XML configuration file for scripts

    Hi, inspired by recent blog entries I was trying to create an XML configuration file for a powershell script. Goal: store the last date&time the script was successfully run and other run-time related information. solution idea: <?xml version="1.0" encoding="utf-8"?> <config>...
    Posted to PowerShell for Windows (Forum) by mwood on 02-22-2011
    Filed under: powershell, powershell Windows-programming, XML
  • Adding child nodes to xml

    Hello everyone I am exploring xml and am trying to write nested XML elements like this <r> <c1> <c2></c2> </c1> </r> In other words, I was trying to write a root element with a child and sub child element. First I tried this: [xml]$a = '<r></r>'...
    Posted to Learn PowerShell (Forum) by s2074135 on 04-29-2011
    Filed under: xml
  • IIS 7.5 Advanced Logging

    Hi I am trying to add a field to the selectedFields node in the applicationhost.config file using the following $hashProperties = @{id="Client-IP"; sourceName="Client-IP"; sourceType="requestHeader"; category="Default"; logHeaderName="cs(Client-IP)";...
    Posted to PowerShell for Windows (Forum) by Robert Burke on 09-21-2011
    Filed under: XML, advancedlogging, iis
  • Appending node to xml file with powershell

    I have a routine in powershell that queries the index usage stats. The query runs for each database on the server and pumps out an xml snippet. I'm trying to get all of the results in one xml file. All of the code works except for the piece that appends nodes to an existing xml file. I've tried...
    Posted to General (Forum) by sqlpadawan on 12-07-2011
    Filed under: XML, powershell 2.0
  • parsing XML file...

    So this is my XML report from NMAP: <? xml version="1.0" encoding="utf-8" ?> < nmaprun scanner =" nmap " args =" nmap -F --script=smb-os-discovery --script=nbstat -oX c:\\NMAP\\Temp2\\result3.xml " start =" 1327070530 " startstr ="...
    Posted to Learn PowerShell (Forum) by iasen.ognianov on 01-20-2012
    Filed under: xml, Powershell XML
  • XML manipulation

    I’m trying to create a script that will read in an XML file, split one of the nodes to create two new ones and to export the result to a CSV file for use elsewhere. I have managed the import and the split but when I try to export the CSV, the text from the new nodes.e. firstname and lastname is...
    Posted to Ask Don and Jeff (Forum) by Ali on 07-17-2012
    Filed under: CSV, XML
Page 1 of 3 (26 items) 1 2 3 Next >
Copyright 2012 All rights reserved.