There's a possibility to create and use .NetFramework class in PowerShell via cmdlet "Add-Type". You should use New-Object cmdlet to instantiate objects.
There's a possibility to create and use .NetFramework class in PowerShell via cmdlet "Add-Type". You should use New-Object cmdlet to instantiate objects.
Most of all I use PowerShell for administration of SharePoint portal. But also I use it when I need to make some actions with SharePoint lists – get items, update items, remove items (link how to remove items) or to make report based on lists on SharePoint. (read more...)
It's not very often but sometimes I have to update SharePoint user email in profile. Here's a simple powershell code to do it. (read more...)
If you need to know whether file is, you should use "Test-Path" cmdlet in PowerShell. It returns "True" if the file or directory exists and returns "False" in other case. (read more...)
Below I write a powershell script to get the author and date of creation of SharePoint List. Today I have suddenly found out the new list. I was very surprised to see it and wanted to know who and when created it.
PowerShell is a very flexible tool for Windows and Windows-software administrators. You can do a lot of things with it. Sometimes you start to think of how to execute powershell scripts from Task Scheduler. It’s not enough just to add a PS-file in scheduler, you need to do something more. (read more...)
It’s very important for SharePoint administrator to have all actual WSP-files of custom SharePoint solutions. Developers often make new builds and administrator installs it in test environment, then in productive one. All the WSP-files are usually stored in a special place.
(read more...)If you are an administrator of several servers, I don’t think you want to execute PowerShell script on each server manually, especially if you have 20 or more servers. Since PowerShell 2.0 you can execute commands on remote computers using PowerShell via WinRM (Windows Remote Management) service. (read more...)
Alerts in SharePoint is a powerful tool for users but about a nightmare for administrator. It’s not comfortable for administrator to see user subscribes and manage them. (read more...)
PowerShell script to add column to SharePoint list. It' useful when you want to make changes in your SharePoint list in test area and then to repeat in productive one. (read more...)