Link to home
Start Free TrialLog in
Avatar of Member_2_7966113
Member_2_7966113

asked on

Powershell Interpretation Request

Hello Experts,

Can someone please let me know why I keep on getting the following error when I attempt to run the following Powershell script

diff -reference (import-clixml spfarmref2.xml) -difference (get-serivce) -property name

get-serivce : The term 'get-serivce' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the 
spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:61
+ diff -reference (import-clixml spfarmref2.xml) -difference (get-serivce) -proper ...
+                                                             ~~~~~~~~~~~
    + CategoryInfo          : ObjectNotFound: (get-serivce:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException
 

Open in new window

ASKER CERTIFIED SOLUTION
Avatar of oBdA
oBdA

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Member_2_7966113
Member_2_7966113

ASKER

Well spotted. Cheers