Heh, I'm using this:

Get-WmiObject -Namespace $2012Namespace -ComputerName $2012Server -Query
"Select * from SMS_package where Name like 'PKGName'" | ForEach-Object {
$_.get()
$_ >> C:\test.txt
}

.get() shows lazy properties, right?


On Tue, Sep 24, 2013 at 10:07 AM, Daniel Ratliff <[email protected]>wrote:

>  Hmmm, maybe it’s a lazy property? $package.psbase which I assume you are
> using PowerShell? J****
>
> ** **
>
> *Daniel Ratliff* ****
>
> ** **
>
> *From:* [email protected] [mailto:
> [email protected]] *On Behalf Of *Ryan
> *Sent:* Tuesday, September 24, 2013 11:00 AM
>
> *To:* [email protected]
> *Subject:* Re: [mssms] Copy Content.****
>
> ** **
>
> Odd. I made a test Package and changed the copy content box, Share Name
> and Share Type didn't change. I've been doing WMI queries, and ShareType is
> 1 if that box is checked and if it isn't checked. It only changes when "Use
> a custom name" is checked and filled out. Then it is a 2.****
>
> ** **
>
> Now I just want to know because I'm stumped.****
>
> ** **
>
> On Tue, Sep 24, 2013 at 9:40 AM, Daniel Ratliff <[email protected]>
> wrote:****
>
>
> http://stackoverflow.com/questions/12493712/programmatically-change-copy-content-in-this-package-to-a-package-share-on-dist
> ****
>
>  ****
>
> *Daniel Ratliff*****
>
>  ****
>
> *From:* [email protected] [mailto:
> [email protected]] *On Behalf Of *Ryan
> *Sent:* Tuesday, September 24, 2013 10:34 AM
> *To:* [email protected]
> *Subject:* Re: [mssms] Copy Content.****
>
>  ****
>
> Were you able to find this?  I spent about 30 minutes looking yesterday
> and was only able to figure out how to find information on  "Use a custom
> name for the package share"  I checked again today and couldn't find
> anything.****
>
>  ****
>
> I've checked through all the content and package classes I know and didn't
> see anything related to this.****
>
>  ****
>
> Does anyone know if there is a package XML value somewhere like the
> application XML one?****
>
>  ****
>
> On Mon, Sep 23, 2013 at 1:23 PM, Richard Zuraff <
> [email protected]> wrote:****
>
> Is there a way to tell what packages we have this checked on?****
>
>  ****
>
> ****
>
>  ****
>
>  ****
>
>  ****
>
>  ****
>
>  ****
>
>  ****
>
>  ****
>
>  ****
>
>  ****
>
>  ****
>
>
> The information transmitted is intended only for the person or entity to
> which it is addressed
> and may contain CONFIDENTIAL material. If you receive this
> material/information in error,
> please contact the sender and delete or destroy the material/information.*
> ***
>
> ** **
>
> ** **
>
> ** **
>
> The information transmitted is intended only for the person or entity to
> which it is addressed
> and may contain CONFIDENTIAL material. If you receive this
> material/information in error,
> please contact the sender and delete or destroy the material/information.
>
>



<<image001.png>>

Reply via email to