powershell

Find computer name and domain using Powershell

Sometimes it’s useful to know the computer name and domain you are working on. More than once I had to google for these commands because I just can’t keep them in mind, so I decided to write a quick post as a reminder. The following are my favorites.

The first one returns the FQDN of the computer on the format whereas the second one returns a list of information about the computer such as NETBIOS name (that could be different from the DNS name), domain name, phisical memory, etc… You can also select single properties, changing the cmdlet this way:

That’s all. As I said before this was a quick one :)
– Riccardo

 

Posted by Riccardo in Global, Tips & Tricks, 0 comments
Resetting SharePoint Blob Cache

Resetting SharePoint Blob Cache

I recently published a new article on the Italian SharePoint Community web site about clearing the SharePoint Blob Cache. It’s in Italian, but if you want to take a look you can find it here:

Continue reading →

Posted by Riccardo in PowerShell, SharePoint 2013, SharePointCommunity.it, 0 comments
List all WebParts in page using Windows Powershell

List all WebParts in page using Windows Powershell

A couple of days ago I noticed a tweet in the #SPHelp feed that called my attention. Here it is:


I was sure that I already used a Powershell script to do that, but when I found and tried it I noticed that all the resulting rows reported only ErrorWebPartContinue reading →

Posted by Riccardo in PowerShell, TechNet Gallery, 0 comments