Quantcast
Channel: SharePoint 2010 - Setup, Upgrade, Administration and Operations forum
Viewing all articles
Browse latest Browse all 13778

None of the Power Shell Commands Not working

$
0
0

Hi all,

 I have been trying to run this 3 line command on "SP 2010 Management Shell" as administrator but it doesn't seem to work.

$farm =Get-SPFarm
$farm.XsltTransformTimeOut=5
$farm.Update()


Got the below error,

PS C:\Users\Administrator> $farm = Get-SPFarm
PS C:\Users\Administrator> $farm. XsltTransformTimeOut = 5
Unexpected token '.' in expression or statement.
At line:1 char:7
+ $farm. <<<<  XsltTransformTimeOut = 5
    + CategoryInfo          : ParserError: (.:String) [], ParentContainsErrorR
   ecordException
    + FullyQualifiedErrorId : UnexpectedToken

PS C:\Users\Administrator> $farm. Update()

Thanks in Advance,


Viewing all articles
Browse latest Browse all 13778

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>