PowerTip: Use PowerShell to remove a user from all site collections in SharePoint Online

Summary: Learn how to use PowerShell to remove a corporate user from all site collections in SharePoint Online. How can I use Windows PowerShell to quickly remove a corporate user from all site collections in SharePoint Online? Use the following commands (change the login user name as required): Get-SPOSite | ForEach-object{Remove-SPOUser -Site $_.Url -LoginName kmyer@contoso.com}


Manage your SharePoint Online tenant with PowerShell

Summary: Learn how to manage your SharePoint Online tenant installation by using Windows PowerShell cmdlets. Christopher Weaver is a Microsoft Premier Field Engineer (PFE) who focuses on SharePoint and Office 365 solutions for large enterprise Premier customers. He has been doing PowerShell and SharePoint with Microsoft for nine years. In his spare time, he enjoys…


The Scripting Guy: coming to a town near you

SUMMARY: The Microsoft Scripting Guys, Ed Wilson, upcoming live appearances. Hello Scripters, Teresa (aka. Scripting Wife) here. We have been really busy recently working with PowerShell user groups, and we want to provide you with a convenient listing of upcoming special events. Hope we will be able to see you at one or more of…

0

Get started with PowerShell and SharePoint Online

Summary: Microsoft PFE Chris Weaver talks about getting started with Windows PowerShell and SharePoint Online. Welcome back Chris Weaver as guest blogger. You can see his previous guest blogs. Christopher Weaver is a Microsoft Premier Field Engineer (PFE) who focuses on SharePoint and Office 365 solutions for large enterprise Premier customers. He has been doing…


PowerTip: Find all devices connected to a computer

Summary: Use PowerShell to find all devices that are connected to a computer. How can I use Windows PowerShell to list all devices that are connected to a computer? Use the Get-PnpDevice cmdlet and the -PresentOnly switch. Here is an example: Get-PnpDevice -PresentOnly


PowerTip: Get the public IP of an Azure VM with PowerShell

Summary: Use the Azure Resource Manager cmdlets to get the public IP address of an Azure virtual machine.  How can I get the public IP address information for an Azure Resource Manager virtual machine (VM)? All you need to do is use Get-AzureRmVm to find the VM and pass it to Get-AzureRmPublicIPAddress as in the…


How to alter the public IP address of an Azure virtual machine

Summary: Change the public IP address in Azure Resource Manager by using Windows PowerShell. Honorary Scripting Guy, Will Anderson, shares a personal challenge that he encountered when working with Azure and public IP addresses. He also shares the solution with the rest of us! Take it away, Will! Recently, I incorrectly configured an Azure Resource…