What data formats does PowerShell most easily read ?

Posted by Jim on Stack Overflow See other posts from Stack Overflow or by Jim
Published on 2010-05-14T18:30:49Z Indexed on 2010/05/14 18:34 UTC
Read the original article Hit count: 280

Filed under:
|

I'm trying to use PowerShell with SharePoint. I'd like my PowerShell scripts to load my SharePoint farm configuration from files rather than either hard coding the configuration in the scripts, or having to pass in the same parameters each time.

This the kind of information I need to store.

WebFrontEnds: Web1, Web2, Web3
CentralAdmin: Central1
Index: Web1
ContentWebApps: http://user1, http://user2

Does PowerShell easily load this data from CSV, XML, or other formats?

© Stack Overflow or respective owner

Related posts about powershell

Related posts about persistence