Browse by Tags

All Tags » Windows 7 (RSS)

Transferring modules from Windows 8 or 8.1 to Windows 7

Windows 7 shipped with PowerShell 2.0 installed.  Windows 8 brought PowerShell 3.0 and Windows 8.1 brings PowerShell 4.0.   Windows 8 and 8.1 also have a lot of modules installed. This extra functionality widens PowerShell reach immensely –...

PowerShell v3 installed modules

This is the list of installed modules in PowerShell v3 on Windows 8 AppLocker Appx BitLocker BitsTransfer BranchCache CimCmdlets DirectAccessClientComponents Dism DnsClient International iSCSI ISE Kds Microsoft.PowerShell.Diagnostics Microsoft.PowerShell...

PowerShell 3 and Word

  This is a common scenario $word = New-Object -ComObject "Word.application" $word . visible = $true $doc = $word . Documents . Add ( ) $doc . Activate ( ) $word . Selection . Font . Name = "Cambria" $word . Selection . Font ...

Remoting between PowerShell v3 CTP 2 and PowerShell v2

One of the questions on tonight’s Live Meeting concerned the compatibility between remoting on PowerShell v2 and PowerShell v3 CTP 2 The difference is that v3 uses a WSMAN 3.0 stack but v2 uses 2.0 I used two machines: Windows 2008 R2 SP 1 with PowerShell...

Outlook: deleting mail items

As promised here is the function to delete mail items in a specific folder function remove-mailitem { [ CmdletBinding ( SupportsShouldProcess = $true ) ] param ( [ parameter ( Mandatory = $true ) ] [string] $mailfolder , [datetime] $start , [datetime...

Outlook: Viewing mail items

Continuing our perambulation around Outlook when used with multiple hotmail accounts its time to look at the other folders and the mail items they contain. This post will show how to view the mail items and a future post will show how to delete items...

Clearing junk mail

Getting back to looking at working with Outlook we can adapt the function used to deleted the contents of the Deleted Items folder to work with the Junk mail folders function clear-junkmail { $outlook = New-Object -ComObject Outlook.Application get-mailitemcount...

Outlook folder item count revisited

I started this series http://msmvps.com/blogs/richardsiddaway/archive/2011/07/30/outlook-connector-amp-mail-folder-item-count.aspx by looking at how we could enumerate the mail folders in Outlook 2010 when I had had four hotmail accounts open.  The...

Emptying the Deleted folders–version 2

The original version of this function only did one pass at deleting and had to iterate through all of the folders to find the Deleted Items folder.  This time we use the collection of folders we created using the get-mailfolders function to go directly...

Outlook folders

The functions we’ve seen so far have involved iterating through the whole set of Outlook folders. That’s a lot of folders (I have 4 email accounts with lost of folders). The trick is to do this just once and then use the GetFolderFromID method at the...

Emptying the Deleted Items Folder

Continuing our look at scripting against Outlook & the hotmail connector Many of the emails I get end up being read once and deleted. This leaves a ton of stuff in the deleted items folders. Periodically I’ll clean these up. This is one way how it...

Live Mesh Update

Couple of points worth noting if you are going to use Live Mesh (1) File paths longer than 269 characters (folder paths > 248) won’t sync  - shorten the path to fix (2) PST files won’t sync – even if they are not in use   By default Mesh...
Posted by RichardSiddaway | with no comments
Filed under: ,

Outlook Connector & mail folder item count

On my home laptop I use Live Mail to aggregate my hotmail accounts. On my travelling netbook I decided to try the Outlook Connector http://office.microsoft.com/en-us/outlook-help/microsoft-office-outlook-hotmail-connector-overview-HA010222518.aspx This...

Live Mesh

One problem I’ve had for a while is how to keep my script library synchronised across a number of machines.  I have a laptop I use for my development work at home and I have two netbooks – at least one of which is always with my when I’m away from...
Posted by RichardSiddaway | with no comments
Filed under: ,

Kindle for PC fix?

I appear to have fixed my problem. In the hope that this may help others in similar position this is what I did: uninstall Kindle for PC clean out all folders and content including the My Kindle Content folder. Make sure the C:\Users\Richard\username...
Posted by RichardSiddaway | with no comments
Filed under:

Kindle for PC Update

Just checked my other two machines and they are running v1.5 with NO problem.  The latest version is 1.6.1 and that is the one showing a problem. After removing all of the Kindle stuff including a registry I did get it to install and register. ...
Posted by RichardSiddaway | with no comments
Filed under:

Now this is odd

I have three machines running Windows 7 32 bit an HP laptop running Ultimate an HP netbook running starter edition a Dell duo running Home Premium I have installed the Kindle for PC reader on each of them. It installed and worked without any problems...
Posted by RichardSiddaway | with no comments
Filed under:

Moving Windows

In answer to a forum question I started to look at how you could move the PowerShell window from within PowerShell. Its not straight forward as we have to dig into the Win32 APIs I came up with this code function move-window { param ( [int] $newX , [int...

Dell duo tablet

Having bought the Dell Duo a few weeks ago I’ve been giving its tires a good kick. The duo is a combination netbook and tablet. It opens and works like a conventional netbook but the screen flips round and so you can close the lid, have the screen on...
Posted by RichardSiddaway | with no comments
Filed under: ,

Using AccountManagement classes to set local accounts expiry

This is a little more verbose than the WinNT example function set-expirydate { [ CmdletBinding ( SupportsShouldProcess = $true ) ] param ( [ parameter ( ValueFromPipeline = $true , ValueFromPipelineByPropertyName = $true ) ] [string] $computer , [ parameter...
More Posts Next page »