GithubHelp home page GithubHelp logo

Comments (5)

mrpullen avatar mrpullen commented on June 12, 2024

Configuration SPFarm {
param([PSCredential]$InstallAccount)
Import-DSCResource -ModuleName xSharePoint
Node localhost {

    xSPManagedPath team {
          WebAppUrl = "http://sp2013"
          InstallAccount = $InstallAccount
          RelativeUrl = "team"
          Explicit = $false
          HostHeader = $false
    }

}
}

from sharepointdsc.

mrpullen avatar mrpullen commented on June 12, 2024

xsharePoint.psd1 contains

NestedModules = @("modules\xSharePoint.DistributedCache\xSharePoint.DistributedCache.psm1",
"modules\xSharePoint.Util\xSharePoint.Util.psm1")

which looks right to me..

from sharepointdsc.

NikCharlebois avatar NikCharlebois commented on June 12, 2024

Can you try the following:

1 - Open xSharePoint.psd1;;
2 - Replace the line:
CmdletsToExport = '*'
by
CmdletsToExport = 'Get-xSharePointAuthenticatedPSSession'

and try again?

from sharepointdsc.

mrpullen avatar mrpullen commented on June 12, 2024

that worked, but now I am getting Remove-xSharePointNullParamValues is not recognized. I will just list all the commandlets in those modules..

Tx.

from sharepointdsc.

NikCharlebois avatar NikCharlebois commented on June 12, 2024

This seems to be a recurring problem in many DSC resources. I will try following up with the PowerShell team to get their input on this. In the meantime I might try to submit a pull request to ensure it works, listing all Cmdlets individually

Sent from my BlackBerry 10 smartphone on the Rogers network.
From: Michael Rees Pullen
Sent: Thursday, July 16, 2015 10:37 AM
To: PowerShell/xSharePoint
Reply To: PowerShell/xSharePoint
Cc: Charlebois-Laprade, Nikolas
Subject: Re: [xSharePoint] Nested Modules isn't loading (for some reason (#53)

that worked, but now I am getting Remove-xSharePointNullParamValues is not recognized. I will just list all the commandlets in those modules..

Tx.


Reply to this email directly or view it on GitHubhttps://github.com//issues/53#issuecomment-121976321.

from sharepointdsc.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.