Timeline for I am getting Cannot find an SPSite that contains the following...Error
Current License: CC BY-SA 3.0
5 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Nov 10, 2015 at 21:02 | comment | added | Nina G | I do understand that but in your previous statement you mentioned that the Url was an SPSite and not an SPWeb. When I used Get-SPSite it still returned the same error is what I am getting at. Was that what you were referring to? | |
Nov 10, 2015 at 20:42 | history | edited | Eric Alexander | CC BY-SA 3.0 |
deleted 1 character in body
|
Nov 10, 2015 at 20:42 | comment | added | Eric Alexander | You have to be specific in what you want to pass into your function. If you want it to be a web and you are passing in a site, then you need logic to account for it. | |
Nov 10, 2015 at 20:23 | comment | added | Nina G | My question is, how can the script point to contoso.com/sites/Test10? In other words how will I know which site, site collection, web app does it point to if I'm not specifying a Url? Please advise. | |
Nov 10, 2015 at 19:57 | history | answered | Eric Alexander | CC BY-SA 3.0 |