none
Update content on website

    Question

  • How can I update content on a website using powershell.  I am new to powershell and would find this type of script useful. The script will change the content based on my systems status.
    Wednesday, June 20, 2012 6:07 PM

Answers

  • Hi,

    It depends on how you can access to site.
    If you have to access to source file on web server you can just user set-content on specific html file.
    If you use a CMS it will be harder. Then only remains is use for example COM InternetExplorer.Application for IE automation.

    • Marked as answer by CSharp0101 Thursday, June 28, 2012 9:10 PM
    Thursday, June 21, 2012 8:07 AM

All replies

  • Hi,

    It depends on how you can access to site.
    If you have to access to source file on web server you can just user set-content on specific html file.
    If you use a CMS it will be harder. Then only remains is use for example COM InternetExplorer.Application for IE automation.

    • Marked as answer by CSharp0101 Thursday, June 28, 2012 9:10 PM
    Thursday, June 21, 2012 8:07 AM
  • The application is on spiceworks.  If InternetExplorer.Application will work I will try it.  If not then I may have to do a work around with IFrame.
    Thursday, June 21, 2012 11:25 AM