![]() -ApplicationSourcePath -> Sources of your applications.-DestinationFolder -> Path on your Deployment Share.SupportedPlatform -> The client platforms where the application can run.UninstallKey -> Method to uninstall the program.Dependency -> Application to be installed before the current one.Type: You have to use the MDT application GUID.The below script allows you to add an application to your Deployment Share.Name, Publisher, Version, Language, Comments, ShortName, DisplayName, Source, Commandline.Required fields are Name, ShortName, Source, CommandLine. ![]() When you click View Script, you will see the PowerShell commands below: Import-MDTApplication -path "DSAppManager:\Applications" -enable $true -reboot $false -hide $false -Name $Application_Complete_Name -ShortName $shortname -DisplayName $displayname -Comments $comments -Version $version -Publisher $publisher -Language $language -CommandLine $commandline -WorkingDirectory $Application_Working_Directory -ApplicationSourcePath $source -DestinationFolder $Application_Complete_Name -Verbose New-PSDrive -Name "DSAppManager" -PSProvider MDTProvider -Root $deploymentshare $module = "C:\Program Files\Microsoft Deployment Toolkit\bin\MicrosoftDeploymentToolkit.psd1" $Application_Working_Directory = ".\Applications\$Application_Complete_Name" $Application_Complete_Name = $Application_Complete_im() $Application_Complete_Name = "$publisher $name $version" Output when you run the script to add an application with sources Param
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |