quick question regarding what i can do with powershell

Welcome Forums General PowerShell Q&A quick question regarding what i can do with powershell

This topic contains 5 replies, has 4 voices, and was last updated by

3 months, 2 weeks ago.

  • Author
  • #132072

    Points: 13
    Rank: Member

    Ok so I'm 100% new to powershell and I'm hoping to learn it slowly. My work is having me do checklists on site workstations that require you to remote in and check event logs and storage space etc.

    I was wondering if someone could point out which are possible to create a script for? Not looking for script itself but I would appreciate being pointed in the right direction so i can focus on learning how to automate things to cut down the time it takes to finish each checklist.


    • Event Log Check
    • RAID Controller Config
    • Server File Clean Up
    • To_Delete Folder Clean up
    • Available Server disk space
    • Disk fragmentation check
    • network interface card drive
    • network interface card settings
    • Throughput Test
    • Server DNS
    • Verify Successful Tape Backup
    • Time Sync Servers

    These are the main things on the checklist, like i said not looking for code done for me. But rather, i would appreciate if someone could tell me which of these are possible to script and make it a simple execute rather than tedious point and click.

  • #132086

    Points: 639
    Helping Hand
    Rank: Major Contributor

    All of those items and much more is possible with Powershell. If you are new, you should really start with a book like Month of Lunches. It will guide you through the core concepts and additionally touch on many of the topics you listed above. When you start playing with the code and don't understand something, stop by and ask the community. Also keep in mind, Powershell has been leveraged for years in enterprises, so quick searches (e.g. powershell test network throughput produced 238k results) will provide many scripts to work with as examples.

    • #132110

      Points: 13
      Rank: Member

      now i need to check all these things one by one on different servers. I remote into each one and check. Is it possible for powershell to doo all that for me granted i provide credentials and address? Or would i create script remote in execute than remote into the next and execute

  • #132129

    Points: 1,317
    Helping Hand
    Rank: Community Hero

    Yes, just use a ForLoop and PSRemoting to hit the host you are after.
    This is a very basic PS use case, and covered in the PS docs, on MS Docs site, and tons of other blogs, tech articles all over the web.
    There are pre-built scripts on the MS powershellgallery.com and many other places that provide most this already.

    Just do a search for each of your points …

    'powershell Event Log Check'
    'powershell RAID Controller Config'
    'powershell Server File Clean Up'
    'powershell To_Delete Folder Clean up'
    'powershell Available Server disk space'
    'powershell Disk fragmentation check'
    'powershell network interface card drive'
    'powershell network interface card settings'
    'powershell Throughput Test'
    'powershell Server DNS'
    'powershell Verify Successful Tape Backup'
    'powershell Time Sync Servers'

    ... one at a time, validate each one at a time then put it all together.

    Read the help files, use the help file examples, read the help files again.

    Event Log Queries Using PowerShell

    10 Examples to Check Event Log on Local and Remote Computer Using PowerShell

    Your query just seems to say you are new to PS, so, leverage all the no cost video and book, etc, resources to get ramped up.
    Here are a few:

    — Microsoft Virtual Academy —
    'https://mva.microsoft.com/liveevents/powershell-jumpstart '

    — Microsoft Channe9 —

    — Youtube —

    — eBooks —

    — Windows PowerShell Survival Guide —
    Purpose of this Document
    The purpose of this document is to help you to learn more about PowerShell and
    to be successful in applying it. This document seeks to point to the best content
    on the web to enable you to reach that goal.


    • #132173

      Points: 411
      Helping Hand
      Rank: Contributor

      Really great stuff to kick-start with PowerShell. Thank you.

  • #132227

    Points: 1,317
    Helping Hand
    Rank: Community Hero

    No worries. Just stuff I keep around and pass on.
    I've personally used all of these.

    I have way more. I've maintained a pretty large physical and electronic library of stuff since before PowerShell was called PowerShell, aka Monad.

    Well, that and because I've been doing this computer stuff since the mid 1970's, I've been collecting, learning and using all I can leverage since then. Well, that and I do teach this stuff and more.

    Monad Manifesto

    Monad Manifesto

    Video: https://channel9.msdn.com/Blogs/TheChannel9Team/Jeffrey-Snover-Monad-demonstrated

The topic ‘quick question regarding what i can do with powershell’ is closed to new replies.

denizli escort samsun escort muğla escort ataşehir escort kuşadası escort