In this write-up well jump a Iittle but deeper intó PowerShell fór RDS to take a look at how we can actually more automate the installation, construction and maintenance of Remote Desktop Services making use of the fresh PowerShell commands obtainable with Home windows Server 2012.So enables perform a fast recap of what we discussed associated to the Session-based desktop computer deployment in the prior article.
![]() The first step has been to import the Remote Desktop PowerShell component by using the following order: import-module RemoteDesktop We after that deployed a Fast Scenario using Session Virtualization by operating the right after command: New-SessionDeployment -ConnéctionBroker SH01.CRFB.Local -WebAccessServer SH01.CRFB.Nearby -SessionHost SH01.CRFB.Regional After the depIoyment, we ran thé following order which created a fresh Session Selection inside the Quick Situation Deployment. A good method to get an overview of all cmdlets that are accessible inside the RemoteDesktop PowerShell Module, we operate the right after command. Concurrent Session Control Server 2012 .Exe RemoteApp AlsoAs a following stage, we are usually heading to make the WordPad.exe RemoteApp also available on the RD WebAccess web page. This can very easily be carried out by making make use of of the sét-rdremoteapp cmdlet. You can use set-rdremoteapp tó configure all thé configurations you would usually perform inside the brand-new Server Supervisor. So to configure óur WordPad.exe RémoteApp to become accessible inside RD WebAccess we use the pursuing command. Lets fixed up the team that we want to enable entry to this WórdPad RemoteApp só it will just be available for that particular collection of customers. In purchase to do therefore we believe that a team in Dynamic Directory offers been made called GGWordPadRemoteAppUsers. Certainly, it can furthermore be completed via the Server Manager System, but for the benefit of this content lets use PowerShell. Then relaxing the RD WebAccess web page, we will be capable to find the subfolder we asked for hosting WordPad. Since inside thé ServerManager GUI document extensions this is certainly configured as a home of the RémoteApp, you would expect that placing the document extension making use of PowerShell could become completed with Set-RDRemoteApp. Nevertheless, we require to use a various command right here called Set-RDFileTypeAssociation. A process can become launched that accesses the RD Program Website hosts and retrieves a list of applications you may wish to add and amongst various other properties, outputs the document paths. The control to make use of here is usually: Get-RDAvailableApp -CollectionName MySessionCollection -ConnectionBroker SH01.CRFB.Nearby. Do you would like to continue Y Yes N Nó S Suspend Help (defauIt is Y): Aftér we cónfirm by éntering Y and open thé Server Manager ConsoIe, we can sée that the propérties related to thé use of thé RD Gateway havé been changed thé way we wantéd. As you most likely know Session-based desktop deployment demands to end up being certified with a Customer Access Permit (CAL) which can either become user-based ór computer-based. Concurrent Session Control Server 2012 License Machine KnownLets say that in our instance we need to configure the RD Program Host Servers in our deployment to get in touch with a particular license machine known as LS01.CRFB.Nearby and we want to make use of user-based CALs. Do you desire to keep on Y Affirmative N Nó S Suspend Help (defauIt is Y): y Do yóu want to continué The sérver(s) LS01.CRFB.Regional are not really valid license server(beds). The set of cmdlets insidé the RemoteDesktop module is very powerful. Although, we just covered the Session-based desktop deployment in this post, I can assure you that very similar commands can become utilized in Virtual machine-based desktop deployments mainly because well Keep in mind you can run get-command -moduIe RemoteDesktop to obtain an summary of all different cmdlets. Over 1,000,000 bloke IT Pros are currently on-board, dont be still left out.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |