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

Get-SPSite : broken pipeline

$
0
0

Hello,

I'm pretty new to Sharepoint and setup a testing platform. Here is the picture : Sharepoint 2010 server in a workgroup (no AD domain for the moment).

Apart of the default one, I've created a web app and then a site collection using the Web UI. No problem to access the site through the URL. But when I run the Get-SPSite | fl cmdlet, I get an error (no error though with the default site). 


PS C:\Users\Administrateur> get-spsite
Url
---
http://h94-13-51-share
http://sp.domaine.fr

PS C:\Users\Administrateur> get-spsite http://sp.domaine.fr | fl

Get-SPSite : Le pipeline a été arrêté.-> US: pipeline has been stopped
Au niveau de ligne : 1 Caractère : 11
+ get-spsite <<<<  http://sp.domaine.fr | fl
    + CategoryInfo          : InvalidData: (Microsoft.Share...SPCmdletGetSite:SPCmdletGetSite) [Get-SPSite], PipelineStoppedException
    + FullyQualifiedErrorId : Microsoft.SharePoint.PowerShell.SPCmdletGetSite

Format-List : Une exception a été levée par la cible d'un appel. ->US : exception thrown by the target of an invocation
Au niveau de ligne : 1 Caractère : 34
+ get-spsite http://sp.domaine.fr | fl <<<<
    + CategoryInfo          : NotSpecified: (:) [Format-List], TargetInvocationException
    + FullyQualifiedErrorId : System.Reflection.TargetInvocationException,Microsoft.PowerShell.Commands.FormatListCommand

Is an attribute the cause of the error ? I've tried to loop through each one and I got an error with the AllWebs attribute, but don't know if it's relevant :

PS C:\Users\Administrateur> $s = get-spsite http://sp.domaine.fr
PS C:\Users\Administrateur> $s.AllWebs
$s.AllWebs : Une exception a été levée par la cible d'un appel. US : exception thrown by the target of an invocation
    
+ CategoryInfo          : NotSpecified: (:) [], TargetInvocationException
    + FullyQualifiedErrorId : System.Reflection.TargetInvocationException

Any idea of what's going on here ?

Thanks in advance.


Christian G.

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>