cheatsheet-powershell
Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
cheatsheet-powershell [2025/10/25 18:06] – external edit 127.0.0.1cheatsheet-powershell [2025/10/26 19:52] (current) sjoerd
Line 605: Line 605:
 <code powershell> <code powershell>
 ((Invoke-AzRestMethod -Path "/subscriptions/$subId/resourcegroups?api-version=2020-06-01&`$expand=createdTime" -Method GET).Content | ConvertFrom-Json).value | Select-Object name,createdTime ((Invoke-AzRestMethod -Path "/subscriptions/$subId/resourcegroups?api-version=2020-06-01&`$expand=createdTime" -Method GET).Content | ConvertFrom-Json).value | Select-Object name,createdTime
 +</code>
 +
 +== PowerShell Commandlets ==
 +
 +> New-Guid
 +<code powershell>
 +# Create a new guid and expected output
 +New-Guid
 +
 +Guid
 +----
 +
 +2bc75dce-01e6-4f8b-ae06-3fc6c6657dac
 </code> </code>
  
cheatsheet-powershell.txt · Last modified: by sjoerd