UUP to ISO - Create Bootable ISO from Windows 10 Build Upgrade Files  

Page 8 of 136 FirstFirst ... 6789101858108 ... LastLast

  1. Posts : 56,825
    Multi-boot Windows 10/11 - RTM, RP, Beta, and Insider
       #70

    I'll just stick with Good Morning y'all! And if there's more than one of ya, Good Morning all y'all!

    :)
      My Computers


  2. Posts : 4,666
    Windows 10 Pro x64 21H1 Build 19043.1151 (Branch: Release Preview)
       #71

    Kari, did you mean something like this???

    UUP to ISO - Create Bootable ISO from Windows 10 Build Upgrade Files-ps_greeting.png
      My Computers


  3. Posts : 17,661
    Windows 10 Pro
    Thread Starter
       #72

    slicendice said:
    Kari, did you mean something like this???
    Nice!

    Here's my default PS script. Somewhat shorter but does the same:

    Code:
    $Hour = Get-Date -Format "HH:mm"
    $Now = Get-Date -Format "HH:mm (h:mm tt)"
    If ($Hour -lt "06:00")
        {Write-Host "It's quite late" $env:username". The time is "$Now}
    ElseIf ($Hour -lt "12:00")
        {Write-Host "Good morning" $env:username". The time is "$Now}
    ElseIf ($Hour -lt "18:00")
        {Write-Host "Good afternoon" $env:username". The time is "$Now}
    ElseIf ($Hour -ge "18:00")
        {Write-Host "Good evening" $env:username". The time is "$Now}
    Write-Host
    Set-Location $env:USERPROFILE
      My Computer


  4. Posts : 4,666
    Windows 10 Pro x64 21H1 Build 19043.1151 (Branch: Release Preview)
       #73

    Yeah, I don't like to do string comparisons, I'd rather work with objects until I need to spit something out to the console. Easy to make mistakes in code when having to use literal strings, no IDE can help check the type and correctness of the value then.

    I just realized I use "magic numbers", those are bad too, will move those to variables too.
      My Computers


  5. Posts : 17,661
    Windows 10 Pro
    Thread Starter
       #74

    I must be totally honest: I know these last posts have been way off topic. However, as no new builds have been released and it's quiet, I like this, tossing ideas around and keep conversation going on :)

    Have to go now, MRI scan at neurological clinic at Hospital of University of Leipzig awaiting...
      My Computer


  6. Posts : 2,667
    Windows 11 21H2 (22000.593)
       #75

    I don't mind, I am learning.

    And though I was born and raised in the US, my parents are from India, so I have a bit of training in speaking and reading Hindi. So, for those of you that are complaining about (er, making the case for the complicated nature of) their native tongue(s), I feel your pain.

    As for the greeting in PS, Kari, way back in the day there was a nice menu system made for DOS that involved a lot of escape sequences to keep things like the current date and time and other text you wanted at the top line of the screen, in addition to modifying the command prompt to show whatever you wanted. I am going to see if I can find that to give me a nice little starting point to take on your challenge for this PS getting....
      My Computers


  7. Posts : 4,666
    Windows 10 Pro x64 21H1 Build 19043.1151 (Branch: Release Preview)
       #76

    Here's a PowerShell challenge for you guys!

    Recreate this Sudoku game, I wrote in C# for console years back, using only PowerShell:

    UUP to ISO - Create Bootable ISO from Windows 10 Build Upgrade Files-sudoku001.pngUUP to ISO - Create Bootable ISO from Windows 10 Build Upgrade Files-sudoku002.png

    EDIT: As this is way off topic, Moderators feel free to move this post to a new topic in an appropriate location.
      My Computers


  8. Posts : 4,666
    Windows 10 Pro x64 21H1 Build 19043.1151 (Branch: Release Preview)
       #77

    I will challenge myself to rewrite this UUP thingie using PS. Making easy to import modules that the user just run from anywhere in the shell for conversion.
      My Computers


  9. Posts : 15,480
    Windows10
       #78

    hi
    slicendice said:
    Gyllenstierna is a Swedish name, not Finnish. Swedish and Finnish can't even be remotely compared. Try comparing Finnish to Hungarian or Turkish, you get much more similarities as they are sibling languages just like Swedish, Norwegian Danish, Dutch and Afrikaans are.
    I can assure you he was Finnish and his name was spelt pretty much like I said as I visited him at Neste Oy in Finland (been taken over now).
      My Computer


  10. Posts : 4,666
    Windows 10 Pro x64 21H1 Build 19043.1151 (Branch: Release Preview)
       #79

    I am Finnish too, but my surname is not Finnish ;-)
      My Computers


 

Tutorial Categories

UUP to ISO - Create Bootable ISO from Windows 10 Build Upgrade Files Tutorial Index Network & Sharing Instalation and Upgrade Browsers and Email General Tips Gaming Customization Apps and Features Virtualization BSOD System Security User Accounts Hardware and Drivers Updates and Activation Backup and Restore Performance and Maintenance Mixed Reality Phone


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

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




Windows 10 Forums