PowerShell

Get the Time of remote Offices Locations using Powershell script.

Hi. If you are working in an MNC and you are multiple remote office then one thing is sure that you are visiting few TIME ZONES sites or have some WORLD clock installed on your System. we have some remote offices and they all are on different geographical locations and on different time zones too,… Continue reading Get the Time of remote Offices Locations using Powershell script.

PowerShell

Sending Text to Clipboard Everywhere using Powershell

In a previous tip you learned how to use clip.exe to send results to the clipboard. But what if you don’t have clip.exe (let’s say on Windows XP) or don’t want dependencies? Here’s a clever alternative: function Out-Clipboard {  param(   $text  )  Add-Type -AssemblyName System.Windows.Forms  $tb = New-Object System.Windows.Forms.TextBox  $tb.Multiline = $true        if… Continue reading Sending Text to Clipboard Everywhere using Powershell

PowerShell

Reading the Clipboard using Powershell

  PowerTip of the Day, from PowerShell.com:   What if you wanted to paste information from the clipboard? No sweat, here is a Get-Clipboard function that outputs any text held by the clipboard: function Get-Clipboard {  Add-Type -AssemblyName System.Windows.Forms  $tb = New-Object System.Windows.Forms.TextBox  $tb.Multiline = $true  $tb.Paste()  $tb.Text } In a previous tip we presented… Continue reading Reading the Clipboard using Powershell

PowerShell

Bulk-Creating PDF Files from Word

  PowerTip of the Day, from PowerShell.com:   To convert a whole folder full of MS Word documents to PDF, here’s a function that might help: function Export-WordToPDF {   param(   [Parameter(Mandatory=$true,ValueFromPipelineByPropertyName=$true)]   [Alias(“FullName”)]   $path,   $pdfpath = $null)   process {     if (!$pdfpath) {       $pdfpath = [System.IO.Path]::ChangeExtension($path, ‘.pdf’)     }… Continue reading Bulk-Creating PDF Files from Word

PowerShell

“Script to list all folder of Outlook and total number of emails store in them” using PowerShell

  Hi, from past few days I tried to writing a script which shows me that how many folders I do have in my Outlook and total number of emails stored on them. I get only 50% success so far, I am able to see the folders but somehow not able to see the total… Continue reading “Script to list all folder of Outlook and total number of emails store in them” using PowerShell