Tags » PowerShell

How to Find Uptime of Remote Servers?

Here is a powershell way to get uptime of a remote server(using WMI):


$computerName = Read-Host “Enter Server Name”
$OS = Get-WmiObject win32_OperatingSystem -ComputerName $computerName… 9 more words


Building a Clipboard History Viewer Using PowerShell

I saw a question a while back in the Technet PowerShell Forum asking how one might start to build a clipboard viewer using PowerShell that met a few requirements: 1,418 more words


Some Useful Power Shell Commands

  • Reset farm account credentials:

stsadm.exe -o updatefarmcredentials -userlogin domain\username -password password

  • Creating Classic Authentication Web Application in Sharepoint 2013:

New-SPWebApplication -Name “name” -ApplicationPool “AppPoolName” -AuthenticationMethod “NTLM” -ApplicationPoolAccount (Get-SPManagedAccount “ 161 more words


Very Useful PowerShell Commands to get, add and remove event receiver associated to a specific list

To get the list of attached event receiver to the list

$spWeb = Get-SPWeb –Identity <SharePointWebUrl> $spList = $spWeb.Lists["List Display Name"]  $spList.EventReceivers | Select Name, Assembly, Type… 244 more words


Add x64 PSSnapin


Are you having problems when adding the PSSnapin for exchange in powershell when using the “Run .Net Script” in Orchestrator? Then take a look at this post! 149 more words


References for Exchange Send/Receive Stats

If you have a command or script to gather stats on the total number of messages sent and received during a specific period of time, please share. 36 more words


"Turn on script execution" group policy setting missing

Want to configure PowerShell Remote Execution policy via Group Policy? Gone into Group Policy Management snap-in to find the mythicak “Turn on script execution” setting isn’t there? 865 more words