I need your help.
I am writing the powershell script to talk to sharepoint.
The script takes two parameters first one is the IP address of server or servername and second parameter is the config file.
The script checks if the Servername or IPAddress is correct .
If it's not correct then displays the error to the user.
If it's correct , then it ask the user credentials username and password to login.
Sameway if username and password are correct , list in the config file is checked to see if there are any duplicates entries.
If duplicates are found error is displayed to the user.
Can any body please help me writing the script.
I am new to sharepoint and powershell.
I am using PowerGUI editor to write the script and i am using get-spweb function to check if site exists or not.
I tried to load assembly on the top using command
I am getting the error.
Microsoft.Sharepoint.Powershell is not installed on your machine.
I am only having PowerGUI installed on my machine.
Please let me know what other softwares i need on my system to write the script and execute it.