Showing tag results for PowerTip

Jul 27, 2016
Post comments count0
Post likes count0

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

Doctor Scripto

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):

Scripting Guy!Windows PowerShellPowerTip
Jul 14, 2016
Post comments count0
Post likes count0

PowerTip: Find all devices connected to a computer

Doctor Scripto

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:

Scripting Guy!Windows PowerShellPowerTip
Jul 1, 2016
Post comments count3
Post likes count0

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

Doctor Scripto

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 following example:

Windows PowerShellPowerTipguest blogger
Jun 30, 2016
Post comments count0
Post likes count0

PowerTip: Get a GUI interface for any PowerShell cmdlet

Doctor Scripto

Summary: Use the Show-Command to build PowerShell cmdlets. I ran into a problem. Some cmdlets have too many parameters to list. Is there an easy way to build a cmdlet with its parameters for the console? You’ll love this trick! Just use the Show-Command cmdlet with any PowerShell cmdlet to get a GUI interface. In the following example, we use th...

Windows PowerShellPowerTipguest blogger
Jun 29, 2016
Post comments count0
Post likes count0

PowerTip: List all available CIM classes by using PowerShell

Doctor Scripto

Summary: Use the Get-CimClass cmdlet to see all classes that you can query from. How can I find a list of Common Information Model (CIM) classes in Windows so that I can ask my computer useful questions? Just run the Get-CIMClass cmdlet to get a list of all available classes in the default namespace in Windows. If you’d like to filter on the lis...

Windows PowerShellPowerTipguest blogger