If a field while using PowerShell ends with a “…}” indicating that more data is present, the cmdlet Select-Object –ExpandProperty can be used to return the entire data set.
Thursday, July 4, 2013
Windows Server 2012 introduced a new version of the Server Message Block (SMB) protocol. SMB version 3 includes new features such as encryption. If your environment does not have any Windows XP or earlier clients, an option is available to disable SMB version 1 to improve security. The PowerShell cmdlet Get-SmbServerConfiguration will offer information on the current status of SMB version 1 and 2.
To disable SMB version 1, use the PowerShell command of Set-SmbServerConfiguration –EnableSMB1Protocol $false
Use the following command to obtain a list of installed applications using PowerShell.
Get-WmiObject -Class Win32_Product | Select-Object -Property Name