Git Product home page Git Product logo

pscmcontentmgmt's Introduction

Hi there ๐Ÿ‘‹

  • ๐Ÿ”ญ Iโ€™m currently working on nothing open-source related, but a few projects at work which consume time!
  • ๐ŸŒฑ Iโ€™m currently learning mongodb
  • ๐Ÿค” Iโ€™m looking for help with learning more about mongodb
  • ๐Ÿ’ฌ Ask me about PowerShell, Azure, Linux, ConfigMgr (SCCM/MEMCM/MECM)
  • ๐Ÿ“ซ How to reach me: Twitter
  • ๐Ÿ˜„ Pronouns: he/him
  • โšก Fun fact: I have a Beagle named Alfie - send help ๐Ÿ†˜

pscmcontentmgmt's People

Contributors

actions-user avatar codaamok avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

pscmcontentmgmt's Issues

Compare-DPContent does not pass SiteServer and SiteCode params to sub-function Get-DPCompare

Looks like even when explicitly setting the SiteServer and SiteCode params in Compare-DPContent, the params aren't passed to the Get-DPConent cmdlet

PS C:\> $DPGroupContent = Compare-DPContent -Source 'DP01.contoso.lan' -Target 'DP02.contoso.lan' -SiteServer 'Site01.contoso.lan' -SiteCode 'C01'
Get-DPContent : Please supply a site code using the -SiteCode parameter
At C:\Tools\PSCMContentMgmt-master\PSCMContentMgmt-master\Public\Compare-DPContent.ps1:71 char:26
+         $SourceContent = Get-DPContent -DistributionPoint $Source
+                          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidArgument: (:) [Write-Error], WriteErrorException
    + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Get-DPContent

I think modifying lines 71-72

$SourceContent = Get-DPContent -DistributionPoint $Source
$TargetContent = Get-DPContent -DistributionPoint $Target

to

$SourceContent = Get-DPContent -DistributionPoint $Source -SiteCode $SiteCode -SiteServer $SiteServer
$TargetContent = Get-DPContent -DistributionPoint $Target -SiteCode $SiteCode -SiteServer $SiteServer

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.