Category: PowerShell

How to encode and decode an URL using PowerShell?

Here in this post, I will show how to encode and decode the URL using PowerShell code. Introduction: A website’s URL, also usually known as the “website address”, is what we would enter into a web browser in order to access a specific website’s resource. and a URL (Uniform Resource Locator) is the unique address

Continue reading

How to download file from SharePoint online document library using PowerShell CSOM from the given date?

Here in this post – I will show how we can download files from SharePoint online document library using PowerShell CSOM from the given date by passing “From Date” and “To Date” to the query. Lets say we want to download certain files from SharePoint document library those were created between these two dates –

Continue reading

How to create multiple items in SharePoint online list using PowerShell CSOM?

Here in this post, I will show how to create multiple list items in SharePoint online list usingĀ  PowerShell CSOM code. PowerShell CSOM code to add multiple items: CLS #Load SharePoint CSOM Assemblies #Add-Type -Path “C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\16\ISAPI\Microsoft.SharePoint.Client.dll” #Add-Type -Path “C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\16\ISAPI\Microsoft.SharePoint.Client.Runtime.dll” $fileName = “Adding_Multiple_Items_Report” $enddate = (Get-Date).tostring(“yyyyMMddhhmmss”)

Continue reading