Sign in
PowerShell (and such)
PowerShell discussion, mainly relating to SharePoint 2010
Translate This Page
Translate this page
Powered by
Microsoft® Translator
Tags
cdp
checksiteexists
cmdlet
content
content deployment
email
emailaddresses
error
exceptions
expected exception
get-spcontentdeploymentpath
get-spsite
missing values
null
powershell
property
sharepoint
site collection
spcontentdeploymentjob
spcontentdeploymentpath
spsite
spsite exists
unboxed
uninitialized
Browse by Tags
MSDN Blogs
>
PowerShell (and such)
>
All Tags
>
powershell
Tagged Content List
Blog Post:
The Expected Exception
jolewkov
Just wanted to write a quick post on the idea of a an "Expected Exception" that can sometimes arise in PowerShell. Take the code below, which simply checks to see if a given SPSite exists on a certain URL: #Checks if Site Exists - return (true|false) function CheckSiteExists ( $url ) { $site = Get...
on
7 Dec 2012
Blog Post:
Breaking down Get-SPContentDeploymentPath
jolewkov
I've been using Get-SPContentDeploymentPath to do some validation on the content deployment paths I'm creating. However, there seems to be some discrepancies between the members printed to the screen and the actual members contained within the object. Below, I've stored the return object from Get-SPContentDeploymentPath...
on
31 Aug 2012
Blog Post:
Uninitialized property cannot be unboxed
jolewkov
I’m calling the New-SPContentDeploymentJob cmdlet and am using the –EmailAddresses parameter. The value I pass to the parameter is ‘test@test.com’, and I get the below error: Get-Help says that the parameter takes type String[], but I get the same error even after casting...
on
31 Aug 2012
Page 1 of 1 (3 items)