control system manager errors

Page 2 of 3 FirstFirst 123 LastLast

  1. Posts : 10,200
    MS Windows 7 Ultimate SP1 64-bit
       #11

    Rocky,
    You did everything correctly.

    Somewhere I slipped in a mistake into the version you downloaded.

    The statement at the end:
    $obj > $env:\userprofile\desktop\restorepoints.txt is WRONG.

    Remove that backslash between $env: and userprofile.
    That line should be:
    $obj > $env:userprofile\desktop\restorepoints.txt

    Very sorry about that.

    karl
      My Computer


  2. Posts : 6,285
    Windows 10 Pro X64
       #12

    That worked. Hopefully Rocky can do that as well (This is Ztruker - I reported the error).
      My Computer


  3. Posts : 10,200
    MS Windows 7 Ultimate SP1 64-bit
       #13

    Rich,
    Thanks. I also have a much shorter script (a one-liner) that I'll be using in the future.
    karl
      My Computer


  4. Posts : 6,285
    Windows 10 Pro X64
       #14

    I wish I had the patience to learn Power Script? It is amazing what you can do with it.

    Do you know of any online courses available? Something I would pay for and therefore (because I'm thrifty ) would actually apply myself to doing the course?
      My Computer


  5. Posts : 10,200
    MS Windows 7 Ultimate SP1 64-bit
       #15

    Ztrucker,

    I have had to google almost everything.

    The lanaguage has "evolved", consequently, I recommend ignoring anything more than a year old. This situation will worse when PowerShell III iis unleashed in its 'final' version.

    I'm just in my infancy in learing PowerShell. The language and, especially, the tools to help you write scripts have a long, long ways to go compared to C++ or VBasic.

    I'm busy trying to get some answers out of the way, after which, I'll search thru my links,etc. which I've used.

    Some of the syntactical rules are different from some ingrained programming habits of mine.

    PowerShell

    2012 scripting games study guide Resource for Learning PowerShell
    extract text from string
    formatting dates and times
    Get-Event help
    How can I check my event logs
    parse tab-delimited powershell guy
    pathmethods
    PowerShell - Launch parameters
    powershell 31 days
    PowerShell Cookbook
    PowerShell extract substirng
    Powershell Forum
    Powershell Forum Tobias Weltner
    Powershell HomePage
    PowerShell manual
    Powershellcommunity
    Powershellpro Tutorial 1
    Processing Event Logs in PowerShell - Windows PowerShell Blog - Site Home - MSDN Blogs
    ProcessStartInfo RedirectStandardInput
    PS - custom object
    ps in action
    redirectinginput with powershell
    Rosettacode
    run powershell from command line
    Scripting WinDbg with PowerShell invoke
    start-process syntax examples
    Three Things You Might Not Know About PowerShell Functions
    Using SendKeys within PowerShell
    Windows PowerShell Core
    windows powershell wikipedia
      My Computer


  6. Posts : 25,847
    Windows 10 Pro. 64/ version 1709 Windows 7 Pro/64
       #16

    karlsnooks said:
    Rich,
    Thanks. I also have a much shorter script (a one-liner) that I'll be using in the future.
    karl
    I want a one liner.
      My Computer


  7. Posts : 10,200
    MS Windows 7 Ultimate SP1 64-bit
       #17

    here it is:
    get-computerrestorepoint |sort -descending sequencenumber > $env:userprofile\desktop\RestorePoints.TXT
      My Computer


  8. Posts : 6,285
    Windows 10 Pro X64
       #18

    Thanks for the links. I've not done any serious programming in 10 years or more other than Web Site stuff (HTML/CSS/Javascript, PHP, MySQL). I can hardly spell C++ any more.
      My Computer


  9. Posts : 10,200
    MS Windows 7 Ultimate SP1 64-bit
       #19

    Rich,
    Since I subscribed to the RSS feeds from a couple of these guys, then I've not visit their websites per se as of late, but, names I can recommend are:
    Don Jones, this is his rss feed:
    <![CDATA[Latest Content by Don Jones]]>

    Dreaming in PowerShell
    Dreaming in PowerShell

    Get-PowerShellBlog
    Dreaming in PowerShell

    Hey, Scripting Guy! blog
    Hey, Scripting Guy! Blog

    James O'Neill's blog
    James O'Neill's Blog

    JB's PowerShell
    http://mspowershell.blogspot.com/rss.xml

    Master PowerShell with Dr.Tobias Weitner
    Powershell.com

    Po$hPete
    Po$H Pete | Those who can... $cript

    Power Tips
    Powershell.com

    Powershell.com
    Powershell.com

    The Lonely Administrator
    The Lonely Administrator

    The Power Shell Guy
    The PowerShell Guy

    Tim Sneath
    Tim Sneath

    Under the Stairs
    http://tfl09.blogspot.com/feeds/posts/default?alt=rss

    Use Power Shell
    Use PowerShell

    Windows PowerShell Blog
    Windows PowerShell Blog
      My Computer


  10. Posts : 6,285
    Windows 10 Pro X64
       #20

    I'm getting started. Also found these 5 tutorials on PowerShell: Scripting with Windows PowerShell

    The first one is a good start on what PowerShell is and how to use it command line without thinking about scripting (yet). I learned that Get-Help is your friend!!!
      My Computer


 
Page 2 of 3 FirstFirst 123 LastLast

  Related Discussions
Our Sites
Site Links
About Us
Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 13:53.
Find Us