forked from dsccommunity/RemoteDesktopServicesDsc
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path1-CreateRemoteApp.ps1
More file actions
26 lines (23 loc) · 906 Bytes
/
1-CreateRemoteApp.ps1
File metadata and controls
26 lines (23 loc) · 906 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
<#
.DESCRIPTION
This example shows how to ensure deploy PowerShell as a RemoteApp.
#>
configuration Example
{
Import-DscResource -ModuleName 'RemoteDesktopServicesDsc'
node localhost {
RDRemoteApp 'Notepad' {
Alias = 'PowerShell without Profile'
CollectionName = 'BD_Python_Apps'
CommandLineSetting = 'Require'
DisplayName = 'PowerShell'
FilePath = 'C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe'
FolderName = ''
IconPath = 'C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe'
RequiredCommandLine = '-noprofile'
ShowInWebAccess = $True
UserGroups = ''
FileVirtualPath = 'C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe'
}
}
}