Tag: Powershell-5.1
-

PowerShell: Make a list of every account that connected to a server in the last 30 days
Gets every connection made, but only the last one, in the last 30 days
-

Install Any Command Easily in PowerShell
That’s how you would install ANY module for a command you need. Now TELL me that’s not convenient!
-

Our Azure Resource Group, Tenant, and Subscription Questions to ChatGPT.org
Azure RGs, Subscriptions and Tenants can get confusing; This Q&A my son Ryan and I asked ChaGPT.org, during our AZ-104 training, should help.. Can an Azure Subscription be accessible by multiple tenants? And why?In Azure, can there be multiple subscriptions in a tenant? Can users access multiple subscriptions? How?
-

4sysops.com: how to change the PowerShell prompt (Mirror)
-

Log4J scanning fails to create csv file
invoke-command -scriptblock {powershell -File “D:\batch\Fix-4Log4J.ps1”} -computer $Server -AsJob -JobName “Scan4Log4J” -Verbose -EA SilentlyContinueWhen I run this script locally, with enter-pssession the script works just fine but NO CSV & D:\batch\Fix-4Log4J.ps1Yet every time I try to invoke, directly or with SAPS it fails to create file When I run this script locally, with enter-pssession the script…
-

Get-AdComputer is not showing originating server
When I run an AD enumeration script, the Server I am running FROM never shows in the list…
-

Why is the Interactive PowerShell 5.1 So Limited?
I have discovered that the interactive powershell in version 5.1 is badly limited.
