O'Reilly logo

PowerShell and WMI by Foreword by Ed Wilson, Richard Siddaway

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 4. Best practices and optimization

 

This chapter covers
  • Finding code samples
  • Securing the PowerShell environment
  • PowerShell best practices
  • WMI best practices

 

We’ve had a good look at PowerShell and WMI in the last two chapters. In this chapter, we’ll start to examine how you can use them to solve your administrative problems. We’re not quite at the point of jumping into lots of scripts, though. That treat is reserved for part 2 of the book, which starts with the next chapter.

As the title suggests, this chapter is about best practices. There are a lot of views on what constitutes best practices, ranging from a loose collection of tips and tricks to a rigid set of commandments that should be followed to the letter. My approach ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required