Timeline for Powershell understanding piping with Get-SPSite/Get-SPWeb?
Current License: CC BY-SA 3.0
9 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Nov 26, 2014 at 15:41 | comment | added | Amal Hashim | I can't comment whether its a universal term. But in PowerShell world scope is the container where the life of objects are defined. | |
| Nov 26, 2014 at 15:34 | comment | added | ferr | Actually reading it again, it's not the filter parameter, but the "scopes". Is that a universal term used throughout powershell? I would like it if I could find "Scopes" listed on each object's technet article... for example if you look at the Get-SPWeb article there is no mention of scopes nor any information about what to pipe to it. | |
| Nov 26, 2014 at 15:31 | vote | accept | ferr | ||
| Nov 26, 2014 at 15:31 | comment | added | ferr | ah! thank you. i saw that, but I wasn't sure if it was what I was looking for since it did not really define what it meant by "Filter parameter". It appears that is what I meant by "Piped Inputs". | |
| Nov 26, 2014 at 15:29 | comment | added | Amal Hashim | @ferr I have updated my answer | |
| Nov 26, 2014 at 15:29 | history | edited | Amal Hashim | CC BY-SA 3.0 | edited |
| Nov 26, 2014 at 15:18 | comment | added | ferr | I think what would help is if technet's definitions had a "piped inputs" section. If I change the $webapp value to something that doesn't exist ie "mywebapp/nothing_here" it throws an error that it cannot find a web application at that url. This means to me that it expects a web application url, of course. This needs to be documented somehow in the SPSite article. | |
| Nov 26, 2014 at 15:15 | comment | added | ferr | So this is my confusion: there are multiple input parameters for SPSite that can take "URL". How does the piped SPSite know whether I am specifying for SPSite's -WebApplication parameter instead of the -Identity parameter? | |
| Nov 26, 2014 at 15:03 | history | answered | Amal Hashim | CC BY-SA 3.0 |