Jump to content

digbyp

Members
  • Posts

    82
  • Joined

  • Last visited

Posts posted by digbyp

  1. It is quite pssible to do this. How many machines? Which operating system?

    Below are a couple of links that show powershell scripts to achieve this. Read the articles carefully and test at your own risk!!! What you would do if for a Windows Server for example is this

     

     

    a) Create the powershell script and place it on the server

    B) Create a .bat file, to run the powershell script

    c) Create a Scheduled Task to run .bat file

    d) In PCM, add your new scheduled task

     

     

     

  2. Thanks for update. Yes, will test. Is there anyway to provide more interaction?

     

    Report what update needs updating
    Choose Update to install
    Report back that update installed sucessfully

     

    I have written a number of Powershell scripts (use with PCM + POTS) to install software and to check that installation has taken place. But this for a new install and not for updates

  3. Herewith Powershell Scripts

    Enable LogMeIn + Start Service

    $status = Get-WMIObject win32_service -filter "name='LogMeIn'" -computer "."

    #Write-Output ($status.StartMode);

    if ($status.StartMode -eq "Auto")

    {

    Write-Output ("LMI Service is already Automatic");

    }

    else

    {

    Set-Service LogMeIn -startupType Automatic

    Start-Service LogMeIn

    sleep -Milliseconds 500

    $status = Get-WMIObject win32_service -filter "name='LogMeIn'" -computer "."

    "LMI status is now"

    $Status.startmode

    }

    Disable LogMeIn + Stop service

    $status = Get-WMIObject win32_service -filter "name='LogMeIn'" -computer "."

    #Write-Output ($status.StartMode);

    if ($status.StartMode -eq "Disabled")

    {

    Write-Output ("LMI Service is already Disabled");

    }

    else

    {

    Set-Service LogMeIn -startupType Disabled

    Stop-Service LogMeIn

    sleep -Milliseconds 500

    $status = Get-WMIObject win32_service -filter "name='LogMeIn'" -computer "."

    "LMI status is now"

    $Status.startmode

    }

  4. Although not automatic, you can you use the powershell line below which will show true or false. If True, anticipate disk failure at some point.

    gwmi -Namespace root\wmi -Class MSStorageDriver_FailurePredictStatus -property PredictFailure

  5. Johnii has just rolled out the latest version of POTS, incorporating features from PCM API 3

    I now need to roll-out to 120+ computers. To do this, one needs to

    1) stop PCM service

    2) download zip

    3) extract zip to correct path

    4) Start PCM service

    I think the only way to do this is with GP?

  6. Also with logmein, to secure behind firewall (it is generally running as a service all the time), you can choose to have logmein 'disabled' at startup and use powershell to re-enable and disable as you please.

    I have the scripts if you need them

  7. You could install the 'Power of the Shell' (POTS) plugin and write a Powershell script to tun the installer. However, you need to get at that machine to install POTS first. But then you installed PCM. Or, did you prep machine and then despatch it somewhere?

    Additionally, you could use the terminal option within PCM and run the commands to install the software silently (no user prompts required).

×
×
  • Create New...