Coder Social home page Coder Social logo

greens-avenue-ltd / powershellcookbook Goto Github PK

View Code? Open in Web Editor NEW

This project forked from doctordns/powershellcookbook

0.0 2.0 0.0 234 KB

Script library for Managing Windows Server 2016 With PowerShell Cookbook

License: MIT License

PowerShell 100.00%

powershellcookbook's Introduction

Managing Windows Server 2016 With PowerShell Cookbook

Introduction

This repository contains an updated and revised library of scripts to accompany Thomas Lee's Managing Windows Server 2016 with PowerShell Cookbook. See Amazon for more details of the book itself.

The book has 13 chapters and each chapter has a number of recipes. Each recipe is planned to be included in this repository. Read the book for more details on pre-requisites for each chapter.

The purpose of these scripts is two fold: First, these scripts are a companion for the book. Feel free to leverage the scripts - this repo makes it easier for you to avoid having to do a lot of retyping. Also, the scripts demonstrate techniques you can use and approaches to follow when you develop scripts. At the same time, there are some less than great practices which are employed to simplify the script. For example, storing things in the root folder of a server is probably not a great idea, but it's simpler than using a huge long path' If you use these scripts, please customise them for our own use.

Index

  • Chapter 1 - What's New in PowerShell and Windows Server 2016
  • Chapter 2 - Implementing Nano Server
  • Chapter 3 - Managing Windows Update
  • Chapter 4 - Managing Printers
  • Chapter 5 - Managing Windows Server Backup
  • Chapter 6 - Managing Performance
  • Chapter 7 - Troubleshooting Windows
  • Chapter 8 - Managing Windows Networking
  • Chapter 9 - Managing Network Shares
  • Chapter 10 - Managing Internet Information Server
  • Chapter 11 - Managing Hyper-V
  • Chapter 12 - Managing Azure
  • Chapter 13 - Using Desired State Configuration

Each chapter has a separate folder in this repository, and inside each chapter. Additionally, there is a Readme.MD file that describes the recipes in the chapter along with the PowerShell scripts making up each recipe.

Note

All recipes are 'as is' - if they work, that is great. But if not, oh well. Any damage you do by running these scripts is on you. If you do find issues with any script, please file an issue at GitHub.

Many of these scripts vary from what is published in the book. There are a couple of reasons for this. In the book, many of the scripts used the back tick character to create multi-line commands. Turns out that didn't work very well - they are hard to read. The line width in the book for scripts meant that, in publication, some scripts broke across lines. With that in mind, I've tried to fix these where I have found issues. Additionally, the scripts have been reformatted to fit inside a 72-character line width. To fit within that limit, I've made liberal use of hash tables and splatting.

Feedback

Any comments: email Thomas Lee at [email protected]

powershellcookbook's People

Contributors

doctordns avatar

Watchers

James Cloos avatar Brian Donnelly avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.