• How to use WBEMTEST to get WMI data level 1

    Launch wbemtest from command prompet or RUN Here is the interface to locate WMI classes attributes or instances you have to connect with account with sufficient privilege (note: all users has privilege to WMI but depend of type of action you want to execute which may require administrator priv.) press on connect then type which… Read More »

    Written by 0 Comment
    Uncategorized
  • How to use WBEMTEST to get WMI data level 1

    Launch wbemtest from command prompet or RUN Here is the interface to locate WMI classes attributes or instances you have to connect with account with sufficient privilege (note: all users has privilege to WMI but depend of type of action you want to execute which may require administrator priv.) press on connect then type which… Read More »

    Written by 0 Comment
    Uncategorized
  • Allow OVPI to send emails through Exchange 2007

    Remember one thing that there is two tasks you should do 1- create Receive Connector to accept OVPI connection 2-PowerShell Command to assign Permission for anonymous to relay from OVPI To troubleshoot this  Create dummy schedule and run the reports inside and you can open %dpipe_home%logpiweb.log If you got  Unable to relay To use the… Read More »

    Written by 0 Comment
    Uncategorized
  • Allow OVPI to send emails through Exchange 2007

    Remember one thing that there is two tasks you should do 1- create Receive Connector to accept OVPI connection 2-PowerShell Command to assign Permission for anonymous to relay from OVPI To troubleshoot this  Create dummy schedule and run the reports inside and you can open %dpipe_home%logpiweb.log If you got  Unable to relay To use the… Read More »

    Written by 0 Comment
    Uncategorized
  • Uninstall Products using Powershell

    I am trying to uninstall a product I have recently added to my Windows and i tried to access the normal way of uninstallation which you can go Control PanelProgramsPrograms and Features The problem is that the product I am trying to uninstall is not displayed there, although the product is available in the start… Read More »

    Written by 0 Comment
    Uncategorized
  • 1- What is WMI?

    As, I promised I will try to give you a solid background about Windows Management Instrumentation WMI. I will write multiple articles with the name of What is WMI. I will start by start by Microsoft Management Console ending by WS-management in Windows server 2008 and its R2 In this article I will tell you… Read More »

    Written by 0 Comment
    Uncategorized
  • Creating Functions in PowerShell

    I have told you before in my previous blogs about Hyper-V and PowerShell to play with VHDs using WMI This requires that every time we need to get VHD info we have to write  the below $computer = "LocalHost" $namespace = "rootvirtualization" $disk=Get-WmiObject -class Msvm_ImageManagementService -computername $computer -namespace $namespace then we have to remember the… Read More »

    Written by 0 Comment
    Uncategorized
  • Reconnect VHD Parent Disk

    Dear my readers, As stated in a previous blog, there is three main types of the disks. the Child and parent disks where you can have some sort of base disk contains all sysprepped image of the windows and another child disk contains the currently running system like base for windows 2003 sp2 and multiple… Read More »

    Written by 0 Comment
    Uncategorized
  • Creating Differencing VHD using Powershell; read it to the end

    Dear my blog-spectateur, I just would like to highlight, I am not writing this to tell you another way to create another type of VHDs but I am creating this to let you know how to get different methods out of the WMI Basically as you may know there are different types of VHDs in… Read More »

    Written by 0 Comment
    Uncategorized
  • How to Mount Disks to your physical Machine using Powershell

    1st you have to have HyperV Role installed define the ImageManagementService Class as Variable $Disk=Get-WmiObject Msvm_ImageManagementService -namespace “rootvirtualization” –computername . Call mount method which require only the full path for your vhd drive like the example below: $disk.mount(“C:Program FilesMicrosoft Learning50028BDrives50028-DC1-Data.vhd”) once the command succeed you will see like new drive is being installed in your… Read More »

    Written by 0 Comment
    Uncategorized