You can set PacketPrivacy on the Managementscope :
PoSH> $w = [wmi]''
PoSH> $w.PSBase.Scope.Options.Authentication
Unchanged
PoSH> $w.PSBase.Scope.Options.Authentication = 'PacketPrivacy'
PoSH> $w.PSBase.Scope.Options.Authentication
PacketPrivacy
See also :
http://mow001.blogspot.com/2006/10/p...rt-in-rc2.html
@ Jeffrey : > The only thing I can suggest is using WMIC
hmm, did you make that ;-)
Greetings /\/\o\/\/
"Steve Schofield" wrote:
> Hi Jeffrey,
>
> Thanks for the information. That would be a nice to have in the future.
> I'm not sure what you mean by your answer, but for now I'll see if I can
> write a cmdlet that would implement this functionality. There is an article
> on http://www.iis.net that covers this..
>
> http://www.iis.net/default.aspx?tabi...=25&i=1211&p=1
>
> --
>
> Steve Schofield
> Windows Server MVP - IIS
> ASPInsider Member - MCP
>
> http://www.orcsweb.com/
> Managed Complex Hosting
> #1 in Service and Support
>
> "Jeffrey Snover [MSFT]" <jsnover@ntdev.microsoft.com> wrote in message
> news:AD9DBF7E-70EE-4D73-9F33-0C49B18899C9@microsoft.com...
> > Pkt_Privacy is not supported in V1.
> > The only thing I can suggest is using WMIC to get XML and then operating
> > on that.
> > --
> > Jeffrey Snover [MSFT]
> > Windows PowerShell Architect
> > Microsoft Corporation
> > This posting is provided "AS IS" with no warranties, no confers rights.
> > Visit the Windows PowerShell Team blog at:
> > http://blogs.msdn.com/PowerShell
> > Visit the Windows PowerShell ScriptCenter at:
> > http://www.microsoft.com/technet/scr.../hubs/msh.mspx
> >
>