PowerShell scripting with 32-bit COM Objects on x64 Systems

PowerShell scripting with 32-bit COM Objects on x64 Systems

Read Full Article

Today I’m going to show you how to work with 32-bit COM Objects on an x64 remote system using PowerShell.

One of the problems that you will encounter when using PowerShell for remote administration is when working with COM Objects on a 64-bit system. The problem is that COM Objects are only 32-bit and PowerShell running in 64-bit cannot see or manipulate COM Objects. So how do you work with COM Objects remotely on a 64-bit system? Let me explain..

I take you through the difference in PowerShell command building for both x86 and x64 based remote systems, and Yes they are very different! This is a real life example of working with an SCCM COM object that is used to configure the SCCM Install Update Schedule, and the same example can be applied to hundreds of other purposes.

To view or add a comment, sign in

More articles by Jeff Holder

  • PowerShell Studio - A Comprehensive Guide

    A few months ago I started taking on a new quest to write an in-depth, comprehensive book about SAPIEN's PowerShell…

    7 Comments
  • File Share Analyzer

    Added a new tool to the arsenal, File Share Analyzer. This tool will start at any file share path that you provide then…

    1 Comment
  • PowerShell Training

    I have the first of many PowerShell training courses available on I-comply.org PowerShell Training - Basic (This is a…

    1 Comment
  • PowerShell Summit 2016

    Headed to Seattle this weekend to kick off the 2016 PowerShell Summit, events start Sunday. Ready to deep dive into…

  • I-Comply v2.1.8 released

    I am proud to announce that I-Comply version 2.1.

  • PowerShell Studio and Scripting

    I have redesigned the I-Comply.org website which will become a PowerShell scripting and PowerShell Studio Coding…

    1 Comment

Explore content categories