-
Archives
- March 2021
- November 2020
- August 2020
- May 2020
- March 2020
- December 2019
- November 2019
- October 2019
- September 2019
- May 2019
- March 2019
- February 2019
- January 2019
- December 2018
- November 2018
- October 2018
- August 2018
- July 2018
- March 2018
- June 2017
- May 2017
- March 2017
- January 2017
- October 2016
- September 2016
- August 2016
- July 2016
- May 2016
- April 2016
- March 2016
- February 2016
- September 2015
- July 2015
- June 2015
- April 2015
- March 2015
- January 2015
- December 2014
- November 2014
- October 2014
- September 2014
- August 2014
- July 2014
- June 2014
- May 2014
- April 2014
-
Meta
Monthly Archives: July 2016
How to read all property bag values in a SharePoint Online Site Collection using CSOM PowerShell
################################################################ #Script that gets all the property Bags # Required Parameters: # -> $sUserName: User Name to connect to the SharePoint Online Site Collection. # -> $sPassword: Password for the user. # -> $sSiteUrl: SharePoint Online Site Url ################################################################ $host.Runspace.ThreadOptions … Continue reading
Posted in Uncategorized
Leave a comment
Import data to CSV file using PowerShell
$results = @() foreach ($computer in $computerlist) { if((Test-Connection -Cn $computer -BufferSize 16 -Count 1 -ea 0 -quiet)) { foreach ($file in $REMOVE) { Remove-Item “\\$computer\$DESTINATION\$file” -Recurse Copy-Item E:\Code\powershell\shortcuts\* “\\$computer\$DESTINATION\” } } else { $details = @{ Date = get-date … Continue reading
Posted in Uncategorized
Leave a comment
Copy items from Root site all subsites in SharePoint list using CSOM PowerShell
Hi Guys, One of my customer using the functionality in Office 365 like whenever a new subsite is created, few custom lists all items are copying to the subsite , this functionality is implemented on Provider hosted app using CSOM, but there … Continue reading
Posted in Uncategorized
Leave a comment
Get current user profile properties in SharePoint using REST API.
By using the below code we can get the current user profile properties with custom properties, var userFirstName = ”, userEmail = ”; $(document).ready(function () { getUserProfiles(); }); /*********Function to read the user profile properties ********/ function getUserProfiles() { var … Continue reading
Posted in Uncategorized
Leave a comment