Validate XML web.config Schema with Powershell

Follow
    Applies to:
  • Legacy SecureAuth IdP
Deployment model:
  • On Premises
  • SecureAuth IdP Version affected: All

    Description:

    You might want to programmatically determine the validity of an XML file such as the SecureAuth IdP web.config. The following Powershell cmdlet with the combination of a Powershell Type-accelerator, will quickly validate schema. 

     

    [xml](Get-Content -Path "D:\Secureauth\SecureAuth0\web.config" -Raw)

     

    0 out of 0 found this helpful

    Comments

    0 comments

    Please sign in to leave a comment.