Solved

Exchange Script issue

Posted on 2013-01-31
6
489 Views
Last Modified: 2013-02-07
PS C:\program files\microsoft\exchange server\scripts> ./install-antispamagents.ps1
Get-ItemProperty : Cannot find path 'HKLM:\SOFTWARE\Microsoft\Exchange\v8.0\Setup' because it does not exist.
At C:\program files\microsoft\exchange server\scripts\install-AntispamAgents.ps1:24 char:33
+ $InstallPath = (get-itemproperty <<<<  HKLM:\SOFTWARE\Microsoft\Exchange\v8.0\Setup).MSiInstallPath + "TransportRoles\agents\
"
    + CategoryInfo          : ObjectNotFound: (HKLM:\SOFTWARE\...ange\v8.0\Setup:String) [Get-ItemProperty], ItemNotFoundExcep
   tion
    + FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.GetItemPropertyCommand
                       
           At C:\program files\microsoft\exchange server\scripts\install-AntispamAgents.ps1:30 char:39
+ $transportserver = get-transportserver <<<<  -id $localservername
    + CategoryInfo          : ObjectNotFound: (get-transportserver:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException
 
Failed to find the transport server : MyExchangeLab
0
Comment
Question by:vicky19
  • 3
  • 2
6 Comments
 
LVL 13

Expert Comment

by:imkottees
ID: 38841361
Hi,

where are you running this commnad? it should run on HUB server.
0
 
LVL 4

Author Comment

by:vicky19
ID: 38843868
Yes running it from the HUB server only
0
 
LVL 52

Assisted Solution

by:Manpreet SIngh Khatra
Manpreet SIngh Khatra earned 500 total points
ID: 38846826
What is the SP for Exchange 2007 ?
What rights does your account have ? Hope it has the rights to install the Antispam agents ?

- Rancy
0
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 
LVL 4

Accepted Solution

by:
vicky19 earned 0 total points
ID: 38847161
Rancy i reaslized when you said 2007 as i am running 2010 here as seems someone left some crappy stuff and now have to reinstall but its a Lab so not much worried
0
 
LVL 52

Expert Comment

by:Manpreet SIngh Khatra
ID: 38847171
Good so maybe we can resolve this post :)

- Rancy
0
 
LVL 4

Author Closing Comment

by:vicky19
ID: 38863276
I was pointed to the direction from where i now need to work my way up
0

Featured Post

Migrating Your Company's PCs

To keep pace with competitors, businesses must keep employees productive, and that means providing them with the latest technology. This document provides the tips and tricks you need to help you migrate an outdated PC fleet to new desktops, laptops, and tablets.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Marketers need statistics and metrics like everybody else needs oxygen. In this article we explain how to enable marketing campaign statistics for Microsoft Exchange mail.
As tax season makes its return, so does the increase in cyber crime and tax refund phishing that comes with it
In this video we show how to create a Shared Mailbox in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Recipients >> Sha…
This video discusses moving either the default database or any database to a new volume.

776 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question