https://github.com/evotecit/powershellrunfromcsharp
This is demo project for testing things out as I need and when I need. Nothing to see here :-)
https://github.com/evotecit/powershellrunfromcsharp
csharp demo powershell
Last synced: 4 months ago
JSON representation
This is demo project for testing things out as I need and when I need. Nothing to see here :-)
- Host: GitHub
- URL: https://github.com/evotecit/powershellrunfromcsharp
- Owner: EvotecIT
- Created: 2024-08-18T09:24:20.000Z (11 months ago)
- Default Branch: master
- Last Pushed: 2024-11-17T13:08:31.000Z (8 months ago)
- Last Synced: 2025-03-09T02:22:54.590Z (4 months ago)
- Topics: csharp, demo, powershell
- Language: C#
- Homepage:
- Size: 22.5 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.MD
Awesome Lists containing this project
README
```powershell
$MyData = Get-Disk
@{
MyData = $MyData
MyData2 = $MyData | Where-Object { $_ }
MyData3 = $MyData | Where-Object { $_.OperationalStatus -eq 'Online' }
MyData4 = $MyData | Where-Object { $_.OperationalStatus -eq 'Offline' }
}
```