Since PowerShell is now open source and cross-platform, we can now perform PowerShell magic right inside Linux boxes. If this isn’t exciting, what is?! Here’s an example of how to execute PowerShell scripts (or commands) from PHP code on a Linux VM.
For quite some time now, PowerShell has been cross-platform. This means you can now use it on Mac OS and on the many different flavors/distributions of Linux. Here’s how to install PowerShell Core followed by Azure PowerShell on your Ubuntu machine.
Two PowerShell code snippets for getting a list of SharePoint users in a website. Just supply the absolute URL of the site collection. The second script also checks and prints out the users’ permissions on a specified SharePoint list.
PowerShell command to iterate through an entire web application and give you a list of all sites and subsites in the web application. The data is saved in .CSV format and can be viewed in Excel.
You really shouldn’t be using STSADM anymore. PowerShell is a far more robust and flexible replacement. But if you just must execute your beloved STSADM commands, you can do so from within PowerShell directly. Here’s how.
Before updating a SharePoint solution you inherited from another developer, you may first want to download and save a copy of the currently deployed WSP solution file in SharePoint central admin. Here’s how to do that with 3 lines of PowerShell code.