Exchange online: convert mailbox to shared

To convert a user mailbox to shared mailbox
get-mailbox -identity | set-mailbox -type “Shared”


SharePoint Powershell command

Get-SPDatabase | select Name | out-file “list.txt”      —   give you the list of all the Content Database names in your SharePoint Farm into a file

Powershell – list of nested group membership of AD user

function GetGroups ($object) { Get-ADPrincipalGroupMembership $object | ForEach ` { $_ Get-ADPrincipalGroupMembership $_ } }

GetGroups username | select name -Unique

Windows PowerShell Command

Add-WindowsFeature Desktop-Experience  – Add a new Windows Desktop Experience feature

PowerShell: record session


Uninstalling Windows PowerShell 1.0

 PowerShell 1.0 uninstaller is not listed in the Add and Remove programs.
Uninstall it using the command line:  C:\Windows\$NtUninstallKB926139$\Spuninst\Spuninst.Exe