ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Random Thread - Anything Goes

    Water Closet
    time waster cat pics
    141
    21.5k
    9.6m
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • EddieJenningsE
      EddieJennings @NerdyDad
      last edited by

      @NerdyDad Other than whatever comes by default, the only module I've imported was the one for Windows updates (which I need to do again, so it persists).

      1 Reply Last reply Reply Quote 0
      • scottalanmillerS
        scottalanmiller @dafyre
        last edited by

        @dafyre said in Random Thread - Anything Goes:

        @scottalanmiller said in Random Thread - Anything Goes:

        Free with PS...

        PowerShell 
        Copyright (C) Microsoft Corporation. All rights reserved.
        
        PS /srv/salt> free -h                                                                                                                                                                                              
                      total        used        free      shared  buff/cache   available
        Mem:           7.1G        3.6G        820M        511M        2.6G        2.6G
        Swap:          7.2G        264K        7.2G
        

        This looks like it is running in PowerShell on Linux.

        Yeah. He didn't say anything about windows, only PowerShell. And PS launches the free utility just great.

        EddieJenningsE 1 Reply Last reply Reply Quote 0
        • EddieJenningsE
          EddieJennings @scottalanmiller
          last edited by EddieJennings

          @scottalanmiller Always associated PowerShell as the CLI for Windows. I ought to have been more specific.

          scottalanmillerS 1 Reply Last reply Reply Quote 0
          • scottalanmillerS
            scottalanmiller @EddieJennings
            last edited by

            @EddieJennings said in Random Thread - Anything Goes:

            @scottalanmiller Always associated PowerShell as the CLI for Windows. I ought to have been more specific.

            It's also that you said why doesn't PS have free, not why doesn't Windows have free. Free is an application, not part of any shell. It's not part of BASH or PS, it's just an application that either can call equally.

            1 Reply Last reply Reply Quote 0
            • scottalanmillerS
              scottalanmiller
              last edited by

              If free was installed on Windows, PowerShell would have it the same as BASH or ZSH or whatever do on Linux. If you push BASH on Windows, it would lack the free command as well.

              1 Reply Last reply Reply Quote 1
              • scottalanmillerS
                scottalanmiller
                last edited by

                Try this...

                systeminfo |find "Available Physical Memory"
                
                GreyG 1 Reply Last reply Reply Quote 1
                • GreyG
                  Grey @scottalanmiller
                  last edited by

                  @scottalanmiller said in Random Thread - Anything Goes:

                  Try this...

                  systeminfo |find "Available Physical Memory"
                  

                  findstr /c:"stuff"

                  1 Reply Last reply Reply Quote 0
                  • wirestyle22W
                    wirestyle22
                    last edited by

                    A vendor made it all the way down to us to meet with our managers because he used the buzzword "cyber security" and cityhall thought we should listen to what he had to say. He was a shitty salesguy that couldn't answer basic questions.

                    DashrenderD DustinB3403D 2 Replies Last reply Reply Quote 1
                    • dafyreD
                      dafyre
                      last edited by

                      Straight PowerShell there if you're interested. Probably another 10k easier ways to do it, but this works.

                      #Free
                      
                      $freemem=get-wmiobject -class Win32_OperatingSystem
                      
                       $objFree=[pscustomobject]@{
                         totalMemory="$([math]::round($freemem.TotalVisibleMemorySize/1024,2)) MB"
                         usedMemory = "$([math]::round(($freemem.TotalVisibleMemorySize - $freemem.FreePhysicalMemory)/1024,2)) MB"
                         freeMemory="$([math]::round($freemem.FreePhysicalMemory/1024,2)) MB"
                         #freeVirtMem ="$([math]::round($freemem.freevirtualmemory/1024,2)) MB"
                         totalSwap = "$([math]::round($freemem.SizeStoredInPagingFiles/1024,2)) MB"
                         usedSwap = "$([math]::round(($freemem.SizeStoredInPagingFiles - $freemem.FreeSpaceInPagingFiles)/1024,2)) MB"
                         freeSwap = "$([math]::round($freemem.FreeSpaceInPagingFiles/1024,2)) MB"
                         
                      
                      }
                      
                      
                       $objFree|ft -auto
                      

                      Outputs a table like so:

                      totalMemory usedMemory  freeMemory totalSwap  usedSwap   freeSwap  
                      ----------- ----------  ---------- ---------  --------   --------  
                      20477.57 MB 19544.93 MB 932.63 MB  7450.47 MB 2237.02 MB 5213.45 MB
                      
                      1 Reply Last reply Reply Quote 2
                      • DashrenderD
                        Dashrender @wirestyle22
                        last edited by

                        @wirestyle22 said in Random Thread - Anything Goes:

                        A vendor made it all the way down to us to meet with our managers because he used the buzzword "cyber security" and cityhall thought we should listen to what he had to say. He was a shitty salesguy that couldn't answer basic questions.

                        Remind me why your company has a contract? - WOW - Just wow!!!

                        wirestyle22W DashrenderD 2 Replies Last reply Reply Quote 1
                        • wirestyle22W
                          wirestyle22 @Dashrender
                          last edited by

                          @Dashrender said in Random Thread - Anything Goes:

                          @wirestyle22 said in Random Thread - Anything Goes:

                          A vendor made it all the way down to us to meet with our managers because he used the buzzword "cyber security" and cityhall thought we should listen to what he had to say. He was a shitty salesguy that couldn't answer basic questions.

                          Remind me why your company has a contract? - WOW - Just wow!!!

                          Couldn't tell you

                          1 Reply Last reply Reply Quote 0
                          • DashrenderD
                            Dashrender @Dashrender
                            last edited by

                            @Dashrender said in Random Thread - Anything Goes:

                            @wirestyle22 said in Random Thread - Anything Goes:

                            A vendor made it all the way down to us to meet with our managers because he used the buzzword "cyber security" and cityhall thought we should listen to what he had to say. He was a shitty salesguy that couldn't answer basic questions.

                            Remind me why your company has a contract? - WOW - Just wow!!!

                            FYI, this is not a knock on his company (or really, his company's contracting company) - it's on the city who has chosen to outsource their IT to the company that hired Wire's company. But if you are outsourcing all this stuff, why are you talking to ANYONE besides your outsource provider?

                            scottalanmillerS 1 Reply Last reply Reply Quote 0
                            • DustinB3403D
                              DustinB3403 @wirestyle22
                              last edited by

                              @wirestyle22 said in Random Thread - Anything Goes:

                              A vendor made it all the way down to us to meet with our managers because he used the buzzword "cyber security" and cityhall thought we should listen to what he had to say. He was a shitty salesguy that couldn't answer basic questions.

                              So did you call him for the BS in front of the managers?

                              1 Reply Last reply Reply Quote 0
                              • scottalanmillerS
                                scottalanmiller @Dashrender
                                last edited by

                                @Dashrender said in Random Thread - Anything Goes:

                                @Dashrender said in Random Thread - Anything Goes:

                                @wirestyle22 said in Random Thread - Anything Goes:

                                A vendor made it all the way down to us to meet with our managers because he used the buzzword "cyber security" and cityhall thought we should listen to what he had to say. He was a shitty salesguy that couldn't answer basic questions.

                                Remind me why your company has a contract? - WOW - Just wow!!!

                                FYI, this is not a knock on his company (or really, his company's contracting company) - it's on the city who has chosen to outsource their IT to the company that hired Wire's company. But if you are outsourcing all this stuff, why are you talking to ANYONE besides your outsource provider?

                                Because they have loads of outsourcers, probably.

                                DashrenderD 1 Reply Last reply Reply Quote 0
                                • DashrenderD
                                  Dashrender @scottalanmiller
                                  last edited by

                                  @scottalanmiller said in Random Thread - Anything Goes:

                                  @Dashrender said in Random Thread - Anything Goes:

                                  @Dashrender said in Random Thread - Anything Goes:

                                  @wirestyle22 said in Random Thread - Anything Goes:

                                  A vendor made it all the way down to us to meet with our managers because he used the buzzword "cyber security" and cityhall thought we should listen to what he had to say. He was a shitty salesguy that couldn't answer basic questions.

                                  Remind me why your company has a contract? - WOW - Just wow!!!

                                  FYI, this is not a knock on his company (or really, his company's contracting company) - it's on the city who has chosen to outsource their IT to the company that hired Wire's company. But if you are outsourcing all this stuff, why are you talking to ANYONE besides your outsource provider?

                                  Because they have loads of outsourcers, probably.

                                  you mean like the person who probably manages them is an outsourced person 😛

                                  scottalanmillerS 1 Reply Last reply Reply Quote 0
                                  • scottalanmillerS
                                    scottalanmiller @Dashrender
                                    last edited by

                                    @Dashrender said in Random Thread - Anything Goes:

                                    @scottalanmiller said in Random Thread - Anything Goes:

                                    @Dashrender said in Random Thread - Anything Goes:

                                    @Dashrender said in Random Thread - Anything Goes:

                                    @wirestyle22 said in Random Thread - Anything Goes:

                                    A vendor made it all the way down to us to meet with our managers because he used the buzzword "cyber security" and cityhall thought we should listen to what he had to say. He was a shitty salesguy that couldn't answer basic questions.

                                    Remind me why your company has a contract? - WOW - Just wow!!!

                                    FYI, this is not a knock on his company (or really, his company's contracting company) - it's on the city who has chosen to outsource their IT to the company that hired Wire's company. But if you are outsourcing all this stuff, why are you talking to ANYONE besides your outsource provider?

                                    Because they have loads of outsourcers, probably.

                                    you mean like the person who probably manages them is an outsourced person 😛

                                    That's probably true, but not what I meant 🙂

                                    1 Reply Last reply Reply Quote 0
                                    • RojoLocoR
                                      RojoLoco
                                      last edited by

                                      Happy 74th birthday to Malcom McDowell!
                                      0_1497388824845_clockwork24.jpg
                                      (looks like me binge watching on a weekend...)

                                      1 Reply Last reply Reply Quote 0
                                      • DustinB3403D
                                        DustinB3403
                                        last edited by

                                        https://i.redd.it/e1js7n79sg3z.jpg

                                        ".. . and I didn't want to get shot"

                                        1 Reply Last reply Reply Quote 2
                                        • DustinB3403D
                                          DustinB3403
                                          last edited by

                                          This is when dash cams are worth the money.

                                          https://i.redd.it/0zf55tt05h3z.gif

                                          But damn. . .

                                          1 Reply Last reply Reply Quote 2
                                          • DustinB3403D
                                            DustinB3403
                                            last edited by DustinB3403

                                            Who the hell designs a building in the shape of a human..

                                            0_1497395147414_chrome_2017-06-13_19-04-23.png

                                            Source link to Google Earth

                                            coliverC 1 Reply Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 1039
                                            • 1040
                                            • 1041
                                            • 1042
                                            • 1043
                                            • 1077
                                            • 1078
                                            • 1041 / 1078
                                            • First post
                                              Last post