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.
PowerShell
Different Ways to Clear the SharePoint Designer Cache
This article provides manual and programmatic methods of clearing the SharePoint designer cache for both SharePoint 2010 and 2013. Clearing the cache will remove any past connection history as well provide you a “clean slate” to work from.
Installing PowerShell And Azure PowerShell On Ubuntu
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.
Get List Of SharePoint Users With PowerShell
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.
Get List Of All SharePoint Sites And Subsites With PowerShell
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.
Running STSADM Commands From PowerShell
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.