Tag: Powershell-5.1
-
ChatGPT-AzureAI:Tail in Windows
To use this function, simply call it with the path to the file you want to tail and the number of lines you want to show: tail “C:\Path\To\File.txt” 10
-
100 count restrictions in PowerShell and PowerCLI
Now why do ya think this may be so, there, now, yet?
-
Remove that annoying top output line
HOWTO get that annoying top line off the output of PowerShell exports
-
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.