Filter
Exclude
Time range
-
Near
#PowerShell New-Variable Cmdlet [With Examples] powershellfaqs.com/powershel…

3
🔍 MITRE Technique Spotlight: T1543.003 — Windows Service Persistence Adversaries install malicious Windows services to execute payloads at system startup with SYSTEM-level privileges. This technique provides both persistence and privilege escalation in a single move. Services are registered in HKLM\SYSTEM\CurrentControlSet\Services and execute automatically during boot or on-demand. Attackers use sc.exe or PowerShell's New-Service cmdlet to create entries that blend with legitimate system services. Detection relies on monitoring Event ID 7045 (System log) for new service installations and Sysmon Event ID 13 for registry modifications under the Services key. Hunt for services with binary paths pointing to temp directories, user profiles, or suspicious locations like C:\ProgramData or C:\Windows\Temp. Key hunting queries: • Services with ImagePath containing .exe files in \Users\ or \Temp\ • Services created outside maintenance windows • ServiceDll values pointing to unsigned or non-standard paths • Services with SYSTEM privileges but low prevalence across your environment Log sources needed: Windows System event logs, Sysmon (registry and process creation), EDR telemetry for service enumeration. This technique remains a staple in ransomware deployment and APT toolkits because it's reliable, well-documented, and often overlooked in baseline configurations. #MITREATTACK #ThreatIntel
8
How to Use #PowerShell Import-Csv Cmdlet powershellfaqs.com/powershel…

2
Filter Empty Values Using #PowerShell Where-Object Cmdlet powershellfaqs.com/powershel…

1
2/5 The rule detects local user creation in PowerShell. It looks for one string: New-LocalUser That's the cmdlet everyone uses. But attackers don't pick what's convenient. They pick what's quiet.
1
1
33
Thorsten E. retweeted
10/10 for @CarlWebster 2/10 for @Citrix (anyone know any other vendor that has "cloned" a long established PS cmdlet & not made it backwards compatible because I don't ?)
Beta 2 for the V4 Citrix Virtual Apps and Desktop documentation script is now available. After 12 hours of work with the help of @guyrleech, I fixed all the bugs I could find. If @citrix expected the change from Get-BrokerMachine to Get-BrokerMachineV2 to be a "simple drop-in" change, they are sadly mistaken. The changes to Get-BrokerMachineV2 will break every script that uses Get-BrokerMachine. @shawnbass github.com/CarlWebster/Citri…
1
3
640
Is there anyone who works with Citrix and PowerShell who can help me with a breaking issue this weekend? Citrix is deprecating Get-BrokerMachine and asked me to switch my script to Get-BrokerMachineV2. The problem is that the V2 cmdlet returns very few properties. If I use Get-BrokerMachineV2 -catalogname “name” -Property *, I receive an error. How do I tell -Property to return all properties? developer-docs.citrix.com/en… This cmdlet change broke the parts of the doc script that used Get-BrokerMachine. I am creating a V4 CVAD doc script to implement this change (Beta 2 with this breaking change is not yet uploaded to GitHub) github.com/CarlWebster/Citri… Yes, I already emailed the master @guyrleech

3
2
6
1,992
...and voila! Here's a fully functional PSU app, entirely vibe coded, with no hallucination of cmdlet names and parameters because of the PSU MCP that exposes Get-Help to the AI agent 💪
1
4
154
The idea of using ALC the way Import-IsolatedModule does it is nice, but it would be super nice if they actually fixed those modules instead of us having to rewrite it for them, because that's what that cmdlet does pretty much fixing the import process.
2
3
75
Replying to @ruadams
Microsoft has never, ever prioritised security within their cloud platforms. I’ve done 100s of security reviews over the years and the majority of customers are rocking default configs. Nice one for the cmdlet
2
322
Replying to @elonmusk
This is what im getting "bash : The term 'bash' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. At line:1 char:42 curl -fsSL x.ai/cli/install.sh | bash ~~~~ CategoryInfo : ObjectNotFound: (bash:String) [], CommandNotFoundException FullyQualifiedErrorId : CommandNotFoundException "

2
2
302
Replying to @elonmusk
this no workee say "is not recognized as the name of a cmdlet, function, script file, or operable program"
1
3
124
Replying to @elonmusk
@grok im getting the following mistake bash : The term 'bash' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. At line:1 char:42 curl -fsSL x.ai/cli/install.sh | bash ~~~~ CategoryInfo : ObjectNotFound: (bash:String) [], CommandNotFoundException

4
1
9
904
(゜-゜)Grok bild動かね。 @grok PS C:\Windows\System32> cd \ PS C:\> PS C:\> PS C:\> grok grok: The term 'grok' is not recognized as a name of a cmdlet, function, script file, or executable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. [Windows Package Manager - WinGet] Try installing this package using winget: > winget install --id Ngrok.Ngrok PS C:\> winget install --id Ngrok.Ngrok 見つかりました Ngrok [Ngrok.Ngrok] バージョン 3.3.1 このアプリケーションは所有者からライセンス供与されます。 Microsoft はサードパーティのパッケージに対して責任を負わず、ライセンスも付与しません。 ダウンロード中 bin.equinox.io/a/cJk8dzafvmN… ██████████████████████████████ 8.62 MB / 8.62 MB インストーラーハッシュが正常に検証されました アーカイブを展開しています... アーカイブが正常に展開されました パッケージのインストールを開始しています... コマンド ライン エイリアスが追加されました: "ngrok" パス環境変数が変更されました; 新しい値を使用するにはシェルを再起動してください。 インストールが完了しました PS C:\>

1
1
7
545
After a few days of Windows crashing with a blue screen, we discovered that the problem was the New-Item cmdlet with the -Force parameter. This wiped out the entire registry key related to Windows power settings and caused a blue screen of death. IA made this meme for us ;-)
4
1
16
1,911
PowerShell doesn’t really care, at least when it comes to parameters. However, in the cmdlet itself, an em dash isn’t allowed.
Replying to @machaia6386
If you're on windows 11, pressing WIN SHIFT Minus will type an em dash
7
3,376
command vs cmdlet string vs object powershell still understands cmd commands
2
101