PoshCode Archive  Artifact [2b3a28effe]

Artifact 2b3a28effe6e178cf0ca73528a1a55a3cdaf91aa095f61bfc400a8463406bd3d:

  • File help-needed.ps1 — part of check-in [e44793599a] at 2018-06-10 13:08:27 on branch trunk — help needed (user: unknown size: 562)

# encoding: ascii
# api: powershell
# title: 
# description: help needed
# version: 0.1
# type: script
# license: CC0
# x-poshcode-id: 2304
# x-archived: 2010-10-20T09:16:51
#
#
hi	

i want a script in powershell that talks to the sharepoint and takes two arguments one is Ip address or server name other is config.xml file.

It checks if server exists and if yes it asks for user name and password and display error to the user accordingly . also it checks for duplicate entries in config.xml file.

any suggesions will be highly appreciated.