Random Thread - Anything Goes
-
@scottalanmiller Always associated PowerShell as the CLI for Windows. I ought to have been more specific.
-
@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.
-
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.
-
Try this...
systeminfo |find "Available Physical Memory"
-
@scottalanmiller said in Random Thread - Anything Goes:
Try this...
systeminfo |find "Available Physical Memory"
findstr /c:"stuff"
-
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.
-
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
-
@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!!!
-
@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
-
@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?
-
@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?
-
@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.
-
@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
-
@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
-
Happy 74th birthday to Malcom McDowell!
(looks like me binge watching on a weekend...) -
https://i.redd.it/e1js7n79sg3z.jpg
".. . and I didn't want to get shot"
-
-
Who the hell designs a building in the shape of a human..
-
-
@scottalanmiller said in Random Thread - Anything Goes:
Gives a new meaning to liar liar pants on fire.