Could you give yourself write access to the folder to see if the cmdlets create the file? I have it on my system.
On Wed, May 22, 2013 at 2:47 PM, Daniel Ratliff <[email protected]> wrote: > I am not seeing that file either on my local console install. > Interesting.**** > > ** ** > > *Daniel Ratliff* **** > > ** ** > > *From:* [email protected] [mailto: > [email protected]] *On Behalf Of *Todd Hemsell > *Sent:* Wednesday, May 22, 2013 3:40 PM > *To:* [email protected] > *Subject:* Re: [mssms] Powershell Question**** > > ** ** > > Thanks Ryan,Jason,**** > > **** > > I have come up with this, but it is throwing an error. No google fu love > for me on this one either.**** > > I am unable to find this file on my system. I am running it from the site > server and opened the PS window using the link in the CM console.**** > > There are a lot of other files in there, but none end in .config**** > > **** > > PS CEN:\> Set-CMDeploymentType -ApplicationName "Add Me To A Group" > -MsiOrScriptInstaller -DeploymentTypeName "Add Me To A Group" > -PersistContentInClientCache $False -AllowClientsToShareContentOnSameSubnet > $True -AllowClients ToUseFallbackSourceLocationForContent $True > -OnSlowNetworkMode Download -UninstallProgram "FindMe.exe"**** > > **** > > *Set-CMDeploymentType : Access to the path 'D:\Program Files\Microsoft > Configuration > Manager\AdminConsole\bin\Microsoft.ConfigurationManagement.ApplicationManagement.config' > is denied.* > At line:1 char:1 > + Set-CMDeploymentType -ApplicationName "Add Me To A Group" > -MsiOrScriptInstaller ... > + > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > + CategoryInfo : NotSpecified: (:) [Set-CMDeploymentType], > UnauthorizedAccessException > + FullyQualifiedErrorId : > System.UnauthorizedAccessException,Microsoft.ConfigurationManagement.Cmdlets.AppMan.Commands.SetDeploymentTypeCommand > **** > > PS CEN:\>**** > > ** ** > > On Wed, May 22, 2013 at 8:57 AM, Ryan <[email protected]> wrote:**** > > Set-CMDeploymentType -ApplicationName $AppName > -MsiOrScriptInstaller -DeploymentTypeName $DeplName > -PersistContentInClientCache $true -AllowClientsToShareContentOnSameSubnet > $true -AllowClientsToUseFallbackSourceLocationForContent $true > -OnSlowNetworkMode Download**** > > ** ** > > There was some talk about Set-CMDeploymentType removing the uninstall > information when run if you didn't specify it, so you might want to double > check and make sure that doesn't happen before running this on your > environment. If it does, you'll need to grab the uninstall command line > information first, and then specify that with the -uninstallprogram switch. > **** > > ** ** > > I've used Set-CMDeploymentType in my environment to change a lot of > settings, but I was also changing the uninstall command line when I did > this, so I can't say for sure if it does or does not remove that. **** > > ** ** > > ** ** > > ** ** > > On Wed, May 22, 2013 at 8:41 AM, Todd Hemsell <[email protected]> wrote:** > ** > > How would one check and uncheck these boxes on ALL deployments (in > applications) **** > > **** > > I need to set them to **** > > Allow clients to share**** > > Allow fallaback**** > > Download and execute.**** > > **** > > [image: Inline image 1]**** > > ** ** > > ** ** > > ** ** > > ** ** > > ** ** > > 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.jpg>>

