Microsoft_Press_ebook_Introducing_Windows_Server_2012_R2_PDF.pdf

Before you use this cmdlet mount the windows image

This preview shows page 211 - 213 out of 242 pages.

Before you use this cmdlet, mount the Windows image file to import the layout into. Use the Export-StartLayout cmdlet to create a .bin file, and then use this cmdlet to import that file. You must have administrator rights to import a layout. The Export-StartLayout cmdlet also exports layouts as .xml files, but this cmdlet imports only .bin files. Here is an example: PS C:\> Import-StartLayout -LayoutPath "Layout.bin" -MountPath "E:\MountedImage" -WhatIf This command validates the layout file and the Windows image by using the WhatIf parameter. Besides that parameter, the command is the same as the previous example, but this command makes no changes. Get-StartApps The Get-StartApps cmdlet gets the names and AppIDs of apps in the Start screen of the current user. An AppID is an AppUserModelID. You can specify a particular app by using its name, or you can specify a name that includes the wildcard character (*). If you do not specify a name, the cmdlet displays all the apps from the Start screen. Here is an example: PS C:\> Get-StartApps Name AppID ---- ----- A. Datum Pro Center Datum.ProCenter Proseware Studio Proseware.Studio.5 A. Datum 2010 prog..tion_0000000000000000_ebec13db489e8ef9 Fabrikam Initializer Fabrikam.Initializer.1 A. Datum Connector Contoso.Datum.Connector Proseware Design Pro Proseware.Design.3 This command gets all the names and IDs of apps in the Start screen for the current user.
Image of page 211

Subscribe to view the full document.

200 CHAPTER 10 Windows PowerShell Windows Deployment Services cmdlets Windows Server 2012 R2 now has cmdlets you can use for managing Windows Deployment Services. This improvement will definitely help administrators who deploy Windows images using Windows Deployment Services. The cmdlets for this functionality are: Add-WdsDriverPackage Approve-WdsClient Copy-WdsInstallImage Deny-WdsClient Disable-WdsBootImage Disable-WdsDriverPackage Disable-WdsInstallImage Disconnect-WdsMulticastClient Enable-WdsBootImage Enable-WdsDriverPackage Enable-WdsInstallImage Export-WdsBootImage Export-WdsInstallImage Get-WdsBootImage Get-WdsClient Get-WdsDriverPackage Get-WdsInstallImage Get-WdsInstallImageGroup Get-WdsMulticastClient Import-WdsBootImage Import-WdsDriverPackage Import-WdsInstallImage New-WdsClient New-WdsInstallImageGroup Remove-WdsBootImage Remove-WdsClient Remove-WdsDriverPackage Remove-WdsInstallImage Remove-WdsInstallImageGroup Set-WdsBootImage Set-WdsClient
Image of page 212
Yet more new cmdlets CHAPTER 10 201 Set-WdsInstallImage Set-WdsInstallImageGroup You can use the Get-Help cmdlet on Windows Server 2012 R2 to display additional information about these new cmdlets.
Image of page 213
You've reached the end of this preview.
  • Spring '16

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern