Cyber crime has risen to a level that our countries

This preview shows page 196 - 197 out of 242 pages.

physical separation from the Internet is a key requirement. Cyber-crime has risen to a level that our countries are developing national strategies to combat it. Companies operate isolated networks to protect their most critical or valuable resources from data exfiltration by Advanced Persistent Threats. Governments operate isolated networks for the purpose of protecting their nation’s secrets. Manufacturing or transportation systems may be isolated to ensure that neither intentional nor accidental connectivity risks human life or the financial well-being of a company. Then again, the reason for isolation may be as simple as protecting production networks from development networks. Regardless of the reason, disconnected networks exist and they continue down the path toward a private cloud. Organizations are realizing the benefits gained from simple data center automation to advanced IaaS. They are extending those gains through their environments, including their disconnected ones. If you are one of the lucky ones performing data center automation in a high-security, disconnected network, you have undoubtedly experienced the scenario where you need a Windows PowerShell example to help you along and there are none to be found—because you have no help files. Save-Help was introduced in Windows PowerShell 3.0. It downloads and saves the newest help files to a directory or path you specify. These help files can be copied to the isolated network and then be imported (Update-Help) to Windows PowerShell on the isolated systems. This was a fantastic way to keep the help files current, but it does have limitations. Fortunately, the Windows Management Framework 4 with Windows PowerShell 4.0 solves several of those. Previously, Save-Help worked only for modules that were installed locally. To obtain the help files you required, a common method involved building a reference
Image of page 196

Subscribe to view the full document.

Save-Help CHAPTER 10 185 machine where you loaded all of the software stacks on the machine so that you could export out all of the Windows PowerShell module’s help files. This was time consuming, wasted resources, and was frequently fraught with errors. With Windows PowerShell 4.0, you can now avoid all of that extra work effort. From a single machine, you can remotely connect to other systems that have those modules you are looking for loaded and download the help. There are three remote connectivity options: Invoke-Command, New-PSSession, and the new CimSession. The method utilizing Invoke-Command is very effective. Before you save the help files, you can utilize Invoke-Command to Update-Help, ensuring that you have the most current version. In the example that follows, the Windows PowerShell is executed from a workstation. The commands are invoked against the remote server CM2012SP1PRI. The files are then saved to a directory on the workstation. Here are the commands: Invoke-Command -ComputerName CM2012SP1PRI -ScriptBlock { Update-Help -Module ActiveDirectory -Force } $varModule = Invoke-Command -ComputerName CM2012SP1PRI -ScriptBlock { Get-Module -Name ActiveDirectory -ListAvailable }
Image of page 197
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