PowerShell (and such)

PowerShell discussion, mainly relating to SharePoint 2010
Posts
  • PowerShell (and such)

    Uninitialized property cannot be unboxed

    • 0 Comments
    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...
  • PowerShell (and such)

    Breaking down Get-SPContentDeploymentPath

    • 0 Comments
    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...
  • PowerShell (and such)

    The Expected Exception

    • 0 Comments
    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...
Page 1 of 1 (3 items)