Scenario: Installing WMF 4.0 on a computer that is not running .NET Framework 4.5 will report that the installation is successful, but the components of WMF 4.0 (such as Windows PowerShell, WMI, etc.) will not b
Understanding PowerShell and Basic String Formatting Like disregard, okay, now how do I acesss the sharepoint list that I want to make these chages on? Import-Module -Name PnP.PowerShell -Debug -Force Connect-PnPOnline -Url $site = $sharedDocumentsURL...
You need to download the SharePoint Online module for PowerShell. Run: Get-Module -Name Microsoft.Online.SharePoint.PowerShell -ListAvailable | select Name,Version to confirm if you have the required module (and also if you need an update), and use: Install-Module -Name Microsoft.Online.Sha...
I have used MSOLService from AzureAD powershell package to register the SharePoint Add-in Office365 tenancy. Here is how to register an Add-in.Download and install the AzureAD powershell package using the below PS commands. To Save Module run the below script. Save-Module -Name MSOnline ...
Can't Import AD Module Powershell Can't run Get-Acl on files containing a '[' or ']' character. Can't run Import-Module ActiveDirectory Can't use Install-Windowsfeature with the -Source property to install .Net 3.5 Cannot access network share in a pssession Cannot access the local farm...
In Step 4, we have added the code to build a collection keep list of SharePoint Lists using a PowerShell hash table as shown below- In Step 5 and 6, we can see the implementation of “EnhancedHTML2” module. In Step 5, we will convert the data collection (Row & Column format) to...
- then install the Windows PowerShell on your Windows account (running natively on your Mac). Install Windows PowerShell 5.1; the version where you see so many blogs and docs advising NOT to use it. But the point is, this Powershell version does everything you expect, it has...
Delete user alerts in SharePoint 2010 with PowerShell ### Remove all alerts for specific user from a Web Application ###$SPwebApp= Get-SPWebApplication"http://SharePointSite.com"$SpecificUser="Domain\Salaudeen"foreach($SPsitein$SPwebApp.Sites) {#get...
Logon to a Windows 7 or Server 2008 R2 Machine as an Administrator. Create a folder called O365LicenseScripts. Create all files from the “PowerShell Script Code” section in this folder. Install the Microsoft Online Sign In Assistant. Install the Microsoft ...
A couple of months agoRandy Drisgillasked me if there was a way to use the mighty PowerShell to set a web's master page in SharePoint 2010. Not being a branding guy I hadn't tried it before. Heck, I'm not even sure what a master page is, but for Randy I dug into it. ...