IT Command Library
Search copy-ready commands, practical examples, requirements, permissions, common errors, and production warnings across the platforms IT teams use every day.
Microsoft Cmdlet Changes
Approved deprecations, removals, breaking changes, replacements, and migration guidance are shown without replacing the existing command catalog.
Active Directory
List Active Directory users and selected properties.
Get-ADUser -Filter * -Properties mail,Enabled
Create an Active Directory user.
New-ADUser -Name "Jane Smith" -SamAccountName jsmith -Enabled $true
Update Active Directory user attributes.
Set-ADUser jsmith -Department "IT"
Disable an Active Directory account.
Disable-ADAccount jsmith
Enable an Active Directory account.
Enable-ADAccount jsmith
Unlock a locked Active Directory account.
Unlock-ADAccount jsmith
Find locked, disabled, inactive, or expired accounts.
Search-ADAccount -LockedOut
List Active Directory groups.
Get-ADGroup -Filter *
List members of an Active Directory group.
Get-ADGroupMember "Domain Admins"
Add an account to an Active Directory group.
Add-ADGroupMember "Help Desk" -Members jsmith
Remove an account from an Active Directory group.
Remove-ADGroupMember "Help Desk" -Members jsmith -Confirm:$false
List Active Directory computer objects.
Get-ADComputer -Filter * -Properties OperatingSystem
List Active Directory organizational units.
Get-ADOrganizationalUnit -Filter *
Move an Active Directory object to another OU.
Move-ADObject -Identity $dn -TargetPath "OU=Workstations,DC=contoso,DC=com"
Display Active Directory domain information.
Get-ADDomain
Display Active Directory forest information.
Get-ADForest
List domain controllers.
Get-ADDomainController -Filter *
Display Active Directory replication failures.
Get-ADReplicationFailure -Target * -Scope Forest
Display the default domain password policy.
Get-ADDefaultDomainPasswordPolicy
Reset an Active Directory password.
Set-ADAccountPassword jsmith -Reset -NewPassword (Read-Host -AsSecureString)
Use Get-ADUser for a standard administrative task.
Get-ADUser -Filter * -Properties mail,Enabled
Use New-ADUser for a standard administrative task.
New-ADUser -Name "Jane Smith" -SamAccountName jsmith -Enabled $true
Use Set-ADUser for a standard administrative task.
Set-ADUser jsmith -Department "IT"
Use Disable-ADAccount for a standard administrative task.
Disable-ADAccount jsmith
Use Enable-ADAccount for a standard administrative task.
Enable-ADAccount jsmith
Use Unlock-ADAccount for a standard administrative task.
Unlock-ADAccount jsmith
Use Search-ADAccount for a standard administrative task.
Search-ADAccount -LockedOut
Use Get-ADGroup for a standard administrative task.
Get-ADGroup -Filter *
Use Get-ADGroupMember for a standard administrative task.
Get-ADGroupMember "Domain Admins"
Use Add-ADGroupMember for a standard administrative task.
Add-ADGroupMember "Help Desk" -Members jsmith
Use Remove-ADGroupMember for a standard administrative task.
Remove-ADGroupMember "Help Desk" -Members jsmith -Confirm:$false
Use Get-ADComputer for a standard administrative task.
Get-ADComputer -Filter * -Properties OperatingSystem
Use Get-ADOrganizationalUnit for a standard administrative task.
Get-ADOrganizationalUnit -Filter *
Use Move-ADObject for a standard administrative task.
Move-ADObject -Identity $dn -TargetPath "OU=Workstations,DC=contoso,DC=com"
Use Get-ADDomain for a standard administrative task.
Get-ADDomain
Use Get-ADForest for a standard administrative task.
Get-ADForest
Use Get-ADDomainController for a standard administrative task.
Get-ADDomainController -Filter *
Use Get-ADReplicationFailure for a standard administrative task.
Get-ADReplicationFailure -Target * -Scope Forest
Use Get-ADDefaultDomainPasswordPolicy for a standard administrative task.
Get-ADDefaultDomainPasswordPolicy
Use Set-ADAccountPassword for a standard administrative task.
Set-ADAccountPassword jsmith -Reset -NewPassword (Read-Host -AsSecureString)
Export the output of Get-ADUser for documentation or review.
Get-ADUser -Filter * -Properties mail,Enabled | Export-Csv .\output.csv -NoTypeInformation
Export the output of New-ADUser for documentation or review.
New-ADUser -Name "Jane Smith" -SamAccountName jsmith -Enabled $true | Export-Csv .\output.csv -NoTypeInformation
Export the output of Set-ADUser for documentation or review.
Set-ADUser jsmith -Department "IT" | Export-Csv .\output.csv -NoTypeInformation
Export the output of Disable-ADAccount for documentation or review.
Disable-ADAccount jsmith | Export-Csv .\output.csv -NoTypeInformation
Export the output of Enable-ADAccount for documentation or review.
Enable-ADAccount jsmith | Export-Csv .\output.csv -NoTypeInformation
Export the output of Unlock-ADAccount for documentation or review.
Unlock-ADAccount jsmith | Export-Csv .\output.csv -NoTypeInformation
Export the output of Search-ADAccount for documentation or review.
Search-ADAccount -LockedOut | Export-Csv .\output.csv -NoTypeInformation
Export the output of Get-ADGroup for documentation or review.
Get-ADGroup -Filter * | Export-Csv .\output.csv -NoTypeInformation
Export the output of Get-ADGroupMember for documentation or review.
Get-ADGroupMember "Domain Admins" | Export-Csv .\output.csv -NoTypeInformation
Export the output of Add-ADGroupMember for documentation or review.
Add-ADGroupMember "Help Desk" -Members jsmith | Export-Csv .\output.csv -NoTypeInformation
Export the output of Remove-ADGroupMember for documentation or review.
Remove-ADGroupMember "Help Desk" -Members jsmith -Confirm:$false | Export-Csv .\output.csv -NoTypeInformation
Export the output of Get-ADComputer for documentation or review.
Get-ADComputer -Filter * -Properties OperatingSystem | Export-Csv .\output.csv -NoTypeInformation
Export the output of Get-ADOrganizationalUnit for documentation or review.
Get-ADOrganizationalUnit -Filter * | Export-Csv .\output.csv -NoTypeInformation
Export the output of Move-ADObject for documentation or review.
Move-ADObject -Identity $dn -TargetPath "OU=Workstations,DC=contoso,DC=com" | Export-Csv .\output.csv -NoTypeInformation
Export the output of Get-ADDomain for documentation or review.
Get-ADDomain | Export-Csv .\output.csv -NoTypeInformation
Export the output of Get-ADForest for documentation or review.
Get-ADForest | Export-Csv .\output.csv -NoTypeInformation
Export the output of Get-ADDomainController for documentation or review.
Get-ADDomainController -Filter * | Export-Csv .\output.csv -NoTypeInformation
Export the output of Get-ADReplicationFailure for documentation or review.
Get-ADReplicationFailure -Target * -Scope Forest | Export-Csv .\output.csv -NoTypeInformation
Export the output of Get-ADDefaultDomainPasswordPolicy for documentation or review.
Get-ADDefaultDomainPasswordPolicy | Export-Csv .\output.csv -NoTypeInformation
Export the output of Set-ADAccountPassword for documentation or review.
Set-ADAccountPassword jsmith -Reset -NewPassword (Read-Host -AsSecureString) | Export-Csv .\output.csv -NoTypeInformation
Display complete syntax, parameter details, and examples for Get-ADUser.
Get-Help Get-ADUser -Full
Display complete syntax, parameter details, and examples for New-ADUser.
Get-Help New-ADUser -Full
Display complete syntax, parameter details, and examples for Set-ADUser.
Get-Help Set-ADUser -Full
Display complete syntax, parameter details, and examples for Disable-ADAccount.
Get-Help Disable-ADAccount -Full
Display complete syntax, parameter details, and examples for Enable-ADAccount.
Get-Help Enable-ADAccount -Full
Display complete syntax, parameter details, and examples for Unlock-ADAccount.
Get-Help Unlock-ADAccount -Full
Display complete syntax, parameter details, and examples for Search-ADAccount.
Get-Help Search-ADAccount -Full
Display complete syntax, parameter details, and examples for Get-ADGroup.
Get-Help Get-ADGroup -Full
Display complete syntax, parameter details, and examples for Get-ADGroupMember.
Get-Help Get-ADGroupMember -Full
Display complete syntax, parameter details, and examples for Add-ADGroupMember.
Get-Help Add-ADGroupMember -Full
Display complete syntax, parameter details, and examples for Remove-ADGroupMember.
Get-Help Remove-ADGroupMember -Full
Display complete syntax, parameter details, and examples for Get-ADComputer.
Get-Help Get-ADComputer -Full
Display complete syntax, parameter details, and examples for Get-ADOrganizationalUnit.
Get-Help Get-ADOrganizationalUnit -Full
Display complete syntax, parameter details, and examples for Move-ADObject.
Get-Help Move-ADObject -Full
Display complete syntax, parameter details, and examples for Get-ADDomain.
Get-Help Get-ADDomain -Full
Display complete syntax, parameter details, and examples for Get-ADForest.
Get-Help Get-ADForest -Full
Display complete syntax, parameter details, and examples for Get-ADDomainController.
Get-Help Get-ADDomainController -Full
Display complete syntax, parameter details, and examples for Get-ADReplicationFailure.
Get-Help Get-ADReplicationFailure -Full
Display complete syntax, parameter details, and examples for Get-ADDefaultDomainPasswordPolicy.
Get-Help Get-ADDefaultDomainPasswordPolicy -Full
Display complete syntax, parameter details, and examples for Set-ADAccountPassword.
Get-Help Set-ADAccountPassword -Full
Display complete syntax, parameter details, and examples for Get-ADUser — Basic Usage.
Get-Help Get-ADUser -Full
Display complete syntax, parameter details, and examples for New-ADUser — Basic Usage.
Get-Help New-ADUser -Full
Display complete syntax, parameter details, and examples for Set-ADUser — Basic Usage.
Get-Help Set-ADUser -Full
Display complete syntax, parameter details, and examples for Disable-ADAccount — Basic Usage.
Get-Help Disable-ADAccount -Full
Display complete syntax, parameter details, and examples for Enable-ADAccount — Basic Usage.
Get-Help Enable-ADAccount -Full
Display complete syntax, parameter details, and examples for Unlock-ADAccount — Basic Usage.
Get-Help Unlock-ADAccount -Full
Display complete syntax, parameter details, and examples for Search-ADAccount — Basic Usage.
Get-Help Search-ADAccount -Full
Display complete syntax, parameter details, and examples for Get-ADGroup — Basic Usage.
Get-Help Get-ADGroup -Full
Display complete syntax, parameter details, and examples for Get-ADGroupMember — Basic Usage.
Get-Help Get-ADGroupMember -Full
Display complete syntax, parameter details, and examples for Add-ADGroupMember — Basic Usage.
Get-Help Add-ADGroupMember -Full
Display complete syntax, parameter details, and examples for Remove-ADGroupMember — Basic Usage.
Get-Help Remove-ADGroupMember -Full
Display complete syntax, parameter details, and examples for Get-ADComputer — Basic Usage.
Get-Help Get-ADComputer -Full
Display complete syntax, parameter details, and examples for Get-ADOrganizationalUnit — Basic Usage.
Get-Help Get-ADOrganizationalUnit -Full
Display complete syntax, parameter details, and examples for Move-ADObject — Basic Usage.
Get-Help Move-ADObject -Full
Display complete syntax, parameter details, and examples for Get-ADDomain — Basic Usage.
Get-Help Get-ADDomain -Full
Display complete syntax, parameter details, and examples for Get-ADForest — Basic Usage.
Get-Help Get-ADForest -Full
Display complete syntax, parameter details, and examples for Get-ADDomainController — Basic Usage.
Get-Help Get-ADDomainController -Full
Display complete syntax, parameter details, and examples for Get-ADReplicationFailure — Basic Usage.
Get-Help Get-ADReplicationFailure -Full
Display complete syntax, parameter details, and examples for Get-ADDefaultDomainPasswordPolicy — Basic Usage.
Get-Help Get-ADDefaultDomainPasswordPolicy -Full
Display complete syntax, parameter details, and examples for Set-ADAccountPassword — Basic Usage.
Get-Help Set-ADAccountPassword -Full
Display complete syntax, parameter details, and examples for Get-ADUser — Export Results.
Get-Help Get-ADUser -Full
Display complete syntax, parameter details, and examples for New-ADUser — Export Results.
Get-Help New-ADUser -Full
Display complete syntax, parameter details, and examples for Set-ADUser — Export Results.
Get-Help Set-ADUser -Full
Display complete syntax, parameter details, and examples for Disable-ADAccount — Export Results.
Get-Help Disable-ADAccount -Full
Display complete syntax, parameter details, and examples for Enable-ADAccount — Export Results.
Get-Help Enable-ADAccount -Full
Display complete syntax, parameter details, and examples for Unlock-ADAccount — Export Results.
Get-Help Unlock-ADAccount -Full
Display complete syntax, parameter details, and examples for Search-ADAccount — Export Results.
Get-Help Search-ADAccount -Full
Display complete syntax, parameter details, and examples for Get-ADGroup — Export Results.
Get-Help Get-ADGroup -Full
Display complete syntax, parameter details, and examples for Get-ADGroupMember — Export Results.
Get-Help Get-ADGroupMember -Full
Display complete syntax, parameter details, and examples for Add-ADGroupMember — Export Results.
Get-Help Add-ADGroupMember -Full
Display complete syntax, parameter details, and examples for Remove-ADGroupMember — Export Results.
Get-Help Remove-ADGroupMember -Full
Display complete syntax, parameter details, and examples for Get-ADComputer — Export Results.
Get-Help Get-ADComputer -Full
Display complete syntax, parameter details, and examples for Get-ADOrganizationalUnit — Export Results.
Get-Help Get-ADOrganizationalUnit -Full
Display complete syntax, parameter details, and examples for Move-ADObject — Export Results.
Get-Help Move-ADObject -Full
Display complete syntax, parameter details, and examples for Get-ADDomain — Export Results.
Get-Help Get-ADDomain -Full
Display complete syntax, parameter details, and examples for Get-ADForest — Export Results.
Get-Help Get-ADForest -Full
Display complete syntax, parameter details, and examples for Get-ADDomainController — Export Results.
Get-Help Get-ADDomainController -Full
Display complete syntax, parameter details, and examples for Get-ADReplicationFailure — Export Results.
Get-Help Get-ADReplicationFailure -Full
Display complete syntax, parameter details, and examples for Get-ADDefaultDomainPasswordPolicy — Export Results.
Get-Help Get-ADDefaultDomainPasswordPolicy -Full
Display complete syntax, parameter details, and examples for Set-ADAccountPassword — Export Results.
Get-Help Set-ADAccountPassword -Full
Display all returned properties in a readable list. Base task: List Active Directory users and selected properties.
Get-ADUser -Filter * -Properties mail,Enabled | Format-List *
Export returned objects to a CSV file for reporting. Base task: List Active Directory users and selected properties.
Get-ADUser -Filter * -Properties mail,Enabled | Export-Csv -Path .\command-results.csv -NoTypeInformation
Measure how long the command takes to complete. Base task: List Active Directory users and selected properties.
Measure-Command { Get-ADUser -Filter * -Properties mail,Enabled }
Run the command with terminating error handling. Base task: List Active Directory users and selected properties.
try { Get-ADUser -Filter * -Properties mail,Enabled -ErrorAction Stop } catch { Write-Error $_.Exception.Message }
Capture the command and console output in a transcript log. Base task: List Active Directory users and selected properties.
Start-Transcript -Path .\command-session.log; Get-ADUser -Filter * -Properties mail,Enabled; Stop-Transcript
Return all available object properties for inspection. Base task: List Active Directory users and selected properties.
Get-ADUser -Filter * -Properties mail,Enabled | Select-Object *
Convert returned objects into JSON for APIs or automation. Base task: List Active Directory users and selected properties.
Get-ADUser -Filter * -Properties mail,Enabled | ConvertTo-Json -Depth 6
Save formatted output to a UTF-8 text file. Base task: List Active Directory users and selected properties.
Get-ADUser -Filter * -Properties mail,Enabled | Out-File -FilePath .\command-results.txt -Encoding utf8
Display all returned properties in a readable list. Base task: Create an Active Directory user.
New-ADUser -Name "Jane Smith" -SamAccountName jsmith -Enabled $true | Format-List *
Export returned objects to a CSV file for reporting. Base task: Create an Active Directory user.
New-ADUser -Name "Jane Smith" -SamAccountName jsmith -Enabled $true | Export-Csv -Path .\command-results.csv -NoTypeInformation
Measure how long the command takes to complete. Base task: Create an Active Directory user.
Measure-Command { New-ADUser -Name "Jane Smith" -SamAccountName jsmith -Enabled $true }
Run the command with terminating error handling. Base task: Create an Active Directory user.
try { New-ADUser -Name "Jane Smith" -SamAccountName jsmith -Enabled $true -ErrorAction Stop } catch { Write-Error $_.Exception.Message }
Capture the command and console output in a transcript log. Base task: Create an Active Directory user.
Start-Transcript -Path .\command-session.log; New-ADUser -Name "Jane Smith" -SamAccountName jsmith -Enabled $true; Stop-Transcript
Return all available object properties for inspection. Base task: Create an Active Directory user.
New-ADUser -Name "Jane Smith" -SamAccountName jsmith -Enabled $true | Select-Object *
Convert returned objects into JSON for APIs or automation. Base task: Create an Active Directory user.
New-ADUser -Name "Jane Smith" -SamAccountName jsmith -Enabled $true | ConvertTo-Json -Depth 6
Save formatted output to a UTF-8 text file. Base task: Create an Active Directory user.
New-ADUser -Name "Jane Smith" -SamAccountName jsmith -Enabled $true | Out-File -FilePath .\command-results.txt -Encoding utf8
Display all returned properties in a readable list. Base task: Update Active Directory user attributes.
Set-ADUser jsmith -Department "IT" | Format-List *
Export returned objects to a CSV file for reporting. Base task: Update Active Directory user attributes.
Set-ADUser jsmith -Department "IT" | Export-Csv -Path .\command-results.csv -NoTypeInformation
Measure how long the command takes to complete. Base task: Update Active Directory user attributes.
Measure-Command { Set-ADUser jsmith -Department "IT" }
Run the command with terminating error handling. Base task: Update Active Directory user attributes.
try { Set-ADUser jsmith -Department "IT" -ErrorAction Stop } catch { Write-Error $_.Exception.Message }
Capture the command and console output in a transcript log. Base task: Update Active Directory user attributes.
Start-Transcript -Path .\command-session.log; Set-ADUser jsmith -Department "IT"; Stop-Transcript
Return all available object properties for inspection. Base task: Update Active Directory user attributes.
Set-ADUser jsmith -Department "IT" | Select-Object *
Convert returned objects into JSON for APIs or automation. Base task: Update Active Directory user attributes.
Set-ADUser jsmith -Department "IT" | ConvertTo-Json -Depth 6
Save formatted output to a UTF-8 text file. Base task: Update Active Directory user attributes.
Set-ADUser jsmith -Department "IT" | Out-File -FilePath .\command-results.txt -Encoding utf8
Display all returned properties in a readable list. Base task: Disable an Active Directory account.
Disable-ADAccount jsmith | Format-List *
Export returned objects to a CSV file for reporting. Base task: Disable an Active Directory account.
Disable-ADAccount jsmith | Export-Csv -Path .\command-results.csv -NoTypeInformation
Measure how long the command takes to complete. Base task: Disable an Active Directory account.
Measure-Command { Disable-ADAccount jsmith }
Run the command with terminating error handling. Base task: Disable an Active Directory account.
try { Disable-ADAccount jsmith -ErrorAction Stop } catch { Write-Error $_.Exception.Message }
Capture the command and console output in a transcript log. Base task: Disable an Active Directory account.
Start-Transcript -Path .\command-session.log; Disable-ADAccount jsmith; Stop-Transcript
Return all available object properties for inspection. Base task: Disable an Active Directory account.
Disable-ADAccount jsmith | Select-Object *
Convert returned objects into JSON for APIs or automation. Base task: Disable an Active Directory account.
Disable-ADAccount jsmith | ConvertTo-Json -Depth 6
Save formatted output to a UTF-8 text file. Base task: Disable an Active Directory account.
Disable-ADAccount jsmith | Out-File -FilePath .\command-results.txt -Encoding utf8
Display all returned properties in a readable list. Base task: Enable an Active Directory account.
Enable-ADAccount jsmith | Format-List *
Export returned objects to a CSV file for reporting. Base task: Enable an Active Directory account.
Enable-ADAccount jsmith | Export-Csv -Path .\command-results.csv -NoTypeInformation
Measure how long the command takes to complete. Base task: Enable an Active Directory account.
Measure-Command { Enable-ADAccount jsmith }
Run the command with terminating error handling. Base task: Enable an Active Directory account.
try { Enable-ADAccount jsmith -ErrorAction Stop } catch { Write-Error $_.Exception.Message }
Capture the command and console output in a transcript log. Base task: Enable an Active Directory account.
Start-Transcript -Path .\command-session.log; Enable-ADAccount jsmith; Stop-Transcript
Return all available object properties for inspection. Base task: Enable an Active Directory account.
Enable-ADAccount jsmith | Select-Object *
Convert returned objects into JSON for APIs or automation. Base task: Enable an Active Directory account.
Enable-ADAccount jsmith | ConvertTo-Json -Depth 6
Save formatted output to a UTF-8 text file. Base task: Enable an Active Directory account.
Enable-ADAccount jsmith | Out-File -FilePath .\command-results.txt -Encoding utf8
Display all returned properties in a readable list. Base task: Unlock a locked Active Directory account.
Unlock-ADAccount jsmith | Format-List *
Export returned objects to a CSV file for reporting. Base task: Unlock a locked Active Directory account.
Unlock-ADAccount jsmith | Export-Csv -Path .\command-results.csv -NoTypeInformation
Measure how long the command takes to complete. Base task: Unlock a locked Active Directory account.
Measure-Command { Unlock-ADAccount jsmith }
Run the command with terminating error handling. Base task: Unlock a locked Active Directory account.
try { Unlock-ADAccount jsmith -ErrorAction Stop } catch { Write-Error $_.Exception.Message }
Capture the command and console output in a transcript log. Base task: Unlock a locked Active Directory account.
Start-Transcript -Path .\command-session.log; Unlock-ADAccount jsmith; Stop-Transcript
Return all available object properties for inspection. Base task: Unlock a locked Active Directory account.
Unlock-ADAccount jsmith | Select-Object *
Convert returned objects into JSON for APIs or automation. Base task: Unlock a locked Active Directory account.
Unlock-ADAccount jsmith | ConvertTo-Json -Depth 6
Save formatted output to a UTF-8 text file. Base task: Unlock a locked Active Directory account.
Unlock-ADAccount jsmith | Out-File -FilePath .\command-results.txt -Encoding utf8
Display all returned properties in a readable list. Base task: Find locked, disabled, inactive, or expired accounts.
Search-ADAccount -LockedOut | Format-List *
Export returned objects to a CSV file for reporting. Base task: Find locked, disabled, inactive, or expired accounts.
Search-ADAccount -LockedOut | Export-Csv -Path .\command-results.csv -NoTypeInformation
Measure how long the command takes to complete. Base task: Find locked, disabled, inactive, or expired accounts.
Measure-Command { Search-ADAccount -LockedOut }
Run the command with terminating error handling. Base task: Find locked, disabled, inactive, or expired accounts.
try { Search-ADAccount -LockedOut -ErrorAction Stop } catch { Write-Error $_.Exception.Message }
Capture the command and console output in a transcript log. Base task: Find locked, disabled, inactive, or expired accounts.
Start-Transcript -Path .\command-session.log; Search-ADAccount -LockedOut; Stop-Transcript
Return all available object properties for inspection. Base task: Find locked, disabled, inactive, or expired accounts.
Search-ADAccount -LockedOut | Select-Object *
Convert returned objects into JSON for APIs or automation. Base task: Find locked, disabled, inactive, or expired accounts.
Search-ADAccount -LockedOut | ConvertTo-Json -Depth 6
Save formatted output to a UTF-8 text file. Base task: Find locked, disabled, inactive, or expired accounts.
Search-ADAccount -LockedOut | Out-File -FilePath .\command-results.txt -Encoding utf8
Display all returned properties in a readable list. Base task: List Active Directory groups.
Get-ADGroup -Filter * | Format-List *
Export returned objects to a CSV file for reporting. Base task: List Active Directory groups.
Get-ADGroup -Filter * | Export-Csv -Path .\command-results.csv -NoTypeInformation
Measure how long the command takes to complete. Base task: List Active Directory groups.
Measure-Command { Get-ADGroup -Filter * }
Run the command with terminating error handling. Base task: List Active Directory groups.
try { Get-ADGroup -Filter * -ErrorAction Stop } catch { Write-Error $_.Exception.Message }
Capture the command and console output in a transcript log. Base task: List Active Directory groups.
Start-Transcript -Path .\command-session.log; Get-ADGroup -Filter *; Stop-Transcript
Return all available object properties for inspection. Base task: List Active Directory groups.
Get-ADGroup -Filter * | Select-Object *
Convert returned objects into JSON for APIs or automation. Base task: List Active Directory groups.
Get-ADGroup -Filter * | ConvertTo-Json -Depth 6
Save formatted output to a UTF-8 text file. Base task: List Active Directory groups.
Get-ADGroup -Filter * | Out-File -FilePath .\command-results.txt -Encoding utf8
Display all returned properties in a readable list. Base task: List members of an Active Directory group.
Get-ADGroupMember "Domain Admins" | Format-List *
Export returned objects to a CSV file for reporting. Base task: List members of an Active Directory group.
Get-ADGroupMember "Domain Admins" | Export-Csv -Path .\command-results.csv -NoTypeInformation
Measure how long the command takes to complete. Base task: List members of an Active Directory group.
Measure-Command { Get-ADGroupMember "Domain Admins" }
Run the command with terminating error handling. Base task: List members of an Active Directory group.
try { Get-ADGroupMember "Domain Admins" -ErrorAction Stop } catch { Write-Error $_.Exception.Message }
Capture the command and console output in a transcript log. Base task: List members of an Active Directory group.
Start-Transcript -Path .\command-session.log; Get-ADGroupMember "Domain Admins"; Stop-Transcript
Return all available object properties for inspection. Base task: List members of an Active Directory group.
Get-ADGroupMember "Domain Admins" | Select-Object *
Convert returned objects into JSON for APIs or automation. Base task: List members of an Active Directory group.
Get-ADGroupMember "Domain Admins" | ConvertTo-Json -Depth 6
Save formatted output to a UTF-8 text file. Base task: List members of an Active Directory group.
Get-ADGroupMember "Domain Admins" | Out-File -FilePath .\command-results.txt -Encoding utf8
Display all returned properties in a readable list. Base task: Add an account to an Active Directory group.
Add-ADGroupMember "Help Desk" -Members jsmith | Format-List *
Export returned objects to a CSV file for reporting. Base task: Add an account to an Active Directory group.
Add-ADGroupMember "Help Desk" -Members jsmith | Export-Csv -Path .\command-results.csv -NoTypeInformation
Measure how long the command takes to complete. Base task: Add an account to an Active Directory group.
Measure-Command { Add-ADGroupMember "Help Desk" -Members jsmith }
Run the command with terminating error handling. Base task: Add an account to an Active Directory group.
try { Add-ADGroupMember "Help Desk" -Members jsmith -ErrorAction Stop } catch { Write-Error $_.Exception.Message }
Capture the command and console output in a transcript log. Base task: Add an account to an Active Directory group.
Start-Transcript -Path .\command-session.log; Add-ADGroupMember "Help Desk" -Members jsmith; Stop-Transcript
Return all available object properties for inspection. Base task: Add an account to an Active Directory group.
Add-ADGroupMember "Help Desk" -Members jsmith | Select-Object *
Convert returned objects into JSON for APIs or automation. Base task: Add an account to an Active Directory group.
Add-ADGroupMember "Help Desk" -Members jsmith | ConvertTo-Json -Depth 6
Save formatted output to a UTF-8 text file. Base task: Add an account to an Active Directory group.
Add-ADGroupMember "Help Desk" -Members jsmith | Out-File -FilePath .\command-results.txt -Encoding utf8
Display all returned properties in a readable list. Base task: Remove an account from an Active Directory group.
Remove-ADGroupMember "Help Desk" -Members jsmith -Confirm:$false | Format-List *
Export returned objects to a CSV file for reporting. Base task: Remove an account from an Active Directory group.
Remove-ADGroupMember "Help Desk" -Members jsmith -Confirm:$false | Export-Csv -Path .\command-results.csv -NoTypeInformation
Measure how long the command takes to complete. Base task: Remove an account from an Active Directory group.
Measure-Command { Remove-ADGroupMember "Help Desk" -Members jsmith -Confirm:$false }
Run the command with terminating error handling. Base task: Remove an account from an Active Directory group.
try { Remove-ADGroupMember "Help Desk" -Members jsmith -Confirm:$false -ErrorAction Stop } catch { Write-Error $_.Exception.Message }
Capture the command and console output in a transcript log. Base task: Remove an account from an Active Directory group.
Start-Transcript -Path .\command-session.log; Remove-ADGroupMember "Help Desk" -Members jsmith -Confirm:$false; Stop-Transcript
Return all available object properties for inspection. Base task: Remove an account from an Active Directory group.
Remove-ADGroupMember "Help Desk" -Members jsmith -Confirm:$false | Select-Object *
Convert returned objects into JSON for APIs or automation. Base task: Remove an account from an Active Directory group.
Remove-ADGroupMember "Help Desk" -Members jsmith -Confirm:$false | ConvertTo-Json -Depth 6
Save formatted output to a UTF-8 text file. Base task: Remove an account from an Active Directory group.
Remove-ADGroupMember "Help Desk" -Members jsmith -Confirm:$false | Out-File -FilePath .\command-results.txt -Encoding utf8
Display all returned properties in a readable list. Base task: List Active Directory computer objects.
Get-ADComputer -Filter * -Properties OperatingSystem | Format-List *
Export returned objects to a CSV file for reporting. Base task: List Active Directory computer objects.
Get-ADComputer -Filter * -Properties OperatingSystem | Export-Csv -Path .\command-results.csv -NoTypeInformation
Measure how long the command takes to complete. Base task: List Active Directory computer objects.
Measure-Command { Get-ADComputer -Filter * -Properties OperatingSystem }
Run the command with terminating error handling. Base task: List Active Directory computer objects.
try { Get-ADComputer -Filter * -Properties OperatingSystem -ErrorAction Stop } catch { Write-Error $_.Exception.Message }
Capture the command and console output in a transcript log. Base task: List Active Directory computer objects.
Start-Transcript -Path .\command-session.log; Get-ADComputer -Filter * -Properties OperatingSystem; Stop-Transcript
Return all available object properties for inspection. Base task: List Active Directory computer objects.
Get-ADComputer -Filter * -Properties OperatingSystem | Select-Object *
Convert returned objects into JSON for APIs or automation. Base task: List Active Directory computer objects.
Get-ADComputer -Filter * -Properties OperatingSystem | ConvertTo-Json -Depth 6
Save formatted output to a UTF-8 text file. Base task: List Active Directory computer objects.
Get-ADComputer -Filter * -Properties OperatingSystem | Out-File -FilePath .\command-results.txt -Encoding utf8
Display all returned properties in a readable list. Base task: List Active Directory organizational units.
Get-ADOrganizationalUnit -Filter * | Format-List *
Export returned objects to a CSV file for reporting. Base task: List Active Directory organizational units.
Get-ADOrganizationalUnit -Filter * | Export-Csv -Path .\command-results.csv -NoTypeInformation
Measure how long the command takes to complete. Base task: List Active Directory organizational units.
Measure-Command { Get-ADOrganizationalUnit -Filter * }
Run the command with terminating error handling. Base task: List Active Directory organizational units.
try { Get-ADOrganizationalUnit -Filter * -ErrorAction Stop } catch { Write-Error $_.Exception.Message }
Capture the command and console output in a transcript log. Base task: List Active Directory organizational units.
Start-Transcript -Path .\command-session.log; Get-ADOrganizationalUnit -Filter *; Stop-Transcript
Return all available object properties for inspection. Base task: List Active Directory organizational units.
Get-ADOrganizationalUnit -Filter * | Select-Object *
Convert returned objects into JSON for APIs or automation. Base task: List Active Directory organizational units.
Get-ADOrganizationalUnit -Filter * | ConvertTo-Json -Depth 6
Save formatted output to a UTF-8 text file. Base task: List Active Directory organizational units.
Get-ADOrganizationalUnit -Filter * | Out-File -FilePath .\command-results.txt -Encoding utf8
Display all returned properties in a readable list. Base task: Move an Active Directory object to another OU.
Move-ADObject -Identity $dn -TargetPath "OU=Workstations,DC=contoso,DC=com" | Format-List *
Export returned objects to a CSV file for reporting. Base task: Move an Active Directory object to another OU.
Move-ADObject -Identity $dn -TargetPath "OU=Workstations,DC=contoso,DC=com" | Export-Csv -Path .\command-results.csv -NoTypeInformation
Measure how long the command takes to complete. Base task: Move an Active Directory object to another OU.
Measure-Command { Move-ADObject -Identity $dn -TargetPath "OU=Workstations,DC=contoso,DC=com" }
Run the command with terminating error handling. Base task: Move an Active Directory object to another OU.
try { Move-ADObject -Identity $dn -TargetPath "OU=Workstations,DC=contoso,DC=com" -ErrorAction Stop } catch { Write-Error $_.Exception.Message }
Capture the command and console output in a transcript log. Base task: Move an Active Directory object to another OU.
Start-Transcript -Path .\command-session.log; Move-ADObject -Identity $dn -TargetPath "OU=Workstations,DC=contoso,DC=com"; Stop-Transcript
Return all available object properties for inspection. Base task: Move an Active Directory object to another OU.
Move-ADObject -Identity $dn -TargetPath "OU=Workstations,DC=contoso,DC=com" | Select-Object *
Convert returned objects into JSON for APIs or automation. Base task: Move an Active Directory object to another OU.
Move-ADObject -Identity $dn -TargetPath "OU=Workstations,DC=contoso,DC=com" | ConvertTo-Json -Depth 6
Save formatted output to a UTF-8 text file. Base task: Move an Active Directory object to another OU.
Move-ADObject -Identity $dn -TargetPath "OU=Workstations,DC=contoso,DC=com" | Out-File -FilePath .\command-results.txt -Encoding utf8
Display all returned properties in a readable list. Base task: Display Active Directory domain information.
Get-ADDomain | Format-List *
Export returned objects to a CSV file for reporting. Base task: Display Active Directory domain information.
Get-ADDomain | Export-Csv -Path .\command-results.csv -NoTypeInformation
Measure how long the command takes to complete. Base task: Display Active Directory domain information.
Measure-Command { Get-ADDomain }
Run the command with terminating error handling. Base task: Display Active Directory domain information.
try { Get-ADDomain -ErrorAction Stop } catch { Write-Error $_.Exception.Message }
Capture the command and console output in a transcript log. Base task: Display Active Directory domain information.
Start-Transcript -Path .\command-session.log; Get-ADDomain; Stop-Transcript
Return all available object properties for inspection. Base task: Display Active Directory domain information.
Get-ADDomain | Select-Object *
Convert returned objects into JSON for APIs or automation. Base task: Display Active Directory domain information.
Get-ADDomain | ConvertTo-Json -Depth 6
Save formatted output to a UTF-8 text file. Base task: Display Active Directory domain information.
Get-ADDomain | Out-File -FilePath .\command-results.txt -Encoding utf8
Display all returned properties in a readable list. Base task: Display Active Directory forest information.
Get-ADForest | Format-List *
Export returned objects to a CSV file for reporting. Base task: Display Active Directory forest information.
Get-ADForest | Export-Csv -Path .\command-results.csv -NoTypeInformation
Measure how long the command takes to complete. Base task: Display Active Directory forest information.
Measure-Command { Get-ADForest }
Run the command with terminating error handling. Base task: Display Active Directory forest information.
try { Get-ADForest -ErrorAction Stop } catch { Write-Error $_.Exception.Message }
Capture the command and console output in a transcript log. Base task: Display Active Directory forest information.
Start-Transcript -Path .\command-session.log; Get-ADForest; Stop-Transcript
Return all available object properties for inspection. Base task: Display Active Directory forest information.
Get-ADForest | Select-Object *
Convert returned objects into JSON for APIs or automation. Base task: Display Active Directory forest information.
Get-ADForest | ConvertTo-Json -Depth 6
Save formatted output to a UTF-8 text file. Base task: Display Active Directory forest information.
Get-ADForest | Out-File -FilePath .\command-results.txt -Encoding utf8
Display all returned properties in a readable list. Base task: List domain controllers.
Get-ADDomainController -Filter * | Format-List *
Export returned objects to a CSV file for reporting. Base task: List domain controllers.
Get-ADDomainController -Filter * | Export-Csv -Path .\command-results.csv -NoTypeInformation
Measure how long the command takes to complete. Base task: List domain controllers.
Measure-Command { Get-ADDomainController -Filter * }
Run the command with terminating error handling. Base task: List domain controllers.
try { Get-ADDomainController -Filter * -ErrorAction Stop } catch { Write-Error $_.Exception.Message }
Capture the command and console output in a transcript log. Base task: List domain controllers.
Start-Transcript -Path .\command-session.log; Get-ADDomainController -Filter *; Stop-Transcript
Return all available object properties for inspection. Base task: List domain controllers.
Get-ADDomainController -Filter * | Select-Object *
Convert returned objects into JSON for APIs or automation. Base task: List domain controllers.
Get-ADDomainController -Filter * | ConvertTo-Json -Depth 6
Save formatted output to a UTF-8 text file. Base task: List domain controllers.
Get-ADDomainController -Filter * | Out-File -FilePath .\command-results.txt -Encoding utf8
Display all returned properties in a readable list. Base task: Display Active Directory replication failures.
Get-ADReplicationFailure -Target * -Scope Forest | Format-List *
Export returned objects to a CSV file for reporting. Base task: Display Active Directory replication failures.
Get-ADReplicationFailure -Target * -Scope Forest | Export-Csv -Path .\command-results.csv -NoTypeInformation
Measure how long the command takes to complete. Base task: Display Active Directory replication failures.
Measure-Command { Get-ADReplicationFailure -Target * -Scope Forest }
Run the command with terminating error handling. Base task: Display Active Directory replication failures.
try { Get-ADReplicationFailure -Target * -Scope Forest -ErrorAction Stop } catch { Write-Error $_.Exception.Message }
Capture the command and console output in a transcript log. Base task: Display Active Directory replication failures.
Start-Transcript -Path .\command-session.log; Get-ADReplicationFailure -Target * -Scope Forest; Stop-Transcript
Return all available object properties for inspection. Base task: Display Active Directory replication failures.
Get-ADReplicationFailure -Target * -Scope Forest | Select-Object *
Convert returned objects into JSON for APIs or automation. Base task: Display Active Directory replication failures.
Get-ADReplicationFailure -Target * -Scope Forest | ConvertTo-Json -Depth 6
Save formatted output to a UTF-8 text file. Base task: Display Active Directory replication failures.
Get-ADReplicationFailure -Target * -Scope Forest | Out-File -FilePath .\command-results.txt -Encoding utf8
Display all returned properties in a readable list. Base task: Display the default domain password policy.
Get-ADDefaultDomainPasswordPolicy | Format-List *
Export returned objects to a CSV file for reporting. Base task: Display the default domain password policy.
Get-ADDefaultDomainPasswordPolicy | Export-Csv -Path .\command-results.csv -NoTypeInformation
Measure how long the command takes to complete. Base task: Display the default domain password policy.
Measure-Command { Get-ADDefaultDomainPasswordPolicy }
Run the command with terminating error handling. Base task: Display the default domain password policy.
try { Get-ADDefaultDomainPasswordPolicy -ErrorAction Stop } catch { Write-Error $_.Exception.Message }
Capture the command and console output in a transcript log. Base task: Display the default domain password policy.
Start-Transcript -Path .\command-session.log; Get-ADDefaultDomainPasswordPolicy; Stop-Transcript
Return all available object properties for inspection. Base task: Display the default domain password policy.
Get-ADDefaultDomainPasswordPolicy | Select-Object *
Convert returned objects into JSON for APIs or automation. Base task: Display the default domain password policy.
Get-ADDefaultDomainPasswordPolicy | ConvertTo-Json -Depth 6
Save formatted output to a UTF-8 text file. Base task: Display the default domain password policy.
Get-ADDefaultDomainPasswordPolicy | Out-File -FilePath .\command-results.txt -Encoding utf8
Display all returned properties in a readable list. Base task: Reset an Active Directory password.
Set-ADAccountPassword jsmith -Reset -NewPassword (Read-Host -AsSecureString) | Format-List *
Export returned objects to a CSV file for reporting. Base task: Reset an Active Directory password.
Set-ADAccountPassword jsmith -Reset -NewPassword (Read-Host -AsSecureString) | Export-Csv -Path .\command-results.csv -NoTypeInformation
Measure how long the command takes to complete. Base task: Reset an Active Directory password.
Measure-Command { Set-ADAccountPassword jsmith -Reset -NewPassword (Read-Host -AsSecureString) }
Run the command with terminating error handling. Base task: Reset an Active Directory password.
try { Set-ADAccountPassword jsmith -Reset -NewPassword (Read-Host -AsSecureString) -ErrorAction Stop } catch { Write-Error $_.Exception.Message }
Capture the command and console output in a transcript log. Base task: Reset an Active Directory password.
Start-Transcript -Path .\command-session.log; Set-ADAccountPassword jsmith -Reset -NewPassword (Read-Host -AsSecureString); Stop-Transcript
Return all available object properties for inspection. Base task: Reset an Active Directory password.
Set-ADAccountPassword jsmith -Reset -NewPassword (Read-Host -AsSecureString) | Select-Object *
Convert returned objects into JSON for APIs or automation. Base task: Reset an Active Directory password.
Set-ADAccountPassword jsmith -Reset -NewPassword (Read-Host -AsSecureString) | ConvertTo-Json -Depth 6
Save formatted output to a UTF-8 text file. Base task: Reset an Active Directory password.
Set-ADAccountPassword jsmith -Reset -NewPassword (Read-Host -AsSecureString) | Out-File -FilePath .\command-results.txt -Encoding utf8
Display all returned properties in a readable list. Base task: Export the output of Get-ADUser for documentation or review.
Get-ADUser -Filter * -Properties mail,Enabled | Export-Csv .\output.csv -NoTypeInformation | Format-List *
Export returned objects to a CSV file for reporting. Base task: Export the output of Get-ADUser for documentation or review.
Get-ADUser -Filter * -Properties mail,Enabled | Export-Csv .\output.csv -NoTypeInformation | Export-Csv -Path .\command-results.csv -NoTypeInformation
Measure how long the command takes to complete. Base task: Export the output of Get-ADUser for documentation or review.
Measure-Command { Get-ADUser -Filter * -Properties mail,Enabled | Export-Csv .\output.csv -NoTypeInformation }
Run the command with terminating error handling. Base task: Export the output of Get-ADUser for documentation or review.
try { Get-ADUser -Filter * -Properties mail,Enabled | Export-Csv .\output.csv -NoTypeInformation -ErrorAction Stop } catch { Write-Error $_.Exception.Message }
Capture the command and console output in a transcript log. Base task: Export the output of Get-ADUser for documentation or review.
Start-Transcript -Path .\command-session.log; Get-ADUser -Filter * -Properties mail,Enabled | Export-Csv .\output.csv -NoTypeInformation; Stop-Transcript
Return all available object properties for inspection. Base task: Export the output of Get-ADUser for documentation or review.
Get-ADUser -Filter * -Properties mail,Enabled | Export-Csv .\output.csv -NoTypeInformation | Select-Object *
Convert returned objects into JSON for APIs or automation. Base task: Export the output of Get-ADUser for documentation or review.
Get-ADUser -Filter * -Properties mail,Enabled | Export-Csv .\output.csv -NoTypeInformation | ConvertTo-Json -Depth 6
Save formatted output to a UTF-8 text file. Base task: Export the output of Get-ADUser for documentation or review.
Get-ADUser -Filter * -Properties mail,Enabled | Export-Csv .\output.csv -NoTypeInformation | Out-File -FilePath .\command-results.txt -Encoding utf8
Display all returned properties in a readable list. Base task: Export the output of New-ADUser for documentation or review.
New-ADUser -Name "Jane Smith" -SamAccountName jsmith -Enabled $true | Export-Csv .\output.csv -NoTypeInformation | Format-List *
Export returned objects to a CSV file for reporting. Base task: Export the output of New-ADUser for documentation or review.
New-ADUser -Name "Jane Smith" -SamAccountName jsmith -Enabled $true | Export-Csv .\output.csv -NoTypeInformation | Export-Csv -Path .\command-results.csv -NoTypeInformation
Measure how long the command takes to complete. Base task: Export the output of New-ADUser for documentation or review.
Measure-Command { New-ADUser -Name "Jane Smith" -SamAccountName jsmith -Enabled $true | Export-Csv .\output.csv -NoTypeInformation }
Run the command with terminating error handling. Base task: Export the output of New-ADUser for documentation or review.
try { New-ADUser -Name "Jane Smith" -SamAccountName jsmith -Enabled $true | Export-Csv .\output.csv -NoTypeInformation -ErrorAction Stop } catch { Write-Error $_.Exception.Message }
Capture the command and console output in a transcript log. Base task: Export the output of New-ADUser for documentation or review.
Start-Transcript -Path .\command-session.log; New-ADUser -Name "Jane Smith" -SamAccountName jsmith -Enabled $true | Export-Csv .\output.csv -NoTypeInformation; Stop-Transcript
Return all available object properties for inspection. Base task: Export the output of New-ADUser for documentation or review.
New-ADUser -Name "Jane Smith" -SamAccountName jsmith -Enabled $true | Export-Csv .\output.csv -NoTypeInformation | Select-Object *
Convert returned objects into JSON for APIs or automation. Base task: Export the output of New-ADUser for documentation or review.
New-ADUser -Name "Jane Smith" -SamAccountName jsmith -Enabled $true | Export-Csv .\output.csv -NoTypeInformation | ConvertTo-Json -Depth 6
Save formatted output to a UTF-8 text file. Base task: Export the output of New-ADUser for documentation or review.
New-ADUser -Name "Jane Smith" -SamAccountName jsmith -Enabled $true | Export-Csv .\output.csv -NoTypeInformation | Out-File -FilePath .\command-results.txt -Encoding utf8
Display all returned properties in a readable list. Base task: Export the output of Set-ADUser for documentation or review.
Set-ADUser jsmith -Department "IT" | Export-Csv .\output.csv -NoTypeInformation | Format-List *
Export returned objects to a CSV file for reporting. Base task: Export the output of Set-ADUser for documentation or review.
Set-ADUser jsmith -Department "IT" | Export-Csv .\output.csv -NoTypeInformation | Export-Csv -Path .\command-results.csv -NoTypeInformation
Measure how long the command takes to complete. Base task: Export the output of Set-ADUser for documentation or review.
Measure-Command { Set-ADUser jsmith -Department "IT" | Export-Csv .\output.csv -NoTypeInformation }
Run the command with terminating error handling. Base task: Export the output of Set-ADUser for documentation or review.
try { Set-ADUser jsmith -Department "IT" | Export-Csv .\output.csv -NoTypeInformation -ErrorAction Stop } catch { Write-Error $_.Exception.Message }
Capture the command and console output in a transcript log. Base task: Export the output of Set-ADUser for documentation or review.
Start-Transcript -Path .\command-session.log; Set-ADUser jsmith -Department "IT" | Export-Csv .\output.csv -NoTypeInformation; Stop-Transcript
Return all available object properties for inspection. Base task: Export the output of Set-ADUser for documentation or review.
Set-ADUser jsmith -Department "IT" | Export-Csv .\output.csv -NoTypeInformation | Select-Object *
Convert returned objects into JSON for APIs or automation. Base task: Export the output of Set-ADUser for documentation or review.
Set-ADUser jsmith -Department "IT" | Export-Csv .\output.csv -NoTypeInformation | ConvertTo-Json -Depth 6
Save formatted output to a UTF-8 text file. Base task: Export the output of Set-ADUser for documentation or review.
Set-ADUser jsmith -Department "IT" | Export-Csv .\output.csv -NoTypeInformation | Out-File -FilePath .\command-results.txt -Encoding utf8
Display all returned properties in a readable list. Base task: Export the output of Disable-ADAccount for documentation or review.
Disable-ADAccount jsmith | Export-Csv .\output.csv -NoTypeInformation | Format-List *
Export returned objects to a CSV file for reporting. Base task: Export the output of Disable-ADAccount for documentation or review.
Disable-ADAccount jsmith | Export-Csv .\output.csv -NoTypeInformation | Export-Csv -Path .\command-results.csv -NoTypeInformation
Measure how long the command takes to complete. Base task: Export the output of Disable-ADAccount for documentation or review.
Measure-Command { Disable-ADAccount jsmith | Export-Csv .\output.csv -NoTypeInformation }
Run the command with terminating error handling. Base task: Export the output of Disable-ADAccount for documentation or review.
try { Disable-ADAccount jsmith | Export-Csv .\output.csv -NoTypeInformation -ErrorAction Stop } catch { Write-Error $_.Exception.Message }
Capture the command and console output in a transcript log. Base task: Export the output of Disable-ADAccount for documentation or review.
Start-Transcript -Path .\command-session.log; Disable-ADAccount jsmith | Export-Csv .\output.csv -NoTypeInformation; Stop-Transcript
Return all available object properties for inspection. Base task: Export the output of Disable-ADAccount for documentation or review.
Disable-ADAccount jsmith | Export-Csv .\output.csv -NoTypeInformation | Select-Object *
Convert returned objects into JSON for APIs or automation. Base task: Export the output of Disable-ADAccount for documentation or review.
Disable-ADAccount jsmith | Export-Csv .\output.csv -NoTypeInformation | ConvertTo-Json -Depth 6
Save formatted output to a UTF-8 text file. Base task: Export the output of Disable-ADAccount for documentation or review.
Disable-ADAccount jsmith | Export-Csv .\output.csv -NoTypeInformation | Out-File -FilePath .\command-results.txt -Encoding utf8
Display all returned properties in a readable list. Base task: Export the output of Enable-ADAccount for documentation or review.
Enable-ADAccount jsmith | Export-Csv .\output.csv -NoTypeInformation | Format-List *
Export returned objects to a CSV file for reporting. Base task: Export the output of Enable-ADAccount for documentation or review.
Enable-ADAccount jsmith | Export-Csv .\output.csv -NoTypeInformation | Export-Csv -Path .\command-results.csv -NoTypeInformation
Measure how long the command takes to complete. Base task: Export the output of Enable-ADAccount for documentation or review.
Measure-Command { Enable-ADAccount jsmith | Export-Csv .\output.csv -NoTypeInformation }
Run the command with terminating error handling. Base task: Export the output of Enable-ADAccount for documentation or review.
try { Enable-ADAccount jsmith | Export-Csv .\output.csv -NoTypeInformation -ErrorAction Stop } catch { Write-Error $_.Exception.Message }
Capture the command and console output in a transcript log. Base task: Export the output of Enable-ADAccount for documentation or review.
Start-Transcript -Path .\command-session.log; Enable-ADAccount jsmith | Export-Csv .\output.csv -NoTypeInformation; Stop-Transcript
Return all available object properties for inspection. Base task: Export the output of Enable-ADAccount for documentation or review.
Enable-ADAccount jsmith | Export-Csv .\output.csv -NoTypeInformation | Select-Object *
Convert returned objects into JSON for APIs or automation. Base task: Export the output of Enable-ADAccount for documentation or review.
Enable-ADAccount jsmith | Export-Csv .\output.csv -NoTypeInformation | ConvertTo-Json -Depth 6
Save formatted output to a UTF-8 text file. Base task: Export the output of Enable-ADAccount for documentation or review.
Enable-ADAccount jsmith | Export-Csv .\output.csv -NoTypeInformation | Out-File -FilePath .\command-results.txt -Encoding utf8
Display all returned properties in a readable list. Base task: Export the output of Unlock-ADAccount for documentation or review.
Unlock-ADAccount jsmith | Export-Csv .\output.csv -NoTypeInformation | Format-List *
Export returned objects to a CSV file for reporting. Base task: Export the output of Unlock-ADAccount for documentation or review.
Unlock-ADAccount jsmith | Export-Csv .\output.csv -NoTypeInformation | Export-Csv -Path .\command-results.csv -NoTypeInformation
Measure how long the command takes to complete. Base task: Export the output of Unlock-ADAccount for documentation or review.
Measure-Command { Unlock-ADAccount jsmith | Export-Csv .\output.csv -NoTypeInformation }
Run the command with terminating error handling. Base task: Export the output of Unlock-ADAccount for documentation or review.
try { Unlock-ADAccount jsmith | Export-Csv .\output.csv -NoTypeInformation -ErrorAction Stop } catch { Write-Error $_.Exception.Message }
Capture the command and console output in a transcript log. Base task: Export the output of Unlock-ADAccount for documentation or review.
Start-Transcript -Path .\command-session.log; Unlock-ADAccount jsmith | Export-Csv .\output.csv -NoTypeInformation; Stop-Transcript
Return all available object properties for inspection. Base task: Export the output of Unlock-ADAccount for documentation or review.
Unlock-ADAccount jsmith | Export-Csv .\output.csv -NoTypeInformation | Select-Object *
Convert returned objects into JSON for APIs or automation. Base task: Export the output of Unlock-ADAccount for documentation or review.
Unlock-ADAccount jsmith | Export-Csv .\output.csv -NoTypeInformation | ConvertTo-Json -Depth 6
Save formatted output to a UTF-8 text file. Base task: Export the output of Unlock-ADAccount for documentation or review.
Unlock-ADAccount jsmith | Export-Csv .\output.csv -NoTypeInformation | Out-File -FilePath .\command-results.txt -Encoding utf8
Display all returned properties in a readable list. Base task: Export the output of Search-ADAccount for documentation or review.
Search-ADAccount -LockedOut | Export-Csv .\output.csv -NoTypeInformation | Format-List *
Export returned objects to a CSV file for reporting. Base task: Export the output of Search-ADAccount for documentation or review.
Search-ADAccount -LockedOut | Export-Csv .\output.csv -NoTypeInformation | Export-Csv -Path .\command-results.csv -NoTypeInformation
Measure how long the command takes to complete. Base task: Export the output of Search-ADAccount for documentation or review.
Measure-Command { Search-ADAccount -LockedOut | Export-Csv .\output.csv -NoTypeInformation }
Run the command with terminating error handling. Base task: Export the output of Search-ADAccount for documentation or review.
try { Search-ADAccount -LockedOut | Export-Csv .\output.csv -NoTypeInformation -ErrorAction Stop } catch { Write-Error $_.Exception.Message }
Capture the command and console output in a transcript log. Base task: Export the output of Search-ADAccount for documentation or review.
Start-Transcript -Path .\command-session.log; Search-ADAccount -LockedOut | Export-Csv .\output.csv -NoTypeInformation; Stop-Transcript
Return all available object properties for inspection. Base task: Export the output of Search-ADAccount for documentation or review.
Search-ADAccount -LockedOut | Export-Csv .\output.csv -NoTypeInformation | Select-Object *
Convert returned objects into JSON for APIs or automation. Base task: Export the output of Search-ADAccount for documentation or review.
Search-ADAccount -LockedOut | Export-Csv .\output.csv -NoTypeInformation | ConvertTo-Json -Depth 6
Save formatted output to a UTF-8 text file. Base task: Export the output of Search-ADAccount for documentation or review.
Search-ADAccount -LockedOut | Export-Csv .\output.csv -NoTypeInformation | Out-File -FilePath .\command-results.txt -Encoding utf8
Display all returned properties in a readable list. Base task: Export the output of Get-ADGroup for documentation or review.
Get-ADGroup -Filter * | Export-Csv .\output.csv -NoTypeInformation | Format-List *
Export returned objects to a CSV file for reporting. Base task: Export the output of Get-ADGroup for documentation or review.
Get-ADGroup -Filter * | Export-Csv .\output.csv -NoTypeInformation | Export-Csv -Path .\command-results.csv -NoTypeInformation
Measure how long the command takes to complete. Base task: Export the output of Get-ADGroup for documentation or review.
Measure-Command { Get-ADGroup -Filter * | Export-Csv .\output.csv -NoTypeInformation }
Run the command with terminating error handling. Base task: Export the output of Get-ADGroup for documentation or review.
try { Get-ADGroup -Filter * | Export-Csv .\output.csv -NoTypeInformation -ErrorAction Stop } catch { Write-Error $_.Exception.Message }
Capture the command and console output in a transcript log. Base task: Export the output of Get-ADGroup for documentation or review.
Start-Transcript -Path .\command-session.log; Get-ADGroup -Filter * | Export-Csv .\output.csv -NoTypeInformation; Stop-Transcript
Return all available object properties for inspection. Base task: Export the output of Get-ADGroup for documentation or review.
Get-ADGroup -Filter * | Export-Csv .\output.csv -NoTypeInformation | Select-Object *
Convert returned objects into JSON for APIs or automation. Base task: Export the output of Get-ADGroup for documentation or review.
Get-ADGroup -Filter * | Export-Csv .\output.csv -NoTypeInformation | ConvertTo-Json -Depth 6
Save formatted output to a UTF-8 text file. Base task: Export the output of Get-ADGroup for documentation or review.
Get-ADGroup -Filter * | Export-Csv .\output.csv -NoTypeInformation | Out-File -FilePath .\command-results.txt -Encoding utf8
Display all returned properties in a readable list. Base task: Export the output of Get-ADGroupMember for documentation or review.
Get-ADGroupMember "Domain Admins" | Export-Csv .\output.csv -NoTypeInformation | Format-List *
Export returned objects to a CSV file for reporting. Base task: Export the output of Get-ADGroupMember for documentation or review.
Get-ADGroupMember "Domain Admins" | Export-Csv .\output.csv -NoTypeInformation | Export-Csv -Path .\command-results.csv -NoTypeInformation
Measure how long the command takes to complete. Base task: Export the output of Get-ADGroupMember for documentation or review.
Measure-Command { Get-ADGroupMember "Domain Admins" | Export-Csv .\output.csv -NoTypeInformation }
Run the command with terminating error handling. Base task: Export the output of Get-ADGroupMember for documentation or review.
try { Get-ADGroupMember "Domain Admins" | Export-Csv .\output.csv -NoTypeInformation -ErrorAction Stop } catch { Write-Error $_.Exception.Message }
Capture the command and console output in a transcript log. Base task: Export the output of Get-ADGroupMember for documentation or review.
Start-Transcript -Path .\command-session.log; Get-ADGroupMember "Domain Admins" | Export-Csv .\output.csv -NoTypeInformation; Stop-Transcript
Return all available object properties for inspection. Base task: Export the output of Get-ADGroupMember for documentation or review.
Get-ADGroupMember "Domain Admins" | Export-Csv .\output.csv -NoTypeInformation | Select-Object *
Convert returned objects into JSON for APIs or automation. Base task: Export the output of Get-ADGroupMember for documentation or review.
Get-ADGroupMember "Domain Admins" | Export-Csv .\output.csv -NoTypeInformation | ConvertTo-Json -Depth 6
Save formatted output to a UTF-8 text file. Base task: Export the output of Get-ADGroupMember for documentation or review.
Get-ADGroupMember "Domain Admins" | Export-Csv .\output.csv -NoTypeInformation | Out-File -FilePath .\command-results.txt -Encoding utf8
Display all returned properties in a readable list. Base task: Export the output of Add-ADGroupMember for documentation or review.
Add-ADGroupMember "Help Desk" -Members jsmith | Export-Csv .\output.csv -NoTypeInformation | Format-List *
Export returned objects to a CSV file for reporting. Base task: Export the output of Add-ADGroupMember for documentation or review.
Add-ADGroupMember "Help Desk" -Members jsmith | Export-Csv .\output.csv -NoTypeInformation | Export-Csv -Path .\command-results.csv -NoTypeInformation
Measure how long the command takes to complete. Base task: Export the output of Add-ADGroupMember for documentation or review.
Measure-Command { Add-ADGroupMember "Help Desk" -Members jsmith | Export-Csv .\output.csv -NoTypeInformation }
Run the command with terminating error handling. Base task: Export the output of Add-ADGroupMember for documentation or review.
try { Add-ADGroupMember "Help Desk" -Members jsmith | Export-Csv .\output.csv -NoTypeInformation -ErrorAction Stop } catch { Write-Error $_.Exception.Message }
Capture the command and console output in a transcript log. Base task: Export the output of Add-ADGroupMember for documentation or review.
Start-Transcript -Path .\command-session.log; Add-ADGroupMember "Help Desk" -Members jsmith | Export-Csv .\output.csv -NoTypeInformation; Stop-Transcript
Return all available object properties for inspection. Base task: Export the output of Add-ADGroupMember for documentation or review.
Add-ADGroupMember "Help Desk" -Members jsmith | Export-Csv .\output.csv -NoTypeInformation | Select-Object *
Convert returned objects into JSON for APIs or automation. Base task: Export the output of Add-ADGroupMember for documentation or review.
Add-ADGroupMember "Help Desk" -Members jsmith | Export-Csv .\output.csv -NoTypeInformation | ConvertTo-Json -Depth 6
Save formatted output to a UTF-8 text file. Base task: Export the output of Add-ADGroupMember for documentation or review.
Add-ADGroupMember "Help Desk" -Members jsmith | Export-Csv .\output.csv -NoTypeInformation | Out-File -FilePath .\command-results.txt -Encoding utf8
Display all returned properties in a readable list. Base task: Export the output of Remove-ADGroupMember for documentation or review.
Remove-ADGroupMember "Help Desk" -Members jsmith -Confirm:$false | Export-Csv .\output.csv -NoTypeInformation | Format-List *
Export returned objects to a CSV file for reporting. Base task: Export the output of Remove-ADGroupMember for documentation or review.
Remove-ADGroupMember "Help Desk" -Members jsmith -Confirm:$false | Export-Csv .\output.csv -NoTypeInformation | Export-Csv -Path .\command-results.csv -NoTypeInformation
Measure how long the command takes to complete. Base task: Export the output of Remove-ADGroupMember for documentation or review.
Measure-Command { Remove-ADGroupMember "Help Desk" -Members jsmith -Confirm:$false | Export-Csv .\output.csv -NoTypeInformation }
Run the command with terminating error handling. Base task: Export the output of Remove-ADGroupMember for documentation or review.
try { Remove-ADGroupMember "Help Desk" -Members jsmith -Confirm:$false | Export-Csv .\output.csv -NoTypeInformation -ErrorAction Stop } catch { Write-Error $_.Exception.Message }
Capture the command and console output in a transcript log. Base task: Export the output of Remove-ADGroupMember for documentation or review.
Start-Transcript -Path .\command-session.log; Remove-ADGroupMember "Help Desk" -Members jsmith -Confirm:$false | Export-Csv .\output.csv -NoTypeInformation; Stop-Transcript
Return all available object properties for inspection. Base task: Export the output of Remove-ADGroupMember for documentation or review.
Remove-ADGroupMember "Help Desk" -Members jsmith -Confirm:$false | Export-Csv .\output.csv -NoTypeInformation | Select-Object *
Convert returned objects into JSON for APIs or automation. Base task: Export the output of Remove-ADGroupMember for documentation or review.
Remove-ADGroupMember "Help Desk" -Members jsmith -Confirm:$false | Export-Csv .\output.csv -NoTypeInformation | ConvertTo-Json -Depth 6
Save formatted output to a UTF-8 text file. Base task: Export the output of Remove-ADGroupMember for documentation or review.
Remove-ADGroupMember "Help Desk" -Members jsmith -Confirm:$false | Export-Csv .\output.csv -NoTypeInformation | Out-File -FilePath .\command-results.txt -Encoding utf8
Display all returned properties in a readable list. Base task: Export the output of Get-ADComputer for documentation or review.
Get-ADComputer -Filter * -Properties OperatingSystem | Export-Csv .\output.csv -NoTypeInformation | Format-List *
Export returned objects to a CSV file for reporting. Base task: Export the output of Get-ADComputer for documentation or review.
Get-ADComputer -Filter * -Properties OperatingSystem | Export-Csv .\output.csv -NoTypeInformation | Export-Csv -Path .\command-results.csv -NoTypeInformation
Measure how long the command takes to complete. Base task: Export the output of Get-ADComputer for documentation or review.
Measure-Command { Get-ADComputer -Filter * -Properties OperatingSystem | Export-Csv .\output.csv -NoTypeInformation }
Run the command with terminating error handling. Base task: Export the output of Get-ADComputer for documentation or review.
try { Get-ADComputer -Filter * -Properties OperatingSystem | Export-Csv .\output.csv -NoTypeInformation -ErrorAction Stop } catch { Write-Error $_.Exception.Message }
Capture the command and console output in a transcript log. Base task: Export the output of Get-ADComputer for documentation or review.
Start-Transcript -Path .\command-session.log; Get-ADComputer -Filter * -Properties OperatingSystem | Export-Csv .\output.csv -NoTypeInformation; Stop-Transcript
Return all available object properties for inspection. Base task: Export the output of Get-ADComputer for documentation or review.
Get-ADComputer -Filter * -Properties OperatingSystem | Export-Csv .\output.csv -NoTypeInformation | Select-Object *
Convert returned objects into JSON for APIs or automation. Base task: Export the output of Get-ADComputer for documentation or review.
Get-ADComputer -Filter * -Properties OperatingSystem | Export-Csv .\output.csv -NoTypeInformation | ConvertTo-Json -Depth 6
Save formatted output to a UTF-8 text file. Base task: Export the output of Get-ADComputer for documentation or review.
Get-ADComputer -Filter * -Properties OperatingSystem | Export-Csv .\output.csv -NoTypeInformation | Out-File -FilePath .\command-results.txt -Encoding utf8
Display all returned properties in a readable list. Base task: Export the output of Get-ADOrganizationalUnit for documentation or review.
Get-ADOrganizationalUnit -Filter * | Export-Csv .\output.csv -NoTypeInformation | Format-List *
Export returned objects to a CSV file for reporting. Base task: Export the output of Get-ADOrganizationalUnit for documentation or review.
Get-ADOrganizationalUnit -Filter * | Export-Csv .\output.csv -NoTypeInformation | Export-Csv -Path .\command-results.csv -NoTypeInformation
Measure how long the command takes to complete. Base task: Export the output of Get-ADOrganizationalUnit for documentation or review.
Measure-Command { Get-ADOrganizationalUnit -Filter * | Export-Csv .\output.csv -NoTypeInformation }
Run the command with terminating error handling. Base task: Export the output of Get-ADOrganizationalUnit for documentation or review.
try { Get-ADOrganizationalUnit -Filter * | Export-Csv .\output.csv -NoTypeInformation -ErrorAction Stop } catch { Write-Error $_.Exception.Message }
Capture the command and console output in a transcript log. Base task: Export the output of Get-ADOrganizationalUnit for documentation or review.
Start-Transcript -Path .\command-session.log; Get-ADOrganizationalUnit -Filter * | Export-Csv .\output.csv -NoTypeInformation; Stop-Transcript
Return all available object properties for inspection. Base task: Export the output of Get-ADOrganizationalUnit for documentation or review.
Get-ADOrganizationalUnit -Filter * | Export-Csv .\output.csv -NoTypeInformation | Select-Object *
Convert returned objects into JSON for APIs or automation. Base task: Export the output of Get-ADOrganizationalUnit for documentation or review.
Get-ADOrganizationalUnit -Filter * | Export-Csv .\output.csv -NoTypeInformation | ConvertTo-Json -Depth 6
Save formatted output to a UTF-8 text file. Base task: Export the output of Get-ADOrganizationalUnit for documentation or review.
Get-ADOrganizationalUnit -Filter * | Export-Csv .\output.csv -NoTypeInformation | Out-File -FilePath .\command-results.txt -Encoding utf8
Display all returned properties in a readable list. Base task: Export the output of Move-ADObject for documentation or review.
Move-ADObject -Identity $dn -TargetPath "OU=Workstations,DC=contoso,DC=com" | Export-Csv .\output.csv -NoTypeInformation | Format-List *
Export returned objects to a CSV file for reporting. Base task: Export the output of Move-ADObject for documentation or review.
Move-ADObject -Identity $dn -TargetPath "OU=Workstations,DC=contoso,DC=com" | Export-Csv .\output.csv -NoTypeInformation | Export-Csv -Path .\command-results.csv -NoTypeInformation
Measure how long the command takes to complete. Base task: Export the output of Move-ADObject for documentation or review.
Measure-Command { Move-ADObject -Identity $dn -TargetPath "OU=Workstations,DC=contoso,DC=com" | Export-Csv .\output.csv -NoTypeInformation }
Run the command with terminating error handling. Base task: Export the output of Move-ADObject for documentation or review.
try { Move-ADObject -Identity $dn -TargetPath "OU=Workstations,DC=contoso,DC=com" | Export-Csv .\output.csv -NoTypeInformation -ErrorAction Stop } catch { Write-Error $_.Exception.Message }
Capture the command and console output in a transcript log. Base task: Export the output of Move-ADObject for documentation or review.
Start-Transcript -Path .\command-session.log; Move-ADObject -Identity $dn -TargetPath "OU=Workstations,DC=contoso,DC=com" | Export-Csv .\output.csv -NoTypeInformation; Stop-Transcript
Return all available object properties for inspection. Base task: Export the output of Move-ADObject for documentation or review.
Move-ADObject -Identity $dn -TargetPath "OU=Workstations,DC=contoso,DC=com" | Export-Csv .\output.csv -NoTypeInformation | Select-Object *
Convert returned objects into JSON for APIs or automation. Base task: Export the output of Move-ADObject for documentation or review.
Move-ADObject -Identity $dn -TargetPath "OU=Workstations,DC=contoso,DC=com" | Export-Csv .\output.csv -NoTypeInformation | ConvertTo-Json -Depth 6
Save formatted output to a UTF-8 text file. Base task: Export the output of Move-ADObject for documentation or review.
Move-ADObject -Identity $dn -TargetPath "OU=Workstations,DC=contoso,DC=com" | Export-Csv .\output.csv -NoTypeInformation | Out-File -FilePath .\command-results.txt -Encoding utf8
Display all returned properties in a readable list. Base task: Export the output of Get-ADDomain for documentation or review.
Get-ADDomain | Export-Csv .\output.csv -NoTypeInformation | Format-List *
Export returned objects to a CSV file for reporting. Base task: Export the output of Get-ADDomain for documentation or review.
Get-ADDomain | Export-Csv .\output.csv -NoTypeInformation | Export-Csv -Path .\command-results.csv -NoTypeInformation
Measure how long the command takes to complete. Base task: Export the output of Get-ADDomain for documentation or review.
Measure-Command { Get-ADDomain | Export-Csv .\output.csv -NoTypeInformation }
Run the command with terminating error handling. Base task: Export the output of Get-ADDomain for documentation or review.
try { Get-ADDomain | Export-Csv .\output.csv -NoTypeInformation -ErrorAction Stop } catch { Write-Error $_.Exception.Message }
Capture the command and console output in a transcript log. Base task: Export the output of Get-ADDomain for documentation or review.
Start-Transcript -Path .\command-session.log; Get-ADDomain | Export-Csv .\output.csv -NoTypeInformation; Stop-Transcript
Return all available object properties for inspection. Base task: Export the output of Get-ADDomain for documentation or review.
Get-ADDomain | Export-Csv .\output.csv -NoTypeInformation | Select-Object *
Convert returned objects into JSON for APIs or automation. Base task: Export the output of Get-ADDomain for documentation or review.
Get-ADDomain | Export-Csv .\output.csv -NoTypeInformation | ConvertTo-Json -Depth 6
Save formatted output to a UTF-8 text file. Base task: Export the output of Get-ADDomain for documentation or review.
Get-ADDomain | Export-Csv .\output.csv -NoTypeInformation | Out-File -FilePath .\command-results.txt -Encoding utf8
Display all returned properties in a readable list. Base task: Export the output of Get-ADForest for documentation or review.
Get-ADForest | Export-Csv .\output.csv -NoTypeInformation | Format-List *
Export returned objects to a CSV file for reporting. Base task: Export the output of Get-ADForest for documentation or review.
Get-ADForest | Export-Csv .\output.csv -NoTypeInformation | Export-Csv -Path .\command-results.csv -NoTypeInformation
Measure how long the command takes to complete. Base task: Export the output of Get-ADForest for documentation or review.
Measure-Command { Get-ADForest | Export-Csv .\output.csv -NoTypeInformation }
Run the command with terminating error handling. Base task: Export the output of Get-ADForest for documentation or review.
try { Get-ADForest | Export-Csv .\output.csv -NoTypeInformation -ErrorAction Stop } catch { Write-Error $_.Exception.Message }
Capture the command and console output in a transcript log. Base task: Export the output of Get-ADForest for documentation or review.
Start-Transcript -Path .\command-session.log; Get-ADForest | Export-Csv .\output.csv -NoTypeInformation; Stop-Transcript
Return all available object properties for inspection. Base task: Export the output of Get-ADForest for documentation or review.
Get-ADForest | Export-Csv .\output.csv -NoTypeInformation | Select-Object *
Convert returned objects into JSON for APIs or automation. Base task: Export the output of Get-ADForest for documentation or review.
Get-ADForest | Export-Csv .\output.csv -NoTypeInformation | ConvertTo-Json -Depth 6
Save formatted output to a UTF-8 text file. Base task: Export the output of Get-ADForest for documentation or review.
Get-ADForest | Export-Csv .\output.csv -NoTypeInformation | Out-File -FilePath .\command-results.txt -Encoding utf8
Display all returned properties in a readable list. Base task: Export the output of Get-ADDomainController for documentation or review.
Get-ADDomainController -Filter * | Export-Csv .\output.csv -NoTypeInformation | Format-List *
Export returned objects to a CSV file for reporting. Base task: Export the output of Get-ADDomainController for documentation or review.
Get-ADDomainController -Filter * | Export-Csv .\output.csv -NoTypeInformation | Export-Csv -Path .\command-results.csv -NoTypeInformation
Measure how long the command takes to complete. Base task: Export the output of Get-ADDomainController for documentation or review.
Measure-Command { Get-ADDomainController -Filter * | Export-Csv .\output.csv -NoTypeInformation }
Run the command with terminating error handling. Base task: Export the output of Get-ADDomainController for documentation or review.
try { Get-ADDomainController -Filter * | Export-Csv .\output.csv -NoTypeInformation -ErrorAction Stop } catch { Write-Error $_.Exception.Message }
Capture the command and console output in a transcript log. Base task: Export the output of Get-ADDomainController for documentation or review.
Start-Transcript -Path .\command-session.log; Get-ADDomainController -Filter * | Export-Csv .\output.csv -NoTypeInformation; Stop-Transcript
Return all available object properties for inspection. Base task: Export the output of Get-ADDomainController for documentation or review.
Get-ADDomainController -Filter * | Export-Csv .\output.csv -NoTypeInformation | Select-Object *
Convert returned objects into JSON for APIs or automation. Base task: Export the output of Get-ADDomainController for documentation or review.
Get-ADDomainController -Filter * | Export-Csv .\output.csv -NoTypeInformation | ConvertTo-Json -Depth 6
Save formatted output to a UTF-8 text file. Base task: Export the output of Get-ADDomainController for documentation or review.
Get-ADDomainController -Filter * | Export-Csv .\output.csv -NoTypeInformation | Out-File -FilePath .\command-results.txt -Encoding utf8
Display all returned properties in a readable list. Base task: Export the output of Get-ADReplicationFailure for documentation or review.
Get-ADReplicationFailure -Target * -Scope Forest | Export-Csv .\output.csv -NoTypeInformation | Format-List *
Export returned objects to a CSV file for reporting. Base task: Export the output of Get-ADReplicationFailure for documentation or review.
Get-ADReplicationFailure -Target * -Scope Forest | Export-Csv .\output.csv -NoTypeInformation | Export-Csv -Path .\command-results.csv -NoTypeInformation
Measure how long the command takes to complete. Base task: Export the output of Get-ADReplicationFailure for documentation or review.
Measure-Command { Get-ADReplicationFailure -Target * -Scope Forest | Export-Csv .\output.csv -NoTypeInformation }
Run the command with terminating error handling. Base task: Export the output of Get-ADReplicationFailure for documentation or review.
try { Get-ADReplicationFailure -Target * -Scope Forest | Export-Csv .\output.csv -NoTypeInformation -ErrorAction Stop } catch { Write-Error $_.Exception.Message }
Capture the command and console output in a transcript log. Base task: Export the output of Get-ADReplicationFailure for documentation or review.
Start-Transcript -Path .\command-session.log; Get-ADReplicationFailure -Target * -Scope Forest | Export-Csv .\output.csv -NoTypeInformation; Stop-Transcript
Return all available object properties for inspection. Base task: Export the output of Get-ADReplicationFailure for documentation or review.
Get-ADReplicationFailure -Target * -Scope Forest | Export-Csv .\output.csv -NoTypeInformation | Select-Object *
Convert returned objects into JSON for APIs or automation. Base task: Export the output of Get-ADReplicationFailure for documentation or review.
Get-ADReplicationFailure -Target * -Scope Forest | Export-Csv .\output.csv -NoTypeInformation | ConvertTo-Json -Depth 6
Save formatted output to a UTF-8 text file. Base task: Export the output of Get-ADReplicationFailure for documentation or review.
Get-ADReplicationFailure -Target * -Scope Forest | Export-Csv .\output.csv -NoTypeInformation | Out-File -FilePath .\command-results.txt -Encoding utf8
Display all returned properties in a readable list. Base task: Export the output of Get-ADDefaultDomainPasswordPolicy for documentation or review.
Get-ADDefaultDomainPasswordPolicy | Export-Csv .\output.csv -NoTypeInformation | Format-List *
Export returned objects to a CSV file for reporting. Base task: Export the output of Get-ADDefaultDomainPasswordPolicy for documentation or review.
Get-ADDefaultDomainPasswordPolicy | Export-Csv .\output.csv -NoTypeInformation | Export-Csv -Path .\command-results.csv -NoTypeInformation
Measure how long the command takes to complete. Base task: Export the output of Get-ADDefaultDomainPasswordPolicy for documentation or review.
Measure-Command { Get-ADDefaultDomainPasswordPolicy | Export-Csv .\output.csv -NoTypeInformation }
Run the command with terminating error handling. Base task: Export the output of Get-ADDefaultDomainPasswordPolicy for documentation or review.
try { Get-ADDefaultDomainPasswordPolicy | Export-Csv .\output.csv -NoTypeInformation -ErrorAction Stop } catch { Write-Error $_.Exception.Message }
Capture the command and console output in a transcript log. Base task: Export the output of Get-ADDefaultDomainPasswordPolicy for documentation or review.
Start-Transcript -Path .\command-session.log; Get-ADDefaultDomainPasswordPolicy | Export-Csv .\output.csv -NoTypeInformation; Stop-Transcript
Return all available object properties for inspection. Base task: Export the output of Get-ADDefaultDomainPasswordPolicy for documentation or review.
Get-ADDefaultDomainPasswordPolicy | Export-Csv .\output.csv -NoTypeInformation | Select-Object *
Convert returned objects into JSON for APIs or automation. Base task: Export the output of Get-ADDefaultDomainPasswordPolicy for documentation or review.
Get-ADDefaultDomainPasswordPolicy | Export-Csv .\output.csv -NoTypeInformation | ConvertTo-Json -Depth 6
Save formatted output to a UTF-8 text file. Base task: Export the output of Get-ADDefaultDomainPasswordPolicy for documentation or review.
Get-ADDefaultDomainPasswordPolicy | Export-Csv .\output.csv -NoTypeInformation | Out-File -FilePath .\command-results.txt -Encoding utf8
Display all returned properties in a readable list. Base task: Export the output of Set-ADAccountPassword for documentation or review.
Set-ADAccountPassword jsmith -Reset -NewPassword (Read-Host -AsSecureString) | Export-Csv .\output.csv -NoTypeInformation | Format-List *
Export returned objects to a CSV file for reporting. Base task: Export the output of Set-ADAccountPassword for documentation or review.
Set-ADAccountPassword jsmith -Reset -NewPassword (Read-Host -AsSecureString) | Export-Csv .\output.csv -NoTypeInformation | Export-Csv -Path .\command-results.csv -NoTypeInformation
Measure how long the command takes to complete. Base task: Export the output of Set-ADAccountPassword for documentation or review.
Measure-Command { Set-ADAccountPassword jsmith -Reset -NewPassword (Read-Host -AsSecureString) | Export-Csv .\output.csv -NoTypeInformation }
Run the command with terminating error handling. Base task: Export the output of Set-ADAccountPassword for documentation or review.
try { Set-ADAccountPassword jsmith -Reset -NewPassword (Read-Host -AsSecureString) | Export-Csv .\output.csv -NoTypeInformation -ErrorAction Stop } catch { Write-Error $_.Exception.Message }
Capture the command and console output in a transcript log. Base task: Export the output of Set-ADAccountPassword for documentation or review.
Start-Transcript -Path .\command-session.log; Set-ADAccountPassword jsmith -Reset -NewPassword (Read-Host -AsSecureString) | Export-Csv .\output.csv -NoTypeInformation; Stop-Transcript
Return all available object properties for inspection. Base task: Export the output of Set-ADAccountPassword for documentation or review.
Set-ADAccountPassword jsmith -Reset -NewPassword (Read-Host -AsSecureString) | Export-Csv .\output.csv -NoTypeInformation | Select-Object *
Convert returned objects into JSON for APIs or automation. Base task: Export the output of Set-ADAccountPassword for documentation or review.
Set-ADAccountPassword jsmith -Reset -NewPassword (Read-Host -AsSecureString) | Export-Csv .\output.csv -NoTypeInformation | ConvertTo-Json -Depth 6
Save formatted output to a UTF-8 text file. Base task: Export the output of Set-ADAccountPassword for documentation or review.
Set-ADAccountPassword jsmith -Reset -NewPassword (Read-Host -AsSecureString) | Export-Csv .\output.csv -NoTypeInformation | Out-File -FilePath .\command-results.txt -Encoding utf8
Display all returned properties in a readable list. Base task: Display complete syntax, parameter details, and examples for Get-ADUser.
Get-Help Get-ADUser -Full | Format-List *
Export returned objects to a CSV file for reporting. Base task: Display complete syntax, parameter details, and examples for Get-ADUser.
Get-Help Get-ADUser -Full | Export-Csv -Path .\command-results.csv -NoTypeInformation
Measure how long the command takes to complete. Base task: Display complete syntax, parameter details, and examples for Get-ADUser.
Measure-Command { Get-Help Get-ADUser -Full }
Run the command with terminating error handling. Base task: Display complete syntax, parameter details, and examples for Get-ADUser.
try { Get-Help Get-ADUser -Full -ErrorAction Stop } catch { Write-Error $_.Exception.Message }
Capture the command and console output in a transcript log. Base task: Display complete syntax, parameter details, and examples for Get-ADUser.
Start-Transcript -Path .\command-session.log; Get-Help Get-ADUser -Full; Stop-Transcript
Return all available object properties for inspection. Base task: Display complete syntax, parameter details, and examples for Get-ADUser.
Get-Help Get-ADUser -Full | Select-Object *
Convert returned objects into JSON for APIs or automation. Base task: Display complete syntax, parameter details, and examples for Get-ADUser.
Get-Help Get-ADUser -Full | ConvertTo-Json -Depth 6
Save formatted output to a UTF-8 text file. Base task: Display complete syntax, parameter details, and examples for Get-ADUser.
Get-Help Get-ADUser -Full | Out-File -FilePath .\command-results.txt -Encoding utf8
Display all returned properties in a readable list. Base task: Display complete syntax, parameter details, and examples for New-ADUser.
Get-Help New-ADUser -Full | Format-List *
Export returned objects to a CSV file for reporting. Base task: Display complete syntax, parameter details, and examples for New-ADUser.
Get-Help New-ADUser -Full | Export-Csv -Path .\command-results.csv -NoTypeInformation
Measure how long the command takes to complete. Base task: Display complete syntax, parameter details, and examples for New-ADUser.
Measure-Command { Get-Help New-ADUser -Full }
Run the command with terminating error handling. Base task: Display complete syntax, parameter details, and examples for New-ADUser.
try { Get-Help New-ADUser -Full -ErrorAction Stop } catch { Write-Error $_.Exception.Message }
Capture the command and console output in a transcript log. Base task: Display complete syntax, parameter details, and examples for New-ADUser.
Start-Transcript -Path .\command-session.log; Get-Help New-ADUser -Full; Stop-Transcript
Return all available object properties for inspection. Base task: Display complete syntax, parameter details, and examples for New-ADUser.
Get-Help New-ADUser -Full | Select-Object *
Convert returned objects into JSON for APIs or automation. Base task: Display complete syntax, parameter details, and examples for New-ADUser.
Get-Help New-ADUser -Full | ConvertTo-Json -Depth 6
Save formatted output to a UTF-8 text file. Base task: Display complete syntax, parameter details, and examples for New-ADUser.
Get-Help New-ADUser -Full | Out-File -FilePath .\command-results.txt -Encoding utf8
Display all returned properties in a readable list. Base task: Display complete syntax, parameter details, and examples for Set-ADUser.
Get-Help Set-ADUser -Full | Format-List *
Export returned objects to a CSV file for reporting. Base task: Display complete syntax, parameter details, and examples for Set-ADUser.
Get-Help Set-ADUser -Full | Export-Csv -Path .\command-results.csv -NoTypeInformation
Measure how long the command takes to complete. Base task: Display complete syntax, parameter details, and examples for Set-ADUser.
Measure-Command { Get-Help Set-ADUser -Full }
Run the command with terminating error handling. Base task: Display complete syntax, parameter details, and examples for Set-ADUser.
try { Get-Help Set-ADUser -Full -ErrorAction Stop } catch { Write-Error $_.Exception.Message }
Capture the command and console output in a transcript log. Base task: Display complete syntax, parameter details, and examples for Set-ADUser.
Start-Transcript -Path .\command-session.log; Get-Help Set-ADUser -Full; Stop-Transcript
Return all available object properties for inspection. Base task: Display complete syntax, parameter details, and examples for Set-ADUser.
Get-Help Set-ADUser -Full | Select-Object *
Convert returned objects into JSON for APIs or automation. Base task: Display complete syntax, parameter details, and examples for Set-ADUser.
Get-Help Set-ADUser -Full | ConvertTo-Json -Depth 6
Save formatted output to a UTF-8 text file. Base task: Display complete syntax, parameter details, and examples for Set-ADUser.
Get-Help Set-ADUser -Full | Out-File -FilePath .\command-results.txt -Encoding utf8
Display all returned properties in a readable list. Base task: Display complete syntax, parameter details, and examples for Disable-ADAccount.
Get-Help Disable-ADAccount -Full | Format-List *
Export returned objects to a CSV file for reporting. Base task: Display complete syntax, parameter details, and examples for Disable-ADAccount.
Get-Help Disable-ADAccount -Full | Export-Csv -Path .\command-results.csv -NoTypeInformation
Measure how long the command takes to complete. Base task: Display complete syntax, parameter details, and examples for Disable-ADAccount.
Measure-Command { Get-Help Disable-ADAccount -Full }
Run the command with terminating error handling. Base task: Display complete syntax, parameter details, and examples for Disable-ADAccount.
try { Get-Help Disable-ADAccount -Full -ErrorAction Stop } catch { Write-Error $_.Exception.Message }
Capture the command and console output in a transcript log. Base task: Display complete syntax, parameter details, and examples for Disable-ADAccount.
Start-Transcript -Path .\command-session.log; Get-Help Disable-ADAccount -Full; Stop-Transcript
Return all available object properties for inspection. Base task: Display complete syntax, parameter details, and examples for Disable-ADAccount.
Get-Help Disable-ADAccount -Full | Select-Object *
Convert returned objects into JSON for APIs or automation. Base task: Display complete syntax, parameter details, and examples for Disable-ADAccount.
Get-Help Disable-ADAccount -Full | ConvertTo-Json -Depth 6
Save formatted output to a UTF-8 text file. Base task: Display complete syntax, parameter details, and examples for Disable-ADAccount.
Get-Help Disable-ADAccount -Full | Out-File -FilePath .\command-results.txt -Encoding utf8
Display all returned properties in a readable list. Base task: Display complete syntax, parameter details, and examples for Enable-ADAccount.
Get-Help Enable-ADAccount -Full | Format-List *
Export returned objects to a CSV file for reporting. Base task: Display complete syntax, parameter details, and examples for Enable-ADAccount.
Get-Help Enable-ADAccount -Full | Export-Csv -Path .\command-results.csv -NoTypeInformation
Measure how long the command takes to complete. Base task: Display complete syntax, parameter details, and examples for Enable-ADAccount.
Measure-Command { Get-Help Enable-ADAccount -Full }
Run the command with terminating error handling. Base task: Display complete syntax, parameter details, and examples for Enable-ADAccount.
try { Get-Help Enable-ADAccount -Full -ErrorAction Stop } catch { Write-Error $_.Exception.Message }
Capture the command and console output in a transcript log. Base task: Display complete syntax, parameter details, and examples for Enable-ADAccount.
Start-Transcript -Path .\command-session.log; Get-Help Enable-ADAccount -Full; Stop-Transcript
Return all available object properties for inspection. Base task: Display complete syntax, parameter details, and examples for Enable-ADAccount.
Get-Help Enable-ADAccount -Full | Select-Object *
Convert returned objects into JSON for APIs or automation. Base task: Display complete syntax, parameter details, and examples for Enable-ADAccount.
Get-Help Enable-ADAccount -Full | ConvertTo-Json -Depth 6
Save formatted output to a UTF-8 text file. Base task: Display complete syntax, parameter details, and examples for Enable-ADAccount.
Get-Help Enable-ADAccount -Full | Out-File -FilePath .\command-results.txt -Encoding utf8
Display all returned properties in a readable list. Base task: Display complete syntax, parameter details, and examples for Unlock-ADAccount.
Get-Help Unlock-ADAccount -Full | Format-List *
Export returned objects to a CSV file for reporting. Base task: Display complete syntax, parameter details, and examples for Unlock-ADAccount.
Get-Help Unlock-ADAccount -Full | Export-Csv -Path .\command-results.csv -NoTypeInformation
Measure how long the command takes to complete. Base task: Display complete syntax, parameter details, and examples for Unlock-ADAccount.
Measure-Command { Get-Help Unlock-ADAccount -Full }
Run the command with terminating error handling. Base task: Display complete syntax, parameter details, and examples for Unlock-ADAccount.
try { Get-Help Unlock-ADAccount -Full -ErrorAction Stop } catch { Write-Error $_.Exception.Message }
Capture the command and console output in a transcript log. Base task: Display complete syntax, parameter details, and examples for Unlock-ADAccount.
Start-Transcript -Path .\command-session.log; Get-Help Unlock-ADAccount -Full; Stop-Transcript
Return all available object properties for inspection. Base task: Display complete syntax, parameter details, and examples for Unlock-ADAccount.
Get-Help Unlock-ADAccount -Full | Select-Object *
Convert returned objects into JSON for APIs or automation. Base task: Display complete syntax, parameter details, and examples for Unlock-ADAccount.
Get-Help Unlock-ADAccount -Full | ConvertTo-Json -Depth 6
Save formatted output to a UTF-8 text file. Base task: Display complete syntax, parameter details, and examples for Unlock-ADAccount.
Get-Help Unlock-ADAccount -Full | Out-File -FilePath .\command-results.txt -Encoding utf8
Display all returned properties in a readable list. Base task: Display complete syntax, parameter details, and examples for Search-ADAccount.
Get-Help Search-ADAccount -Full | Format-List *
Export returned objects to a CSV file for reporting. Base task: Display complete syntax, parameter details, and examples for Search-ADAccount.
Get-Help Search-ADAccount -Full | Export-Csv -Path .\command-results.csv -NoTypeInformation
Measure how long the command takes to complete. Base task: Display complete syntax, parameter details, and examples for Search-ADAccount.
Measure-Command { Get-Help Search-ADAccount -Full }
Run the command with terminating error handling. Base task: Display complete syntax, parameter details, and examples for Search-ADAccount.
try { Get-Help Search-ADAccount -Full -ErrorAction Stop } catch { Write-Error $_.Exception.Message }
Capture the command and console output in a transcript log. Base task: Display complete syntax, parameter details, and examples for Search-ADAccount.
Start-Transcript -Path .\command-session.log; Get-Help Search-ADAccount -Full; Stop-Transcript
Return all available object properties for inspection. Base task: Display complete syntax, parameter details, and examples for Search-ADAccount.
Get-Help Search-ADAccount -Full | Select-Object *
Convert returned objects into JSON for APIs or automation. Base task: Display complete syntax, parameter details, and examples for Search-ADAccount.
Get-Help Search-ADAccount -Full | ConvertTo-Json -Depth 6
Save formatted output to a UTF-8 text file. Base task: Display complete syntax, parameter details, and examples for Search-ADAccount.
Get-Help Search-ADAccount -Full | Out-File -FilePath .\command-results.txt -Encoding utf8
Display all returned properties in a readable list. Base task: Display complete syntax, parameter details, and examples for Get-ADGroup.
Get-Help Get-ADGroup -Full | Format-List *
Export returned objects to a CSV file for reporting. Base task: Display complete syntax, parameter details, and examples for Get-ADGroup.
Get-Help Get-ADGroup -Full | Export-Csv -Path .\command-results.csv -NoTypeInformation
Measure how long the command takes to complete. Base task: Display complete syntax, parameter details, and examples for Get-ADGroup.
Measure-Command { Get-Help Get-ADGroup -Full }
Run the command with terminating error handling. Base task: Display complete syntax, parameter details, and examples for Get-ADGroup.
try { Get-Help Get-ADGroup -Full -ErrorAction Stop } catch { Write-Error $_.Exception.Message }
Capture the command and console output in a transcript log. Base task: Display complete syntax, parameter details, and examples for Get-ADGroup.
Start-Transcript -Path .\command-session.log; Get-Help Get-ADGroup -Full; Stop-Transcript
Return all available object properties for inspection. Base task: Display complete syntax, parameter details, and examples for Get-ADGroup.
Get-Help Get-ADGroup -Full | Select-Object *
Convert returned objects into JSON for APIs or automation. Base task: Display complete syntax, parameter details, and examples for Get-ADGroup.
Get-Help Get-ADGroup -Full | ConvertTo-Json -Depth 6
Save formatted output to a UTF-8 text file. Base task: Display complete syntax, parameter details, and examples for Get-ADGroup.
Get-Help Get-ADGroup -Full | Out-File -FilePath .\command-results.txt -Encoding utf8
Display all returned properties in a readable list. Base task: Display complete syntax, parameter details, and examples for Get-ADGroupMember.
Get-Help Get-ADGroupMember -Full | Format-List *
Export returned objects to a CSV file for reporting. Base task: Display complete syntax, parameter details, and examples for Get-ADGroupMember.
Get-Help Get-ADGroupMember -Full | Export-Csv -Path .\command-results.csv -NoTypeInformation
Measure how long the command takes to complete. Base task: Display complete syntax, parameter details, and examples for Get-ADGroupMember.
Measure-Command { Get-Help Get-ADGroupMember -Full }
Run the command with terminating error handling. Base task: Display complete syntax, parameter details, and examples for Get-ADGroupMember.
try { Get-Help Get-ADGroupMember -Full -ErrorAction Stop } catch { Write-Error $_.Exception.Message }
Capture the command and console output in a transcript log. Base task: Display complete syntax, parameter details, and examples for Get-ADGroupMember.
Start-Transcript -Path .\command-session.log; Get-Help Get-ADGroupMember -Full; Stop-Transcript
Return all available object properties for inspection. Base task: Display complete syntax, parameter details, and examples for Get-ADGroupMember.
Get-Help Get-ADGroupMember -Full | Select-Object *
Convert returned objects into JSON for APIs or automation. Base task: Display complete syntax, parameter details, and examples for Get-ADGroupMember.
Get-Help Get-ADGroupMember -Full | ConvertTo-Json -Depth 6
Save formatted output to a UTF-8 text file. Base task: Display complete syntax, parameter details, and examples for Get-ADGroupMember.
Get-Help Get-ADGroupMember -Full | Out-File -FilePath .\command-results.txt -Encoding utf8
Display all returned properties in a readable list. Base task: Display complete syntax, parameter details, and examples for Add-ADGroupMember.
Get-Help Add-ADGroupMember -Full | Format-List *
Export returned objects to a CSV file for reporting. Base task: Display complete syntax, parameter details, and examples for Add-ADGroupMember.
Get-Help Add-ADGroupMember -Full | Export-Csv -Path .\command-results.csv -NoTypeInformation
Measure how long the command takes to complete. Base task: Display complete syntax, parameter details, and examples for Add-ADGroupMember.
Measure-Command { Get-Help Add-ADGroupMember -Full }
Run the command with terminating error handling. Base task: Display complete syntax, parameter details, and examples for Add-ADGroupMember.
try { Get-Help Add-ADGroupMember -Full -ErrorAction Stop } catch { Write-Error $_.Exception.Message }
Capture the command and console output in a transcript log. Base task: Display complete syntax, parameter details, and examples for Add-ADGroupMember.
Start-Transcript -Path .\command-session.log; Get-Help Add-ADGroupMember -Full; Stop-Transcript
Return all available object properties for inspection. Base task: Display complete syntax, parameter details, and examples for Add-ADGroupMember.
Get-Help Add-ADGroupMember -Full | Select-Object *
Convert returned objects into JSON for APIs or automation. Base task: Display complete syntax, parameter details, and examples for Add-ADGroupMember.
Get-Help Add-ADGroupMember -Full | ConvertTo-Json -Depth 6
Save formatted output to a UTF-8 text file. Base task: Display complete syntax, parameter details, and examples for Add-ADGroupMember.
Get-Help Add-ADGroupMember -Full | Out-File -FilePath .\command-results.txt -Encoding utf8
Display all returned properties in a readable list. Base task: Display complete syntax, parameter details, and examples for Remove-ADGroupMember.
Get-Help Remove-ADGroupMember -Full | Format-List *
Export returned objects to a CSV file for reporting. Base task: Display complete syntax, parameter details, and examples for Remove-ADGroupMember.
Get-Help Remove-ADGroupMember -Full | Export-Csv -Path .\command-results.csv -NoTypeInformation
Measure how long the command takes to complete. Base task: Display complete syntax, parameter details, and examples for Remove-ADGroupMember.
Measure-Command { Get-Help Remove-ADGroupMember -Full }
Run the command with terminating error handling. Base task: Display complete syntax, parameter details, and examples for Remove-ADGroupMember.
try { Get-Help Remove-ADGroupMember -Full -ErrorAction Stop } catch { Write-Error $_.Exception.Message }
Capture the command and console output in a transcript log. Base task: Display complete syntax, parameter details, and examples for Remove-ADGroupMember.
Start-Transcript -Path .\command-session.log; Get-Help Remove-ADGroupMember -Full; Stop-Transcript
Return all available object properties for inspection. Base task: Display complete syntax, parameter details, and examples for Remove-ADGroupMember.
Get-Help Remove-ADGroupMember -Full | Select-Object *
Convert returned objects into JSON for APIs or automation. Base task: Display complete syntax, parameter details, and examples for Remove-ADGroupMember.
Get-Help Remove-ADGroupMember -Full | ConvertTo-Json -Depth 6
Save formatted output to a UTF-8 text file. Base task: Display complete syntax, parameter details, and examples for Remove-ADGroupMember.
Get-Help Remove-ADGroupMember -Full | Out-File -FilePath .\command-results.txt -Encoding utf8
Display all returned properties in a readable list. Base task: Display complete syntax, parameter details, and examples for Get-ADComputer.
Get-Help Get-ADComputer -Full | Format-List *
Export returned objects to a CSV file for reporting. Base task: Display complete syntax, parameter details, and examples for Get-ADComputer.
Get-Help Get-ADComputer -Full | Export-Csv -Path .\command-results.csv -NoTypeInformation
Measure how long the command takes to complete. Base task: Display complete syntax, parameter details, and examples for Get-ADComputer.
Measure-Command { Get-Help Get-ADComputer -Full }
Run the command with terminating error handling. Base task: Display complete syntax, parameter details, and examples for Get-ADComputer.
try { Get-Help Get-ADComputer -Full -ErrorAction Stop } catch { Write-Error $_.Exception.Message }
Capture the command and console output in a transcript log. Base task: Display complete syntax, parameter details, and examples for Get-ADComputer.
Start-Transcript -Path .\command-session.log; Get-Help Get-ADComputer -Full; Stop-Transcript
Return all available object properties for inspection. Base task: Display complete syntax, parameter details, and examples for Get-ADComputer.
Get-Help Get-ADComputer -Full | Select-Object *
Convert returned objects into JSON for APIs or automation. Base task: Display complete syntax, parameter details, and examples for Get-ADComputer.
Get-Help Get-ADComputer -Full | ConvertTo-Json -Depth 6
Save formatted output to a UTF-8 text file. Base task: Display complete syntax, parameter details, and examples for Get-ADComputer.
Get-Help Get-ADComputer -Full | Out-File -FilePath .\command-results.txt -Encoding utf8
Display all returned properties in a readable list. Base task: Display complete syntax, parameter details, and examples for Get-ADOrganizationalUnit.
Get-Help Get-ADOrganizationalUnit -Full | Format-List *
Export returned objects to a CSV file for reporting. Base task: Display complete syntax, parameter details, and examples for Get-ADOrganizationalUnit.
Get-Help Get-ADOrganizationalUnit -Full | Export-Csv -Path .\command-results.csv -NoTypeInformation
Measure how long the command takes to complete. Base task: Display complete syntax, parameter details, and examples for Get-ADOrganizationalUnit.
Measure-Command { Get-Help Get-ADOrganizationalUnit -Full }
Run the command with terminating error handling. Base task: Display complete syntax, parameter details, and examples for Get-ADOrganizationalUnit.
try { Get-Help Get-ADOrganizationalUnit -Full -ErrorAction Stop } catch { Write-Error $_.Exception.Message }
Capture the command and console output in a transcript log. Base task: Display complete syntax, parameter details, and examples for Get-ADOrganizationalUnit.
Start-Transcript -Path .\command-session.log; Get-Help Get-ADOrganizationalUnit -Full; Stop-Transcript
Return all available object properties for inspection. Base task: Display complete syntax, parameter details, and examples for Get-ADOrganizationalUnit.
Get-Help Get-ADOrganizationalUnit -Full | Select-Object *
Convert returned objects into JSON for APIs or automation. Base task: Display complete syntax, parameter details, and examples for Get-ADOrganizationalUnit.
Get-Help Get-ADOrganizationalUnit -Full | ConvertTo-Json -Depth 6
Save formatted output to a UTF-8 text file. Base task: Display complete syntax, parameter details, and examples for Get-ADOrganizationalUnit.
Get-Help Get-ADOrganizationalUnit -Full | Out-File -FilePath .\command-results.txt -Encoding utf8
Display all returned properties in a readable list. Base task: Display complete syntax, parameter details, and examples for Move-ADObject.
Get-Help Move-ADObject -Full | Format-List *
Export returned objects to a CSV file for reporting. Base task: Display complete syntax, parameter details, and examples for Move-ADObject.
Get-Help Move-ADObject -Full | Export-Csv -Path .\command-results.csv -NoTypeInformation
Measure how long the command takes to complete. Base task: Display complete syntax, parameter details, and examples for Move-ADObject.
Measure-Command { Get-Help Move-ADObject -Full }
Run the command with terminating error handling. Base task: Display complete syntax, parameter details, and examples for Move-ADObject.
try { Get-Help Move-ADObject -Full -ErrorAction Stop } catch { Write-Error $_.Exception.Message }
Capture the command and console output in a transcript log. Base task: Display complete syntax, parameter details, and examples for Move-ADObject.
Start-Transcript -Path .\command-session.log; Get-Help Move-ADObject -Full; Stop-Transcript
Return all available object properties for inspection. Base task: Display complete syntax, parameter details, and examples for Move-ADObject.
Get-Help Move-ADObject -Full | Select-Object *
Convert returned objects into JSON for APIs or automation. Base task: Display complete syntax, parameter details, and examples for Move-ADObject.
Get-Help Move-ADObject -Full | ConvertTo-Json -Depth 6
Save formatted output to a UTF-8 text file. Base task: Display complete syntax, parameter details, and examples for Move-ADObject.
Get-Help Move-ADObject -Full | Out-File -FilePath .\command-results.txt -Encoding utf8
Display all returned properties in a readable list. Base task: Display complete syntax, parameter details, and examples for Get-ADDomain.
Get-Help Get-ADDomain -Full | Format-List *
Export returned objects to a CSV file for reporting. Base task: Display complete syntax, parameter details, and examples for Get-ADDomain.
Get-Help Get-ADDomain -Full | Export-Csv -Path .\command-results.csv -NoTypeInformation
Measure how long the command takes to complete. Base task: Display complete syntax, parameter details, and examples for Get-ADDomain.
Measure-Command { Get-Help Get-ADDomain -Full }
Run the command with terminating error handling. Base task: Display complete syntax, parameter details, and examples for Get-ADDomain.
try { Get-Help Get-ADDomain -Full -ErrorAction Stop } catch { Write-Error $_.Exception.Message }
Capture the command and console output in a transcript log. Base task: Display complete syntax, parameter details, and examples for Get-ADDomain.
Start-Transcript -Path .\command-session.log; Get-Help Get-ADDomain -Full; Stop-Transcript
Return all available object properties for inspection. Base task: Display complete syntax, parameter details, and examples for Get-ADDomain.
Get-Help Get-ADDomain -Full | Select-Object *
Convert returned objects into JSON for APIs or automation. Base task: Display complete syntax, parameter details, and examples for Get-ADDomain.
Get-Help Get-ADDomain -Full | ConvertTo-Json -Depth 6
Save formatted output to a UTF-8 text file. Base task: Display complete syntax, parameter details, and examples for Get-ADDomain.
Get-Help Get-ADDomain -Full | Out-File -FilePath .\command-results.txt -Encoding utf8
Display all returned properties in a readable list. Base task: Display complete syntax, parameter details, and examples for Get-ADForest.
Get-Help Get-ADForest -Full | Format-List *
Export returned objects to a CSV file for reporting. Base task: Display complete syntax, parameter details, and examples for Get-ADForest.
Get-Help Get-ADForest -Full | Export-Csv -Path .\command-results.csv -NoTypeInformation
Measure how long the command takes to complete. Base task: Display complete syntax, parameter details, and examples for Get-ADForest.
Measure-Command { Get-Help Get-ADForest -Full }
Run the command with terminating error handling. Base task: Display complete syntax, parameter details, and examples for Get-ADForest.
try { Get-Help Get-ADForest -Full -ErrorAction Stop } catch { Write-Error $_.Exception.Message }
Capture the command and console output in a transcript log. Base task: Display complete syntax, parameter details, and examples for Get-ADForest.
Start-Transcript -Path .\command-session.log; Get-Help Get-ADForest -Full; Stop-Transcript
Return all available object properties for inspection. Base task: Display complete syntax, parameter details, and examples for Get-ADForest.
Get-Help Get-ADForest -Full | Select-Object *
Convert returned objects into JSON for APIs or automation. Base task: Display complete syntax, parameter details, and examples for Get-ADForest.
Get-Help Get-ADForest -Full | ConvertTo-Json -Depth 6
Save formatted output to a UTF-8 text file. Base task: Display complete syntax, parameter details, and examples for Get-ADForest.
Get-Help Get-ADForest -Full | Out-File -FilePath .\command-results.txt -Encoding utf8
Display all returned properties in a readable list. Base task: Display complete syntax, parameter details, and examples for Get-ADDomainController.
Get-Help Get-ADDomainController -Full | Format-List *
Export returned objects to a CSV file for reporting. Base task: Display complete syntax, parameter details, and examples for Get-ADDomainController.
Get-Help Get-ADDomainController -Full | Export-Csv -Path .\command-results.csv -NoTypeInformation
Measure how long the command takes to complete. Base task: Display complete syntax, parameter details, and examples for Get-ADDomainController.
Measure-Command { Get-Help Get-ADDomainController -Full }
Run the command with terminating error handling. Base task: Display complete syntax, parameter details, and examples for Get-ADDomainController.
try { Get-Help Get-ADDomainController -Full -ErrorAction Stop } catch { Write-Error $_.Exception.Message }
Capture the command and console output in a transcript log. Base task: Display complete syntax, parameter details, and examples for Get-ADDomainController.
Start-Transcript -Path .\command-session.log; Get-Help Get-ADDomainController -Full; Stop-Transcript
Return all available object properties for inspection. Base task: Display complete syntax, parameter details, and examples for Get-ADDomainController.
Get-Help Get-ADDomainController -Full | Select-Object *
Convert returned objects into JSON for APIs or automation. Base task: Display complete syntax, parameter details, and examples for Get-ADDomainController.
Get-Help Get-ADDomainController -Full | ConvertTo-Json -Depth 6
Save formatted output to a UTF-8 text file. Base task: Display complete syntax, parameter details, and examples for Get-ADDomainController.
Get-Help Get-ADDomainController -Full | Out-File -FilePath .\command-results.txt -Encoding utf8
Display all returned properties in a readable list. Base task: Display complete syntax, parameter details, and examples for Get-ADReplicationFailure.
Get-Help Get-ADReplicationFailure -Full | Format-List *
Export returned objects to a CSV file for reporting. Base task: Display complete syntax, parameter details, and examples for Get-ADReplicationFailure.
Get-Help Get-ADReplicationFailure -Full | Export-Csv -Path .\command-results.csv -NoTypeInformation
Measure how long the command takes to complete. Base task: Display complete syntax, parameter details, and examples for Get-ADReplicationFailure.
Measure-Command { Get-Help Get-ADReplicationFailure -Full }
Run the command with terminating error handling. Base task: Display complete syntax, parameter details, and examples for Get-ADReplicationFailure.
try { Get-Help Get-ADReplicationFailure -Full -ErrorAction Stop } catch { Write-Error $_.Exception.Message }
Capture the command and console output in a transcript log. Base task: Display complete syntax, parameter details, and examples for Get-ADReplicationFailure.
Start-Transcript -Path .\command-session.log; Get-Help Get-ADReplicationFailure -Full; Stop-Transcript
Return all available object properties for inspection. Base task: Display complete syntax, parameter details, and examples for Get-ADReplicationFailure.
Get-Help Get-ADReplicationFailure -Full | Select-Object *
Convert returned objects into JSON for APIs or automation. Base task: Display complete syntax, parameter details, and examples for Get-ADReplicationFailure.
Get-Help Get-ADReplicationFailure -Full | ConvertTo-Json -Depth 6
Save formatted output to a UTF-8 text file. Base task: Display complete syntax, parameter details, and examples for Get-ADReplicationFailure.
Get-Help Get-ADReplicationFailure -Full | Out-File -FilePath .\command-results.txt -Encoding utf8
Display all returned properties in a readable list. Base task: Display complete syntax, parameter details, and examples for Get-ADDefaultDomainPasswordPolicy.
Get-Help Get-ADDefaultDomainPasswordPolicy -Full | Format-List *
Export returned objects to a CSV file for reporting. Base task: Display complete syntax, parameter details, and examples for Get-ADDefaultDomainPasswordPolicy.
Get-Help Get-ADDefaultDomainPasswordPolicy -Full | Export-Csv -Path .\command-results.csv -NoTypeInformation
Measure how long the command takes to complete. Base task: Display complete syntax, parameter details, and examples for Get-ADDefaultDomainPasswordPolicy.
Measure-Command { Get-Help Get-ADDefaultDomainPasswordPolicy -Full }
Run the command with terminating error handling. Base task: Display complete syntax, parameter details, and examples for Get-ADDefaultDomainPasswordPolicy.
try { Get-Help Get-ADDefaultDomainPasswordPolicy -Full -ErrorAction Stop } catch { Write-Error $_.Exception.Message }
Capture the command and console output in a transcript log. Base task: Display complete syntax, parameter details, and examples for Get-ADDefaultDomainPasswordPolicy.
Start-Transcript -Path .\command-session.log; Get-Help Get-ADDefaultDomainPasswordPolicy -Full; Stop-Transcript
Return all available object properties for inspection. Base task: Display complete syntax, parameter details, and examples for Get-ADDefaultDomainPasswordPolicy.
Get-Help Get-ADDefaultDomainPasswordPolicy -Full | Select-Object *
Convert returned objects into JSON for APIs or automation. Base task: Display complete syntax, parameter details, and examples for Get-ADDefaultDomainPasswordPolicy.
Get-Help Get-ADDefaultDomainPasswordPolicy -Full | ConvertTo-Json -Depth 6
Save formatted output to a UTF-8 text file. Base task: Display complete syntax, parameter details, and examples for Get-ADDefaultDomainPasswordPolicy.
Get-Help Get-ADDefaultDomainPasswordPolicy -Full | Out-File -FilePath .\command-results.txt -Encoding utf8
Display all returned properties in a readable list. Base task: Display complete syntax, parameter details, and examples for Set-ADAccountPassword.
Get-Help Set-ADAccountPassword -Full | Format-List *
Export returned objects to a CSV file for reporting. Base task: Display complete syntax, parameter details, and examples for Set-ADAccountPassword.
Get-Help Set-ADAccountPassword -Full | Export-Csv -Path .\command-results.csv -NoTypeInformation
Measure how long the command takes to complete. Base task: Display complete syntax, parameter details, and examples for Set-ADAccountPassword.
Measure-Command { Get-Help Set-ADAccountPassword -Full }
Run the command with terminating error handling. Base task: Display complete syntax, parameter details, and examples for Set-ADAccountPassword.
try { Get-Help Set-ADAccountPassword -Full -ErrorAction Stop } catch { Write-Error $_.Exception.Message }
Capture the command and console output in a transcript log. Base task: Display complete syntax, parameter details, and examples for Set-ADAccountPassword.
Start-Transcript -Path .\command-session.log; Get-Help Set-ADAccountPassword -Full; Stop-Transcript
Return all available object properties for inspection. Base task: Display complete syntax, parameter details, and examples for Set-ADAccountPassword.
Get-Help Set-ADAccountPassword -Full | Select-Object *
Convert returned objects into JSON for APIs or automation. Base task: Display complete syntax, parameter details, and examples for Set-ADAccountPassword.
Get-Help Set-ADAccountPassword -Full | ConvertTo-Json -Depth 6
Save formatted output to a UTF-8 text file. Base task: Display complete syntax, parameter details, and examples for Set-ADAccountPassword.
Get-Help Set-ADAccountPassword -Full | Out-File -FilePath .\command-results.txt -Encoding utf8
Amazon Web Services
Configure AWS CLI credentials and default settings.
aws configure
Display the current AWS identity.
aws sts get-caller-identity
Display active AWS CLI configuration values.
aws configure list
List EC2 instances.
aws ec2 describe-instances --output table
Start an EC2 instance.
aws ec2 start-instances --instance-ids i-0123456789abcdef0
Stop an EC2 instance.
aws ec2 stop-instances --instance-ids i-0123456789abcdef0
Reboot an EC2 instance.
aws ec2 reboot-instances --instance-ids i-0123456789abcdef0
List EC2 security groups.
aws ec2 describe-security-groups --output table
List VPCs.
aws ec2 describe-vpcs --output table
List VPC subnets.
aws ec2 describe-subnets --output table
List S3 buckets.
aws s3 ls
Copy a file to S3.
aws s3 cp backup.zip s3://my-bucket/backups/
Synchronize a directory with S3.
aws s3 sync /data s3://my-bucket/data --delete
List IAM users.
aws iam list-users --output table
List IAM roles.
aws iam list-roles --output table
List Lambda functions.
aws lambda list-functions --output table
List RDS database instances.
aws rds describe-db-instances --output table
List CloudWatch alarms.
aws cloudwatch describe-alarms --output table
List CloudWatch Logs groups.
aws logs describe-log-groups --output table
List Route 53 hosted zones.
aws route53 list-hosted-zones --output table
List accounts in AWS Organizations.
aws organizations list-accounts --output table
List Amazon EKS clusters.
aws eks list-clusters
List Amazon ECS clusters.
aws ecs list-clusters
List AWS Secrets Manager secrets metadata.
aws secretsmanager list-secrets --output table
Use aws configure for a standard administrative task.
aws configure
Use aws sts get-caller-identity for a standard administrative task.
aws sts get-caller-identity
Use aws configure list for a standard administrative task.
aws configure list
Use aws ec2 describe-instances for a standard administrative task.
aws ec2 describe-instances --output table
Use aws ec2 start-instances for a standard administrative task.
aws ec2 start-instances --instance-ids i-0123456789abcdef0
Use aws ec2 stop-instances for a standard administrative task.
aws ec2 stop-instances --instance-ids i-0123456789abcdef0
Use aws ec2 reboot-instances for a standard administrative task.
aws ec2 reboot-instances --instance-ids i-0123456789abcdef0
Use aws ec2 describe-security-groups for a standard administrative task.
aws ec2 describe-security-groups --output table
Use aws ec2 describe-vpcs for a standard administrative task.
aws ec2 describe-vpcs --output table
Use aws ec2 describe-subnets for a standard administrative task.
aws ec2 describe-subnets --output table
Use aws s3 ls for a standard administrative task.
aws s3 ls
Use aws s3 cp for a standard administrative task.
aws s3 cp backup.zip s3://my-bucket/backups/
Use aws s3 sync for a standard administrative task.
aws s3 sync /data s3://my-bucket/data --delete
Use aws iam list-users for a standard administrative task.
aws iam list-users --output table
Use aws iam list-roles for a standard administrative task.
aws iam list-roles --output table
Use aws lambda list-functions for a standard administrative task.
aws lambda list-functions --output table
Use aws rds describe-db-instances for a standard administrative task.
aws rds describe-db-instances --output table
Use aws cloudwatch describe-alarms for a standard administrative task.
aws cloudwatch describe-alarms --output table
Use aws logs describe-log-groups for a standard administrative task.
aws logs describe-log-groups --output table
Use aws route53 list-hosted-zones for a standard administrative task.
aws route53 list-hosted-zones --output table
Use aws organizations list-accounts for a standard administrative task.
aws organizations list-accounts --output table
Use aws eks list-clusters for a standard administrative task.
aws eks list-clusters
Use aws ecs list-clusters for a standard administrative task.
aws ecs list-clusters
Use aws secretsmanager list-secrets for a standard administrative task.
aws secretsmanager list-secrets --output table
Open the AWS CLI reference and option details related to aws configure.
aws configure help
Open the AWS CLI reference and option details related to aws sts get-caller-identity.
aws sts get-caller-identity help
Open the AWS CLI reference and option details related to aws configure list.
aws configure list help
Open the AWS CLI reference and option details related to aws ec2 describe-instances.
aws ec2 describe-instances help
Open the AWS CLI reference and option details related to aws ec2 start-instances.
aws ec2 start-instances help
Open the AWS CLI reference and option details related to aws ec2 stop-instances.
aws ec2 stop-instances help
Open the AWS CLI reference and option details related to aws ec2 reboot-instances.
aws ec2 reboot-instances help
Open the AWS CLI reference and option details related to aws ec2 describe-security-groups.
aws ec2 describe-security-groups help
Open the AWS CLI reference and option details related to aws ec2 describe-vpcs.
aws ec2 describe-vpcs help
Open the AWS CLI reference and option details related to aws ec2 describe-subnets.
aws ec2 describe-subnets help
Open the AWS CLI reference and option details related to aws s3 ls.
aws s3 ls help
Open the AWS CLI reference and option details related to aws s3 cp.
aws s3 cp help
Open the AWS CLI reference and option details related to aws s3 sync.
aws s3 sync help
Open the AWS CLI reference and option details related to aws iam list-users.
aws iam list-users help
Open the AWS CLI reference and option details related to aws iam list-roles.
aws iam list-roles help
Open the AWS CLI reference and option details related to aws lambda list-functions.
aws lambda list-functions help
Open the AWS CLI reference and option details related to aws rds describe-db-instances.
aws rds describe-db-instances help
Open the AWS CLI reference and option details related to aws cloudwatch describe-alarms.
aws cloudwatch describe-alarms help
Open the AWS CLI reference and option details related to aws logs describe-log-groups.
aws logs describe-log-groups help
Open the AWS CLI reference and option details related to aws route53 list-hosted-zones.
aws route53 list-hosted-zones help
Open the AWS CLI reference and option details related to aws organizations list-accounts.
aws organizations list-accounts help
Open the AWS CLI reference and option details related to aws eks list-clusters.
aws eks list-clusters help
Open the AWS CLI reference and option details related to aws ecs list-clusters.
aws ecs list-clusters help
Open the AWS CLI reference and option details related to aws secretsmanager list-secrets.
aws secretsmanager list-secrets help
Open the AWS CLI reference and option details related to aws configure — Basic Usage.
aws configure help
Open the AWS CLI reference and option details related to aws sts get-caller-identity — Basic Usage.
aws sts get-caller-identity help
Open the AWS CLI reference and option details related to aws configure list — Basic Usage.
aws configure list help
Open the AWS CLI reference and option details related to aws ec2 describe-instances — Basic Usage.
aws ec2 describe-instances help
Open the AWS CLI reference and option details related to aws ec2 start-instances — Basic Usage.
aws ec2 start-instances help
Open the AWS CLI reference and option details related to aws ec2 stop-instances — Basic Usage.
aws ec2 stop-instances help
Open the AWS CLI reference and option details related to aws ec2 reboot-instances — Basic Usage.
aws ec2 reboot-instances help
Open the AWS CLI reference and option details related to aws ec2 describe-security-groups — Basic Usage.
aws ec2 describe-security-groups help
Open the AWS CLI reference and option details related to aws ec2 describe-vpcs — Basic Usage.
aws ec2 describe-vpcs help
Open the AWS CLI reference and option details related to aws ec2 describe-subnets — Basic Usage.
aws ec2 describe-subnets help
Open the AWS CLI reference and option details related to aws s3 ls — Basic Usage.
aws s3 ls help
Open the AWS CLI reference and option details related to aws s3 cp — Basic Usage.
aws s3 cp help
Open the AWS CLI reference and option details related to aws s3 sync — Basic Usage.
aws s3 sync help
Open the AWS CLI reference and option details related to aws iam list-users — Basic Usage.
aws iam list-users help
Open the AWS CLI reference and option details related to aws iam list-roles — Basic Usage.
aws iam list-roles help
Open the AWS CLI reference and option details related to aws lambda list-functions — Basic Usage.
aws lambda list-functions help
Open the AWS CLI reference and option details related to aws rds describe-db-instances — Basic Usage.
aws rds describe-db-instances help
Open the AWS CLI reference and option details related to aws cloudwatch describe-alarms — Basic Usage.
aws cloudwatch describe-alarms help
Open the AWS CLI reference and option details related to aws logs describe-log-groups — Basic Usage.
aws logs describe-log-groups help
Open the AWS CLI reference and option details related to aws route53 list-hosted-zones — Basic Usage.
aws route53 list-hosted-zones help
Open the AWS CLI reference and option details related to aws organizations list-accounts — Basic Usage.
aws organizations list-accounts help
Open the AWS CLI reference and option details related to aws eks list-clusters — Basic Usage.
aws eks list-clusters help
Open the AWS CLI reference and option details related to aws ecs list-clusters — Basic Usage.
aws ecs list-clusters help
Open the AWS CLI reference and option details related to aws secretsmanager list-secrets — Basic Usage.
aws secretsmanager list-secrets help
Return AWS CLI output as JSON. Base task: Configure AWS CLI credentials and default settings.
aws configure --output json
Display AWS CLI output as a table. Base task: Configure AWS CLI credentials and default settings.
aws configure --output table
Return AWS CLI output as plain text. Base task: Configure AWS CLI credentials and default settings.
aws configure --output text
Save AWS CLI output to JSON. Base task: Configure AWS CLI credentials and default settings.
aws configure --output json > aws-command-results.json
Run the AWS CLI command without opening the result pager. Base task: Configure AWS CLI credentials and default settings.
aws configure --no-cli-pager
Return AWS CLI output as JSON. Base task: Display the current AWS identity.
aws sts get-caller-identity --output json
Display AWS CLI output as a table. Base task: Display the current AWS identity.
aws sts get-caller-identity --output table
Return AWS CLI output as plain text. Base task: Display the current AWS identity.
aws sts get-caller-identity --output text
Save AWS CLI output to JSON. Base task: Display the current AWS identity.
aws sts get-caller-identity --output json > aws-command-results.json
Run the AWS CLI command without opening the result pager. Base task: Display the current AWS identity.
aws sts get-caller-identity --no-cli-pager
Return AWS CLI output as JSON. Base task: Display active AWS CLI configuration values.
aws configure list --output json
Display AWS CLI output as a table. Base task: Display active AWS CLI configuration values.
aws configure list --output table
Return AWS CLI output as plain text. Base task: Display active AWS CLI configuration values.
aws configure list --output text
Save AWS CLI output to JSON. Base task: Display active AWS CLI configuration values.
aws configure list --output json > aws-command-results.json
Run the AWS CLI command without opening the result pager. Base task: Display active AWS CLI configuration values.
aws configure list --no-cli-pager
Return AWS CLI output as JSON. Base task: List EC2 instances.
aws ec2 describe-instances --output table --output json
Display AWS CLI output as a table. Base task: List EC2 instances.
aws ec2 describe-instances --output table --output table
Return AWS CLI output as plain text. Base task: List EC2 instances.
aws ec2 describe-instances --output table --output text
Save AWS CLI output to JSON. Base task: List EC2 instances.
aws ec2 describe-instances --output table --output json > aws-command-results.json
Run the AWS CLI command without opening the result pager. Base task: List EC2 instances.
aws ec2 describe-instances --output table --no-cli-pager
Return AWS CLI output as JSON. Base task: Start an EC2 instance.
aws ec2 start-instances --instance-ids i-0123456789abcdef0 --output json
Display AWS CLI output as a table. Base task: Start an EC2 instance.
aws ec2 start-instances --instance-ids i-0123456789abcdef0 --output table
Return AWS CLI output as plain text. Base task: Start an EC2 instance.
aws ec2 start-instances --instance-ids i-0123456789abcdef0 --output text
Save AWS CLI output to JSON. Base task: Start an EC2 instance.
aws ec2 start-instances --instance-ids i-0123456789abcdef0 --output json > aws-command-results.json
Run the AWS CLI command without opening the result pager. Base task: Start an EC2 instance.
aws ec2 start-instances --instance-ids i-0123456789abcdef0 --no-cli-pager
Return AWS CLI output as JSON. Base task: Stop an EC2 instance.
aws ec2 stop-instances --instance-ids i-0123456789abcdef0 --output json
Display AWS CLI output as a table. Base task: Stop an EC2 instance.
aws ec2 stop-instances --instance-ids i-0123456789abcdef0 --output table
Return AWS CLI output as plain text. Base task: Stop an EC2 instance.
aws ec2 stop-instances --instance-ids i-0123456789abcdef0 --output text
Save AWS CLI output to JSON. Base task: Stop an EC2 instance.
aws ec2 stop-instances --instance-ids i-0123456789abcdef0 --output json > aws-command-results.json
Run the AWS CLI command without opening the result pager. Base task: Stop an EC2 instance.
aws ec2 stop-instances --instance-ids i-0123456789abcdef0 --no-cli-pager
Return AWS CLI output as JSON. Base task: Reboot an EC2 instance.
aws ec2 reboot-instances --instance-ids i-0123456789abcdef0 --output json
Display AWS CLI output as a table. Base task: Reboot an EC2 instance.
aws ec2 reboot-instances --instance-ids i-0123456789abcdef0 --output table
Return AWS CLI output as plain text. Base task: Reboot an EC2 instance.
aws ec2 reboot-instances --instance-ids i-0123456789abcdef0 --output text
Save AWS CLI output to JSON. Base task: Reboot an EC2 instance.
aws ec2 reboot-instances --instance-ids i-0123456789abcdef0 --output json > aws-command-results.json
Run the AWS CLI command without opening the result pager. Base task: Reboot an EC2 instance.
aws ec2 reboot-instances --instance-ids i-0123456789abcdef0 --no-cli-pager
Return AWS CLI output as JSON. Base task: List EC2 security groups.
aws ec2 describe-security-groups --output table --output json
Display AWS CLI output as a table. Base task: List EC2 security groups.
aws ec2 describe-security-groups --output table --output table
Return AWS CLI output as plain text. Base task: List EC2 security groups.
aws ec2 describe-security-groups --output table --output text
Save AWS CLI output to JSON. Base task: List EC2 security groups.
aws ec2 describe-security-groups --output table --output json > aws-command-results.json
Run the AWS CLI command without opening the result pager. Base task: List EC2 security groups.
aws ec2 describe-security-groups --output table --no-cli-pager
Return AWS CLI output as JSON. Base task: List VPCs.
aws ec2 describe-vpcs --output table --output json
Display AWS CLI output as a table. Base task: List VPCs.
aws ec2 describe-vpcs --output table --output table
Return AWS CLI output as plain text. Base task: List VPCs.
aws ec2 describe-vpcs --output table --output text
Save AWS CLI output to JSON. Base task: List VPCs.
aws ec2 describe-vpcs --output table --output json > aws-command-results.json
Run the AWS CLI command without opening the result pager. Base task: List VPCs.
aws ec2 describe-vpcs --output table --no-cli-pager
Return AWS CLI output as JSON. Base task: List VPC subnets.
aws ec2 describe-subnets --output table --output json
Display AWS CLI output as a table. Base task: List VPC subnets.
aws ec2 describe-subnets --output table --output table
Return AWS CLI output as plain text. Base task: List VPC subnets.
aws ec2 describe-subnets --output table --output text
Save AWS CLI output to JSON. Base task: List VPC subnets.
aws ec2 describe-subnets --output table --output json > aws-command-results.json
Run the AWS CLI command without opening the result pager. Base task: List VPC subnets.
aws ec2 describe-subnets --output table --no-cli-pager
Return AWS CLI output as JSON. Base task: List S3 buckets.
aws s3 ls --output json
Display AWS CLI output as a table. Base task: List S3 buckets.
aws s3 ls --output table
Return AWS CLI output as plain text. Base task: List S3 buckets.
aws s3 ls --output text
Save AWS CLI output to JSON. Base task: List S3 buckets.
aws s3 ls --output json > aws-command-results.json
Run the AWS CLI command without opening the result pager. Base task: List S3 buckets.
aws s3 ls --no-cli-pager
Return AWS CLI output as JSON. Base task: Copy a file to S3.
aws s3 cp backup.zip s3://my-bucket/backups/ --output json
Display AWS CLI output as a table. Base task: Copy a file to S3.
aws s3 cp backup.zip s3://my-bucket/backups/ --output table
Return AWS CLI output as plain text. Base task: Copy a file to S3.
aws s3 cp backup.zip s3://my-bucket/backups/ --output text
Save AWS CLI output to JSON. Base task: Copy a file to S3.
aws s3 cp backup.zip s3://my-bucket/backups/ --output json > aws-command-results.json
Run the AWS CLI command without opening the result pager. Base task: Copy a file to S3.
aws s3 cp backup.zip s3://my-bucket/backups/ --no-cli-pager
Return AWS CLI output as JSON. Base task: Synchronize a directory with S3.
aws s3 sync /data s3://my-bucket/data --delete --output json
Display AWS CLI output as a table. Base task: Synchronize a directory with S3.
aws s3 sync /data s3://my-bucket/data --delete --output table
Return AWS CLI output as plain text. Base task: Synchronize a directory with S3.
aws s3 sync /data s3://my-bucket/data --delete --output text
Save AWS CLI output to JSON. Base task: Synchronize a directory with S3.
aws s3 sync /data s3://my-bucket/data --delete --output json > aws-command-results.json
Run the AWS CLI command without opening the result pager. Base task: Synchronize a directory with S3.
aws s3 sync /data s3://my-bucket/data --delete --no-cli-pager
Return AWS CLI output as JSON. Base task: List IAM users.
aws iam list-users --output table --output json
Display AWS CLI output as a table. Base task: List IAM users.
aws iam list-users --output table --output table
Return AWS CLI output as plain text. Base task: List IAM users.
aws iam list-users --output table --output text
Save AWS CLI output to JSON. Base task: List IAM users.
aws iam list-users --output table --output json > aws-command-results.json
Run the AWS CLI command without opening the result pager. Base task: List IAM users.
aws iam list-users --output table --no-cli-pager
Return AWS CLI output as JSON. Base task: List IAM roles.
aws iam list-roles --output table --output json
Display AWS CLI output as a table. Base task: List IAM roles.
aws iam list-roles --output table --output table
Return AWS CLI output as plain text. Base task: List IAM roles.
aws iam list-roles --output table --output text
Save AWS CLI output to JSON. Base task: List IAM roles.
aws iam list-roles --output table --output json > aws-command-results.json
Run the AWS CLI command without opening the result pager. Base task: List IAM roles.
aws iam list-roles --output table --no-cli-pager
Return AWS CLI output as JSON. Base task: List Lambda functions.
aws lambda list-functions --output table --output json
Display AWS CLI output as a table. Base task: List Lambda functions.
aws lambda list-functions --output table --output table
Return AWS CLI output as plain text. Base task: List Lambda functions.
aws lambda list-functions --output table --output text
Save AWS CLI output to JSON. Base task: List Lambda functions.
aws lambda list-functions --output table --output json > aws-command-results.json
Run the AWS CLI command without opening the result pager. Base task: List Lambda functions.
aws lambda list-functions --output table --no-cli-pager
Return AWS CLI output as JSON. Base task: List RDS database instances.
aws rds describe-db-instances --output table --output json
Display AWS CLI output as a table. Base task: List RDS database instances.
aws rds describe-db-instances --output table --output table
Return AWS CLI output as plain text. Base task: List RDS database instances.
aws rds describe-db-instances --output table --output text
Save AWS CLI output to JSON. Base task: List RDS database instances.
aws rds describe-db-instances --output table --output json > aws-command-results.json
Run the AWS CLI command without opening the result pager. Base task: List RDS database instances.
aws rds describe-db-instances --output table --no-cli-pager
Return AWS CLI output as JSON. Base task: List CloudWatch alarms.
aws cloudwatch describe-alarms --output table --output json
Display AWS CLI output as a table. Base task: List CloudWatch alarms.
aws cloudwatch describe-alarms --output table --output table
Return AWS CLI output as plain text. Base task: List CloudWatch alarms.
aws cloudwatch describe-alarms --output table --output text
Save AWS CLI output to JSON. Base task: List CloudWatch alarms.
aws cloudwatch describe-alarms --output table --output json > aws-command-results.json
Run the AWS CLI command without opening the result pager. Base task: List CloudWatch alarms.
aws cloudwatch describe-alarms --output table --no-cli-pager
Return AWS CLI output as JSON. Base task: List CloudWatch Logs groups.
aws logs describe-log-groups --output table --output json
Display AWS CLI output as a table. Base task: List CloudWatch Logs groups.
aws logs describe-log-groups --output table --output table
Return AWS CLI output as plain text. Base task: List CloudWatch Logs groups.
aws logs describe-log-groups --output table --output text
Save AWS CLI output to JSON. Base task: List CloudWatch Logs groups.
aws logs describe-log-groups --output table --output json > aws-command-results.json
Run the AWS CLI command without opening the result pager. Base task: List CloudWatch Logs groups.
aws logs describe-log-groups --output table --no-cli-pager
Return AWS CLI output as JSON. Base task: List Route 53 hosted zones.
aws route53 list-hosted-zones --output table --output json
Display AWS CLI output as a table. Base task: List Route 53 hosted zones.
aws route53 list-hosted-zones --output table --output table
Return AWS CLI output as plain text. Base task: List Route 53 hosted zones.
aws route53 list-hosted-zones --output table --output text
Save AWS CLI output to JSON. Base task: List Route 53 hosted zones.
aws route53 list-hosted-zones --output table --output json > aws-command-results.json
Run the AWS CLI command without opening the result pager. Base task: List Route 53 hosted zones.
aws route53 list-hosted-zones --output table --no-cli-pager
Return AWS CLI output as JSON. Base task: List accounts in AWS Organizations.
aws organizations list-accounts --output table --output json
Display AWS CLI output as a table. Base task: List accounts in AWS Organizations.
aws organizations list-accounts --output table --output table
Return AWS CLI output as plain text. Base task: List accounts in AWS Organizations.
aws organizations list-accounts --output table --output text
Save AWS CLI output to JSON. Base task: List accounts in AWS Organizations.
aws organizations list-accounts --output table --output json > aws-command-results.json
Run the AWS CLI command without opening the result pager. Base task: List accounts in AWS Organizations.
aws organizations list-accounts --output table --no-cli-pager
Return AWS CLI output as JSON. Base task: List Amazon EKS clusters.
aws eks list-clusters --output json
Display AWS CLI output as a table. Base task: List Amazon EKS clusters.
aws eks list-clusters --output table
Return AWS CLI output as plain text. Base task: List Amazon EKS clusters.
aws eks list-clusters --output text
Save AWS CLI output to JSON. Base task: List Amazon EKS clusters.
aws eks list-clusters --output json > aws-command-results.json
Run the AWS CLI command without opening the result pager. Base task: List Amazon EKS clusters.
aws eks list-clusters --no-cli-pager
Return AWS CLI output as JSON. Base task: List Amazon ECS clusters.
aws ecs list-clusters --output json
Display AWS CLI output as a table. Base task: List Amazon ECS clusters.
aws ecs list-clusters --output table
Return AWS CLI output as plain text. Base task: List Amazon ECS clusters.
aws ecs list-clusters --output text
Save AWS CLI output to JSON. Base task: List Amazon ECS clusters.
aws ecs list-clusters --output json > aws-command-results.json
Run the AWS CLI command without opening the result pager. Base task: List Amazon ECS clusters.
aws ecs list-clusters --no-cli-pager
Return AWS CLI output as JSON. Base task: List AWS Secrets Manager secrets metadata.
aws secretsmanager list-secrets --output table --output json
Display AWS CLI output as a table. Base task: List AWS Secrets Manager secrets metadata.
aws secretsmanager list-secrets --output table --output table
Return AWS CLI output as plain text. Base task: List AWS Secrets Manager secrets metadata.
aws secretsmanager list-secrets --output table --output text
Save AWS CLI output to JSON. Base task: List AWS Secrets Manager secrets metadata.
aws secretsmanager list-secrets --output table --output json > aws-command-results.json
Run the AWS CLI command without opening the result pager. Base task: List AWS Secrets Manager secrets metadata.
aws secretsmanager list-secrets --output table --no-cli-pager
Cisco and FortiGate
Display Cisco IOS software and hardware information.
show version
Display the active Cisco IOS configuration.
show running-config
Display the saved startup configuration.
show startup-config
Summarize interface status and IP addresses.
show ip interface brief
Display detailed interface counters and state.
show interfaces
Display the IPv4 routing table.
show ip route
Display the ARP table.
show arp
Display learned switch MAC addresses.
show mac address-table
Display configured VLANs.
show vlan brief
Display spanning-tree status.
show spanning-tree
Display detailed Cisco Discovery Protocol neighbors.
show cdp neighbors detail
Display detailed LLDP neighbors.
show lldp neighbors detail
Display configured access lists.
show access-lists
Display buffered logging and logging settings.
show logging
Display Cisco IOS CPU utilization.
show processes cpu sorted
Display Cisco IOS memory usage.
show processes memory sorted
Save the active configuration.
copy running-config startup-config
Test IP reachability from a Cisco device.
ping 8.8.8.8
Trace the path from a Cisco device.
traceroute 8.8.8.8
Display FortiGate firmware, serial, and system status.
get system status
Display FortiGate CPU, memory, session, and uptime information.
get system performance status
Display the FortiGate routing table.
get router info routing-table all
Display interface IP addresses.
diagnose ip address list
Display FortiGate interface hardware information.
diagnose hardware deviceinfo nic port1
Capture matching packets on a FortiGate.
diagnose sniffer packet any "host 8.8.8.8" 4 20 l
Filter FortiGate flow debugging for an address.
diagnose debug flow filter addr 10.0.0.10
Test reachability from a FortiGate.
execute ping 8.8.8.8
Trace a route from a FortiGate.
execute traceroute 8.8.8.8
Display FortiGate firewall policy configuration.
show firewall policy
Display FortiGate interface configuration.
show system interface
Summarize IPsec tunnel status.
get vpn ipsec tunnel summary
Display detailed IPsec tunnel information.
diagnose vpn tunnel list
Use Cisco show version for a standard administrative task.
show version
Use Cisco show running-config for a standard administrative task.
show running-config
Use Cisco show startup-config for a standard administrative task.
show startup-config
Use Cisco show ip interface brief for a standard administrative task.
show ip interface brief
Use Cisco show interfaces for a standard administrative task.
show interfaces
Use Cisco show ip route for a standard administrative task.
show ip route
Use Cisco show arp for a standard administrative task.
show arp
Use Cisco show mac address-table for a standard administrative task.
show mac address-table
Use Cisco show vlan brief for a standard administrative task.
show vlan brief
Use Cisco show spanning-tree for a standard administrative task.
show spanning-tree
Use Cisco show cdp neighbors detail for a standard administrative task.
show cdp neighbors detail
Use Cisco show lldp neighbors detail for a standard administrative task.
show lldp neighbors detail
Use Cisco show access-lists for a standard administrative task.
show access-lists
Use Cisco show logging for a standard administrative task.
show logging
Use Cisco show processes cpu for a standard administrative task.
show processes cpu sorted
Use Cisco show processes memory for a standard administrative task.
show processes memory sorted
Use Cisco copy running-config startup-config for a standard administrative task.
copy running-config startup-config
Use Cisco ping for a standard administrative task.
ping 8.8.8.8
Use Cisco traceroute for a standard administrative task.
traceroute 8.8.8.8
Use FortiGate get system status for a standard administrative task.
get system status
Use FortiGate get system performance status for a standard administrative task.
get system performance status
Use FortiGate get router info routing-table all for a standard administrative task.
get router info routing-table all
Use FortiGate diagnose ip address list for a standard administrative task.
diagnose ip address list
Use FortiGate diagnose hardware deviceinfo nic for a standard administrative task.
diagnose hardware deviceinfo nic port1
Use FortiGate diagnose sniffer packet for a standard administrative task.
diagnose sniffer packet any "host 8.8.8.8" 4 20 l
Use FortiGate diagnose debug flow for a standard administrative task.
diagnose debug flow filter addr 10.0.0.10
Use FortiGate execute ping for a standard administrative task.
execute ping 8.8.8.8
Use FortiGate execute traceroute for a standard administrative task.
execute traceroute 8.8.8.8
Use FortiGate show firewall policy for a standard administrative task.
show firewall policy
Use FortiGate show system interface for a standard administrative task.
show system interface
Use FortiGate get vpn ipsec tunnel summary for a standard administrative task.
get vpn ipsec tunnel summary
Use FortiGate diagnose vpn tunnel list for a standard administrative task.
diagnose vpn tunnel list
Use context-sensitive network-device CLI help to review syntax related to Cisco show version.
show version ?
Use context-sensitive network-device CLI help to review syntax related to Cisco show running-config.
show running-config ?
Use context-sensitive network-device CLI help to review syntax related to Cisco show startup-config.
show startup-config ?
Use context-sensitive network-device CLI help to review syntax related to Cisco show ip interface brief.
show ip interface brief ?
Use context-sensitive network-device CLI help to review syntax related to Cisco show interfaces.
show interfaces ?
Use context-sensitive network-device CLI help to review syntax related to Cisco show ip route.
show ip route ?
Use context-sensitive network-device CLI help to review syntax related to Cisco show arp.
show arp ?
Use context-sensitive network-device CLI help to review syntax related to Cisco show mac address-table.
show mac address-table ?
Use context-sensitive network-device CLI help to review syntax related to Cisco show vlan brief.
show vlan brief ?
Use context-sensitive network-device CLI help to review syntax related to Cisco show spanning-tree.
show spanning-tree ?
Use context-sensitive network-device CLI help to review syntax related to Cisco show cdp neighbors detail.
show cdp neighbors detail ?
Use context-sensitive network-device CLI help to review syntax related to Cisco show lldp neighbors detail.
show lldp neighbors detail ?
Use context-sensitive network-device CLI help to review syntax related to Cisco show access-lists.
show access-lists ?
Use context-sensitive network-device CLI help to review syntax related to Cisco show logging.
show logging ?
Use context-sensitive network-device CLI help to review syntax related to Cisco show processes cpu.
show processes cpu sorted ?
Use context-sensitive network-device CLI help to review syntax related to Cisco show processes memory.
show processes memory sorted ?
Use context-sensitive network-device CLI help to review syntax related to Cisco copy running-config startup-config.
copy running-config startup-config ?
Use context-sensitive network-device CLI help to review syntax related to Cisco ping.
ping 8.8.8.8 ?
Use context-sensitive network-device CLI help to review syntax related to Cisco traceroute.
traceroute 8.8.8.8 ?
Use context-sensitive network-device CLI help to review syntax related to FortiGate get system status.
get system status ?
Use context-sensitive network-device CLI help to review syntax related to FortiGate get system performance status.
get system performance status ?
Use context-sensitive network-device CLI help to review syntax related to FortiGate get router info routing-table all.
get router info routing-table all ?
Use context-sensitive network-device CLI help to review syntax related to FortiGate diagnose ip address list.
diagnose ip address list ?
Use context-sensitive network-device CLI help to review syntax related to FortiGate diagnose hardware deviceinfo nic.
diagnose hardware deviceinfo nic port1 ?
Use context-sensitive network-device CLI help to review syntax related to FortiGate diagnose sniffer packet.
diagnose sniffer packet any "host 8.8.8.8" 4 20 l ?
Use context-sensitive network-device CLI help to review syntax related to FortiGate diagnose debug flow.
diagnose debug flow filter addr 10.0.0.10 ?
Use context-sensitive network-device CLI help to review syntax related to FortiGate execute ping.
execute ping 8.8.8.8 ?
Use context-sensitive network-device CLI help to review syntax related to FortiGate execute traceroute.
execute traceroute 8.8.8.8 ?
Use context-sensitive network-device CLI help to review syntax related to FortiGate show firewall policy.
show firewall policy ?
Use context-sensitive network-device CLI help to review syntax related to FortiGate show system interface.
show system interface ?
Use context-sensitive network-device CLI help to review syntax related to FortiGate get vpn ipsec tunnel summary.
get vpn ipsec tunnel summary ?
Use context-sensitive network-device CLI help to review syntax related to FortiGate diagnose vpn tunnel list.
diagnose vpn tunnel list ?
Use context-sensitive network-device CLI help to review syntax related to Cisco show version — Basic Usage.
show version ?
Use context-sensitive network-device CLI help to review syntax related to Cisco show running-config — Basic Usage.
show running-config ?
Use context-sensitive network-device CLI help to review syntax related to Cisco show startup-config — Basic Usage.
show startup-config ?
Use context-sensitive network-device CLI help to review syntax related to Cisco show ip interface brief — Basic Usage.
show ip interface brief ?
Use context-sensitive network-device CLI help to review syntax related to Cisco show interfaces — Basic Usage.
show interfaces ?
Use context-sensitive network-device CLI help to review syntax related to Cisco show ip route — Basic Usage.
show ip route ?
Use context-sensitive network-device CLI help to review syntax related to Cisco show arp — Basic Usage.
show arp ?
Use context-sensitive network-device CLI help to review syntax related to Cisco show mac address-table — Basic Usage.
show mac address-table ?
Use context-sensitive network-device CLI help to review syntax related to Cisco show vlan brief — Basic Usage.
show vlan brief ?
Use context-sensitive network-device CLI help to review syntax related to Cisco show spanning-tree — Basic Usage.
show spanning-tree ?
Use context-sensitive network-device CLI help to review syntax related to Cisco show cdp neighbors detail — Basic Usage.
show cdp neighbors detail ?
Use context-sensitive network-device CLI help to review syntax related to Cisco show lldp neighbors detail — Basic Usage.
show lldp neighbors detail ?
Use context-sensitive network-device CLI help to review syntax related to Cisco show access-lists — Basic Usage.
show access-lists ?
Use context-sensitive network-device CLI help to review syntax related to Cisco show logging — Basic Usage.
show logging ?
Use context-sensitive network-device CLI help to review syntax related to Cisco show processes cpu — Basic Usage.
show processes cpu sorted ?
Use context-sensitive network-device CLI help to review syntax related to Cisco show processes memory — Basic Usage.
show processes memory sorted ?
Use context-sensitive network-device CLI help to review syntax related to Cisco copy running-config startup-config — Basic Usage.
copy running-config startup-config ?
Use context-sensitive network-device CLI help to review syntax related to Cisco ping — Basic Usage.
ping 8.8.8.8 ?
Use context-sensitive network-device CLI help to review syntax related to Cisco traceroute — Basic Usage.
traceroute 8.8.8.8 ?
Use context-sensitive network-device CLI help to review syntax related to FortiGate get system status — Basic Usage.
get system status ?
Use context-sensitive network-device CLI help to review syntax related to FortiGate get system performance status — Basic Usage.
get system performance status ?
Use context-sensitive network-device CLI help to review syntax related to FortiGate get router info routing-table all — Basic Usage.
get router info routing-table all ?
Use context-sensitive network-device CLI help to review syntax related to FortiGate diagnose ip address list — Basic Usage.
diagnose ip address list ?
Use context-sensitive network-device CLI help to review syntax related to FortiGate diagnose hardware deviceinfo nic — Basic Usage.
diagnose hardware deviceinfo nic port1 ?
Use context-sensitive network-device CLI help to review syntax related to FortiGate diagnose sniffer packet — Basic Usage.
diagnose sniffer packet any "host 8.8.8.8" 4 20 l ?
Use context-sensitive network-device CLI help to review syntax related to FortiGate diagnose debug flow — Basic Usage.
diagnose debug flow filter addr 10.0.0.10 ?
Use context-sensitive network-device CLI help to review syntax related to FortiGate execute ping — Basic Usage.
execute ping 8.8.8.8 ?
Use context-sensitive network-device CLI help to review syntax related to FortiGate execute traceroute — Basic Usage.
execute traceroute 8.8.8.8 ?
Use context-sensitive network-device CLI help to review syntax related to FortiGate show firewall policy — Basic Usage.
show firewall policy ?
Use context-sensitive network-device CLI help to review syntax related to FortiGate show system interface — Basic Usage.
show system interface ?
Use context-sensitive network-device CLI help to review syntax related to FortiGate get vpn ipsec tunnel summary — Basic Usage.
get vpn ipsec tunnel summary ?
Use context-sensitive network-device CLI help to review syntax related to FortiGate diagnose vpn tunnel list — Basic Usage.
diagnose vpn tunnel list ?
Save standard output and errors to a text file. Base task: Display Cisco IOS software and hardware information.
show version > command-results.txt 2>&1
Display output while saving it to a file. Base task: Display Cisco IOS software and hardware information.
show version 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Display Cisco IOS software and hardware information.
time show version
Repeat the command every five seconds for monitoring. Base task: Display Cisco IOS software and hardware information.
watch -n 5 'show version'
Print a timestamp immediately before running the command. Base task: Display Cisco IOS software and hardware information.
date --iso-8601=seconds; show version
Run the command in the background and log its output. Base task: Display Cisco IOS software and hardware information.
nohup sh -c 'show version' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Display the active Cisco IOS configuration.
show running-config > command-results.txt 2>&1
Display output while saving it to a file. Base task: Display the active Cisco IOS configuration.
show running-config 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Display the active Cisco IOS configuration.
time show running-config
Repeat the command every five seconds for monitoring. Base task: Display the active Cisco IOS configuration.
watch -n 5 'show running-config'
Print a timestamp immediately before running the command. Base task: Display the active Cisco IOS configuration.
date --iso-8601=seconds; show running-config
Run the command in the background and log its output. Base task: Display the active Cisco IOS configuration.
nohup sh -c 'show running-config' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Display the saved startup configuration.
show startup-config > command-results.txt 2>&1
Display output while saving it to a file. Base task: Display the saved startup configuration.
show startup-config 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Display the saved startup configuration.
time show startup-config
Repeat the command every five seconds for monitoring. Base task: Display the saved startup configuration.
watch -n 5 'show startup-config'
Print a timestamp immediately before running the command. Base task: Display the saved startup configuration.
date --iso-8601=seconds; show startup-config
Run the command in the background and log its output. Base task: Display the saved startup configuration.
nohup sh -c 'show startup-config' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Summarize interface status and IP addresses.
show ip interface brief > command-results.txt 2>&1
Display output while saving it to a file. Base task: Summarize interface status and IP addresses.
show ip interface brief 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Summarize interface status and IP addresses.
time show ip interface brief
Repeat the command every five seconds for monitoring. Base task: Summarize interface status and IP addresses.
watch -n 5 'show ip interface brief'
Print a timestamp immediately before running the command. Base task: Summarize interface status and IP addresses.
date --iso-8601=seconds; show ip interface brief
Run the command in the background and log its output. Base task: Summarize interface status and IP addresses.
nohup sh -c 'show ip interface brief' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Display detailed interface counters and state.
show interfaces > command-results.txt 2>&1
Display output while saving it to a file. Base task: Display detailed interface counters and state.
show interfaces 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Display detailed interface counters and state.
time show interfaces
Repeat the command every five seconds for monitoring. Base task: Display detailed interface counters and state.
watch -n 5 'show interfaces'
Print a timestamp immediately before running the command. Base task: Display detailed interface counters and state.
date --iso-8601=seconds; show interfaces
Run the command in the background and log its output. Base task: Display detailed interface counters and state.
nohup sh -c 'show interfaces' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Display the IPv4 routing table.
show ip route > command-results.txt 2>&1
Display output while saving it to a file. Base task: Display the IPv4 routing table.
show ip route 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Display the IPv4 routing table.
time show ip route
Repeat the command every five seconds for monitoring. Base task: Display the IPv4 routing table.
watch -n 5 'show ip route'
Print a timestamp immediately before running the command. Base task: Display the IPv4 routing table.
date --iso-8601=seconds; show ip route
Run the command in the background and log its output. Base task: Display the IPv4 routing table.
nohup sh -c 'show ip route' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Display the ARP table.
show arp > command-results.txt 2>&1
Display output while saving it to a file. Base task: Display the ARP table.
show arp 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Display the ARP table.
time show arp
Repeat the command every five seconds for monitoring. Base task: Display the ARP table.
watch -n 5 'show arp'
Print a timestamp immediately before running the command. Base task: Display the ARP table.
date --iso-8601=seconds; show arp
Run the command in the background and log its output. Base task: Display the ARP table.
nohup sh -c 'show arp' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Display learned switch MAC addresses.
show mac address-table > command-results.txt 2>&1
Display output while saving it to a file. Base task: Display learned switch MAC addresses.
show mac address-table 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Display learned switch MAC addresses.
time show mac address-table
Repeat the command every five seconds for monitoring. Base task: Display learned switch MAC addresses.
watch -n 5 'show mac address-table'
Print a timestamp immediately before running the command. Base task: Display learned switch MAC addresses.
date --iso-8601=seconds; show mac address-table
Run the command in the background and log its output. Base task: Display learned switch MAC addresses.
nohup sh -c 'show mac address-table' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Display configured VLANs.
show vlan brief > command-results.txt 2>&1
Display output while saving it to a file. Base task: Display configured VLANs.
show vlan brief 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Display configured VLANs.
time show vlan brief
Repeat the command every five seconds for monitoring. Base task: Display configured VLANs.
watch -n 5 'show vlan brief'
Print a timestamp immediately before running the command. Base task: Display configured VLANs.
date --iso-8601=seconds; show vlan brief
Run the command in the background and log its output. Base task: Display configured VLANs.
nohup sh -c 'show vlan brief' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Display spanning-tree status.
show spanning-tree > command-results.txt 2>&1
Display output while saving it to a file. Base task: Display spanning-tree status.
show spanning-tree 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Display spanning-tree status.
time show spanning-tree
Repeat the command every five seconds for monitoring. Base task: Display spanning-tree status.
watch -n 5 'show spanning-tree'
Print a timestamp immediately before running the command. Base task: Display spanning-tree status.
date --iso-8601=seconds; show spanning-tree
Run the command in the background and log its output. Base task: Display spanning-tree status.
nohup sh -c 'show spanning-tree' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Display detailed Cisco Discovery Protocol neighbors.
show cdp neighbors detail > command-results.txt 2>&1
Display output while saving it to a file. Base task: Display detailed Cisco Discovery Protocol neighbors.
show cdp neighbors detail 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Display detailed Cisco Discovery Protocol neighbors.
time show cdp neighbors detail
Repeat the command every five seconds for monitoring. Base task: Display detailed Cisco Discovery Protocol neighbors.
watch -n 5 'show cdp neighbors detail'
Print a timestamp immediately before running the command. Base task: Display detailed Cisco Discovery Protocol neighbors.
date --iso-8601=seconds; show cdp neighbors detail
Run the command in the background and log its output. Base task: Display detailed Cisco Discovery Protocol neighbors.
nohup sh -c 'show cdp neighbors detail' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Display detailed LLDP neighbors.
show lldp neighbors detail > command-results.txt 2>&1
Display output while saving it to a file. Base task: Display detailed LLDP neighbors.
show lldp neighbors detail 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Display detailed LLDP neighbors.
time show lldp neighbors detail
Repeat the command every five seconds for monitoring. Base task: Display detailed LLDP neighbors.
watch -n 5 'show lldp neighbors detail'
Print a timestamp immediately before running the command. Base task: Display detailed LLDP neighbors.
date --iso-8601=seconds; show lldp neighbors detail
Run the command in the background and log its output. Base task: Display detailed LLDP neighbors.
nohup sh -c 'show lldp neighbors detail' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Display configured access lists.
show access-lists > command-results.txt 2>&1
Display output while saving it to a file. Base task: Display configured access lists.
show access-lists 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Display configured access lists.
time show access-lists
Repeat the command every five seconds for monitoring. Base task: Display configured access lists.
watch -n 5 'show access-lists'
Print a timestamp immediately before running the command. Base task: Display configured access lists.
date --iso-8601=seconds; show access-lists
Run the command in the background and log its output. Base task: Display configured access lists.
nohup sh -c 'show access-lists' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Display buffered logging and logging settings.
show logging > command-results.txt 2>&1
Display output while saving it to a file. Base task: Display buffered logging and logging settings.
show logging 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Display buffered logging and logging settings.
time show logging
Repeat the command every five seconds for monitoring. Base task: Display buffered logging and logging settings.
watch -n 5 'show logging'
Print a timestamp immediately before running the command. Base task: Display buffered logging and logging settings.
date --iso-8601=seconds; show logging
Run the command in the background and log its output. Base task: Display buffered logging and logging settings.
nohup sh -c 'show logging' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Display Cisco IOS CPU utilization.
show processes cpu sorted > command-results.txt 2>&1
Display output while saving it to a file. Base task: Display Cisco IOS CPU utilization.
show processes cpu sorted 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Display Cisco IOS CPU utilization.
time show processes cpu sorted
Repeat the command every five seconds for monitoring. Base task: Display Cisco IOS CPU utilization.
watch -n 5 'show processes cpu sorted'
Print a timestamp immediately before running the command. Base task: Display Cisco IOS CPU utilization.
date --iso-8601=seconds; show processes cpu sorted
Run the command in the background and log its output. Base task: Display Cisco IOS CPU utilization.
nohup sh -c 'show processes cpu sorted' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Display Cisco IOS memory usage.
show processes memory sorted > command-results.txt 2>&1
Display output while saving it to a file. Base task: Display Cisco IOS memory usage.
show processes memory sorted 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Display Cisco IOS memory usage.
time show processes memory sorted
Repeat the command every five seconds for monitoring. Base task: Display Cisco IOS memory usage.
watch -n 5 'show processes memory sorted'
Print a timestamp immediately before running the command. Base task: Display Cisco IOS memory usage.
date --iso-8601=seconds; show processes memory sorted
Run the command in the background and log its output. Base task: Display Cisco IOS memory usage.
nohup sh -c 'show processes memory sorted' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Save the active configuration.
copy running-config startup-config > command-results.txt 2>&1
Display output while saving it to a file. Base task: Save the active configuration.
copy running-config startup-config 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Save the active configuration.
time copy running-config startup-config
Repeat the command every five seconds for monitoring. Base task: Save the active configuration.
watch -n 5 'copy running-config startup-config'
Print a timestamp immediately before running the command. Base task: Save the active configuration.
date --iso-8601=seconds; copy running-config startup-config
Run the command in the background and log its output. Base task: Save the active configuration.
nohup sh -c 'copy running-config startup-config' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Test IP reachability from a Cisco device.
ping 8.8.8.8 > command-results.txt 2>&1
Display output while saving it to a file. Base task: Test IP reachability from a Cisco device.
ping 8.8.8.8 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Test IP reachability from a Cisco device.
time ping 8.8.8.8
Repeat the command every five seconds for monitoring. Base task: Test IP reachability from a Cisco device.
watch -n 5 'ping 8.8.8.8'
Print a timestamp immediately before running the command. Base task: Test IP reachability from a Cisco device.
date --iso-8601=seconds; ping 8.8.8.8
Run the command in the background and log its output. Base task: Test IP reachability from a Cisco device.
nohup sh -c 'ping 8.8.8.8' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Trace the path from a Cisco device.
traceroute 8.8.8.8 > command-results.txt 2>&1
Display output while saving it to a file. Base task: Trace the path from a Cisco device.
traceroute 8.8.8.8 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Trace the path from a Cisco device.
time traceroute 8.8.8.8
Repeat the command every five seconds for monitoring. Base task: Trace the path from a Cisco device.
watch -n 5 'traceroute 8.8.8.8'
Print a timestamp immediately before running the command. Base task: Trace the path from a Cisco device.
date --iso-8601=seconds; traceroute 8.8.8.8
Run the command in the background and log its output. Base task: Trace the path from a Cisco device.
nohup sh -c 'traceroute 8.8.8.8' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Display FortiGate firmware, serial, and system status.
get system status > command-results.txt 2>&1
Display output while saving it to a file. Base task: Display FortiGate firmware, serial, and system status.
get system status 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Display FortiGate firmware, serial, and system status.
time get system status
Repeat the command every five seconds for monitoring. Base task: Display FortiGate firmware, serial, and system status.
watch -n 5 'get system status'
Print a timestamp immediately before running the command. Base task: Display FortiGate firmware, serial, and system status.
date --iso-8601=seconds; get system status
Run the command in the background and log its output. Base task: Display FortiGate firmware, serial, and system status.
nohup sh -c 'get system status' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Display FortiGate CPU, memory, session, and uptime information.
get system performance status > command-results.txt 2>&1
Display output while saving it to a file. Base task: Display FortiGate CPU, memory, session, and uptime information.
get system performance status 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Display FortiGate CPU, memory, session, and uptime information.
time get system performance status
Repeat the command every five seconds for monitoring. Base task: Display FortiGate CPU, memory, session, and uptime information.
watch -n 5 'get system performance status'
Print a timestamp immediately before running the command. Base task: Display FortiGate CPU, memory, session, and uptime information.
date --iso-8601=seconds; get system performance status
Run the command in the background and log its output. Base task: Display FortiGate CPU, memory, session, and uptime information.
nohup sh -c 'get system performance status' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Display the FortiGate routing table.
get router info routing-table all > command-results.txt 2>&1
Display output while saving it to a file. Base task: Display the FortiGate routing table.
get router info routing-table all 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Display the FortiGate routing table.
time get router info routing-table all
Repeat the command every five seconds for monitoring. Base task: Display the FortiGate routing table.
watch -n 5 'get router info routing-table all'
Print a timestamp immediately before running the command. Base task: Display the FortiGate routing table.
date --iso-8601=seconds; get router info routing-table all
Run the command in the background and log its output. Base task: Display the FortiGate routing table.
nohup sh -c 'get router info routing-table all' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Display interface IP addresses.
diagnose ip address list > command-results.txt 2>&1
Display output while saving it to a file. Base task: Display interface IP addresses.
diagnose ip address list 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Display interface IP addresses.
time diagnose ip address list
Repeat the command every five seconds for monitoring. Base task: Display interface IP addresses.
watch -n 5 'diagnose ip address list'
Print a timestamp immediately before running the command. Base task: Display interface IP addresses.
date --iso-8601=seconds; diagnose ip address list
Run the command in the background and log its output. Base task: Display interface IP addresses.
nohup sh -c 'diagnose ip address list' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Display FortiGate interface hardware information.
diagnose hardware deviceinfo nic port1 > command-results.txt 2>&1
Display output while saving it to a file. Base task: Display FortiGate interface hardware information.
diagnose hardware deviceinfo nic port1 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Display FortiGate interface hardware information.
time diagnose hardware deviceinfo nic port1
Repeat the command every five seconds for monitoring. Base task: Display FortiGate interface hardware information.
watch -n 5 'diagnose hardware deviceinfo nic port1'
Print a timestamp immediately before running the command. Base task: Display FortiGate interface hardware information.
date --iso-8601=seconds; diagnose hardware deviceinfo nic port1
Run the command in the background and log its output. Base task: Display FortiGate interface hardware information.
nohup sh -c 'diagnose hardware deviceinfo nic port1' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Capture matching packets on a FortiGate.
diagnose sniffer packet any "host 8.8.8.8" 4 20 l > command-results.txt 2>&1
Display output while saving it to a file. Base task: Capture matching packets on a FortiGate.
diagnose sniffer packet any "host 8.8.8.8" 4 20 l 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Capture matching packets on a FortiGate.
time diagnose sniffer packet any "host 8.8.8.8" 4 20 l
Repeat the command every five seconds for monitoring. Base task: Capture matching packets on a FortiGate.
watch -n 5 'diagnose sniffer packet any "host 8.8.8.8" 4 20 l'
Print a timestamp immediately before running the command. Base task: Capture matching packets on a FortiGate.
date --iso-8601=seconds; diagnose sniffer packet any "host 8.8.8.8" 4 20 l
Run the command in the background and log its output. Base task: Capture matching packets on a FortiGate.
nohup sh -c 'diagnose sniffer packet any "host 8.8.8.8" 4 20 l' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Filter FortiGate flow debugging for an address.
diagnose debug flow filter addr 10.0.0.10 > command-results.txt 2>&1
Display output while saving it to a file. Base task: Filter FortiGate flow debugging for an address.
diagnose debug flow filter addr 10.0.0.10 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Filter FortiGate flow debugging for an address.
time diagnose debug flow filter addr 10.0.0.10
Repeat the command every five seconds for monitoring. Base task: Filter FortiGate flow debugging for an address.
watch -n 5 'diagnose debug flow filter addr 10.0.0.10'
Print a timestamp immediately before running the command. Base task: Filter FortiGate flow debugging for an address.
date --iso-8601=seconds; diagnose debug flow filter addr 10.0.0.10
Run the command in the background and log its output. Base task: Filter FortiGate flow debugging for an address.
nohup sh -c 'diagnose debug flow filter addr 10.0.0.10' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Test reachability from a FortiGate.
execute ping 8.8.8.8 > command-results.txt 2>&1
Display output while saving it to a file. Base task: Test reachability from a FortiGate.
execute ping 8.8.8.8 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Test reachability from a FortiGate.
time execute ping 8.8.8.8
Repeat the command every five seconds for monitoring. Base task: Test reachability from a FortiGate.
watch -n 5 'execute ping 8.8.8.8'
Print a timestamp immediately before running the command. Base task: Test reachability from a FortiGate.
date --iso-8601=seconds; execute ping 8.8.8.8
Run the command in the background and log its output. Base task: Test reachability from a FortiGate.
nohup sh -c 'execute ping 8.8.8.8' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Trace a route from a FortiGate.
execute traceroute 8.8.8.8 > command-results.txt 2>&1
Display output while saving it to a file. Base task: Trace a route from a FortiGate.
execute traceroute 8.8.8.8 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Trace a route from a FortiGate.
time execute traceroute 8.8.8.8
Repeat the command every five seconds for monitoring. Base task: Trace a route from a FortiGate.
watch -n 5 'execute traceroute 8.8.8.8'
Print a timestamp immediately before running the command. Base task: Trace a route from a FortiGate.
date --iso-8601=seconds; execute traceroute 8.8.8.8
Run the command in the background and log its output. Base task: Trace a route from a FortiGate.
nohup sh -c 'execute traceroute 8.8.8.8' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Display FortiGate firewall policy configuration.
show firewall policy > command-results.txt 2>&1
Display output while saving it to a file. Base task: Display FortiGate firewall policy configuration.
show firewall policy 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Display FortiGate firewall policy configuration.
time show firewall policy
Repeat the command every five seconds for monitoring. Base task: Display FortiGate firewall policy configuration.
watch -n 5 'show firewall policy'
Print a timestamp immediately before running the command. Base task: Display FortiGate firewall policy configuration.
date --iso-8601=seconds; show firewall policy
Run the command in the background and log its output. Base task: Display FortiGate firewall policy configuration.
nohup sh -c 'show firewall policy' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Display FortiGate interface configuration.
show system interface > command-results.txt 2>&1
Display output while saving it to a file. Base task: Display FortiGate interface configuration.
show system interface 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Display FortiGate interface configuration.
time show system interface
Repeat the command every five seconds for monitoring. Base task: Display FortiGate interface configuration.
watch -n 5 'show system interface'
Print a timestamp immediately before running the command. Base task: Display FortiGate interface configuration.
date --iso-8601=seconds; show system interface
Run the command in the background and log its output. Base task: Display FortiGate interface configuration.
nohup sh -c 'show system interface' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Summarize IPsec tunnel status.
get vpn ipsec tunnel summary > command-results.txt 2>&1
Display output while saving it to a file. Base task: Summarize IPsec tunnel status.
get vpn ipsec tunnel summary 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Summarize IPsec tunnel status.
time get vpn ipsec tunnel summary
Repeat the command every five seconds for monitoring. Base task: Summarize IPsec tunnel status.
watch -n 5 'get vpn ipsec tunnel summary'
Print a timestamp immediately before running the command. Base task: Summarize IPsec tunnel status.
date --iso-8601=seconds; get vpn ipsec tunnel summary
Run the command in the background and log its output. Base task: Summarize IPsec tunnel status.
nohup sh -c 'get vpn ipsec tunnel summary' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Display detailed IPsec tunnel information.
diagnose vpn tunnel list > command-results.txt 2>&1
Display output while saving it to a file. Base task: Display detailed IPsec tunnel information.
diagnose vpn tunnel list 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Display detailed IPsec tunnel information.
time diagnose vpn tunnel list
Repeat the command every five seconds for monitoring. Base task: Display detailed IPsec tunnel information.
watch -n 5 'diagnose vpn tunnel list'
Print a timestamp immediately before running the command. Base task: Display detailed IPsec tunnel information.
date --iso-8601=seconds; diagnose vpn tunnel list
Run the command in the background and log its output. Base task: Display detailed IPsec tunnel information.
nohup sh -c 'diagnose vpn tunnel list' > command-results.log 2>&1 &
Docker and Kubernetes
List Docker containers.
docker ps -a
List local Docker images.
docker images
Follow container logs.
docker logs --tail 100 -f web01
Display detailed Docker object information.
docker inspect web01
Run a command inside a container.
docker exec -it web01 /bin/sh
Start a stopped container.
docker start web01
Stop a running container.
docker stop web01
Restart a container.
docker restart web01
Download a container image.
docker pull nginx:latest
Build a container image.
docker build -t myapp:1.0 .
Create and run a container.
docker run -d --name web01 -p 8080:80 nginx:latest
Start services defined in a Compose file.
docker compose up -d
Stop and remove Compose services.
docker compose down
Display Docker disk usage.
docker system df
Remove unused Docker objects.
docker system prune
List Kubernetes pods across namespaces.
kubectl get pods -A -o wide
List Kubernetes nodes.
kubectl get nodes -o wide
Display detailed pod status and events.
kubectl describe pod web-abc123 -n production
Follow Kubernetes workload logs.
kubectl logs -n production deployment/web --tail=100 -f
Run a command inside a Kubernetes pod.
kubectl exec -it -n production pod/web-abc123 -- /bin/sh
List Kubernetes deployments.
kubectl get deployments -A
Watch a deployment rollout.
kubectl rollout status deployment/web -n production
Restart pods managed by a deployment.
kubectl rollout restart deployment/web -n production
Change deployment replica count.
kubectl scale deployment/web --replicas=3 -n production
Apply Kubernetes configuration.
kubectl apply -f deployment.yaml
Delete Kubernetes resources defined in a file.
kubectl delete -f deployment.yaml
Display pod CPU and memory usage.
kubectl top pods -A
List Kubernetes contexts.
kubectl config get-contexts
Switch the active Kubernetes context.
kubectl config use-context production
Use docker ps for a standard administrative task.
docker ps -a
Use docker images for a standard administrative task.
docker images
Use docker logs for a standard administrative task.
docker logs --tail 100 -f web01
Use docker inspect for a standard administrative task.
docker inspect web01
Use docker exec for a standard administrative task.
docker exec -it web01 /bin/sh
Use docker start for a standard administrative task.
docker start web01
Use docker stop for a standard administrative task.
docker stop web01
Use docker restart for a standard administrative task.
docker restart web01
Use docker pull for a standard administrative task.
docker pull nginx:latest
Use docker build for a standard administrative task.
docker build -t myapp:1.0 .
Use docker run for a standard administrative task.
docker run -d --name web01 -p 8080:80 nginx:latest
Use docker compose up for a standard administrative task.
docker compose up -d
Use docker compose down for a standard administrative task.
docker compose down
Use docker system df for a standard administrative task.
docker system df
Use docker system prune for a standard administrative task.
docker system prune
Use kubectl get pods for a standard administrative task.
kubectl get pods -A -o wide
Use kubectl get nodes for a standard administrative task.
kubectl get nodes -o wide
Use kubectl describe pod for a standard administrative task.
kubectl describe pod web-abc123 -n production
Use kubectl logs for a standard administrative task.
kubectl logs -n production deployment/web --tail=100 -f
Use kubectl exec for a standard administrative task.
kubectl exec -it -n production pod/web-abc123 -- /bin/sh
Use kubectl get deployments for a standard administrative task.
kubectl get deployments -A
Use kubectl rollout status for a standard administrative task.
kubectl rollout status deployment/web -n production
Use kubectl rollout restart for a standard administrative task.
kubectl rollout restart deployment/web -n production
Use kubectl scale for a standard administrative task.
kubectl scale deployment/web --replicas=3 -n production
Use kubectl apply for a standard administrative task.
kubectl apply -f deployment.yaml
Use kubectl delete for a standard administrative task.
kubectl delete -f deployment.yaml
Use kubectl top pods for a standard administrative task.
kubectl top pods -A
Use kubectl config get-contexts for a standard administrative task.
kubectl config get-contexts
Use kubectl config use-context for a standard administrative task.
kubectl config use-context production
Display Docker or Kubernetes usage and options related to docker ps.
docker ps -a --help
Display Docker or Kubernetes usage and options related to docker images.
docker images --help
Display Docker or Kubernetes usage and options related to docker logs.
docker logs --tail --help
Display Docker or Kubernetes usage and options related to docker inspect.
docker inspect web01 --help
Display Docker or Kubernetes usage and options related to docker exec.
docker exec -it --help
Display Docker or Kubernetes usage and options related to docker start.
docker start web01 --help
Display Docker or Kubernetes usage and options related to docker stop.
docker stop web01 --help
Display Docker or Kubernetes usage and options related to docker restart.
docker restart web01 --help
Display Docker or Kubernetes usage and options related to docker pull.
docker pull nginx:latest --help
Display Docker or Kubernetes usage and options related to docker build.
docker build -t --help
Display Docker or Kubernetes usage and options related to docker run.
docker run -d --help
Display Docker or Kubernetes usage and options related to docker compose up.
docker compose up --help
Display Docker or Kubernetes usage and options related to docker compose down.
docker compose down --help
Display Docker or Kubernetes usage and options related to docker system df.
docker system df --help
Display Docker or Kubernetes usage and options related to docker system prune.
docker system prune --help
Display Docker or Kubernetes usage and options related to kubectl get pods.
kubectl get pods --help
Display Docker or Kubernetes usage and options related to kubectl get nodes.
kubectl get nodes --help
Display Docker or Kubernetes usage and options related to kubectl describe pod.
kubectl describe pod --help
Display Docker or Kubernetes usage and options related to kubectl logs.
kubectl logs -n --help
Display Docker or Kubernetes usage and options related to kubectl exec.
kubectl exec -it --help
Display Docker or Kubernetes usage and options related to kubectl get deployments.
kubectl get deployments --help
Display Docker or Kubernetes usage and options related to kubectl rollout status.
kubectl rollout status --help
Display Docker or Kubernetes usage and options related to kubectl rollout restart.
kubectl rollout restart --help
Display Docker or Kubernetes usage and options related to kubectl scale.
kubectl scale deployment/web --help
Display Docker or Kubernetes usage and options related to kubectl apply.
kubectl apply -f --help
Display Docker or Kubernetes usage and options related to kubectl delete.
kubectl delete -f --help
Display Docker or Kubernetes usage and options related to kubectl top pods.
kubectl top pods --help
Display Docker or Kubernetes usage and options related to kubectl config get-contexts.
kubectl config get-contexts --help
Display Docker or Kubernetes usage and options related to kubectl config use-context.
kubectl config use-context --help
Display Docker or Kubernetes usage and options related to docker ps — Basic Usage.
docker ps -a --help
Display Docker or Kubernetes usage and options related to docker images — Basic Usage.
docker images --help
Display Docker or Kubernetes usage and options related to docker logs — Basic Usage.
docker logs --tail --help
Display Docker or Kubernetes usage and options related to docker inspect — Basic Usage.
docker inspect web01 --help
Display Docker or Kubernetes usage and options related to docker exec — Basic Usage.
docker exec -it --help
Display Docker or Kubernetes usage and options related to docker start — Basic Usage.
docker start web01 --help
Display Docker or Kubernetes usage and options related to docker stop — Basic Usage.
docker stop web01 --help
Display Docker or Kubernetes usage and options related to docker restart — Basic Usage.
docker restart web01 --help
Display Docker or Kubernetes usage and options related to docker pull — Basic Usage.
docker pull nginx:latest --help
Display Docker or Kubernetes usage and options related to docker build — Basic Usage.
docker build -t --help
Display Docker or Kubernetes usage and options related to docker run — Basic Usage.
docker run -d --help
Display Docker or Kubernetes usage and options related to docker compose up — Basic Usage.
docker compose up --help
Display Docker or Kubernetes usage and options related to docker compose down — Basic Usage.
docker compose down --help
Display Docker or Kubernetes usage and options related to docker system df — Basic Usage.
docker system df --help
Display Docker or Kubernetes usage and options related to docker system prune — Basic Usage.
docker system prune --help
Display Docker or Kubernetes usage and options related to kubectl get pods — Basic Usage.
kubectl get pods --help
Display Docker or Kubernetes usage and options related to kubectl get nodes — Basic Usage.
kubectl get nodes --help
Display Docker or Kubernetes usage and options related to kubectl describe pod — Basic Usage.
kubectl describe pod --help
Display Docker or Kubernetes usage and options related to kubectl logs — Basic Usage.
kubectl logs -n --help
Display Docker or Kubernetes usage and options related to kubectl exec — Basic Usage.
kubectl exec -it --help
Display Docker or Kubernetes usage and options related to kubectl get deployments — Basic Usage.
kubectl get deployments --help
Display Docker or Kubernetes usage and options related to kubectl rollout status — Basic Usage.
kubectl rollout status --help
Display Docker or Kubernetes usage and options related to kubectl rollout restart — Basic Usage.
kubectl rollout restart --help
Display Docker or Kubernetes usage and options related to kubectl scale — Basic Usage.
kubectl scale deployment/web --help
Display Docker or Kubernetes usage and options related to kubectl apply — Basic Usage.
kubectl apply -f --help
Display Docker or Kubernetes usage and options related to kubectl delete — Basic Usage.
kubectl delete -f --help
Display Docker or Kubernetes usage and options related to kubectl top pods — Basic Usage.
kubectl top pods --help
Display Docker or Kubernetes usage and options related to kubectl config get-contexts — Basic Usage.
kubectl config get-contexts --help
Display Docker or Kubernetes usage and options related to kubectl config use-context — Basic Usage.
kubectl config use-context --help
Save standard output and errors to a text file. Base task: List Docker containers.
docker ps -a > command-results.txt 2>&1
Display output while saving it to a file. Base task: List Docker containers.
docker ps -a 2>&1 | tee command-results.txt
Measure the command execution time. Base task: List Docker containers.
time docker ps -a
Repeat the command every five seconds for monitoring. Base task: List Docker containers.
watch -n 5 'docker ps -a'
Print a timestamp immediately before running the command. Base task: List Docker containers.
date --iso-8601=seconds; docker ps -a
Run the command in the background and log its output. Base task: List Docker containers.
nohup sh -c 'docker ps -a' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: List local Docker images.
docker images > command-results.txt 2>&1
Display output while saving it to a file. Base task: List local Docker images.
docker images 2>&1 | tee command-results.txt
Measure the command execution time. Base task: List local Docker images.
time docker images
Repeat the command every five seconds for monitoring. Base task: List local Docker images.
watch -n 5 'docker images'
Print a timestamp immediately before running the command. Base task: List local Docker images.
date --iso-8601=seconds; docker images
Run the command in the background and log its output. Base task: List local Docker images.
nohup sh -c 'docker images' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Follow container logs.
docker logs --tail 100 -f web01 > command-results.txt 2>&1
Display output while saving it to a file. Base task: Follow container logs.
docker logs --tail 100 -f web01 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Follow container logs.
time docker logs --tail 100 -f web01
Repeat the command every five seconds for monitoring. Base task: Follow container logs.
watch -n 5 'docker logs --tail 100 -f web01'
Print a timestamp immediately before running the command. Base task: Follow container logs.
date --iso-8601=seconds; docker logs --tail 100 -f web01
Run the command in the background and log its output. Base task: Follow container logs.
nohup sh -c 'docker logs --tail 100 -f web01' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Display detailed Docker object information.
docker inspect web01 > command-results.txt 2>&1
Display output while saving it to a file. Base task: Display detailed Docker object information.
docker inspect web01 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Display detailed Docker object information.
time docker inspect web01
Repeat the command every five seconds for monitoring. Base task: Display detailed Docker object information.
watch -n 5 'docker inspect web01'
Print a timestamp immediately before running the command. Base task: Display detailed Docker object information.
date --iso-8601=seconds; docker inspect web01
Run the command in the background and log its output. Base task: Display detailed Docker object information.
nohup sh -c 'docker inspect web01' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Run a command inside a container.
docker exec -it web01 /bin/sh > command-results.txt 2>&1
Display output while saving it to a file. Base task: Run a command inside a container.
docker exec -it web01 /bin/sh 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Run a command inside a container.
time docker exec -it web01 /bin/sh
Repeat the command every five seconds for monitoring. Base task: Run a command inside a container.
watch -n 5 'docker exec -it web01 /bin/sh'
Print a timestamp immediately before running the command. Base task: Run a command inside a container.
date --iso-8601=seconds; docker exec -it web01 /bin/sh
Run the command in the background and log its output. Base task: Run a command inside a container.
nohup sh -c 'docker exec -it web01 /bin/sh' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Start a stopped container.
docker start web01 > command-results.txt 2>&1
Display output while saving it to a file. Base task: Start a stopped container.
docker start web01 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Start a stopped container.
time docker start web01
Repeat the command every five seconds for monitoring. Base task: Start a stopped container.
watch -n 5 'docker start web01'
Print a timestamp immediately before running the command. Base task: Start a stopped container.
date --iso-8601=seconds; docker start web01
Run the command in the background and log its output. Base task: Start a stopped container.
nohup sh -c 'docker start web01' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Stop a running container.
docker stop web01 > command-results.txt 2>&1
Display output while saving it to a file. Base task: Stop a running container.
docker stop web01 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Stop a running container.
time docker stop web01
Repeat the command every five seconds for monitoring. Base task: Stop a running container.
watch -n 5 'docker stop web01'
Print a timestamp immediately before running the command. Base task: Stop a running container.
date --iso-8601=seconds; docker stop web01
Run the command in the background and log its output. Base task: Stop a running container.
nohup sh -c 'docker stop web01' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Restart a container.
docker restart web01 > command-results.txt 2>&1
Display output while saving it to a file. Base task: Restart a container.
docker restart web01 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Restart a container.
time docker restart web01
Repeat the command every five seconds for monitoring. Base task: Restart a container.
watch -n 5 'docker restart web01'
Print a timestamp immediately before running the command. Base task: Restart a container.
date --iso-8601=seconds; docker restart web01
Run the command in the background and log its output. Base task: Restart a container.
nohup sh -c 'docker restart web01' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Download a container image.
docker pull nginx:latest > command-results.txt 2>&1
Display output while saving it to a file. Base task: Download a container image.
docker pull nginx:latest 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Download a container image.
time docker pull nginx:latest
Repeat the command every five seconds for monitoring. Base task: Download a container image.
watch -n 5 'docker pull nginx:latest'
Print a timestamp immediately before running the command. Base task: Download a container image.
date --iso-8601=seconds; docker pull nginx:latest
Run the command in the background and log its output. Base task: Download a container image.
nohup sh -c 'docker pull nginx:latest' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Build a container image.
docker build -t myapp:1.0 . > command-results.txt 2>&1
Display output while saving it to a file. Base task: Build a container image.
docker build -t myapp:1.0 . 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Build a container image.
time docker build -t myapp:1.0 .
Repeat the command every five seconds for monitoring. Base task: Build a container image.
watch -n 5 'docker build -t myapp:1.0 .'
Print a timestamp immediately before running the command. Base task: Build a container image.
date --iso-8601=seconds; docker build -t myapp:1.0 .
Run the command in the background and log its output. Base task: Build a container image.
nohup sh -c 'docker build -t myapp:1.0 .' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Create and run a container.
docker run -d --name web01 -p 8080:80 nginx:latest > command-results.txt 2>&1
Display output while saving it to a file. Base task: Create and run a container.
docker run -d --name web01 -p 8080:80 nginx:latest 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Create and run a container.
time docker run -d --name web01 -p 8080:80 nginx:latest
Repeat the command every five seconds for monitoring. Base task: Create and run a container.
watch -n 5 'docker run -d --name web01 -p 8080:80 nginx:latest'
Print a timestamp immediately before running the command. Base task: Create and run a container.
date --iso-8601=seconds; docker run -d --name web01 -p 8080:80 nginx:latest
Run the command in the background and log its output. Base task: Create and run a container.
nohup sh -c 'docker run -d --name web01 -p 8080:80 nginx:latest' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Start services defined in a Compose file.
docker compose up -d > command-results.txt 2>&1
Display output while saving it to a file. Base task: Start services defined in a Compose file.
docker compose up -d 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Start services defined in a Compose file.
time docker compose up -d
Repeat the command every five seconds for monitoring. Base task: Start services defined in a Compose file.
watch -n 5 'docker compose up -d'
Print a timestamp immediately before running the command. Base task: Start services defined in a Compose file.
date --iso-8601=seconds; docker compose up -d
Run the command in the background and log its output. Base task: Start services defined in a Compose file.
nohup sh -c 'docker compose up -d' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Stop and remove Compose services.
docker compose down > command-results.txt 2>&1
Display output while saving it to a file. Base task: Stop and remove Compose services.
docker compose down 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Stop and remove Compose services.
time docker compose down
Repeat the command every five seconds for monitoring. Base task: Stop and remove Compose services.
watch -n 5 'docker compose down'
Print a timestamp immediately before running the command. Base task: Stop and remove Compose services.
date --iso-8601=seconds; docker compose down
Run the command in the background and log its output. Base task: Stop and remove Compose services.
nohup sh -c 'docker compose down' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Display Docker disk usage.
docker system df > command-results.txt 2>&1
Display output while saving it to a file. Base task: Display Docker disk usage.
docker system df 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Display Docker disk usage.
time docker system df
Repeat the command every five seconds for monitoring. Base task: Display Docker disk usage.
watch -n 5 'docker system df'
Print a timestamp immediately before running the command. Base task: Display Docker disk usage.
date --iso-8601=seconds; docker system df
Run the command in the background and log its output. Base task: Display Docker disk usage.
nohup sh -c 'docker system df' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Remove unused Docker objects.
docker system prune > command-results.txt 2>&1
Display output while saving it to a file. Base task: Remove unused Docker objects.
docker system prune 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Remove unused Docker objects.
time docker system prune
Repeat the command every five seconds for monitoring. Base task: Remove unused Docker objects.
watch -n 5 'docker system prune'
Print a timestamp immediately before running the command. Base task: Remove unused Docker objects.
date --iso-8601=seconds; docker system prune
Run the command in the background and log its output. Base task: Remove unused Docker objects.
nohup sh -c 'docker system prune' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: List Kubernetes pods across namespaces.
kubectl get pods -A -o wide > command-results.txt 2>&1
Display output while saving it to a file. Base task: List Kubernetes pods across namespaces.
kubectl get pods -A -o wide 2>&1 | tee command-results.txt
Measure the command execution time. Base task: List Kubernetes pods across namespaces.
time kubectl get pods -A -o wide
Repeat the command every five seconds for monitoring. Base task: List Kubernetes pods across namespaces.
watch -n 5 'kubectl get pods -A -o wide'
Print a timestamp immediately before running the command. Base task: List Kubernetes pods across namespaces.
date --iso-8601=seconds; kubectl get pods -A -o wide
Run the command in the background and log its output. Base task: List Kubernetes pods across namespaces.
nohup sh -c 'kubectl get pods -A -o wide' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: List Kubernetes nodes.
kubectl get nodes -o wide > command-results.txt 2>&1
Display output while saving it to a file. Base task: List Kubernetes nodes.
kubectl get nodes -o wide 2>&1 | tee command-results.txt
Measure the command execution time. Base task: List Kubernetes nodes.
time kubectl get nodes -o wide
Repeat the command every five seconds for monitoring. Base task: List Kubernetes nodes.
watch -n 5 'kubectl get nodes -o wide'
Print a timestamp immediately before running the command. Base task: List Kubernetes nodes.
date --iso-8601=seconds; kubectl get nodes -o wide
Run the command in the background and log its output. Base task: List Kubernetes nodes.
nohup sh -c 'kubectl get nodes -o wide' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Display detailed pod status and events.
kubectl describe pod web-abc123 -n production > command-results.txt 2>&1
Display output while saving it to a file. Base task: Display detailed pod status and events.
kubectl describe pod web-abc123 -n production 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Display detailed pod status and events.
time kubectl describe pod web-abc123 -n production
Repeat the command every five seconds for monitoring. Base task: Display detailed pod status and events.
watch -n 5 'kubectl describe pod web-abc123 -n production'
Print a timestamp immediately before running the command. Base task: Display detailed pod status and events.
date --iso-8601=seconds; kubectl describe pod web-abc123 -n production
Run the command in the background and log its output. Base task: Display detailed pod status and events.
nohup sh -c 'kubectl describe pod web-abc123 -n production' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Follow Kubernetes workload logs.
kubectl logs -n production deployment/web --tail=100 -f > command-results.txt 2>&1
Display output while saving it to a file. Base task: Follow Kubernetes workload logs.
kubectl logs -n production deployment/web --tail=100 -f 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Follow Kubernetes workload logs.
time kubectl logs -n production deployment/web --tail=100 -f
Repeat the command every five seconds for monitoring. Base task: Follow Kubernetes workload logs.
watch -n 5 'kubectl logs -n production deployment/web --tail=100 -f'
Print a timestamp immediately before running the command. Base task: Follow Kubernetes workload logs.
date --iso-8601=seconds; kubectl logs -n production deployment/web --tail=100 -f
Run the command in the background and log its output. Base task: Follow Kubernetes workload logs.
nohup sh -c 'kubectl logs -n production deployment/web --tail=100 -f' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Run a command inside a Kubernetes pod.
kubectl exec -it -n production pod/web-abc123 -- /bin/sh > command-results.txt 2>&1
Display output while saving it to a file. Base task: Run a command inside a Kubernetes pod.
kubectl exec -it -n production pod/web-abc123 -- /bin/sh 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Run a command inside a Kubernetes pod.
time kubectl exec -it -n production pod/web-abc123 -- /bin/sh
Repeat the command every five seconds for monitoring. Base task: Run a command inside a Kubernetes pod.
watch -n 5 'kubectl exec -it -n production pod/web-abc123 -- /bin/sh'
Print a timestamp immediately before running the command. Base task: Run a command inside a Kubernetes pod.
date --iso-8601=seconds; kubectl exec -it -n production pod/web-abc123 -- /bin/sh
Run the command in the background and log its output. Base task: Run a command inside a Kubernetes pod.
nohup sh -c 'kubectl exec -it -n production pod/web-abc123 -- /bin/sh' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: List Kubernetes deployments.
kubectl get deployments -A > command-results.txt 2>&1
Display output while saving it to a file. Base task: List Kubernetes deployments.
kubectl get deployments -A 2>&1 | tee command-results.txt
Measure the command execution time. Base task: List Kubernetes deployments.
time kubectl get deployments -A
Repeat the command every five seconds for monitoring. Base task: List Kubernetes deployments.
watch -n 5 'kubectl get deployments -A'
Print a timestamp immediately before running the command. Base task: List Kubernetes deployments.
date --iso-8601=seconds; kubectl get deployments -A
Run the command in the background and log its output. Base task: List Kubernetes deployments.
nohup sh -c 'kubectl get deployments -A' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Watch a deployment rollout.
kubectl rollout status deployment/web -n production > command-results.txt 2>&1
Display output while saving it to a file. Base task: Watch a deployment rollout.
kubectl rollout status deployment/web -n production 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Watch a deployment rollout.
time kubectl rollout status deployment/web -n production
Repeat the command every five seconds for monitoring. Base task: Watch a deployment rollout.
watch -n 5 'kubectl rollout status deployment/web -n production'
Print a timestamp immediately before running the command. Base task: Watch a deployment rollout.
date --iso-8601=seconds; kubectl rollout status deployment/web -n production
Run the command in the background and log its output. Base task: Watch a deployment rollout.
nohup sh -c 'kubectl rollout status deployment/web -n production' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Restart pods managed by a deployment.
kubectl rollout restart deployment/web -n production > command-results.txt 2>&1
Display output while saving it to a file. Base task: Restart pods managed by a deployment.
kubectl rollout restart deployment/web -n production 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Restart pods managed by a deployment.
time kubectl rollout restart deployment/web -n production
Repeat the command every five seconds for monitoring. Base task: Restart pods managed by a deployment.
watch -n 5 'kubectl rollout restart deployment/web -n production'
Print a timestamp immediately before running the command. Base task: Restart pods managed by a deployment.
date --iso-8601=seconds; kubectl rollout restart deployment/web -n production
Run the command in the background and log its output. Base task: Restart pods managed by a deployment.
nohup sh -c 'kubectl rollout restart deployment/web -n production' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Change deployment replica count.
kubectl scale deployment/web --replicas=3 -n production > command-results.txt 2>&1
Display output while saving it to a file. Base task: Change deployment replica count.
kubectl scale deployment/web --replicas=3 -n production 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Change deployment replica count.
time kubectl scale deployment/web --replicas=3 -n production
Repeat the command every five seconds for monitoring. Base task: Change deployment replica count.
watch -n 5 'kubectl scale deployment/web --replicas=3 -n production'
Print a timestamp immediately before running the command. Base task: Change deployment replica count.
date --iso-8601=seconds; kubectl scale deployment/web --replicas=3 -n production
Run the command in the background and log its output. Base task: Change deployment replica count.
nohup sh -c 'kubectl scale deployment/web --replicas=3 -n production' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Apply Kubernetes configuration.
kubectl apply -f deployment.yaml > command-results.txt 2>&1
Display output while saving it to a file. Base task: Apply Kubernetes configuration.
kubectl apply -f deployment.yaml 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Apply Kubernetes configuration.
time kubectl apply -f deployment.yaml
Repeat the command every five seconds for monitoring. Base task: Apply Kubernetes configuration.
watch -n 5 'kubectl apply -f deployment.yaml'
Print a timestamp immediately before running the command. Base task: Apply Kubernetes configuration.
date --iso-8601=seconds; kubectl apply -f deployment.yaml
Run the command in the background and log its output. Base task: Apply Kubernetes configuration.
nohup sh -c 'kubectl apply -f deployment.yaml' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Delete Kubernetes resources defined in a file.
kubectl delete -f deployment.yaml > command-results.txt 2>&1
Display output while saving it to a file. Base task: Delete Kubernetes resources defined in a file.
kubectl delete -f deployment.yaml 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Delete Kubernetes resources defined in a file.
time kubectl delete -f deployment.yaml
Repeat the command every five seconds for monitoring. Base task: Delete Kubernetes resources defined in a file.
watch -n 5 'kubectl delete -f deployment.yaml'
Print a timestamp immediately before running the command. Base task: Delete Kubernetes resources defined in a file.
date --iso-8601=seconds; kubectl delete -f deployment.yaml
Run the command in the background and log its output. Base task: Delete Kubernetes resources defined in a file.
nohup sh -c 'kubectl delete -f deployment.yaml' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Display pod CPU and memory usage.
kubectl top pods -A > command-results.txt 2>&1
Display output while saving it to a file. Base task: Display pod CPU and memory usage.
kubectl top pods -A 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Display pod CPU and memory usage.
time kubectl top pods -A
Repeat the command every five seconds for monitoring. Base task: Display pod CPU and memory usage.
watch -n 5 'kubectl top pods -A'
Print a timestamp immediately before running the command. Base task: Display pod CPU and memory usage.
date --iso-8601=seconds; kubectl top pods -A
Run the command in the background and log its output. Base task: Display pod CPU and memory usage.
nohup sh -c 'kubectl top pods -A' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: List Kubernetes contexts.
kubectl config get-contexts > command-results.txt 2>&1
Display output while saving it to a file. Base task: List Kubernetes contexts.
kubectl config get-contexts 2>&1 | tee command-results.txt
Measure the command execution time. Base task: List Kubernetes contexts.
time kubectl config get-contexts
Repeat the command every five seconds for monitoring. Base task: List Kubernetes contexts.
watch -n 5 'kubectl config get-contexts'
Print a timestamp immediately before running the command. Base task: List Kubernetes contexts.
date --iso-8601=seconds; kubectl config get-contexts
Run the command in the background and log its output. Base task: List Kubernetes contexts.
nohup sh -c 'kubectl config get-contexts' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Switch the active Kubernetes context.
kubectl config use-context production > command-results.txt 2>&1
Display output while saving it to a file. Base task: Switch the active Kubernetes context.
kubectl config use-context production 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Switch the active Kubernetes context.
time kubectl config use-context production
Repeat the command every five seconds for monitoring. Base task: Switch the active Kubernetes context.
watch -n 5 'kubectl config use-context production'
Print a timestamp immediately before running the command. Base task: Switch the active Kubernetes context.
date --iso-8601=seconds; kubectl config use-context production
Run the command in the background and log its output. Base task: Switch the active Kubernetes context.
nohup sh -c 'kubectl config use-context production' > command-results.log 2>&1 &
Entra ID and Graph
Connect to Microsoft Graph PowerShell.
Connect-MgGraph -Scopes "User.Read.All"
List Microsoft Entra ID users.
Get-MgUser -All -Property Id,DisplayName,UserPrincipalName,AccountEnabled
Create a Microsoft Entra ID user.
New-MgUser -DisplayName "Jane Smith" -UserPrincipalName jsmith@contoso.com -MailNickname jsmith -AccountEnabled -PasswordProfile $passwordProfile
Update a Microsoft Entra ID user.
Update-MgUser -UserId user@contoso.com -Department IT
Delete a Microsoft Entra ID user.
Remove-MgUser -UserId user@contoso.com
List Microsoft Entra ID groups.
Get-MgGroup -All
List Microsoft Entra ID group members.
Get-MgGroupMember -GroupId $groupId -All
Add a member to a Microsoft Entra ID group.
New-MgGroupMemberByRef -GroupId $groupId -BodyParameter @{"@odata.id"="https://graph.microsoft.com/v1.0/directoryObjects/$userId"}
List tenant license SKUs.
Get-MgSubscribedSku -All
Assign a Microsoft 365 license.
Set-MgUserLicense -UserId user@contoso.com -AddLicenses @{SkuId=$skuId} -RemoveLicenses @()
List Microsoft Entra ID device objects.
Get-MgDevice -All
Retrieve recent sign-in logs.
Get-MgAuditLogSignIn -Top 100
Retrieve directory audit logs.
Get-MgAuditLogDirectoryAudit -Top 100
List authentication methods registered by a user.
Get-MgUserAuthenticationMethod -UserId user@contoso.com
List enterprise applications and service principals.
Get-MgServicePrincipal -All
List application registrations.
Get-MgApplication -All
Call Microsoft Graph directly.
Invoke-MgGraphRequest -Method GET -Uri "https://graph.microsoft.com/v1.0/organization"
Use Connect-MgGraph for a standard administrative task.
Connect-MgGraph -Scopes "User.Read.All"
Use Get-MgUser for a standard administrative task.
Get-MgUser -All -Property Id,DisplayName,UserPrincipalName,AccountEnabled
Use New-MgUser for a standard administrative task.
New-MgUser -DisplayName "Jane Smith" -UserPrincipalName jsmith@contoso.com -MailNickname jsmith -AccountEnabled -PasswordProfile $passwordProfile
Use Update-MgUser for a standard administrative task.
Update-MgUser -UserId user@contoso.com -Department IT
Use Remove-MgUser for a standard administrative task.
Remove-MgUser -UserId user@contoso.com
Use Get-MgGroup for a standard administrative task.
Get-MgGroup -All
Use Get-MgGroupMember for a standard administrative task.
Get-MgGroupMember -GroupId $groupId -All
Use New-MgGroupMemberByRef for a standard administrative task.
New-MgGroupMemberByRef -GroupId $groupId -BodyParameter @{"@odata.id"="https://graph.microsoft.com/v1.0/directoryObjects/$userId"}
Use Get-MgSubscribedSku for a standard administrative task.
Get-MgSubscribedSku -All
Use Set-MgUserLicense for a standard administrative task.
Set-MgUserLicense -UserId user@contoso.com -AddLicenses @{SkuId=$skuId} -RemoveLicenses @()
Use Get-MgDevice for a standard administrative task.
Get-MgDevice -All
Use Get-MgAuditLogSignIn for a standard administrative task.
Get-MgAuditLogSignIn -Top 100
Use Get-MgAuditLogDirectoryAudit for a standard administrative task.
Get-MgAuditLogDirectoryAudit -Top 100
Use Get-MgUserAuthenticationMethod for a standard administrative task.
Get-MgUserAuthenticationMethod -UserId user@contoso.com
Use Get-MgServicePrincipal for a standard administrative task.
Get-MgServicePrincipal -All
Use Get-MgApplication for a standard administrative task.
Get-MgApplication -All
Use Invoke-MgGraphRequest for a standard administrative task.
Invoke-MgGraphRequest -Method GET -Uri "https://graph.microsoft.com/v1.0/organization"
Export the output of Connect-MgGraph for documentation or review.
Connect-MgGraph -Scopes "User.Read.All" | Export-Csv .\output.csv -NoTypeInformation
Export the output of Get-MgUser for documentation or review.
Get-MgUser -All -Property Id,DisplayName,UserPrincipalName,AccountEnabled | Export-Csv .\output.csv -NoTypeInformation
Export the output of New-MgUser for documentation or review.
New-MgUser -DisplayName "Jane Smith" -UserPrincipalName jsmith@contoso.com -MailNickname jsmith -AccountEnabled -PasswordProfile $passwordProfile | Export-Csv .\output.csv -NoTypeInformation
Export the output of Update-MgUser for documentation or review.
Update-MgUser -UserId user@contoso.com -Department IT | Export-Csv .\output.csv -NoTypeInformation
Export the output of Remove-MgUser for documentation or review.
Remove-MgUser -UserId user@contoso.com | Export-Csv .\output.csv -NoTypeInformation
Export the output of Get-MgGroup for documentation or review.
Get-MgGroup -All | Export-Csv .\output.csv -NoTypeInformation
Export the output of Get-MgGroupMember for documentation or review.
Get-MgGroupMember -GroupId $groupId -All | Export-Csv .\output.csv -NoTypeInformation
Export the output of New-MgGroupMemberByRef for documentation or review.
New-MgGroupMemberByRef -GroupId $groupId -BodyParameter @{"@odata.id"="https://graph.microsoft.com/v1.0/directoryObjects/$userId"} | Export-Csv .\output.csv -NoTypeInformation
Export the output of Get-MgSubscribedSku for documentation or review.
Get-MgSubscribedSku -All | Export-Csv .\output.csv -NoTypeInformation
Export the output of Set-MgUserLicense for documentation or review.
Set-MgUserLicense -UserId user@contoso.com -AddLicenses @{SkuId=$skuId} -RemoveLicenses @() | Export-Csv .\output.csv -NoTypeInformation
Export the output of Get-MgDevice for documentation or review.
Get-MgDevice -All | Export-Csv .\output.csv -NoTypeInformation
Export the output of Get-MgAuditLogSignIn for documentation or review.
Get-MgAuditLogSignIn -Top 100 | Export-Csv .\output.csv -NoTypeInformation
Export the output of Get-MgAuditLogDirectoryAudit for documentation or review.
Get-MgAuditLogDirectoryAudit -Top 100 | Export-Csv .\output.csv -NoTypeInformation
Export the output of Get-MgUserAuthenticationMethod for documentation or review.
Get-MgUserAuthenticationMethod -UserId user@contoso.com | Export-Csv .\output.csv -NoTypeInformation
Export the output of Get-MgServicePrincipal for documentation or review.
Get-MgServicePrincipal -All | Export-Csv .\output.csv -NoTypeInformation
Export the output of Get-MgApplication for documentation or review.
Get-MgApplication -All | Export-Csv .\output.csv -NoTypeInformation
Export the output of Invoke-MgGraphRequest for documentation or review.
Invoke-MgGraphRequest -Method GET -Uri "https://graph.microsoft.com/v1.0/organization" | Export-Csv .\output.csv -NoTypeInformation
Display complete syntax, parameter details, and examples for Connect-MgGraph.
Get-Help Connect-MgGraph -Full
Display complete syntax, parameter details, and examples for Get-MgUser.
Get-Help Get-MgUser -Full
Display complete syntax, parameter details, and examples for New-MgUser.
Get-Help New-MgUser -Full
Display complete syntax, parameter details, and examples for Update-MgUser.
Get-Help Update-MgUser -Full
Display complete syntax, parameter details, and examples for Remove-MgUser.
Get-Help Remove-MgUser -Full
Display complete syntax, parameter details, and examples for Get-MgGroup.
Get-Help Get-MgGroup -Full
Display complete syntax, parameter details, and examples for Get-MgGroupMember.
Get-Help Get-MgGroupMember -Full
Display complete syntax, parameter details, and examples for New-MgGroupMemberByRef.
Get-Help New-MgGroupMemberByRef -Full
Display complete syntax, parameter details, and examples for Get-MgSubscribedSku.
Get-Help Get-MgSubscribedSku -Full
Display complete syntax, parameter details, and examples for Set-MgUserLicense.
Get-Help Set-MgUserLicense -Full
Display complete syntax, parameter details, and examples for Get-MgDevice.
Get-Help Get-MgDevice -Full
Display complete syntax, parameter details, and examples for Get-MgAuditLogSignIn.
Get-Help Get-MgAuditLogSignIn -Full
Display complete syntax, parameter details, and examples for Get-MgAuditLogDirectoryAudit.
Get-Help Get-MgAuditLogDirectoryAudit -Full
Display complete syntax, parameter details, and examples for Get-MgUserAuthenticationMethod.
Get-Help Get-MgUserAuthenticationMethod -Full
Display complete syntax, parameter details, and examples for Get-MgServicePrincipal.
Get-Help Get-MgServicePrincipal -Full
Display complete syntax, parameter details, and examples for Get-MgApplication.
Get-Help Get-MgApplication -Full
Display complete syntax, parameter details, and examples for Invoke-MgGraphRequest.
Get-Help Invoke-MgGraphRequest -Full
Display complete syntax, parameter details, and examples for Connect-MgGraph — Basic Usage.
Get-Help Connect-MgGraph -Full
Display complete syntax, parameter details, and examples for Get-MgUser — Basic Usage.
Get-Help Get-MgUser -Full
Display complete syntax, parameter details, and examples for New-MgUser — Basic Usage.
Get-Help New-MgUser -Full
Display complete syntax, parameter details, and examples for Update-MgUser — Basic Usage.
Get-Help Update-MgUser -Full
Display complete syntax, parameter details, and examples for Remove-MgUser — Basic Usage.
Get-Help Remove-MgUser -Full
Display complete syntax, parameter details, and examples for Get-MgGroup — Basic Usage.
Get-Help Get-MgGroup -Full
Display complete syntax, parameter details, and examples for Get-MgGroupMember — Basic Usage.
Get-Help Get-MgGroupMember -Full
Display complete syntax, parameter details, and examples for New-MgGroupMemberByRef — Basic Usage.
Get-Help New-MgGroupMemberByRef -Full
Display complete syntax, parameter details, and examples for Get-MgSubscribedSku — Basic Usage.
Get-Help Get-MgSubscribedSku -Full
Display complete syntax, parameter details, and examples for Set-MgUserLicense — Basic Usage.
Get-Help Set-MgUserLicense -Full
Display complete syntax, parameter details, and examples for Get-MgDevice — Basic Usage.
Get-Help Get-MgDevice -Full
Display complete syntax, parameter details, and examples for Get-MgAuditLogSignIn — Basic Usage.
Get-Help Get-MgAuditLogSignIn -Full
Display complete syntax, parameter details, and examples for Get-MgAuditLogDirectoryAudit — Basic Usage.
Get-Help Get-MgAuditLogDirectoryAudit -Full
Display complete syntax, parameter details, and examples for Get-MgUserAuthenticationMethod — Basic Usage.
Get-Help Get-MgUserAuthenticationMethod -Full
Display complete syntax, parameter details, and examples for Get-MgServicePrincipal — Basic Usage.
Get-Help Get-MgServicePrincipal -Full
Display complete syntax, parameter details, and examples for Get-MgApplication — Basic Usage.
Get-Help Get-MgApplication -Full
Display complete syntax, parameter details, and examples for Invoke-MgGraphRequest — Basic Usage.
Get-Help Invoke-MgGraphRequest -Full
Display complete syntax, parameter details, and examples for Connect-MgGraph — Export Results.
Get-Help Connect-MgGraph -Full
Display complete syntax, parameter details, and examples for Get-MgUser — Export Results.
Get-Help Get-MgUser -Full
Display complete syntax, parameter details, and examples for New-MgUser — Export Results.
Get-Help New-MgUser -Full
Display complete syntax, parameter details, and examples for Update-MgUser — Export Results.
Get-Help Update-MgUser -Full
Display complete syntax, parameter details, and examples for Remove-MgUser — Export Results.
Get-Help Remove-MgUser -Full
Display complete syntax, parameter details, and examples for Get-MgGroup — Export Results.
Get-Help Get-MgGroup -Full
Display complete syntax, parameter details, and examples for Get-MgGroupMember — Export Results.
Get-Help Get-MgGroupMember -Full
Display complete syntax, parameter details, and examples for New-MgGroupMemberByRef — Export Results.
Get-Help New-MgGroupMemberByRef -Full
Display complete syntax, parameter details, and examples for Get-MgSubscribedSku — Export Results.
Get-Help Get-MgSubscribedSku -Full
Display complete syntax, parameter details, and examples for Set-MgUserLicense — Export Results.
Get-Help Set-MgUserLicense -Full
Display complete syntax, parameter details, and examples for Get-MgDevice — Export Results.
Get-Help Get-MgDevice -Full
Display complete syntax, parameter details, and examples for Get-MgAuditLogSignIn — Export Results.
Get-Help Get-MgAuditLogSignIn -Full
Display complete syntax, parameter details, and examples for Get-MgAuditLogDirectoryAudit — Export Results.
Get-Help Get-MgAuditLogDirectoryAudit -Full
Display complete syntax, parameter details, and examples for Get-MgUserAuthenticationMethod — Export Results.
Get-Help Get-MgUserAuthenticationMethod -Full
Display complete syntax, parameter details, and examples for Get-MgServicePrincipal — Export Results.
Get-Help Get-MgServicePrincipal -Full
Display complete syntax, parameter details, and examples for Get-MgApplication — Export Results.
Get-Help Get-MgApplication -Full
Display complete syntax, parameter details, and examples for Invoke-MgGraphRequest — Export Results.
Get-Help Invoke-MgGraphRequest -Full
Display all Microsoft Graph result properties. Base task: Connect to Microsoft Graph PowerShell.
Connect-MgGraph -Scopes "User.Read.All" | Format-List *
Export Graph PowerShell results to CSV. Base task: Connect to Microsoft Graph PowerShell.
Connect-MgGraph -Scopes "User.Read.All" | Export-Csv -Path .\graph-results.csv -NoTypeInformation
Convert Graph objects to JSON. Base task: Connect to Microsoft Graph PowerShell.
Connect-MgGraph -Scopes "User.Read.All" | ConvertTo-Json -Depth 8
Measure Graph command execution time. Base task: Connect to Microsoft Graph PowerShell.
Measure-Command { Connect-MgGraph -Scopes "User.Read.All" }
Use terminating error handling for Graph automation. Base task: Connect to Microsoft Graph PowerShell.
try { Connect-MgGraph -Scopes "User.Read.All" -ErrorAction Stop } catch { Write-Error $_.Exception.Message }
Display all Microsoft Graph result properties. Base task: List Microsoft Entra ID users.
Get-MgUser -All -Property Id,DisplayName,UserPrincipalName,AccountEnabled | Format-List *
Export Graph PowerShell results to CSV. Base task: List Microsoft Entra ID users.
Get-MgUser -All -Property Id,DisplayName,UserPrincipalName,AccountEnabled | Export-Csv -Path .\graph-results.csv -NoTypeInformation
Convert Graph objects to JSON. Base task: List Microsoft Entra ID users.
Get-MgUser -All -Property Id,DisplayName,UserPrincipalName,AccountEnabled | ConvertTo-Json -Depth 8
Measure Graph command execution time. Base task: List Microsoft Entra ID users.
Measure-Command { Get-MgUser -All -Property Id,DisplayName,UserPrincipalName,AccountEnabled }
Use terminating error handling for Graph automation. Base task: List Microsoft Entra ID users.
try { Get-MgUser -All -Property Id,DisplayName,UserPrincipalName,AccountEnabled -ErrorAction Stop } catch { Write-Error $_.Exception.Message }
Display all Microsoft Graph result properties. Base task: Create a Microsoft Entra ID user.
New-MgUser -DisplayName "Jane Smith" -UserPrincipalName jsmith@contoso.com -MailNickname jsmith -AccountEnabled -PasswordProfile $passwordProfile | Format-List *
Export Graph PowerShell results to CSV. Base task: Create a Microsoft Entra ID user.
New-MgUser -DisplayName "Jane Smith" -UserPrincipalName jsmith@contoso.com -MailNickname jsmith -AccountEnabled -PasswordProfile $passwordProfile | Export-Csv -Path .\graph-results.csv -NoTypeInformation
Convert Graph objects to JSON. Base task: Create a Microsoft Entra ID user.
New-MgUser -DisplayName "Jane Smith" -UserPrincipalName jsmith@contoso.com -MailNickname jsmith -AccountEnabled -PasswordProfile $passwordProfile | ConvertTo-Json -Depth 8
Measure Graph command execution time. Base task: Create a Microsoft Entra ID user.
Measure-Command { New-MgUser -DisplayName "Jane Smith" -UserPrincipalName jsmith@contoso.com -MailNickname jsmith -AccountEnabled -PasswordProfile $passwordProfile }
Use terminating error handling for Graph automation. Base task: Create a Microsoft Entra ID user.
try { New-MgUser -DisplayName "Jane Smith" -UserPrincipalName jsmith@contoso.com -MailNickname jsmith -AccountEnabled -PasswordProfile $passwordProfile -ErrorAction Stop } catch { Write-Error $_.Exception.Message }
Display all Microsoft Graph result properties. Base task: Update a Microsoft Entra ID user.
Update-MgUser -UserId user@contoso.com -Department IT | Format-List *
Export Graph PowerShell results to CSV. Base task: Update a Microsoft Entra ID user.
Update-MgUser -UserId user@contoso.com -Department IT | Export-Csv -Path .\graph-results.csv -NoTypeInformation
Convert Graph objects to JSON. Base task: Update a Microsoft Entra ID user.
Update-MgUser -UserId user@contoso.com -Department IT | ConvertTo-Json -Depth 8
Measure Graph command execution time. Base task: Update a Microsoft Entra ID user.
Measure-Command { Update-MgUser -UserId user@contoso.com -Department IT }
Use terminating error handling for Graph automation. Base task: Update a Microsoft Entra ID user.
try { Update-MgUser -UserId user@contoso.com -Department IT -ErrorAction Stop } catch { Write-Error $_.Exception.Message }
Display all Microsoft Graph result properties. Base task: Delete a Microsoft Entra ID user.
Remove-MgUser -UserId user@contoso.com | Format-List *
Export Graph PowerShell results to CSV. Base task: Delete a Microsoft Entra ID user.
Remove-MgUser -UserId user@contoso.com | Export-Csv -Path .\graph-results.csv -NoTypeInformation
Convert Graph objects to JSON. Base task: Delete a Microsoft Entra ID user.
Remove-MgUser -UserId user@contoso.com | ConvertTo-Json -Depth 8
Measure Graph command execution time. Base task: Delete a Microsoft Entra ID user.
Measure-Command { Remove-MgUser -UserId user@contoso.com }
Use terminating error handling for Graph automation. Base task: Delete a Microsoft Entra ID user.
try { Remove-MgUser -UserId user@contoso.com -ErrorAction Stop } catch { Write-Error $_.Exception.Message }
Display all Microsoft Graph result properties. Base task: List Microsoft Entra ID groups.
Get-MgGroup -All | Format-List *
Export Graph PowerShell results to CSV. Base task: List Microsoft Entra ID groups.
Get-MgGroup -All | Export-Csv -Path .\graph-results.csv -NoTypeInformation
Convert Graph objects to JSON. Base task: List Microsoft Entra ID groups.
Get-MgGroup -All | ConvertTo-Json -Depth 8
Measure Graph command execution time. Base task: List Microsoft Entra ID groups.
Measure-Command { Get-MgGroup -All }
Use terminating error handling for Graph automation. Base task: List Microsoft Entra ID groups.
try { Get-MgGroup -All -ErrorAction Stop } catch { Write-Error $_.Exception.Message }
Display all Microsoft Graph result properties. Base task: List Microsoft Entra ID group members.
Get-MgGroupMember -GroupId $groupId -All | Format-List *
Export Graph PowerShell results to CSV. Base task: List Microsoft Entra ID group members.
Get-MgGroupMember -GroupId $groupId -All | Export-Csv -Path .\graph-results.csv -NoTypeInformation
Convert Graph objects to JSON. Base task: List Microsoft Entra ID group members.
Get-MgGroupMember -GroupId $groupId -All | ConvertTo-Json -Depth 8
Measure Graph command execution time. Base task: List Microsoft Entra ID group members.
Measure-Command { Get-MgGroupMember -GroupId $groupId -All }
Use terminating error handling for Graph automation. Base task: List Microsoft Entra ID group members.
try { Get-MgGroupMember -GroupId $groupId -All -ErrorAction Stop } catch { Write-Error $_.Exception.Message }
Display all Microsoft Graph result properties. Base task: Add a member to a Microsoft Entra ID group.
New-MgGroupMemberByRef -GroupId $groupId -BodyParameter @{"@odata.id"="https://graph.microsoft.com/v1.0/directoryObjects/$userId"} | Format-List *
Export Graph PowerShell results to CSV. Base task: Add a member to a Microsoft Entra ID group.
New-MgGroupMemberByRef -GroupId $groupId -BodyParameter @{"@odata.id"="https://graph.microsoft.com/v1.0/directoryObjects/$userId"} | Export-Csv -Path .\graph-results.csv -NoTypeInformation
Convert Graph objects to JSON. Base task: Add a member to a Microsoft Entra ID group.
New-MgGroupMemberByRef -GroupId $groupId -BodyParameter @{"@odata.id"="https://graph.microsoft.com/v1.0/directoryObjects/$userId"} | ConvertTo-Json -Depth 8
Measure Graph command execution time. Base task: Add a member to a Microsoft Entra ID group.
Measure-Command { New-MgGroupMemberByRef -GroupId $groupId -BodyParameter @{"@odata.id"="https://graph.microsoft.com/v1.0/directoryObjects/$userId"} }
Use terminating error handling for Graph automation. Base task: Add a member to a Microsoft Entra ID group.
try { New-MgGroupMemberByRef -GroupId $groupId -BodyParameter @{"@odata.id"="https://graph.microsoft.com/v1.0/directoryObjects/$userId"} -ErrorAction Stop } catch { Write-Error $_.Exception.Message }
Display all Microsoft Graph result properties. Base task: List tenant license SKUs.
Get-MgSubscribedSku -All | Format-List *
Export Graph PowerShell results to CSV. Base task: List tenant license SKUs.
Get-MgSubscribedSku -All | Export-Csv -Path .\graph-results.csv -NoTypeInformation
Convert Graph objects to JSON. Base task: List tenant license SKUs.
Get-MgSubscribedSku -All | ConvertTo-Json -Depth 8
Measure Graph command execution time. Base task: List tenant license SKUs.
Measure-Command { Get-MgSubscribedSku -All }
Use terminating error handling for Graph automation. Base task: List tenant license SKUs.
try { Get-MgSubscribedSku -All -ErrorAction Stop } catch { Write-Error $_.Exception.Message }
Display all Microsoft Graph result properties. Base task: Assign a Microsoft 365 license.
Set-MgUserLicense -UserId user@contoso.com -AddLicenses @{SkuId=$skuId} -RemoveLicenses @() | Format-List *
Export Graph PowerShell results to CSV. Base task: Assign a Microsoft 365 license.
Set-MgUserLicense -UserId user@contoso.com -AddLicenses @{SkuId=$skuId} -RemoveLicenses @() | Export-Csv -Path .\graph-results.csv -NoTypeInformation
Convert Graph objects to JSON. Base task: Assign a Microsoft 365 license.
Set-MgUserLicense -UserId user@contoso.com -AddLicenses @{SkuId=$skuId} -RemoveLicenses @() | ConvertTo-Json -Depth 8
Measure Graph command execution time. Base task: Assign a Microsoft 365 license.
Measure-Command { Set-MgUserLicense -UserId user@contoso.com -AddLicenses @{SkuId=$skuId} -RemoveLicenses @() }
Use terminating error handling for Graph automation. Base task: Assign a Microsoft 365 license.
try { Set-MgUserLicense -UserId user@contoso.com -AddLicenses @{SkuId=$skuId} -RemoveLicenses @() -ErrorAction Stop } catch { Write-Error $_.Exception.Message }
Display all Microsoft Graph result properties. Base task: List Microsoft Entra ID device objects.
Get-MgDevice -All | Format-List *
Export Graph PowerShell results to CSV. Base task: List Microsoft Entra ID device objects.
Get-MgDevice -All | Export-Csv -Path .\graph-results.csv -NoTypeInformation
Convert Graph objects to JSON. Base task: List Microsoft Entra ID device objects.
Get-MgDevice -All | ConvertTo-Json -Depth 8
Measure Graph command execution time. Base task: List Microsoft Entra ID device objects.
Measure-Command { Get-MgDevice -All }
Use terminating error handling for Graph automation. Base task: List Microsoft Entra ID device objects.
try { Get-MgDevice -All -ErrorAction Stop } catch { Write-Error $_.Exception.Message }
Display all Microsoft Graph result properties. Base task: Retrieve recent sign-in logs.
Get-MgAuditLogSignIn -Top 100 | Format-List *
Export Graph PowerShell results to CSV. Base task: Retrieve recent sign-in logs.
Get-MgAuditLogSignIn -Top 100 | Export-Csv -Path .\graph-results.csv -NoTypeInformation
Convert Graph objects to JSON. Base task: Retrieve recent sign-in logs.
Get-MgAuditLogSignIn -Top 100 | ConvertTo-Json -Depth 8
Measure Graph command execution time. Base task: Retrieve recent sign-in logs.
Measure-Command { Get-MgAuditLogSignIn -Top 100 }
Use terminating error handling for Graph automation. Base task: Retrieve recent sign-in logs.
try { Get-MgAuditLogSignIn -Top 100 -ErrorAction Stop } catch { Write-Error $_.Exception.Message }
Display all Microsoft Graph result properties. Base task: Retrieve directory audit logs.
Get-MgAuditLogDirectoryAudit -Top 100 | Format-List *
Export Graph PowerShell results to CSV. Base task: Retrieve directory audit logs.
Get-MgAuditLogDirectoryAudit -Top 100 | Export-Csv -Path .\graph-results.csv -NoTypeInformation
Convert Graph objects to JSON. Base task: Retrieve directory audit logs.
Get-MgAuditLogDirectoryAudit -Top 100 | ConvertTo-Json -Depth 8
Measure Graph command execution time. Base task: Retrieve directory audit logs.
Measure-Command { Get-MgAuditLogDirectoryAudit -Top 100 }
Use terminating error handling for Graph automation. Base task: Retrieve directory audit logs.
try { Get-MgAuditLogDirectoryAudit -Top 100 -ErrorAction Stop } catch { Write-Error $_.Exception.Message }
Display all Microsoft Graph result properties. Base task: List authentication methods registered by a user.
Get-MgUserAuthenticationMethod -UserId user@contoso.com | Format-List *
Export Graph PowerShell results to CSV. Base task: List authentication methods registered by a user.
Get-MgUserAuthenticationMethod -UserId user@contoso.com | Export-Csv -Path .\graph-results.csv -NoTypeInformation
Convert Graph objects to JSON. Base task: List authentication methods registered by a user.
Get-MgUserAuthenticationMethod -UserId user@contoso.com | ConvertTo-Json -Depth 8
Measure Graph command execution time. Base task: List authentication methods registered by a user.
Measure-Command { Get-MgUserAuthenticationMethod -UserId user@contoso.com }
Use terminating error handling for Graph automation. Base task: List authentication methods registered by a user.
try { Get-MgUserAuthenticationMethod -UserId user@contoso.com -ErrorAction Stop } catch { Write-Error $_.Exception.Message }
Display all Microsoft Graph result properties. Base task: List enterprise applications and service principals.
Get-MgServicePrincipal -All | Format-List *
Export Graph PowerShell results to CSV. Base task: List enterprise applications and service principals.
Get-MgServicePrincipal -All | Export-Csv -Path .\graph-results.csv -NoTypeInformation
Convert Graph objects to JSON. Base task: List enterprise applications and service principals.
Get-MgServicePrincipal -All | ConvertTo-Json -Depth 8
Measure Graph command execution time. Base task: List enterprise applications and service principals.
Measure-Command { Get-MgServicePrincipal -All }
Use terminating error handling for Graph automation. Base task: List enterprise applications and service principals.
try { Get-MgServicePrincipal -All -ErrorAction Stop } catch { Write-Error $_.Exception.Message }
Display all Microsoft Graph result properties. Base task: List application registrations.
Get-MgApplication -All | Format-List *
Export Graph PowerShell results to CSV. Base task: List application registrations.
Get-MgApplication -All | Export-Csv -Path .\graph-results.csv -NoTypeInformation
Convert Graph objects to JSON. Base task: List application registrations.
Get-MgApplication -All | ConvertTo-Json -Depth 8
Measure Graph command execution time. Base task: List application registrations.
Measure-Command { Get-MgApplication -All }
Use terminating error handling for Graph automation. Base task: List application registrations.
try { Get-MgApplication -All -ErrorAction Stop } catch { Write-Error $_.Exception.Message }
Display all Microsoft Graph result properties. Base task: Call Microsoft Graph directly.
Invoke-MgGraphRequest -Method GET -Uri "https://graph.microsoft.com/v1.0/organization" | Format-List *
Export Graph PowerShell results to CSV. Base task: Call Microsoft Graph directly.
Invoke-MgGraphRequest -Method GET -Uri "https://graph.microsoft.com/v1.0/organization" | Export-Csv -Path .\graph-results.csv -NoTypeInformation
Convert Graph objects to JSON. Base task: Call Microsoft Graph directly.
Invoke-MgGraphRequest -Method GET -Uri "https://graph.microsoft.com/v1.0/organization" | ConvertTo-Json -Depth 8
Measure Graph command execution time. Base task: Call Microsoft Graph directly.
Measure-Command { Invoke-MgGraphRequest -Method GET -Uri "https://graph.microsoft.com/v1.0/organization" }
Use terminating error handling for Graph automation. Base task: Call Microsoft Graph directly.
try { Invoke-MgGraphRequest -Method GET -Uri "https://graph.microsoft.com/v1.0/organization" -ErrorAction Stop } catch { Write-Error $_.Exception.Message }
Display all Microsoft Graph result properties. Base task: Export the output of Connect-MgGraph for documentation or review.
Connect-MgGraph -Scopes "User.Read.All" | Export-Csv .\output.csv -NoTypeInformation | Format-List *
Export Graph PowerShell results to CSV. Base task: Export the output of Connect-MgGraph for documentation or review.
Connect-MgGraph -Scopes "User.Read.All" | Export-Csv .\output.csv -NoTypeInformation | Export-Csv -Path .\graph-results.csv -NoTypeInformation
Convert Graph objects to JSON. Base task: Export the output of Connect-MgGraph for documentation or review.
Connect-MgGraph -Scopes "User.Read.All" | Export-Csv .\output.csv -NoTypeInformation | ConvertTo-Json -Depth 8
Measure Graph command execution time. Base task: Export the output of Connect-MgGraph for documentation or review.
Measure-Command { Connect-MgGraph -Scopes "User.Read.All" | Export-Csv .\output.csv -NoTypeInformation }
Use terminating error handling for Graph automation. Base task: Export the output of Connect-MgGraph for documentation or review.
try { Connect-MgGraph -Scopes "User.Read.All" | Export-Csv .\output.csv -NoTypeInformation -ErrorAction Stop } catch { Write-Error $_.Exception.Message }
Display all Microsoft Graph result properties. Base task: Export the output of Get-MgUser for documentation or review.
Get-MgUser -All -Property Id,DisplayName,UserPrincipalName,AccountEnabled | Export-Csv .\output.csv -NoTypeInformation | Format-List *
Export Graph PowerShell results to CSV. Base task: Export the output of Get-MgUser for documentation or review.
Get-MgUser -All -Property Id,DisplayName,UserPrincipalName,AccountEnabled | Export-Csv .\output.csv -NoTypeInformation | Export-Csv -Path .\graph-results.csv -NoTypeInformation
Convert Graph objects to JSON. Base task: Export the output of Get-MgUser for documentation or review.
Get-MgUser -All -Property Id,DisplayName,UserPrincipalName,AccountEnabled | Export-Csv .\output.csv -NoTypeInformation | ConvertTo-Json -Depth 8
Measure Graph command execution time. Base task: Export the output of Get-MgUser for documentation or review.
Measure-Command { Get-MgUser -All -Property Id,DisplayName,UserPrincipalName,AccountEnabled | Export-Csv .\output.csv -NoTypeInformation }
Use terminating error handling for Graph automation. Base task: Export the output of Get-MgUser for documentation or review.
try { Get-MgUser -All -Property Id,DisplayName,UserPrincipalName,AccountEnabled | Export-Csv .\output.csv -NoTypeInformation -ErrorAction Stop } catch { Write-Error $_.Exception.Message }
Display all Microsoft Graph result properties. Base task: Export the output of New-MgUser for documentation or review.
New-MgUser -DisplayName "Jane Smith" -UserPrincipalName jsmith@contoso.com -MailNickname jsmith -AccountEnabled -PasswordProfile $passwordProfile | Export-Csv .\output.csv -NoTypeInformation | Format-List *
Export Graph PowerShell results to CSV. Base task: Export the output of New-MgUser for documentation or review.
New-MgUser -DisplayName "Jane Smith" -UserPrincipalName jsmith@contoso.com -MailNickname jsmith -AccountEnabled -PasswordProfile $passwordProfile | Export-Csv .\output.csv -NoTypeInformation | Export-Csv -Path .\graph-results.csv -NoTypeInformation
Convert Graph objects to JSON. Base task: Export the output of New-MgUser for documentation or review.
New-MgUser -DisplayName "Jane Smith" -UserPrincipalName jsmith@contoso.com -MailNickname jsmith -AccountEnabled -PasswordProfile $passwordProfile | Export-Csv .\output.csv -NoTypeInformation | ConvertTo-Json -Depth 8
Measure Graph command execution time. Base task: Export the output of New-MgUser for documentation or review.
Measure-Command { New-MgUser -DisplayName "Jane Smith" -UserPrincipalName jsmith@contoso.com -MailNickname jsmith -AccountEnabled -PasswordProfile $passwordProfile | Export-Csv .\output.csv -NoTypeInformation }
Use terminating error handling for Graph automation. Base task: Export the output of New-MgUser for documentation or review.
try { New-MgUser -DisplayName "Jane Smith" -UserPrincipalName jsmith@contoso.com -MailNickname jsmith -AccountEnabled -PasswordProfile $passwordProfile | Export-Csv .\output.csv -NoTypeInformation -ErrorAction Stop } catch { Write-Error $_.Exception.Message }
Display all Microsoft Graph result properties. Base task: Export the output of Update-MgUser for documentation or review.
Update-MgUser -UserId user@contoso.com -Department IT | Export-Csv .\output.csv -NoTypeInformation | Format-List *
Export Graph PowerShell results to CSV. Base task: Export the output of Update-MgUser for documentation or review.
Update-MgUser -UserId user@contoso.com -Department IT | Export-Csv .\output.csv -NoTypeInformation | Export-Csv -Path .\graph-results.csv -NoTypeInformation
Convert Graph objects to JSON. Base task: Export the output of Update-MgUser for documentation or review.
Update-MgUser -UserId user@contoso.com -Department IT | Export-Csv .\output.csv -NoTypeInformation | ConvertTo-Json -Depth 8
Measure Graph command execution time. Base task: Export the output of Update-MgUser for documentation or review.
Measure-Command { Update-MgUser -UserId user@contoso.com -Department IT | Export-Csv .\output.csv -NoTypeInformation }
Use terminating error handling for Graph automation. Base task: Export the output of Update-MgUser for documentation or review.
try { Update-MgUser -UserId user@contoso.com -Department IT | Export-Csv .\output.csv -NoTypeInformation -ErrorAction Stop } catch { Write-Error $_.Exception.Message }
Display all Microsoft Graph result properties. Base task: Export the output of Remove-MgUser for documentation or review.
Remove-MgUser -UserId user@contoso.com | Export-Csv .\output.csv -NoTypeInformation | Format-List *
Export Graph PowerShell results to CSV. Base task: Export the output of Remove-MgUser for documentation or review.
Remove-MgUser -UserId user@contoso.com | Export-Csv .\output.csv -NoTypeInformation | Export-Csv -Path .\graph-results.csv -NoTypeInformation
Convert Graph objects to JSON. Base task: Export the output of Remove-MgUser for documentation or review.
Remove-MgUser -UserId user@contoso.com | Export-Csv .\output.csv -NoTypeInformation | ConvertTo-Json -Depth 8
Measure Graph command execution time. Base task: Export the output of Remove-MgUser for documentation or review.
Measure-Command { Remove-MgUser -UserId user@contoso.com | Export-Csv .\output.csv -NoTypeInformation }
Use terminating error handling for Graph automation. Base task: Export the output of Remove-MgUser for documentation or review.
try { Remove-MgUser -UserId user@contoso.com | Export-Csv .\output.csv -NoTypeInformation -ErrorAction Stop } catch { Write-Error $_.Exception.Message }
Display all Microsoft Graph result properties. Base task: Export the output of Get-MgGroup for documentation or review.
Get-MgGroup -All | Export-Csv .\output.csv -NoTypeInformation | Format-List *
Export Graph PowerShell results to CSV. Base task: Export the output of Get-MgGroup for documentation or review.
Get-MgGroup -All | Export-Csv .\output.csv -NoTypeInformation | Export-Csv -Path .\graph-results.csv -NoTypeInformation
Convert Graph objects to JSON. Base task: Export the output of Get-MgGroup for documentation or review.
Get-MgGroup -All | Export-Csv .\output.csv -NoTypeInformation | ConvertTo-Json -Depth 8
Measure Graph command execution time. Base task: Export the output of Get-MgGroup for documentation or review.
Measure-Command { Get-MgGroup -All | Export-Csv .\output.csv -NoTypeInformation }
Use terminating error handling for Graph automation. Base task: Export the output of Get-MgGroup for documentation or review.
try { Get-MgGroup -All | Export-Csv .\output.csv -NoTypeInformation -ErrorAction Stop } catch { Write-Error $_.Exception.Message }
Display all Microsoft Graph result properties. Base task: Export the output of Get-MgGroupMember for documentation or review.
Get-MgGroupMember -GroupId $groupId -All | Export-Csv .\output.csv -NoTypeInformation | Format-List *
Export Graph PowerShell results to CSV. Base task: Export the output of Get-MgGroupMember for documentation or review.
Get-MgGroupMember -GroupId $groupId -All | Export-Csv .\output.csv -NoTypeInformation | Export-Csv -Path .\graph-results.csv -NoTypeInformation
Convert Graph objects to JSON. Base task: Export the output of Get-MgGroupMember for documentation or review.
Get-MgGroupMember -GroupId $groupId -All | Export-Csv .\output.csv -NoTypeInformation | ConvertTo-Json -Depth 8
Measure Graph command execution time. Base task: Export the output of Get-MgGroupMember for documentation or review.
Measure-Command { Get-MgGroupMember -GroupId $groupId -All | Export-Csv .\output.csv -NoTypeInformation }
Use terminating error handling for Graph automation. Base task: Export the output of Get-MgGroupMember for documentation or review.
try { Get-MgGroupMember -GroupId $groupId -All | Export-Csv .\output.csv -NoTypeInformation -ErrorAction Stop } catch { Write-Error $_.Exception.Message }
Display all Microsoft Graph result properties. Base task: Export the output of New-MgGroupMemberByRef for documentation or review.
New-MgGroupMemberByRef -GroupId $groupId -BodyParameter @{"@odata.id"="https://graph.microsoft.com/v1.0/directoryObjects/$userId"} | Export-Csv .\output.csv -NoTypeInformation | Format-List *
Export Graph PowerShell results to CSV. Base task: Export the output of New-MgGroupMemberByRef for documentation or review.
New-MgGroupMemberByRef -GroupId $groupId -BodyParameter @{"@odata.id"="https://graph.microsoft.com/v1.0/directoryObjects/$userId"} | Export-Csv .\output.csv -NoTypeInformation | Export-Csv -Path .\graph-results.csv -NoTypeInformation
Convert Graph objects to JSON. Base task: Export the output of New-MgGroupMemberByRef for documentation or review.
New-MgGroupMemberByRef -GroupId $groupId -BodyParameter @{"@odata.id"="https://graph.microsoft.com/v1.0/directoryObjects/$userId"} | Export-Csv .\output.csv -NoTypeInformation | ConvertTo-Json -Depth 8
Measure Graph command execution time. Base task: Export the output of New-MgGroupMemberByRef for documentation or review.
Measure-Command { New-MgGroupMemberByRef -GroupId $groupId -BodyParameter @{"@odata.id"="https://graph.microsoft.com/v1.0/directoryObjects/$userId"} | Export-Csv .\output.csv -NoTypeInformation }
Use terminating error handling for Graph automation. Base task: Export the output of New-MgGroupMemberByRef for documentation or review.
try { New-MgGroupMemberByRef -GroupId $groupId -BodyParameter @{"@odata.id"="https://graph.microsoft.com/v1.0/directoryObjects/$userId"} | Export-Csv .\output.csv -NoTypeInformation -ErrorAction Stop } catch { Write-Error $_.Exception.Message }
Display all Microsoft Graph result properties. Base task: Export the output of Get-MgSubscribedSku for documentation or review.
Get-MgSubscribedSku -All | Export-Csv .\output.csv -NoTypeInformation | Format-List *
Export Graph PowerShell results to CSV. Base task: Export the output of Get-MgSubscribedSku for documentation or review.
Get-MgSubscribedSku -All | Export-Csv .\output.csv -NoTypeInformation | Export-Csv -Path .\graph-results.csv -NoTypeInformation
Convert Graph objects to JSON. Base task: Export the output of Get-MgSubscribedSku for documentation or review.
Get-MgSubscribedSku -All | Export-Csv .\output.csv -NoTypeInformation | ConvertTo-Json -Depth 8
Measure Graph command execution time. Base task: Export the output of Get-MgSubscribedSku for documentation or review.
Measure-Command { Get-MgSubscribedSku -All | Export-Csv .\output.csv -NoTypeInformation }
Use terminating error handling for Graph automation. Base task: Export the output of Get-MgSubscribedSku for documentation or review.
try { Get-MgSubscribedSku -All | Export-Csv .\output.csv -NoTypeInformation -ErrorAction Stop } catch { Write-Error $_.Exception.Message }
Display all Microsoft Graph result properties. Base task: Export the output of Set-MgUserLicense for documentation or review.
Set-MgUserLicense -UserId user@contoso.com -AddLicenses @{SkuId=$skuId} -RemoveLicenses @() | Export-Csv .\output.csv -NoTypeInformation | Format-List *
Export Graph PowerShell results to CSV. Base task: Export the output of Set-MgUserLicense for documentation or review.
Set-MgUserLicense -UserId user@contoso.com -AddLicenses @{SkuId=$skuId} -RemoveLicenses @() | Export-Csv .\output.csv -NoTypeInformation | Export-Csv -Path .\graph-results.csv -NoTypeInformation
Convert Graph objects to JSON. Base task: Export the output of Set-MgUserLicense for documentation or review.
Set-MgUserLicense -UserId user@contoso.com -AddLicenses @{SkuId=$skuId} -RemoveLicenses @() | Export-Csv .\output.csv -NoTypeInformation | ConvertTo-Json -Depth 8
Measure Graph command execution time. Base task: Export the output of Set-MgUserLicense for documentation or review.
Measure-Command { Set-MgUserLicense -UserId user@contoso.com -AddLicenses @{SkuId=$skuId} -RemoveLicenses @() | Export-Csv .\output.csv -NoTypeInformation }
Use terminating error handling for Graph automation. Base task: Export the output of Set-MgUserLicense for documentation or review.
try { Set-MgUserLicense -UserId user@contoso.com -AddLicenses @{SkuId=$skuId} -RemoveLicenses @() | Export-Csv .\output.csv -NoTypeInformation -ErrorAction Stop } catch { Write-Error $_.Exception.Message }
Display all Microsoft Graph result properties. Base task: Export the output of Get-MgDevice for documentation or review.
Get-MgDevice -All | Export-Csv .\output.csv -NoTypeInformation | Format-List *
Export Graph PowerShell results to CSV. Base task: Export the output of Get-MgDevice for documentation or review.
Get-MgDevice -All | Export-Csv .\output.csv -NoTypeInformation | Export-Csv -Path .\graph-results.csv -NoTypeInformation
Convert Graph objects to JSON. Base task: Export the output of Get-MgDevice for documentation or review.
Get-MgDevice -All | Export-Csv .\output.csv -NoTypeInformation | ConvertTo-Json -Depth 8
Measure Graph command execution time. Base task: Export the output of Get-MgDevice for documentation or review.
Measure-Command { Get-MgDevice -All | Export-Csv .\output.csv -NoTypeInformation }
Use terminating error handling for Graph automation. Base task: Export the output of Get-MgDevice for documentation or review.
try { Get-MgDevice -All | Export-Csv .\output.csv -NoTypeInformation -ErrorAction Stop } catch { Write-Error $_.Exception.Message }
Display all Microsoft Graph result properties. Base task: Export the output of Get-MgAuditLogSignIn for documentation or review.
Get-MgAuditLogSignIn -Top 100 | Export-Csv .\output.csv -NoTypeInformation | Format-List *
Export Graph PowerShell results to CSV. Base task: Export the output of Get-MgAuditLogSignIn for documentation or review.
Get-MgAuditLogSignIn -Top 100 | Export-Csv .\output.csv -NoTypeInformation | Export-Csv -Path .\graph-results.csv -NoTypeInformation
Convert Graph objects to JSON. Base task: Export the output of Get-MgAuditLogSignIn for documentation or review.
Get-MgAuditLogSignIn -Top 100 | Export-Csv .\output.csv -NoTypeInformation | ConvertTo-Json -Depth 8
Measure Graph command execution time. Base task: Export the output of Get-MgAuditLogSignIn for documentation or review.
Measure-Command { Get-MgAuditLogSignIn -Top 100 | Export-Csv .\output.csv -NoTypeInformation }
Use terminating error handling for Graph automation. Base task: Export the output of Get-MgAuditLogSignIn for documentation or review.
try { Get-MgAuditLogSignIn -Top 100 | Export-Csv .\output.csv -NoTypeInformation -ErrorAction Stop } catch { Write-Error $_.Exception.Message }
Display all Microsoft Graph result properties. Base task: Export the output of Get-MgAuditLogDirectoryAudit for documentation or review.
Get-MgAuditLogDirectoryAudit -Top 100 | Export-Csv .\output.csv -NoTypeInformation | Format-List *
Export Graph PowerShell results to CSV. Base task: Export the output of Get-MgAuditLogDirectoryAudit for documentation or review.
Get-MgAuditLogDirectoryAudit -Top 100 | Export-Csv .\output.csv -NoTypeInformation | Export-Csv -Path .\graph-results.csv -NoTypeInformation
Convert Graph objects to JSON. Base task: Export the output of Get-MgAuditLogDirectoryAudit for documentation or review.
Get-MgAuditLogDirectoryAudit -Top 100 | Export-Csv .\output.csv -NoTypeInformation | ConvertTo-Json -Depth 8
Measure Graph command execution time. Base task: Export the output of Get-MgAuditLogDirectoryAudit for documentation or review.
Measure-Command { Get-MgAuditLogDirectoryAudit -Top 100 | Export-Csv .\output.csv -NoTypeInformation }
Use terminating error handling for Graph automation. Base task: Export the output of Get-MgAuditLogDirectoryAudit for documentation or review.
try { Get-MgAuditLogDirectoryAudit -Top 100 | Export-Csv .\output.csv -NoTypeInformation -ErrorAction Stop } catch { Write-Error $_.Exception.Message }
Display all Microsoft Graph result properties. Base task: Export the output of Get-MgUserAuthenticationMethod for documentation or review.
Get-MgUserAuthenticationMethod -UserId user@contoso.com | Export-Csv .\output.csv -NoTypeInformation | Format-List *
Export Graph PowerShell results to CSV. Base task: Export the output of Get-MgUserAuthenticationMethod for documentation or review.
Get-MgUserAuthenticationMethod -UserId user@contoso.com | Export-Csv .\output.csv -NoTypeInformation | Export-Csv -Path .\graph-results.csv -NoTypeInformation
Convert Graph objects to JSON. Base task: Export the output of Get-MgUserAuthenticationMethod for documentation or review.
Get-MgUserAuthenticationMethod -UserId user@contoso.com | Export-Csv .\output.csv -NoTypeInformation | ConvertTo-Json -Depth 8
Measure Graph command execution time. Base task: Export the output of Get-MgUserAuthenticationMethod for documentation or review.
Measure-Command { Get-MgUserAuthenticationMethod -UserId user@contoso.com | Export-Csv .\output.csv -NoTypeInformation }
Use terminating error handling for Graph automation. Base task: Export the output of Get-MgUserAuthenticationMethod for documentation or review.
try { Get-MgUserAuthenticationMethod -UserId user@contoso.com | Export-Csv .\output.csv -NoTypeInformation -ErrorAction Stop } catch { Write-Error $_.Exception.Message }
Display all Microsoft Graph result properties. Base task: Export the output of Get-MgServicePrincipal for documentation or review.
Get-MgServicePrincipal -All | Export-Csv .\output.csv -NoTypeInformation | Format-List *
Export Graph PowerShell results to CSV. Base task: Export the output of Get-MgServicePrincipal for documentation or review.
Get-MgServicePrincipal -All | Export-Csv .\output.csv -NoTypeInformation | Export-Csv -Path .\graph-results.csv -NoTypeInformation
Convert Graph objects to JSON. Base task: Export the output of Get-MgServicePrincipal for documentation or review.
Get-MgServicePrincipal -All | Export-Csv .\output.csv -NoTypeInformation | ConvertTo-Json -Depth 8
Measure Graph command execution time. Base task: Export the output of Get-MgServicePrincipal for documentation or review.
Measure-Command { Get-MgServicePrincipal -All | Export-Csv .\output.csv -NoTypeInformation }
Use terminating error handling for Graph automation. Base task: Export the output of Get-MgServicePrincipal for documentation or review.
try { Get-MgServicePrincipal -All | Export-Csv .\output.csv -NoTypeInformation -ErrorAction Stop } catch { Write-Error $_.Exception.Message }
Display all Microsoft Graph result properties. Base task: Export the output of Get-MgApplication for documentation or review.
Get-MgApplication -All | Export-Csv .\output.csv -NoTypeInformation | Format-List *
Export Graph PowerShell results to CSV. Base task: Export the output of Get-MgApplication for documentation or review.
Get-MgApplication -All | Export-Csv .\output.csv -NoTypeInformation | Export-Csv -Path .\graph-results.csv -NoTypeInformation
Convert Graph objects to JSON. Base task: Export the output of Get-MgApplication for documentation or review.
Get-MgApplication -All | Export-Csv .\output.csv -NoTypeInformation | ConvertTo-Json -Depth 8
Measure Graph command execution time. Base task: Export the output of Get-MgApplication for documentation or review.
Measure-Command { Get-MgApplication -All | Export-Csv .\output.csv -NoTypeInformation }
Use terminating error handling for Graph automation. Base task: Export the output of Get-MgApplication for documentation or review.
try { Get-MgApplication -All | Export-Csv .\output.csv -NoTypeInformation -ErrorAction Stop } catch { Write-Error $_.Exception.Message }
Display all Microsoft Graph result properties. Base task: Export the output of Invoke-MgGraphRequest for documentation or review.
Invoke-MgGraphRequest -Method GET -Uri "https://graph.microsoft.com/v1.0/organization" | Export-Csv .\output.csv -NoTypeInformation | Format-List *
Export Graph PowerShell results to CSV. Base task: Export the output of Invoke-MgGraphRequest for documentation or review.
Invoke-MgGraphRequest -Method GET -Uri "https://graph.microsoft.com/v1.0/organization" | Export-Csv .\output.csv -NoTypeInformation | Export-Csv -Path .\graph-results.csv -NoTypeInformation
Convert Graph objects to JSON. Base task: Export the output of Invoke-MgGraphRequest for documentation or review.
Invoke-MgGraphRequest -Method GET -Uri "https://graph.microsoft.com/v1.0/organization" | Export-Csv .\output.csv -NoTypeInformation | ConvertTo-Json -Depth 8
Measure Graph command execution time. Base task: Export the output of Invoke-MgGraphRequest for documentation or review.
Measure-Command { Invoke-MgGraphRequest -Method GET -Uri "https://graph.microsoft.com/v1.0/organization" | Export-Csv .\output.csv -NoTypeInformation }
Use terminating error handling for Graph automation. Base task: Export the output of Invoke-MgGraphRequest for documentation or review.
try { Invoke-MgGraphRequest -Method GET -Uri "https://graph.microsoft.com/v1.0/organization" | Export-Csv .\output.csv -NoTypeInformation -ErrorAction Stop } catch { Write-Error $_.Exception.Message }
Display all Microsoft Graph result properties. Base task: Display complete syntax, parameter details, and examples for Connect-MgGraph.
Get-Help Connect-MgGraph -Full | Format-List *
Export Graph PowerShell results to CSV. Base task: Display complete syntax, parameter details, and examples for Connect-MgGraph.
Get-Help Connect-MgGraph -Full | Export-Csv -Path .\graph-results.csv -NoTypeInformation
Convert Graph objects to JSON. Base task: Display complete syntax, parameter details, and examples for Connect-MgGraph.
Get-Help Connect-MgGraph -Full | ConvertTo-Json -Depth 8
Measure Graph command execution time. Base task: Display complete syntax, parameter details, and examples for Connect-MgGraph.
Measure-Command { Get-Help Connect-MgGraph -Full }
Use terminating error handling for Graph automation. Base task: Display complete syntax, parameter details, and examples for Connect-MgGraph.
try { Get-Help Connect-MgGraph -Full -ErrorAction Stop } catch { Write-Error $_.Exception.Message }
Display all Microsoft Graph result properties. Base task: Display complete syntax, parameter details, and examples for Get-MgUser.
Get-Help Get-MgUser -Full | Format-List *
Export Graph PowerShell results to CSV. Base task: Display complete syntax, parameter details, and examples for Get-MgUser.
Get-Help Get-MgUser -Full | Export-Csv -Path .\graph-results.csv -NoTypeInformation
Convert Graph objects to JSON. Base task: Display complete syntax, parameter details, and examples for Get-MgUser.
Get-Help Get-MgUser -Full | ConvertTo-Json -Depth 8
Measure Graph command execution time. Base task: Display complete syntax, parameter details, and examples for Get-MgUser.
Measure-Command { Get-Help Get-MgUser -Full }
Use terminating error handling for Graph automation. Base task: Display complete syntax, parameter details, and examples for Get-MgUser.
try { Get-Help Get-MgUser -Full -ErrorAction Stop } catch { Write-Error $_.Exception.Message }
Display all Microsoft Graph result properties. Base task: Display complete syntax, parameter details, and examples for New-MgUser.
Get-Help New-MgUser -Full | Format-List *
Export Graph PowerShell results to CSV. Base task: Display complete syntax, parameter details, and examples for New-MgUser.
Get-Help New-MgUser -Full | Export-Csv -Path .\graph-results.csv -NoTypeInformation
Convert Graph objects to JSON. Base task: Display complete syntax, parameter details, and examples for New-MgUser.
Get-Help New-MgUser -Full | ConvertTo-Json -Depth 8
Measure Graph command execution time. Base task: Display complete syntax, parameter details, and examples for New-MgUser.
Measure-Command { Get-Help New-MgUser -Full }
Use terminating error handling for Graph automation. Base task: Display complete syntax, parameter details, and examples for New-MgUser.
try { Get-Help New-MgUser -Full -ErrorAction Stop } catch { Write-Error $_.Exception.Message }
Display all Microsoft Graph result properties. Base task: Display complete syntax, parameter details, and examples for Update-MgUser.
Get-Help Update-MgUser -Full | Format-List *
Export Graph PowerShell results to CSV. Base task: Display complete syntax, parameter details, and examples for Update-MgUser.
Get-Help Update-MgUser -Full | Export-Csv -Path .\graph-results.csv -NoTypeInformation
Convert Graph objects to JSON. Base task: Display complete syntax, parameter details, and examples for Update-MgUser.
Get-Help Update-MgUser -Full | ConvertTo-Json -Depth 8
Measure Graph command execution time. Base task: Display complete syntax, parameter details, and examples for Update-MgUser.
Measure-Command { Get-Help Update-MgUser -Full }
Use terminating error handling for Graph automation. Base task: Display complete syntax, parameter details, and examples for Update-MgUser.
try { Get-Help Update-MgUser -Full -ErrorAction Stop } catch { Write-Error $_.Exception.Message }
Display all Microsoft Graph result properties. Base task: Display complete syntax, parameter details, and examples for Remove-MgUser.
Get-Help Remove-MgUser -Full | Format-List *
Export Graph PowerShell results to CSV. Base task: Display complete syntax, parameter details, and examples for Remove-MgUser.
Get-Help Remove-MgUser -Full | Export-Csv -Path .\graph-results.csv -NoTypeInformation
Convert Graph objects to JSON. Base task: Display complete syntax, parameter details, and examples for Remove-MgUser.
Get-Help Remove-MgUser -Full | ConvertTo-Json -Depth 8
Measure Graph command execution time. Base task: Display complete syntax, parameter details, and examples for Remove-MgUser.
Measure-Command { Get-Help Remove-MgUser -Full }
Use terminating error handling for Graph automation. Base task: Display complete syntax, parameter details, and examples for Remove-MgUser.
try { Get-Help Remove-MgUser -Full -ErrorAction Stop } catch { Write-Error $_.Exception.Message }
Display all Microsoft Graph result properties. Base task: Display complete syntax, parameter details, and examples for Get-MgGroup.
Get-Help Get-MgGroup -Full | Format-List *
Export Graph PowerShell results to CSV. Base task: Display complete syntax, parameter details, and examples for Get-MgGroup.
Get-Help Get-MgGroup -Full | Export-Csv -Path .\graph-results.csv -NoTypeInformation
Convert Graph objects to JSON. Base task: Display complete syntax, parameter details, and examples for Get-MgGroup.
Get-Help Get-MgGroup -Full | ConvertTo-Json -Depth 8
Measure Graph command execution time. Base task: Display complete syntax, parameter details, and examples for Get-MgGroup.
Measure-Command { Get-Help Get-MgGroup -Full }
Use terminating error handling for Graph automation. Base task: Display complete syntax, parameter details, and examples for Get-MgGroup.
try { Get-Help Get-MgGroup -Full -ErrorAction Stop } catch { Write-Error $_.Exception.Message }
Display all Microsoft Graph result properties. Base task: Display complete syntax, parameter details, and examples for Get-MgGroupMember.
Get-Help Get-MgGroupMember -Full | Format-List *
Export Graph PowerShell results to CSV. Base task: Display complete syntax, parameter details, and examples for Get-MgGroupMember.
Get-Help Get-MgGroupMember -Full | Export-Csv -Path .\graph-results.csv -NoTypeInformation
Convert Graph objects to JSON. Base task: Display complete syntax, parameter details, and examples for Get-MgGroupMember.
Get-Help Get-MgGroupMember -Full | ConvertTo-Json -Depth 8
Measure Graph command execution time. Base task: Display complete syntax, parameter details, and examples for Get-MgGroupMember.
Measure-Command { Get-Help Get-MgGroupMember -Full }
Use terminating error handling for Graph automation. Base task: Display complete syntax, parameter details, and examples for Get-MgGroupMember.
try { Get-Help Get-MgGroupMember -Full -ErrorAction Stop } catch { Write-Error $_.Exception.Message }
Display all Microsoft Graph result properties. Base task: Display complete syntax, parameter details, and examples for New-MgGroupMemberByRef.
Get-Help New-MgGroupMemberByRef -Full | Format-List *
Export Graph PowerShell results to CSV. Base task: Display complete syntax, parameter details, and examples for New-MgGroupMemberByRef.
Get-Help New-MgGroupMemberByRef -Full | Export-Csv -Path .\graph-results.csv -NoTypeInformation
Convert Graph objects to JSON. Base task: Display complete syntax, parameter details, and examples for New-MgGroupMemberByRef.
Get-Help New-MgGroupMemberByRef -Full | ConvertTo-Json -Depth 8
Measure Graph command execution time. Base task: Display complete syntax, parameter details, and examples for New-MgGroupMemberByRef.
Measure-Command { Get-Help New-MgGroupMemberByRef -Full }
Use terminating error handling for Graph automation. Base task: Display complete syntax, parameter details, and examples for New-MgGroupMemberByRef.
try { Get-Help New-MgGroupMemberByRef -Full -ErrorAction Stop } catch { Write-Error $_.Exception.Message }
Display all Microsoft Graph result properties. Base task: Display complete syntax, parameter details, and examples for Get-MgSubscribedSku.
Get-Help Get-MgSubscribedSku -Full | Format-List *
Export Graph PowerShell results to CSV. Base task: Display complete syntax, parameter details, and examples for Get-MgSubscribedSku.
Get-Help Get-MgSubscribedSku -Full | Export-Csv -Path .\graph-results.csv -NoTypeInformation
Convert Graph objects to JSON. Base task: Display complete syntax, parameter details, and examples for Get-MgSubscribedSku.
Get-Help Get-MgSubscribedSku -Full | ConvertTo-Json -Depth 8
Measure Graph command execution time. Base task: Display complete syntax, parameter details, and examples for Get-MgSubscribedSku.
Measure-Command { Get-Help Get-MgSubscribedSku -Full }
Use terminating error handling for Graph automation. Base task: Display complete syntax, parameter details, and examples for Get-MgSubscribedSku.
try { Get-Help Get-MgSubscribedSku -Full -ErrorAction Stop } catch { Write-Error $_.Exception.Message }
Display all Microsoft Graph result properties. Base task: Display complete syntax, parameter details, and examples for Set-MgUserLicense.
Get-Help Set-MgUserLicense -Full | Format-List *
Export Graph PowerShell results to CSV. Base task: Display complete syntax, parameter details, and examples for Set-MgUserLicense.
Get-Help Set-MgUserLicense -Full | Export-Csv -Path .\graph-results.csv -NoTypeInformation
Convert Graph objects to JSON. Base task: Display complete syntax, parameter details, and examples for Set-MgUserLicense.
Get-Help Set-MgUserLicense -Full | ConvertTo-Json -Depth 8
Measure Graph command execution time. Base task: Display complete syntax, parameter details, and examples for Set-MgUserLicense.
Measure-Command { Get-Help Set-MgUserLicense -Full }
Use terminating error handling for Graph automation. Base task: Display complete syntax, parameter details, and examples for Set-MgUserLicense.
try { Get-Help Set-MgUserLicense -Full -ErrorAction Stop } catch { Write-Error $_.Exception.Message }
Display all Microsoft Graph result properties. Base task: Display complete syntax, parameter details, and examples for Get-MgDevice.
Get-Help Get-MgDevice -Full | Format-List *
Export Graph PowerShell results to CSV. Base task: Display complete syntax, parameter details, and examples for Get-MgDevice.
Get-Help Get-MgDevice -Full | Export-Csv -Path .\graph-results.csv -NoTypeInformation
Convert Graph objects to JSON. Base task: Display complete syntax, parameter details, and examples for Get-MgDevice.
Get-Help Get-MgDevice -Full | ConvertTo-Json -Depth 8
Measure Graph command execution time. Base task: Display complete syntax, parameter details, and examples for Get-MgDevice.
Measure-Command { Get-Help Get-MgDevice -Full }
Use terminating error handling for Graph automation. Base task: Display complete syntax, parameter details, and examples for Get-MgDevice.
try { Get-Help Get-MgDevice -Full -ErrorAction Stop } catch { Write-Error $_.Exception.Message }
Display all Microsoft Graph result properties. Base task: Display complete syntax, parameter details, and examples for Get-MgAuditLogSignIn.
Get-Help Get-MgAuditLogSignIn -Full | Format-List *
Export Graph PowerShell results to CSV. Base task: Display complete syntax, parameter details, and examples for Get-MgAuditLogSignIn.
Get-Help Get-MgAuditLogSignIn -Full | Export-Csv -Path .\graph-results.csv -NoTypeInformation
Convert Graph objects to JSON. Base task: Display complete syntax, parameter details, and examples for Get-MgAuditLogSignIn.
Get-Help Get-MgAuditLogSignIn -Full | ConvertTo-Json -Depth 8
Measure Graph command execution time. Base task: Display complete syntax, parameter details, and examples for Get-MgAuditLogSignIn.
Measure-Command { Get-Help Get-MgAuditLogSignIn -Full }
Use terminating error handling for Graph automation. Base task: Display complete syntax, parameter details, and examples for Get-MgAuditLogSignIn.
try { Get-Help Get-MgAuditLogSignIn -Full -ErrorAction Stop } catch { Write-Error $_.Exception.Message }
Display all Microsoft Graph result properties. Base task: Display complete syntax, parameter details, and examples for Get-MgAuditLogDirectoryAudit.
Get-Help Get-MgAuditLogDirectoryAudit -Full | Format-List *
Export Graph PowerShell results to CSV. Base task: Display complete syntax, parameter details, and examples for Get-MgAuditLogDirectoryAudit.
Get-Help Get-MgAuditLogDirectoryAudit -Full | Export-Csv -Path .\graph-results.csv -NoTypeInformation
Convert Graph objects to JSON. Base task: Display complete syntax, parameter details, and examples for Get-MgAuditLogDirectoryAudit.
Get-Help Get-MgAuditLogDirectoryAudit -Full | ConvertTo-Json -Depth 8
Measure Graph command execution time. Base task: Display complete syntax, parameter details, and examples for Get-MgAuditLogDirectoryAudit.
Measure-Command { Get-Help Get-MgAuditLogDirectoryAudit -Full }
Use terminating error handling for Graph automation. Base task: Display complete syntax, parameter details, and examples for Get-MgAuditLogDirectoryAudit.
try { Get-Help Get-MgAuditLogDirectoryAudit -Full -ErrorAction Stop } catch { Write-Error $_.Exception.Message }
Display all Microsoft Graph result properties. Base task: Display complete syntax, parameter details, and examples for Get-MgUserAuthenticationMethod.
Get-Help Get-MgUserAuthenticationMethod -Full | Format-List *
Export Graph PowerShell results to CSV. Base task: Display complete syntax, parameter details, and examples for Get-MgUserAuthenticationMethod.
Get-Help Get-MgUserAuthenticationMethod -Full | Export-Csv -Path .\graph-results.csv -NoTypeInformation
Convert Graph objects to JSON. Base task: Display complete syntax, parameter details, and examples for Get-MgUserAuthenticationMethod.
Get-Help Get-MgUserAuthenticationMethod -Full | ConvertTo-Json -Depth 8
Measure Graph command execution time. Base task: Display complete syntax, parameter details, and examples for Get-MgUserAuthenticationMethod.
Measure-Command { Get-Help Get-MgUserAuthenticationMethod -Full }
Use terminating error handling for Graph automation. Base task: Display complete syntax, parameter details, and examples for Get-MgUserAuthenticationMethod.
try { Get-Help Get-MgUserAuthenticationMethod -Full -ErrorAction Stop } catch { Write-Error $_.Exception.Message }
Display all Microsoft Graph result properties. Base task: Display complete syntax, parameter details, and examples for Get-MgServicePrincipal.
Get-Help Get-MgServicePrincipal -Full | Format-List *
Export Graph PowerShell results to CSV. Base task: Display complete syntax, parameter details, and examples for Get-MgServicePrincipal.
Get-Help Get-MgServicePrincipal -Full | Export-Csv -Path .\graph-results.csv -NoTypeInformation
Convert Graph objects to JSON. Base task: Display complete syntax, parameter details, and examples for Get-MgServicePrincipal.
Get-Help Get-MgServicePrincipal -Full | ConvertTo-Json -Depth 8
Measure Graph command execution time. Base task: Display complete syntax, parameter details, and examples for Get-MgServicePrincipal.
Measure-Command { Get-Help Get-MgServicePrincipal -Full }
Use terminating error handling for Graph automation. Base task: Display complete syntax, parameter details, and examples for Get-MgServicePrincipal.
try { Get-Help Get-MgServicePrincipal -Full -ErrorAction Stop } catch { Write-Error $_.Exception.Message }
Display all Microsoft Graph result properties. Base task: Display complete syntax, parameter details, and examples for Get-MgApplication.
Get-Help Get-MgApplication -Full | Format-List *
Export Graph PowerShell results to CSV. Base task: Display complete syntax, parameter details, and examples for Get-MgApplication.
Get-Help Get-MgApplication -Full | Export-Csv -Path .\graph-results.csv -NoTypeInformation
Convert Graph objects to JSON. Base task: Display complete syntax, parameter details, and examples for Get-MgApplication.
Get-Help Get-MgApplication -Full | ConvertTo-Json -Depth 8
Measure Graph command execution time. Base task: Display complete syntax, parameter details, and examples for Get-MgApplication.
Measure-Command { Get-Help Get-MgApplication -Full }
Use terminating error handling for Graph automation. Base task: Display complete syntax, parameter details, and examples for Get-MgApplication.
try { Get-Help Get-MgApplication -Full -ErrorAction Stop } catch { Write-Error $_.Exception.Message }
Display all Microsoft Graph result properties. Base task: Display complete syntax, parameter details, and examples for Invoke-MgGraphRequest.
Get-Help Invoke-MgGraphRequest -Full | Format-List *
Export Graph PowerShell results to CSV. Base task: Display complete syntax, parameter details, and examples for Invoke-MgGraphRequest.
Get-Help Invoke-MgGraphRequest -Full | Export-Csv -Path .\graph-results.csv -NoTypeInformation
Convert Graph objects to JSON. Base task: Display complete syntax, parameter details, and examples for Invoke-MgGraphRequest.
Get-Help Invoke-MgGraphRequest -Full | ConvertTo-Json -Depth 8
Measure Graph command execution time. Base task: Display complete syntax, parameter details, and examples for Invoke-MgGraphRequest.
Measure-Command { Get-Help Invoke-MgGraphRequest -Full }
Use terminating error handling for Graph automation. Base task: Display complete syntax, parameter details, and examples for Invoke-MgGraphRequest.
try { Get-Help Invoke-MgGraphRequest -Full -ErrorAction Stop } catch { Write-Error $_.Exception.Message }
Exchange Online
Connect to Exchange Online PowerShell.
Connect-ExchangeOnline
List Exchange Online mailboxes.
Get-EXOMailbox -ResultSize Unlimited
List Exchange Online mailboxes with the traditional cmdlet.
Get-Mailbox -ResultSize Unlimited
Display mailbox permissions.
Get-MailboxPermission user@contoso.com
Grant full mailbox access.
Add-MailboxPermission shared@contoso.com -User user@contoso.com -AccessRights FullAccess -AutoMapping $true
Remove full mailbox access.
Remove-MailboxPermission shared@contoso.com -User user@contoso.com -AccessRights FullAccess -Confirm:$false
Display Send As permissions.
Get-RecipientPermission shared@contoso.com
Grant Send As permission.
Add-RecipientPermission shared@contoso.com -Trustee user@contoso.com -AccessRights SendAs -Confirm:$false
Trace recent Exchange Online messages.
Get-MessageTraceV2 -StartDate (Get-Date).AddDays(-1) -EndDate (Get-Date)
List Exchange Online mail flow rules.
Get-TransportRule
List accepted domains in Exchange Online.
Get-AcceptedDomain
List distribution groups.
Get-DistributionGroup -ResultSize Unlimited
List distribution group members.
Get-DistributionGroupMember "All Staff"
Add a distribution group member.
Add-DistributionGroupMember "All Staff" -Member user@contoso.com
List mobile devices associated with a mailbox.
Get-MobileDevice -Mailbox user@contoso.com
Display mailbox size and logon statistics.
Get-MailboxStatistics user@contoso.com
Display mailbox folder sizes.
Get-MailboxFolderStatistics user@contoso.com
Update mailbox settings.
Set-Mailbox shared@contoso.com -HiddenFromAddressListsEnabled $true
Create a shared mailbox.
New-Mailbox -Shared -Name "Support" -PrimarySmtpAddress support@contoso.com
Display Exchange Online organization configuration.
Get-OrganizationConfig
Use Connect-ExchangeOnline for a standard administrative task.
Connect-ExchangeOnline
Use Get-EXOMailbox for a standard administrative task.
Get-EXOMailbox -ResultSize Unlimited
Use Get-Mailbox for a standard administrative task.
Get-Mailbox -ResultSize Unlimited
Use Get-MailboxPermission for a standard administrative task.
Get-MailboxPermission user@contoso.com
Use Add-MailboxPermission for a standard administrative task.
Add-MailboxPermission shared@contoso.com -User user@contoso.com -AccessRights FullAccess -AutoMapping $true
Use Remove-MailboxPermission for a standard administrative task.
Remove-MailboxPermission shared@contoso.com -User user@contoso.com -AccessRights FullAccess -Confirm:$false
Use Get-RecipientPermission for a standard administrative task.
Get-RecipientPermission shared@contoso.com
Use Add-RecipientPermission for a standard administrative task.
Add-RecipientPermission shared@contoso.com -Trustee user@contoso.com -AccessRights SendAs -Confirm:$false
Use Get-MessageTraceV2 for a standard administrative task.
Get-MessageTraceV2 -StartDate (Get-Date).AddDays(-1) -EndDate (Get-Date)
Use Get-TransportRule for a standard administrative task.
Get-TransportRule
Use Get-AcceptedDomain for a standard administrative task.
Get-AcceptedDomain
Use Get-DistributionGroup for a standard administrative task.
Get-DistributionGroup -ResultSize Unlimited
Use Get-DistributionGroupMember for a standard administrative task.
Get-DistributionGroupMember "All Staff"
Use Add-DistributionGroupMember for a standard administrative task.
Add-DistributionGroupMember "All Staff" -Member user@contoso.com
Use Get-MobileDevice for a standard administrative task.
Get-MobileDevice -Mailbox user@contoso.com
Use Get-MailboxStatistics for a standard administrative task.
Get-MailboxStatistics user@contoso.com
Use Get-MailboxFolderStatistics for a standard administrative task.
Get-MailboxFolderStatistics user@contoso.com
Use Set-Mailbox for a standard administrative task.
Set-Mailbox shared@contoso.com -HiddenFromAddressListsEnabled $true
Use New-Mailbox for a standard administrative task.
New-Mailbox -Shared -Name "Support" -PrimarySmtpAddress support@contoso.com
Use Get-OrganizationConfig for a standard administrative task.
Get-OrganizationConfig
Export the output of Connect-ExchangeOnline for documentation or review.
Connect-ExchangeOnline | Export-Csv .\output.csv -NoTypeInformation
Export the output of Get-EXOMailbox for documentation or review.
Get-EXOMailbox -ResultSize Unlimited | Export-Csv .\output.csv -NoTypeInformation
Export the output of Get-Mailbox for documentation or review.
Get-Mailbox -ResultSize Unlimited | Export-Csv .\output.csv -NoTypeInformation
Export the output of Get-MailboxPermission for documentation or review.
Get-MailboxPermission user@contoso.com | Export-Csv .\output.csv -NoTypeInformation
Export the output of Add-MailboxPermission for documentation or review.
Add-MailboxPermission shared@contoso.com -User user@contoso.com -AccessRights FullAccess -AutoMapping $true | Export-Csv .\output.csv -NoTypeInformation
Export the output of Remove-MailboxPermission for documentation or review.
Remove-MailboxPermission shared@contoso.com -User user@contoso.com -AccessRights FullAccess -Confirm:$false | Export-Csv .\output.csv -NoTypeInformation
Export the output of Get-RecipientPermission for documentation or review.
Get-RecipientPermission shared@contoso.com | Export-Csv .\output.csv -NoTypeInformation
Export the output of Add-RecipientPermission for documentation or review.
Add-RecipientPermission shared@contoso.com -Trustee user@contoso.com -AccessRights SendAs -Confirm:$false | Export-Csv .\output.csv -NoTypeInformation
Export the output of Get-MessageTraceV2 for documentation or review.
Get-MessageTraceV2 -StartDate (Get-Date).AddDays(-1) -EndDate (Get-Date) | Export-Csv .\output.csv -NoTypeInformation
Export the output of Get-TransportRule for documentation or review.
Get-TransportRule | Export-Csv .\output.csv -NoTypeInformation
Export the output of Get-AcceptedDomain for documentation or review.
Get-AcceptedDomain | Export-Csv .\output.csv -NoTypeInformation
Export the output of Get-DistributionGroup for documentation or review.
Get-DistributionGroup -ResultSize Unlimited | Export-Csv .\output.csv -NoTypeInformation
Export the output of Get-DistributionGroupMember for documentation or review.
Get-DistributionGroupMember "All Staff" | Export-Csv .\output.csv -NoTypeInformation
Export the output of Add-DistributionGroupMember for documentation or review.
Add-DistributionGroupMember "All Staff" -Member user@contoso.com | Export-Csv .\output.csv -NoTypeInformation
Export the output of Get-MobileDevice for documentation or review.
Get-MobileDevice -Mailbox user@contoso.com | Export-Csv .\output.csv -NoTypeInformation
Export the output of Get-MailboxStatistics for documentation or review.
Get-MailboxStatistics user@contoso.com | Export-Csv .\output.csv -NoTypeInformation
Export the output of Get-MailboxFolderStatistics for documentation or review.
Get-MailboxFolderStatistics user@contoso.com | Export-Csv .\output.csv -NoTypeInformation
Export the output of Set-Mailbox for documentation or review.
Set-Mailbox shared@contoso.com -HiddenFromAddressListsEnabled $true | Export-Csv .\output.csv -NoTypeInformation
Export the output of New-Mailbox for documentation or review.
New-Mailbox -Shared -Name "Support" -PrimarySmtpAddress support@contoso.com | Export-Csv .\output.csv -NoTypeInformation
Export the output of Get-OrganizationConfig for documentation or review.
Get-OrganizationConfig | Export-Csv .\output.csv -NoTypeInformation
Display complete syntax, parameter details, and examples for Connect-ExchangeOnline.
Get-Help Connect-ExchangeOnline -Full
Display complete syntax, parameter details, and examples for Get-EXOMailbox.
Get-Help Get-EXOMailbox -Full
Display complete syntax, parameter details, and examples for Get-Mailbox.
Get-Help Get-Mailbox -Full
Display complete syntax, parameter details, and examples for Get-MailboxPermission.
Get-Help Get-MailboxPermission -Full
Display complete syntax, parameter details, and examples for Add-MailboxPermission.
Get-Help Add-MailboxPermission -Full
Display complete syntax, parameter details, and examples for Remove-MailboxPermission.
Get-Help Remove-MailboxPermission -Full
Display complete syntax, parameter details, and examples for Get-RecipientPermission.
Get-Help Get-RecipientPermission -Full
Display complete syntax, parameter details, and examples for Add-RecipientPermission.
Get-Help Add-RecipientPermission -Full
Display complete syntax, parameter details, and examples for Get-MessageTraceV2.
Get-Help Get-MessageTraceV2 -Full
Display complete syntax, parameter details, and examples for Get-TransportRule.
Get-Help Get-TransportRule -Full
Display complete syntax, parameter details, and examples for Get-AcceptedDomain.
Get-Help Get-AcceptedDomain -Full
Display complete syntax, parameter details, and examples for Get-DistributionGroup.
Get-Help Get-DistributionGroup -Full
Display complete syntax, parameter details, and examples for Get-DistributionGroupMember.
Get-Help Get-DistributionGroupMember -Full
Display complete syntax, parameter details, and examples for Add-DistributionGroupMember.
Get-Help Add-DistributionGroupMember -Full
Display complete syntax, parameter details, and examples for Get-MobileDevice.
Get-Help Get-MobileDevice -Full
Display complete syntax, parameter details, and examples for Get-MailboxStatistics.
Get-Help Get-MailboxStatistics -Full
Display complete syntax, parameter details, and examples for Get-MailboxFolderStatistics.
Get-Help Get-MailboxFolderStatistics -Full
Display complete syntax, parameter details, and examples for Set-Mailbox.
Get-Help Set-Mailbox -Full
Display complete syntax, parameter details, and examples for New-Mailbox.
Get-Help New-Mailbox -Full
Display complete syntax, parameter details, and examples for Get-OrganizationConfig.
Get-Help Get-OrganizationConfig -Full
Display complete syntax, parameter details, and examples for Connect-ExchangeOnline — Basic Usage.
Get-Help Connect-ExchangeOnline -Full
Display complete syntax, parameter details, and examples for Get-EXOMailbox — Basic Usage.
Get-Help Get-EXOMailbox -Full
Display complete syntax, parameter details, and examples for Get-Mailbox — Basic Usage.
Get-Help Get-Mailbox -Full
Display complete syntax, parameter details, and examples for Get-MailboxPermission — Basic Usage.
Get-Help Get-MailboxPermission -Full
Display complete syntax, parameter details, and examples for Add-MailboxPermission — Basic Usage.
Get-Help Add-MailboxPermission -Full
Display complete syntax, parameter details, and examples for Remove-MailboxPermission — Basic Usage.
Get-Help Remove-MailboxPermission -Full
Display complete syntax, parameter details, and examples for Get-RecipientPermission — Basic Usage.
Get-Help Get-RecipientPermission -Full
Display complete syntax, parameter details, and examples for Add-RecipientPermission — Basic Usage.
Get-Help Add-RecipientPermission -Full
Display complete syntax, parameter details, and examples for Get-MessageTraceV2 — Basic Usage.
Get-Help Get-MessageTraceV2 -Full
Display complete syntax, parameter details, and examples for Get-TransportRule — Basic Usage.
Get-Help Get-TransportRule -Full
Display complete syntax, parameter details, and examples for Get-AcceptedDomain — Basic Usage.
Get-Help Get-AcceptedDomain -Full
Display complete syntax, parameter details, and examples for Get-DistributionGroup — Basic Usage.
Get-Help Get-DistributionGroup -Full
Display complete syntax, parameter details, and examples for Get-DistributionGroupMember — Basic Usage.
Get-Help Get-DistributionGroupMember -Full
Display complete syntax, parameter details, and examples for Add-DistributionGroupMember — Basic Usage.
Get-Help Add-DistributionGroupMember -Full
Display complete syntax, parameter details, and examples for Get-MobileDevice — Basic Usage.
Get-Help Get-MobileDevice -Full
Display complete syntax, parameter details, and examples for Get-MailboxStatistics — Basic Usage.
Get-Help Get-MailboxStatistics -Full
Display complete syntax, parameter details, and examples for Get-MailboxFolderStatistics — Basic Usage.
Get-Help Get-MailboxFolderStatistics -Full
Display complete syntax, parameter details, and examples for Set-Mailbox — Basic Usage.
Get-Help Set-Mailbox -Full
Display complete syntax, parameter details, and examples for New-Mailbox — Basic Usage.
Get-Help New-Mailbox -Full
Display complete syntax, parameter details, and examples for Get-OrganizationConfig — Basic Usage.
Get-Help Get-OrganizationConfig -Full
Display complete syntax, parameter details, and examples for Connect-ExchangeOnline — Export Results.
Get-Help Connect-ExchangeOnline -Full
Display complete syntax, parameter details, and examples for Get-EXOMailbox — Export Results.
Get-Help Get-EXOMailbox -Full
Display complete syntax, parameter details, and examples for Get-Mailbox — Export Results.
Get-Help Get-Mailbox -Full
Display complete syntax, parameter details, and examples for Get-MailboxPermission — Export Results.
Get-Help Get-MailboxPermission -Full
Display complete syntax, parameter details, and examples for Add-MailboxPermission — Export Results.
Get-Help Add-MailboxPermission -Full
Display complete syntax, parameter details, and examples for Remove-MailboxPermission — Export Results.
Get-Help Remove-MailboxPermission -Full
Display complete syntax, parameter details, and examples for Get-RecipientPermission — Export Results.
Get-Help Get-RecipientPermission -Full
Display complete syntax, parameter details, and examples for Add-RecipientPermission — Export Results.
Get-Help Add-RecipientPermission -Full
Display complete syntax, parameter details, and examples for Get-MessageTraceV2 — Export Results.
Get-Help Get-MessageTraceV2 -Full
Display complete syntax, parameter details, and examples for Get-TransportRule — Export Results.
Get-Help Get-TransportRule -Full
Display complete syntax, parameter details, and examples for Get-AcceptedDomain — Export Results.
Get-Help Get-AcceptedDomain -Full
Display complete syntax, parameter details, and examples for Get-DistributionGroup — Export Results.
Get-Help Get-DistributionGroup -Full
Display complete syntax, parameter details, and examples for Get-DistributionGroupMember — Export Results.
Get-Help Get-DistributionGroupMember -Full
Display complete syntax, parameter details, and examples for Add-DistributionGroupMember — Export Results.
Get-Help Add-DistributionGroupMember -Full
Display complete syntax, parameter details, and examples for Get-MobileDevice — Export Results.
Get-Help Get-MobileDevice -Full
Display complete syntax, parameter details, and examples for Get-MailboxStatistics — Export Results.
Get-Help Get-MailboxStatistics -Full
Display complete syntax, parameter details, and examples for Get-MailboxFolderStatistics — Export Results.
Get-Help Get-MailboxFolderStatistics -Full
Display complete syntax, parameter details, and examples for Set-Mailbox — Export Results.
Get-Help Set-Mailbox -Full
Display complete syntax, parameter details, and examples for New-Mailbox — Export Results.
Get-Help New-Mailbox -Full
Display complete syntax, parameter details, and examples for Get-OrganizationConfig — Export Results.
Get-Help Get-OrganizationConfig -Full
Save standard output and errors to a text file. Base task: Connect to Exchange Online PowerShell.
Connect-ExchangeOnline > command-results.txt 2>&1
Display output while saving it to a file. Base task: Connect to Exchange Online PowerShell.
Connect-ExchangeOnline 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Connect to Exchange Online PowerShell.
time Connect-ExchangeOnline
Repeat the command every five seconds for monitoring. Base task: Connect to Exchange Online PowerShell.
watch -n 5 'Connect-ExchangeOnline'
Print a timestamp immediately before running the command. Base task: Connect to Exchange Online PowerShell.
date --iso-8601=seconds; Connect-ExchangeOnline
Run the command in the background and log its output. Base task: Connect to Exchange Online PowerShell.
nohup sh -c 'Connect-ExchangeOnline' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: List Exchange Online mailboxes.
Get-EXOMailbox -ResultSize Unlimited > command-results.txt 2>&1
Display output while saving it to a file. Base task: List Exchange Online mailboxes.
Get-EXOMailbox -ResultSize Unlimited 2>&1 | tee command-results.txt
Measure the command execution time. Base task: List Exchange Online mailboxes.
time Get-EXOMailbox -ResultSize Unlimited
Repeat the command every five seconds for monitoring. Base task: List Exchange Online mailboxes.
watch -n 5 'Get-EXOMailbox -ResultSize Unlimited'
Print a timestamp immediately before running the command. Base task: List Exchange Online mailboxes.
date --iso-8601=seconds; Get-EXOMailbox -ResultSize Unlimited
Run the command in the background and log its output. Base task: List Exchange Online mailboxes.
nohup sh -c 'Get-EXOMailbox -ResultSize Unlimited' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: List Exchange Online mailboxes with the traditional cmdlet.
Get-Mailbox -ResultSize Unlimited > command-results.txt 2>&1
Display output while saving it to a file. Base task: List Exchange Online mailboxes with the traditional cmdlet.
Get-Mailbox -ResultSize Unlimited 2>&1 | tee command-results.txt
Measure the command execution time. Base task: List Exchange Online mailboxes with the traditional cmdlet.
time Get-Mailbox -ResultSize Unlimited
Repeat the command every five seconds for monitoring. Base task: List Exchange Online mailboxes with the traditional cmdlet.
watch -n 5 'Get-Mailbox -ResultSize Unlimited'
Print a timestamp immediately before running the command. Base task: List Exchange Online mailboxes with the traditional cmdlet.
date --iso-8601=seconds; Get-Mailbox -ResultSize Unlimited
Run the command in the background and log its output. Base task: List Exchange Online mailboxes with the traditional cmdlet.
nohup sh -c 'Get-Mailbox -ResultSize Unlimited' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Display mailbox permissions.
Get-MailboxPermission user@contoso.com > command-results.txt 2>&1
Display output while saving it to a file. Base task: Display mailbox permissions.
Get-MailboxPermission user@contoso.com 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Display mailbox permissions.
time Get-MailboxPermission user@contoso.com
Repeat the command every five seconds for monitoring. Base task: Display mailbox permissions.
watch -n 5 'Get-MailboxPermission user@contoso.com'
Print a timestamp immediately before running the command. Base task: Display mailbox permissions.
date --iso-8601=seconds; Get-MailboxPermission user@contoso.com
Run the command in the background and log its output. Base task: Display mailbox permissions.
nohup sh -c 'Get-MailboxPermission user@contoso.com' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Grant full mailbox access.
Add-MailboxPermission shared@contoso.com -User user@contoso.com -AccessRights FullAccess -AutoMapping $true > command-results.txt 2>&1
Display output while saving it to a file. Base task: Grant full mailbox access.
Add-MailboxPermission shared@contoso.com -User user@contoso.com -AccessRights FullAccess -AutoMapping $true 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Grant full mailbox access.
time Add-MailboxPermission shared@contoso.com -User user@contoso.com -AccessRights FullAccess -AutoMapping $true
Repeat the command every five seconds for monitoring. Base task: Grant full mailbox access.
watch -n 5 'Add-MailboxPermission shared@contoso.com -User user@contoso.com -AccessRights FullAccess -AutoMapping $true'
Print a timestamp immediately before running the command. Base task: Grant full mailbox access.
date --iso-8601=seconds; Add-MailboxPermission shared@contoso.com -User user@contoso.com -AccessRights FullAccess -AutoMapping $true
Run the command in the background and log its output. Base task: Grant full mailbox access.
nohup sh -c 'Add-MailboxPermission shared@contoso.com -User user@contoso.com -AccessRights FullAccess -AutoMapping $true' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Remove full mailbox access.
Remove-MailboxPermission shared@contoso.com -User user@contoso.com -AccessRights FullAccess -Confirm:$false > command-results.txt 2>&1
Display output while saving it to a file. Base task: Remove full mailbox access.
Remove-MailboxPermission shared@contoso.com -User user@contoso.com -AccessRights FullAccess -Confirm:$false 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Remove full mailbox access.
time Remove-MailboxPermission shared@contoso.com -User user@contoso.com -AccessRights FullAccess -Confirm:$false
Repeat the command every five seconds for monitoring. Base task: Remove full mailbox access.
watch -n 5 'Remove-MailboxPermission shared@contoso.com -User user@contoso.com -AccessRights FullAccess -Confirm:$false'
Print a timestamp immediately before running the command. Base task: Remove full mailbox access.
date --iso-8601=seconds; Remove-MailboxPermission shared@contoso.com -User user@contoso.com -AccessRights FullAccess -Confirm:$false
Run the command in the background and log its output. Base task: Remove full mailbox access.
nohup sh -c 'Remove-MailboxPermission shared@contoso.com -User user@contoso.com -AccessRights FullAccess -Confirm:$false' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Display Send As permissions.
Get-RecipientPermission shared@contoso.com > command-results.txt 2>&1
Display output while saving it to a file. Base task: Display Send As permissions.
Get-RecipientPermission shared@contoso.com 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Display Send As permissions.
time Get-RecipientPermission shared@contoso.com
Repeat the command every five seconds for monitoring. Base task: Display Send As permissions.
watch -n 5 'Get-RecipientPermission shared@contoso.com'
Print a timestamp immediately before running the command. Base task: Display Send As permissions.
date --iso-8601=seconds; Get-RecipientPermission shared@contoso.com
Run the command in the background and log its output. Base task: Display Send As permissions.
nohup sh -c 'Get-RecipientPermission shared@contoso.com' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Grant Send As permission.
Add-RecipientPermission shared@contoso.com -Trustee user@contoso.com -AccessRights SendAs -Confirm:$false > command-results.txt 2>&1
Display output while saving it to a file. Base task: Grant Send As permission.
Add-RecipientPermission shared@contoso.com -Trustee user@contoso.com -AccessRights SendAs -Confirm:$false 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Grant Send As permission.
time Add-RecipientPermission shared@contoso.com -Trustee user@contoso.com -AccessRights SendAs -Confirm:$false
Repeat the command every five seconds for monitoring. Base task: Grant Send As permission.
watch -n 5 'Add-RecipientPermission shared@contoso.com -Trustee user@contoso.com -AccessRights SendAs -Confirm:$false'
Print a timestamp immediately before running the command. Base task: Grant Send As permission.
date --iso-8601=seconds; Add-RecipientPermission shared@contoso.com -Trustee user@contoso.com -AccessRights SendAs -Confirm:$false
Run the command in the background and log its output. Base task: Grant Send As permission.
nohup sh -c 'Add-RecipientPermission shared@contoso.com -Trustee user@contoso.com -AccessRights SendAs -Confirm:$false' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Trace recent Exchange Online messages.
Get-MessageTraceV2 -StartDate (Get-Date).AddDays(-1) -EndDate (Get-Date) > command-results.txt 2>&1
Display output while saving it to a file. Base task: Trace recent Exchange Online messages.
Get-MessageTraceV2 -StartDate (Get-Date).AddDays(-1) -EndDate (Get-Date) 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Trace recent Exchange Online messages.
time Get-MessageTraceV2 -StartDate (Get-Date).AddDays(-1) -EndDate (Get-Date)
Repeat the command every five seconds for monitoring. Base task: Trace recent Exchange Online messages.
watch -n 5 'Get-MessageTraceV2 -StartDate (Get-Date).AddDays(-1) -EndDate (Get-Date)'
Print a timestamp immediately before running the command. Base task: Trace recent Exchange Online messages.
date --iso-8601=seconds; Get-MessageTraceV2 -StartDate (Get-Date).AddDays(-1) -EndDate (Get-Date)
Run the command in the background and log its output. Base task: Trace recent Exchange Online messages.
nohup sh -c 'Get-MessageTraceV2 -StartDate (Get-Date).AddDays(-1) -EndDate (Get-Date)' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: List Exchange Online mail flow rules.
Get-TransportRule > command-results.txt 2>&1
Display output while saving it to a file. Base task: List Exchange Online mail flow rules.
Get-TransportRule 2>&1 | tee command-results.txt
Measure the command execution time. Base task: List Exchange Online mail flow rules.
time Get-TransportRule
Repeat the command every five seconds for monitoring. Base task: List Exchange Online mail flow rules.
watch -n 5 'Get-TransportRule'
Print a timestamp immediately before running the command. Base task: List Exchange Online mail flow rules.
date --iso-8601=seconds; Get-TransportRule
Run the command in the background and log its output. Base task: List Exchange Online mail flow rules.
nohup sh -c 'Get-TransportRule' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: List accepted domains in Exchange Online.
Get-AcceptedDomain > command-results.txt 2>&1
Display output while saving it to a file. Base task: List accepted domains in Exchange Online.
Get-AcceptedDomain 2>&1 | tee command-results.txt
Measure the command execution time. Base task: List accepted domains in Exchange Online.
time Get-AcceptedDomain
Repeat the command every five seconds for monitoring. Base task: List accepted domains in Exchange Online.
watch -n 5 'Get-AcceptedDomain'
Print a timestamp immediately before running the command. Base task: List accepted domains in Exchange Online.
date --iso-8601=seconds; Get-AcceptedDomain
Run the command in the background and log its output. Base task: List accepted domains in Exchange Online.
nohup sh -c 'Get-AcceptedDomain' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: List distribution groups.
Get-DistributionGroup -ResultSize Unlimited > command-results.txt 2>&1
Display output while saving it to a file. Base task: List distribution groups.
Get-DistributionGroup -ResultSize Unlimited 2>&1 | tee command-results.txt
Measure the command execution time. Base task: List distribution groups.
time Get-DistributionGroup -ResultSize Unlimited
Repeat the command every five seconds for monitoring. Base task: List distribution groups.
watch -n 5 'Get-DistributionGroup -ResultSize Unlimited'
Print a timestamp immediately before running the command. Base task: List distribution groups.
date --iso-8601=seconds; Get-DistributionGroup -ResultSize Unlimited
Run the command in the background and log its output. Base task: List distribution groups.
nohup sh -c 'Get-DistributionGroup -ResultSize Unlimited' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: List distribution group members.
Get-DistributionGroupMember "All Staff" > command-results.txt 2>&1
Display output while saving it to a file. Base task: List distribution group members.
Get-DistributionGroupMember "All Staff" 2>&1 | tee command-results.txt
Measure the command execution time. Base task: List distribution group members.
time Get-DistributionGroupMember "All Staff"
Repeat the command every five seconds for monitoring. Base task: List distribution group members.
watch -n 5 'Get-DistributionGroupMember "All Staff"'
Print a timestamp immediately before running the command. Base task: List distribution group members.
date --iso-8601=seconds; Get-DistributionGroupMember "All Staff"
Run the command in the background and log its output. Base task: List distribution group members.
nohup sh -c 'Get-DistributionGroupMember "All Staff"' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Add a distribution group member.
Add-DistributionGroupMember "All Staff" -Member user@contoso.com > command-results.txt 2>&1
Display output while saving it to a file. Base task: Add a distribution group member.
Add-DistributionGroupMember "All Staff" -Member user@contoso.com 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Add a distribution group member.
time Add-DistributionGroupMember "All Staff" -Member user@contoso.com
Repeat the command every five seconds for monitoring. Base task: Add a distribution group member.
watch -n 5 'Add-DistributionGroupMember "All Staff" -Member user@contoso.com'
Print a timestamp immediately before running the command. Base task: Add a distribution group member.
date --iso-8601=seconds; Add-DistributionGroupMember "All Staff" -Member user@contoso.com
Run the command in the background and log its output. Base task: Add a distribution group member.
nohup sh -c 'Add-DistributionGroupMember "All Staff" -Member user@contoso.com' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: List mobile devices associated with a mailbox.
Get-MobileDevice -Mailbox user@contoso.com > command-results.txt 2>&1
Display output while saving it to a file. Base task: List mobile devices associated with a mailbox.
Get-MobileDevice -Mailbox user@contoso.com 2>&1 | tee command-results.txt
Measure the command execution time. Base task: List mobile devices associated with a mailbox.
time Get-MobileDevice -Mailbox user@contoso.com
Repeat the command every five seconds for monitoring. Base task: List mobile devices associated with a mailbox.
watch -n 5 'Get-MobileDevice -Mailbox user@contoso.com'
Print a timestamp immediately before running the command. Base task: List mobile devices associated with a mailbox.
date --iso-8601=seconds; Get-MobileDevice -Mailbox user@contoso.com
Run the command in the background and log its output. Base task: List mobile devices associated with a mailbox.
nohup sh -c 'Get-MobileDevice -Mailbox user@contoso.com' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Display mailbox size and logon statistics.
Get-MailboxStatistics user@contoso.com > command-results.txt 2>&1
Display output while saving it to a file. Base task: Display mailbox size and logon statistics.
Get-MailboxStatistics user@contoso.com 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Display mailbox size and logon statistics.
time Get-MailboxStatistics user@contoso.com
Repeat the command every five seconds for monitoring. Base task: Display mailbox size and logon statistics.
watch -n 5 'Get-MailboxStatistics user@contoso.com'
Print a timestamp immediately before running the command. Base task: Display mailbox size and logon statistics.
date --iso-8601=seconds; Get-MailboxStatistics user@contoso.com
Run the command in the background and log its output. Base task: Display mailbox size and logon statistics.
nohup sh -c 'Get-MailboxStatistics user@contoso.com' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Display mailbox folder sizes.
Get-MailboxFolderStatistics user@contoso.com > command-results.txt 2>&1
Display output while saving it to a file. Base task: Display mailbox folder sizes.
Get-MailboxFolderStatistics user@contoso.com 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Display mailbox folder sizes.
time Get-MailboxFolderStatistics user@contoso.com
Repeat the command every five seconds for monitoring. Base task: Display mailbox folder sizes.
watch -n 5 'Get-MailboxFolderStatistics user@contoso.com'
Print a timestamp immediately before running the command. Base task: Display mailbox folder sizes.
date --iso-8601=seconds; Get-MailboxFolderStatistics user@contoso.com
Run the command in the background and log its output. Base task: Display mailbox folder sizes.
nohup sh -c 'Get-MailboxFolderStatistics user@contoso.com' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Update mailbox settings.
Set-Mailbox shared@contoso.com -HiddenFromAddressListsEnabled $true > command-results.txt 2>&1
Display output while saving it to a file. Base task: Update mailbox settings.
Set-Mailbox shared@contoso.com -HiddenFromAddressListsEnabled $true 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Update mailbox settings.
time Set-Mailbox shared@contoso.com -HiddenFromAddressListsEnabled $true
Repeat the command every five seconds for monitoring. Base task: Update mailbox settings.
watch -n 5 'Set-Mailbox shared@contoso.com -HiddenFromAddressListsEnabled $true'
Print a timestamp immediately before running the command. Base task: Update mailbox settings.
date --iso-8601=seconds; Set-Mailbox shared@contoso.com -HiddenFromAddressListsEnabled $true
Run the command in the background and log its output. Base task: Update mailbox settings.
nohup sh -c 'Set-Mailbox shared@contoso.com -HiddenFromAddressListsEnabled $true' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Create a shared mailbox.
New-Mailbox -Shared -Name "Support" -PrimarySmtpAddress support@contoso.com > command-results.txt 2>&1
Display output while saving it to a file. Base task: Create a shared mailbox.
New-Mailbox -Shared -Name "Support" -PrimarySmtpAddress support@contoso.com 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Create a shared mailbox.
time New-Mailbox -Shared -Name "Support" -PrimarySmtpAddress support@contoso.com
Repeat the command every five seconds for monitoring. Base task: Create a shared mailbox.
watch -n 5 'New-Mailbox -Shared -Name "Support" -PrimarySmtpAddress support@contoso.com'
Print a timestamp immediately before running the command. Base task: Create a shared mailbox.
date --iso-8601=seconds; New-Mailbox -Shared -Name "Support" -PrimarySmtpAddress support@contoso.com
Run the command in the background and log its output. Base task: Create a shared mailbox.
nohup sh -c 'New-Mailbox -Shared -Name "Support" -PrimarySmtpAddress support@contoso.com' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Display Exchange Online organization configuration.
Get-OrganizationConfig > command-results.txt 2>&1
Display output while saving it to a file. Base task: Display Exchange Online organization configuration.
Get-OrganizationConfig 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Display Exchange Online organization configuration.
time Get-OrganizationConfig
Repeat the command every five seconds for monitoring. Base task: Display Exchange Online organization configuration.
watch -n 5 'Get-OrganizationConfig'
Print a timestamp immediately before running the command. Base task: Display Exchange Online organization configuration.
date --iso-8601=seconds; Get-OrganizationConfig
Run the command in the background and log its output. Base task: Display Exchange Online organization configuration.
nohup sh -c 'Get-OrganizationConfig' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Export the output of Connect-ExchangeOnline for documentation or review.
Connect-ExchangeOnline | Export-Csv .\output.csv -NoTypeInformation > command-results.txt 2>&1
Display output while saving it to a file. Base task: Export the output of Connect-ExchangeOnline for documentation or review.
Connect-ExchangeOnline | Export-Csv .\output.csv -NoTypeInformation 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Export the output of Connect-ExchangeOnline for documentation or review.
time Connect-ExchangeOnline | Export-Csv .\output.csv -NoTypeInformation
Repeat the command every five seconds for monitoring. Base task: Export the output of Connect-ExchangeOnline for documentation or review.
watch -n 5 'Connect-ExchangeOnline | Export-Csv .\output.csv -NoTypeInformation'
Print a timestamp immediately before running the command. Base task: Export the output of Connect-ExchangeOnline for documentation or review.
date --iso-8601=seconds; Connect-ExchangeOnline | Export-Csv .\output.csv -NoTypeInformation
Run the command in the background and log its output. Base task: Export the output of Connect-ExchangeOnline for documentation or review.
nohup sh -c 'Connect-ExchangeOnline | Export-Csv .\output.csv -NoTypeInformation' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Export the output of Get-EXOMailbox for documentation or review.
Get-EXOMailbox -ResultSize Unlimited | Export-Csv .\output.csv -NoTypeInformation > command-results.txt 2>&1
Display output while saving it to a file. Base task: Export the output of Get-EXOMailbox for documentation or review.
Get-EXOMailbox -ResultSize Unlimited | Export-Csv .\output.csv -NoTypeInformation 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Export the output of Get-EXOMailbox for documentation or review.
time Get-EXOMailbox -ResultSize Unlimited | Export-Csv .\output.csv -NoTypeInformation
Repeat the command every five seconds for monitoring. Base task: Export the output of Get-EXOMailbox for documentation or review.
watch -n 5 'Get-EXOMailbox -ResultSize Unlimited | Export-Csv .\output.csv -NoTypeInformation'
Print a timestamp immediately before running the command. Base task: Export the output of Get-EXOMailbox for documentation or review.
date --iso-8601=seconds; Get-EXOMailbox -ResultSize Unlimited | Export-Csv .\output.csv -NoTypeInformation
Run the command in the background and log its output. Base task: Export the output of Get-EXOMailbox for documentation or review.
nohup sh -c 'Get-EXOMailbox -ResultSize Unlimited | Export-Csv .\output.csv -NoTypeInformation' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Export the output of Get-Mailbox for documentation or review.
Get-Mailbox -ResultSize Unlimited | Export-Csv .\output.csv -NoTypeInformation > command-results.txt 2>&1
Display output while saving it to a file. Base task: Export the output of Get-Mailbox for documentation or review.
Get-Mailbox -ResultSize Unlimited | Export-Csv .\output.csv -NoTypeInformation 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Export the output of Get-Mailbox for documentation or review.
time Get-Mailbox -ResultSize Unlimited | Export-Csv .\output.csv -NoTypeInformation
Repeat the command every five seconds for monitoring. Base task: Export the output of Get-Mailbox for documentation or review.
watch -n 5 'Get-Mailbox -ResultSize Unlimited | Export-Csv .\output.csv -NoTypeInformation'
Print a timestamp immediately before running the command. Base task: Export the output of Get-Mailbox for documentation or review.
date --iso-8601=seconds; Get-Mailbox -ResultSize Unlimited | Export-Csv .\output.csv -NoTypeInformation
Run the command in the background and log its output. Base task: Export the output of Get-Mailbox for documentation or review.
nohup sh -c 'Get-Mailbox -ResultSize Unlimited | Export-Csv .\output.csv -NoTypeInformation' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Export the output of Get-MailboxPermission for documentation or review.
Get-MailboxPermission user@contoso.com | Export-Csv .\output.csv -NoTypeInformation > command-results.txt 2>&1
Display output while saving it to a file. Base task: Export the output of Get-MailboxPermission for documentation or review.
Get-MailboxPermission user@contoso.com | Export-Csv .\output.csv -NoTypeInformation 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Export the output of Get-MailboxPermission for documentation or review.
time Get-MailboxPermission user@contoso.com | Export-Csv .\output.csv -NoTypeInformation
Repeat the command every five seconds for monitoring. Base task: Export the output of Get-MailboxPermission for documentation or review.
watch -n 5 'Get-MailboxPermission user@contoso.com | Export-Csv .\output.csv -NoTypeInformation'
Print a timestamp immediately before running the command. Base task: Export the output of Get-MailboxPermission for documentation or review.
date --iso-8601=seconds; Get-MailboxPermission user@contoso.com | Export-Csv .\output.csv -NoTypeInformation
Run the command in the background and log its output. Base task: Export the output of Get-MailboxPermission for documentation or review.
nohup sh -c 'Get-MailboxPermission user@contoso.com | Export-Csv .\output.csv -NoTypeInformation' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Export the output of Add-MailboxPermission for documentation or review.
Add-MailboxPermission shared@contoso.com -User user@contoso.com -AccessRights FullAccess -AutoMapping $true | Export-Csv .\output.csv -NoTypeInformation > command-results.txt 2>&1
Display output while saving it to a file. Base task: Export the output of Add-MailboxPermission for documentation or review.
Add-MailboxPermission shared@contoso.com -User user@contoso.com -AccessRights FullAccess -AutoMapping $true | Export-Csv .\output.csv -NoTypeInformation 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Export the output of Add-MailboxPermission for documentation or review.
time Add-MailboxPermission shared@contoso.com -User user@contoso.com -AccessRights FullAccess -AutoMapping $true | Export-Csv .\output.csv -NoTypeInformation
Repeat the command every five seconds for monitoring. Base task: Export the output of Add-MailboxPermission for documentation or review.
watch -n 5 'Add-MailboxPermission shared@contoso.com -User user@contoso.com -AccessRights FullAccess -AutoMapping $true | Export-Csv .\output.csv -NoTypeInformation'
Print a timestamp immediately before running the command. Base task: Export the output of Add-MailboxPermission for documentation or review.
date --iso-8601=seconds; Add-MailboxPermission shared@contoso.com -User user@contoso.com -AccessRights FullAccess -AutoMapping $true | Export-Csv .\output.csv -NoTypeInformation
Run the command in the background and log its output. Base task: Export the output of Add-MailboxPermission for documentation or review.
nohup sh -c 'Add-MailboxPermission shared@contoso.com -User user@contoso.com -AccessRights FullAccess -AutoMapping $true | Export-Csv .\output.csv -NoTypeInformation' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Export the output of Remove-MailboxPermission for documentation or review.
Remove-MailboxPermission shared@contoso.com -User user@contoso.com -AccessRights FullAccess -Confirm:$false | Export-Csv .\output.csv -NoTypeInformation > command-results.txt 2>&1
Display output while saving it to a file. Base task: Export the output of Remove-MailboxPermission for documentation or review.
Remove-MailboxPermission shared@contoso.com -User user@contoso.com -AccessRights FullAccess -Confirm:$false | Export-Csv .\output.csv -NoTypeInformation 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Export the output of Remove-MailboxPermission for documentation or review.
time Remove-MailboxPermission shared@contoso.com -User user@contoso.com -AccessRights FullAccess -Confirm:$false | Export-Csv .\output.csv -NoTypeInformation
Repeat the command every five seconds for monitoring. Base task: Export the output of Remove-MailboxPermission for documentation or review.
watch -n 5 'Remove-MailboxPermission shared@contoso.com -User user@contoso.com -AccessRights FullAccess -Confirm:$false | Export-Csv .\output.csv -NoTypeInformation'
Print a timestamp immediately before running the command. Base task: Export the output of Remove-MailboxPermission for documentation or review.
date --iso-8601=seconds; Remove-MailboxPermission shared@contoso.com -User user@contoso.com -AccessRights FullAccess -Confirm:$false | Export-Csv .\output.csv -NoTypeInformation
Run the command in the background and log its output. Base task: Export the output of Remove-MailboxPermission for documentation or review.
nohup sh -c 'Remove-MailboxPermission shared@contoso.com -User user@contoso.com -AccessRights FullAccess -Confirm:$false | Export-Csv .\output.csv -NoTypeInformation' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Export the output of Get-RecipientPermission for documentation or review.
Get-RecipientPermission shared@contoso.com | Export-Csv .\output.csv -NoTypeInformation > command-results.txt 2>&1
Display output while saving it to a file. Base task: Export the output of Get-RecipientPermission for documentation or review.
Get-RecipientPermission shared@contoso.com | Export-Csv .\output.csv -NoTypeInformation 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Export the output of Get-RecipientPermission for documentation or review.
time Get-RecipientPermission shared@contoso.com | Export-Csv .\output.csv -NoTypeInformation
Repeat the command every five seconds for monitoring. Base task: Export the output of Get-RecipientPermission for documentation or review.
watch -n 5 'Get-RecipientPermission shared@contoso.com | Export-Csv .\output.csv -NoTypeInformation'
Print a timestamp immediately before running the command. Base task: Export the output of Get-RecipientPermission for documentation or review.
date --iso-8601=seconds; Get-RecipientPermission shared@contoso.com | Export-Csv .\output.csv -NoTypeInformation
Run the command in the background and log its output. Base task: Export the output of Get-RecipientPermission for documentation or review.
nohup sh -c 'Get-RecipientPermission shared@contoso.com | Export-Csv .\output.csv -NoTypeInformation' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Export the output of Add-RecipientPermission for documentation or review.
Add-RecipientPermission shared@contoso.com -Trustee user@contoso.com -AccessRights SendAs -Confirm:$false | Export-Csv .\output.csv -NoTypeInformation > command-results.txt 2>&1
Display output while saving it to a file. Base task: Export the output of Add-RecipientPermission for documentation or review.
Add-RecipientPermission shared@contoso.com -Trustee user@contoso.com -AccessRights SendAs -Confirm:$false | Export-Csv .\output.csv -NoTypeInformation 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Export the output of Add-RecipientPermission for documentation or review.
time Add-RecipientPermission shared@contoso.com -Trustee user@contoso.com -AccessRights SendAs -Confirm:$false | Export-Csv .\output.csv -NoTypeInformation
Repeat the command every five seconds for monitoring. Base task: Export the output of Add-RecipientPermission for documentation or review.
watch -n 5 'Add-RecipientPermission shared@contoso.com -Trustee user@contoso.com -AccessRights SendAs -Confirm:$false | Export-Csv .\output.csv -NoTypeInformation'
Print a timestamp immediately before running the command. Base task: Export the output of Add-RecipientPermission for documentation or review.
date --iso-8601=seconds; Add-RecipientPermission shared@contoso.com -Trustee user@contoso.com -AccessRights SendAs -Confirm:$false | Export-Csv .\output.csv -NoTypeInformation
Run the command in the background and log its output. Base task: Export the output of Add-RecipientPermission for documentation or review.
nohup sh -c 'Add-RecipientPermission shared@contoso.com -Trustee user@contoso.com -AccessRights SendAs -Confirm:$false | Export-Csv .\output.csv -NoTypeInformation' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Export the output of Get-MessageTraceV2 for documentation or review.
Get-MessageTraceV2 -StartDate (Get-Date).AddDays(-1) -EndDate (Get-Date) | Export-Csv .\output.csv -NoTypeInformation > command-results.txt 2>&1
Display output while saving it to a file. Base task: Export the output of Get-MessageTraceV2 for documentation or review.
Get-MessageTraceV2 -StartDate (Get-Date).AddDays(-1) -EndDate (Get-Date) | Export-Csv .\output.csv -NoTypeInformation 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Export the output of Get-MessageTraceV2 for documentation or review.
time Get-MessageTraceV2 -StartDate (Get-Date).AddDays(-1) -EndDate (Get-Date) | Export-Csv .\output.csv -NoTypeInformation
Repeat the command every five seconds for monitoring. Base task: Export the output of Get-MessageTraceV2 for documentation or review.
watch -n 5 'Get-MessageTraceV2 -StartDate (Get-Date).AddDays(-1) -EndDate (Get-Date) | Export-Csv .\output.csv -NoTypeInformation'
Print a timestamp immediately before running the command. Base task: Export the output of Get-MessageTraceV2 for documentation or review.
date --iso-8601=seconds; Get-MessageTraceV2 -StartDate (Get-Date).AddDays(-1) -EndDate (Get-Date) | Export-Csv .\output.csv -NoTypeInformation
Run the command in the background and log its output. Base task: Export the output of Get-MessageTraceV2 for documentation or review.
nohup sh -c 'Get-MessageTraceV2 -StartDate (Get-Date).AddDays(-1) -EndDate (Get-Date) | Export-Csv .\output.csv -NoTypeInformation' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Export the output of Get-TransportRule for documentation or review.
Get-TransportRule | Export-Csv .\output.csv -NoTypeInformation > command-results.txt 2>&1
Display output while saving it to a file. Base task: Export the output of Get-TransportRule for documentation or review.
Get-TransportRule | Export-Csv .\output.csv -NoTypeInformation 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Export the output of Get-TransportRule for documentation or review.
time Get-TransportRule | Export-Csv .\output.csv -NoTypeInformation
Repeat the command every five seconds for monitoring. Base task: Export the output of Get-TransportRule for documentation or review.
watch -n 5 'Get-TransportRule | Export-Csv .\output.csv -NoTypeInformation'
Print a timestamp immediately before running the command. Base task: Export the output of Get-TransportRule for documentation or review.
date --iso-8601=seconds; Get-TransportRule | Export-Csv .\output.csv -NoTypeInformation
Run the command in the background and log its output. Base task: Export the output of Get-TransportRule for documentation or review.
nohup sh -c 'Get-TransportRule | Export-Csv .\output.csv -NoTypeInformation' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Export the output of Get-AcceptedDomain for documentation or review.
Get-AcceptedDomain | Export-Csv .\output.csv -NoTypeInformation > command-results.txt 2>&1
Display output while saving it to a file. Base task: Export the output of Get-AcceptedDomain for documentation or review.
Get-AcceptedDomain | Export-Csv .\output.csv -NoTypeInformation 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Export the output of Get-AcceptedDomain for documentation or review.
time Get-AcceptedDomain | Export-Csv .\output.csv -NoTypeInformation
Repeat the command every five seconds for monitoring. Base task: Export the output of Get-AcceptedDomain for documentation or review.
watch -n 5 'Get-AcceptedDomain | Export-Csv .\output.csv -NoTypeInformation'
Print a timestamp immediately before running the command. Base task: Export the output of Get-AcceptedDomain for documentation or review.
date --iso-8601=seconds; Get-AcceptedDomain | Export-Csv .\output.csv -NoTypeInformation
Run the command in the background and log its output. Base task: Export the output of Get-AcceptedDomain for documentation or review.
nohup sh -c 'Get-AcceptedDomain | Export-Csv .\output.csv -NoTypeInformation' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Export the output of Get-DistributionGroup for documentation or review.
Get-DistributionGroup -ResultSize Unlimited | Export-Csv .\output.csv -NoTypeInformation > command-results.txt 2>&1
Display output while saving it to a file. Base task: Export the output of Get-DistributionGroup for documentation or review.
Get-DistributionGroup -ResultSize Unlimited | Export-Csv .\output.csv -NoTypeInformation 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Export the output of Get-DistributionGroup for documentation or review.
time Get-DistributionGroup -ResultSize Unlimited | Export-Csv .\output.csv -NoTypeInformation
Repeat the command every five seconds for monitoring. Base task: Export the output of Get-DistributionGroup for documentation or review.
watch -n 5 'Get-DistributionGroup -ResultSize Unlimited | Export-Csv .\output.csv -NoTypeInformation'
Print a timestamp immediately before running the command. Base task: Export the output of Get-DistributionGroup for documentation or review.
date --iso-8601=seconds; Get-DistributionGroup -ResultSize Unlimited | Export-Csv .\output.csv -NoTypeInformation
Run the command in the background and log its output. Base task: Export the output of Get-DistributionGroup for documentation or review.
nohup sh -c 'Get-DistributionGroup -ResultSize Unlimited | Export-Csv .\output.csv -NoTypeInformation' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Export the output of Get-DistributionGroupMember for documentation or review.
Get-DistributionGroupMember "All Staff" | Export-Csv .\output.csv -NoTypeInformation > command-results.txt 2>&1
Display output while saving it to a file. Base task: Export the output of Get-DistributionGroupMember for documentation or review.
Get-DistributionGroupMember "All Staff" | Export-Csv .\output.csv -NoTypeInformation 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Export the output of Get-DistributionGroupMember for documentation or review.
time Get-DistributionGroupMember "All Staff" | Export-Csv .\output.csv -NoTypeInformation
Repeat the command every five seconds for monitoring. Base task: Export the output of Get-DistributionGroupMember for documentation or review.
watch -n 5 'Get-DistributionGroupMember "All Staff" | Export-Csv .\output.csv -NoTypeInformation'
Print a timestamp immediately before running the command. Base task: Export the output of Get-DistributionGroupMember for documentation or review.
date --iso-8601=seconds; Get-DistributionGroupMember "All Staff" | Export-Csv .\output.csv -NoTypeInformation
Run the command in the background and log its output. Base task: Export the output of Get-DistributionGroupMember for documentation or review.
nohup sh -c 'Get-DistributionGroupMember "All Staff" | Export-Csv .\output.csv -NoTypeInformation' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Export the output of Add-DistributionGroupMember for documentation or review.
Add-DistributionGroupMember "All Staff" -Member user@contoso.com | Export-Csv .\output.csv -NoTypeInformation > command-results.txt 2>&1
Display output while saving it to a file. Base task: Export the output of Add-DistributionGroupMember for documentation or review.
Add-DistributionGroupMember "All Staff" -Member user@contoso.com | Export-Csv .\output.csv -NoTypeInformation 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Export the output of Add-DistributionGroupMember for documentation or review.
time Add-DistributionGroupMember "All Staff" -Member user@contoso.com | Export-Csv .\output.csv -NoTypeInformation
Repeat the command every five seconds for monitoring. Base task: Export the output of Add-DistributionGroupMember for documentation or review.
watch -n 5 'Add-DistributionGroupMember "All Staff" -Member user@contoso.com | Export-Csv .\output.csv -NoTypeInformation'
Print a timestamp immediately before running the command. Base task: Export the output of Add-DistributionGroupMember for documentation or review.
date --iso-8601=seconds; Add-DistributionGroupMember "All Staff" -Member user@contoso.com | Export-Csv .\output.csv -NoTypeInformation
Run the command in the background and log its output. Base task: Export the output of Add-DistributionGroupMember for documentation or review.
nohup sh -c 'Add-DistributionGroupMember "All Staff" -Member user@contoso.com | Export-Csv .\output.csv -NoTypeInformation' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Export the output of Get-MobileDevice for documentation or review.
Get-MobileDevice -Mailbox user@contoso.com | Export-Csv .\output.csv -NoTypeInformation > command-results.txt 2>&1
Display output while saving it to a file. Base task: Export the output of Get-MobileDevice for documentation or review.
Get-MobileDevice -Mailbox user@contoso.com | Export-Csv .\output.csv -NoTypeInformation 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Export the output of Get-MobileDevice for documentation or review.
time Get-MobileDevice -Mailbox user@contoso.com | Export-Csv .\output.csv -NoTypeInformation
Repeat the command every five seconds for monitoring. Base task: Export the output of Get-MobileDevice for documentation or review.
watch -n 5 'Get-MobileDevice -Mailbox user@contoso.com | Export-Csv .\output.csv -NoTypeInformation'
Print a timestamp immediately before running the command. Base task: Export the output of Get-MobileDevice for documentation or review.
date --iso-8601=seconds; Get-MobileDevice -Mailbox user@contoso.com | Export-Csv .\output.csv -NoTypeInformation
Run the command in the background and log its output. Base task: Export the output of Get-MobileDevice for documentation or review.
nohup sh -c 'Get-MobileDevice -Mailbox user@contoso.com | Export-Csv .\output.csv -NoTypeInformation' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Export the output of Get-MailboxStatistics for documentation or review.
Get-MailboxStatistics user@contoso.com | Export-Csv .\output.csv -NoTypeInformation > command-results.txt 2>&1
Display output while saving it to a file. Base task: Export the output of Get-MailboxStatistics for documentation or review.
Get-MailboxStatistics user@contoso.com | Export-Csv .\output.csv -NoTypeInformation 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Export the output of Get-MailboxStatistics for documentation or review.
time Get-MailboxStatistics user@contoso.com | Export-Csv .\output.csv -NoTypeInformation
Repeat the command every five seconds for monitoring. Base task: Export the output of Get-MailboxStatistics for documentation or review.
watch -n 5 'Get-MailboxStatistics user@contoso.com | Export-Csv .\output.csv -NoTypeInformation'
Print a timestamp immediately before running the command. Base task: Export the output of Get-MailboxStatistics for documentation or review.
date --iso-8601=seconds; Get-MailboxStatistics user@contoso.com | Export-Csv .\output.csv -NoTypeInformation
Run the command in the background and log its output. Base task: Export the output of Get-MailboxStatistics for documentation or review.
nohup sh -c 'Get-MailboxStatistics user@contoso.com | Export-Csv .\output.csv -NoTypeInformation' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Export the output of Get-MailboxFolderStatistics for documentation or review.
Get-MailboxFolderStatistics user@contoso.com | Export-Csv .\output.csv -NoTypeInformation > command-results.txt 2>&1
Display output while saving it to a file. Base task: Export the output of Get-MailboxFolderStatistics for documentation or review.
Get-MailboxFolderStatistics user@contoso.com | Export-Csv .\output.csv -NoTypeInformation 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Export the output of Get-MailboxFolderStatistics for documentation or review.
time Get-MailboxFolderStatistics user@contoso.com | Export-Csv .\output.csv -NoTypeInformation
Repeat the command every five seconds for monitoring. Base task: Export the output of Get-MailboxFolderStatistics for documentation or review.
watch -n 5 'Get-MailboxFolderStatistics user@contoso.com | Export-Csv .\output.csv -NoTypeInformation'
Print a timestamp immediately before running the command. Base task: Export the output of Get-MailboxFolderStatistics for documentation or review.
date --iso-8601=seconds; Get-MailboxFolderStatistics user@contoso.com | Export-Csv .\output.csv -NoTypeInformation
Run the command in the background and log its output. Base task: Export the output of Get-MailboxFolderStatistics for documentation or review.
nohup sh -c 'Get-MailboxFolderStatistics user@contoso.com | Export-Csv .\output.csv -NoTypeInformation' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Export the output of Set-Mailbox for documentation or review.
Set-Mailbox shared@contoso.com -HiddenFromAddressListsEnabled $true | Export-Csv .\output.csv -NoTypeInformation > command-results.txt 2>&1
Display output while saving it to a file. Base task: Export the output of Set-Mailbox for documentation or review.
Set-Mailbox shared@contoso.com -HiddenFromAddressListsEnabled $true | Export-Csv .\output.csv -NoTypeInformation 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Export the output of Set-Mailbox for documentation or review.
time Set-Mailbox shared@contoso.com -HiddenFromAddressListsEnabled $true | Export-Csv .\output.csv -NoTypeInformation
Repeat the command every five seconds for monitoring. Base task: Export the output of Set-Mailbox for documentation or review.
watch -n 5 'Set-Mailbox shared@contoso.com -HiddenFromAddressListsEnabled $true | Export-Csv .\output.csv -NoTypeInformation'
Print a timestamp immediately before running the command. Base task: Export the output of Set-Mailbox for documentation or review.
date --iso-8601=seconds; Set-Mailbox shared@contoso.com -HiddenFromAddressListsEnabled $true | Export-Csv .\output.csv -NoTypeInformation
Run the command in the background and log its output. Base task: Export the output of Set-Mailbox for documentation or review.
nohup sh -c 'Set-Mailbox shared@contoso.com -HiddenFromAddressListsEnabled $true | Export-Csv .\output.csv -NoTypeInformation' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Export the output of New-Mailbox for documentation or review.
New-Mailbox -Shared -Name "Support" -PrimarySmtpAddress support@contoso.com | Export-Csv .\output.csv -NoTypeInformation > command-results.txt 2>&1
Display output while saving it to a file. Base task: Export the output of New-Mailbox for documentation or review.
New-Mailbox -Shared -Name "Support" -PrimarySmtpAddress support@contoso.com | Export-Csv .\output.csv -NoTypeInformation 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Export the output of New-Mailbox for documentation or review.
time New-Mailbox -Shared -Name "Support" -PrimarySmtpAddress support@contoso.com | Export-Csv .\output.csv -NoTypeInformation
Repeat the command every five seconds for monitoring. Base task: Export the output of New-Mailbox for documentation or review.
watch -n 5 'New-Mailbox -Shared -Name "Support" -PrimarySmtpAddress support@contoso.com | Export-Csv .\output.csv -NoTypeInformation'
Print a timestamp immediately before running the command. Base task: Export the output of New-Mailbox for documentation or review.
date --iso-8601=seconds; New-Mailbox -Shared -Name "Support" -PrimarySmtpAddress support@contoso.com | Export-Csv .\output.csv -NoTypeInformation
Run the command in the background and log its output. Base task: Export the output of New-Mailbox for documentation or review.
nohup sh -c 'New-Mailbox -Shared -Name "Support" -PrimarySmtpAddress support@contoso.com | Export-Csv .\output.csv -NoTypeInformation' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Export the output of Get-OrganizationConfig for documentation or review.
Get-OrganizationConfig | Export-Csv .\output.csv -NoTypeInformation > command-results.txt 2>&1
Display output while saving it to a file. Base task: Export the output of Get-OrganizationConfig for documentation or review.
Get-OrganizationConfig | Export-Csv .\output.csv -NoTypeInformation 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Export the output of Get-OrganizationConfig for documentation or review.
time Get-OrganizationConfig | Export-Csv .\output.csv -NoTypeInformation
Repeat the command every five seconds for monitoring. Base task: Export the output of Get-OrganizationConfig for documentation or review.
watch -n 5 'Get-OrganizationConfig | Export-Csv .\output.csv -NoTypeInformation'
Print a timestamp immediately before running the command. Base task: Export the output of Get-OrganizationConfig for documentation or review.
date --iso-8601=seconds; Get-OrganizationConfig | Export-Csv .\output.csv -NoTypeInformation
Run the command in the background and log its output. Base task: Export the output of Get-OrganizationConfig for documentation or review.
nohup sh -c 'Get-OrganizationConfig | Export-Csv .\output.csv -NoTypeInformation' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Display complete syntax, parameter details, and examples for Connect-ExchangeOnline.
Get-Help Connect-ExchangeOnline -Full > command-results.txt 2>&1
Display output while saving it to a file. Base task: Display complete syntax, parameter details, and examples for Connect-ExchangeOnline.
Get-Help Connect-ExchangeOnline -Full 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Display complete syntax, parameter details, and examples for Connect-ExchangeOnline.
time Get-Help Connect-ExchangeOnline -Full
Repeat the command every five seconds for monitoring. Base task: Display complete syntax, parameter details, and examples for Connect-ExchangeOnline.
watch -n 5 'Get-Help Connect-ExchangeOnline -Full'
Print a timestamp immediately before running the command. Base task: Display complete syntax, parameter details, and examples for Connect-ExchangeOnline.
date --iso-8601=seconds; Get-Help Connect-ExchangeOnline -Full
Run the command in the background and log its output. Base task: Display complete syntax, parameter details, and examples for Connect-ExchangeOnline.
nohup sh -c 'Get-Help Connect-ExchangeOnline -Full' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Display complete syntax, parameter details, and examples for Get-EXOMailbox.
Get-Help Get-EXOMailbox -Full > command-results.txt 2>&1
Display output while saving it to a file. Base task: Display complete syntax, parameter details, and examples for Get-EXOMailbox.
Get-Help Get-EXOMailbox -Full 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Display complete syntax, parameter details, and examples for Get-EXOMailbox.
time Get-Help Get-EXOMailbox -Full
Repeat the command every five seconds for monitoring. Base task: Display complete syntax, parameter details, and examples for Get-EXOMailbox.
watch -n 5 'Get-Help Get-EXOMailbox -Full'
Print a timestamp immediately before running the command. Base task: Display complete syntax, parameter details, and examples for Get-EXOMailbox.
date --iso-8601=seconds; Get-Help Get-EXOMailbox -Full
Run the command in the background and log its output. Base task: Display complete syntax, parameter details, and examples for Get-EXOMailbox.
nohup sh -c 'Get-Help Get-EXOMailbox -Full' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Display complete syntax, parameter details, and examples for Get-Mailbox.
Get-Help Get-Mailbox -Full > command-results.txt 2>&1
Display output while saving it to a file. Base task: Display complete syntax, parameter details, and examples for Get-Mailbox.
Get-Help Get-Mailbox -Full 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Display complete syntax, parameter details, and examples for Get-Mailbox.
time Get-Help Get-Mailbox -Full
Repeat the command every five seconds for monitoring. Base task: Display complete syntax, parameter details, and examples for Get-Mailbox.
watch -n 5 'Get-Help Get-Mailbox -Full'
Print a timestamp immediately before running the command. Base task: Display complete syntax, parameter details, and examples for Get-Mailbox.
date --iso-8601=seconds; Get-Help Get-Mailbox -Full
Run the command in the background and log its output. Base task: Display complete syntax, parameter details, and examples for Get-Mailbox.
nohup sh -c 'Get-Help Get-Mailbox -Full' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Display complete syntax, parameter details, and examples for Get-MailboxPermission.
Get-Help Get-MailboxPermission -Full > command-results.txt 2>&1
Display output while saving it to a file. Base task: Display complete syntax, parameter details, and examples for Get-MailboxPermission.
Get-Help Get-MailboxPermission -Full 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Display complete syntax, parameter details, and examples for Get-MailboxPermission.
time Get-Help Get-MailboxPermission -Full
Repeat the command every five seconds for monitoring. Base task: Display complete syntax, parameter details, and examples for Get-MailboxPermission.
watch -n 5 'Get-Help Get-MailboxPermission -Full'
Print a timestamp immediately before running the command. Base task: Display complete syntax, parameter details, and examples for Get-MailboxPermission.
date --iso-8601=seconds; Get-Help Get-MailboxPermission -Full
Run the command in the background and log its output. Base task: Display complete syntax, parameter details, and examples for Get-MailboxPermission.
nohup sh -c 'Get-Help Get-MailboxPermission -Full' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Display complete syntax, parameter details, and examples for Add-MailboxPermission.
Get-Help Add-MailboxPermission -Full > command-results.txt 2>&1
Display output while saving it to a file. Base task: Display complete syntax, parameter details, and examples for Add-MailboxPermission.
Get-Help Add-MailboxPermission -Full 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Display complete syntax, parameter details, and examples for Add-MailboxPermission.
time Get-Help Add-MailboxPermission -Full
Repeat the command every five seconds for monitoring. Base task: Display complete syntax, parameter details, and examples for Add-MailboxPermission.
watch -n 5 'Get-Help Add-MailboxPermission -Full'
Print a timestamp immediately before running the command. Base task: Display complete syntax, parameter details, and examples for Add-MailboxPermission.
date --iso-8601=seconds; Get-Help Add-MailboxPermission -Full
Run the command in the background and log its output. Base task: Display complete syntax, parameter details, and examples for Add-MailboxPermission.
nohup sh -c 'Get-Help Add-MailboxPermission -Full' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Display complete syntax, parameter details, and examples for Remove-MailboxPermission.
Get-Help Remove-MailboxPermission -Full > command-results.txt 2>&1
Display output while saving it to a file. Base task: Display complete syntax, parameter details, and examples for Remove-MailboxPermission.
Get-Help Remove-MailboxPermission -Full 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Display complete syntax, parameter details, and examples for Remove-MailboxPermission.
time Get-Help Remove-MailboxPermission -Full
Repeat the command every five seconds for monitoring. Base task: Display complete syntax, parameter details, and examples for Remove-MailboxPermission.
watch -n 5 'Get-Help Remove-MailboxPermission -Full'
Print a timestamp immediately before running the command. Base task: Display complete syntax, parameter details, and examples for Remove-MailboxPermission.
date --iso-8601=seconds; Get-Help Remove-MailboxPermission -Full
Run the command in the background and log its output. Base task: Display complete syntax, parameter details, and examples for Remove-MailboxPermission.
nohup sh -c 'Get-Help Remove-MailboxPermission -Full' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Display complete syntax, parameter details, and examples for Get-RecipientPermission.
Get-Help Get-RecipientPermission -Full > command-results.txt 2>&1
Display output while saving it to a file. Base task: Display complete syntax, parameter details, and examples for Get-RecipientPermission.
Get-Help Get-RecipientPermission -Full 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Display complete syntax, parameter details, and examples for Get-RecipientPermission.
time Get-Help Get-RecipientPermission -Full
Repeat the command every five seconds for monitoring. Base task: Display complete syntax, parameter details, and examples for Get-RecipientPermission.
watch -n 5 'Get-Help Get-RecipientPermission -Full'
Print a timestamp immediately before running the command. Base task: Display complete syntax, parameter details, and examples for Get-RecipientPermission.
date --iso-8601=seconds; Get-Help Get-RecipientPermission -Full
Run the command in the background and log its output. Base task: Display complete syntax, parameter details, and examples for Get-RecipientPermission.
nohup sh -c 'Get-Help Get-RecipientPermission -Full' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Display complete syntax, parameter details, and examples for Add-RecipientPermission.
Get-Help Add-RecipientPermission -Full > command-results.txt 2>&1
Display output while saving it to a file. Base task: Display complete syntax, parameter details, and examples for Add-RecipientPermission.
Get-Help Add-RecipientPermission -Full 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Display complete syntax, parameter details, and examples for Add-RecipientPermission.
time Get-Help Add-RecipientPermission -Full
Repeat the command every five seconds for monitoring. Base task: Display complete syntax, parameter details, and examples for Add-RecipientPermission.
watch -n 5 'Get-Help Add-RecipientPermission -Full'
Print a timestamp immediately before running the command. Base task: Display complete syntax, parameter details, and examples for Add-RecipientPermission.
date --iso-8601=seconds; Get-Help Add-RecipientPermission -Full
Run the command in the background and log its output. Base task: Display complete syntax, parameter details, and examples for Add-RecipientPermission.
nohup sh -c 'Get-Help Add-RecipientPermission -Full' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Display complete syntax, parameter details, and examples for Get-MessageTraceV2.
Get-Help Get-MessageTraceV2 -Full > command-results.txt 2>&1
Display output while saving it to a file. Base task: Display complete syntax, parameter details, and examples for Get-MessageTraceV2.
Get-Help Get-MessageTraceV2 -Full 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Display complete syntax, parameter details, and examples for Get-MessageTraceV2.
time Get-Help Get-MessageTraceV2 -Full
Repeat the command every five seconds for monitoring. Base task: Display complete syntax, parameter details, and examples for Get-MessageTraceV2.
watch -n 5 'Get-Help Get-MessageTraceV2 -Full'
Print a timestamp immediately before running the command. Base task: Display complete syntax, parameter details, and examples for Get-MessageTraceV2.
date --iso-8601=seconds; Get-Help Get-MessageTraceV2 -Full
Run the command in the background and log its output. Base task: Display complete syntax, parameter details, and examples for Get-MessageTraceV2.
nohup sh -c 'Get-Help Get-MessageTraceV2 -Full' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Display complete syntax, parameter details, and examples for Get-TransportRule.
Get-Help Get-TransportRule -Full > command-results.txt 2>&1
Display output while saving it to a file. Base task: Display complete syntax, parameter details, and examples for Get-TransportRule.
Get-Help Get-TransportRule -Full 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Display complete syntax, parameter details, and examples for Get-TransportRule.
time Get-Help Get-TransportRule -Full
Repeat the command every five seconds for monitoring. Base task: Display complete syntax, parameter details, and examples for Get-TransportRule.
watch -n 5 'Get-Help Get-TransportRule -Full'
Print a timestamp immediately before running the command. Base task: Display complete syntax, parameter details, and examples for Get-TransportRule.
date --iso-8601=seconds; Get-Help Get-TransportRule -Full
Run the command in the background and log its output. Base task: Display complete syntax, parameter details, and examples for Get-TransportRule.
nohup sh -c 'Get-Help Get-TransportRule -Full' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Display complete syntax, parameter details, and examples for Get-AcceptedDomain.
Get-Help Get-AcceptedDomain -Full > command-results.txt 2>&1
Display output while saving it to a file. Base task: Display complete syntax, parameter details, and examples for Get-AcceptedDomain.
Get-Help Get-AcceptedDomain -Full 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Display complete syntax, parameter details, and examples for Get-AcceptedDomain.
time Get-Help Get-AcceptedDomain -Full
Repeat the command every five seconds for monitoring. Base task: Display complete syntax, parameter details, and examples for Get-AcceptedDomain.
watch -n 5 'Get-Help Get-AcceptedDomain -Full'
Print a timestamp immediately before running the command. Base task: Display complete syntax, parameter details, and examples for Get-AcceptedDomain.
date --iso-8601=seconds; Get-Help Get-AcceptedDomain -Full
Run the command in the background and log its output. Base task: Display complete syntax, parameter details, and examples for Get-AcceptedDomain.
nohup sh -c 'Get-Help Get-AcceptedDomain -Full' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Display complete syntax, parameter details, and examples for Get-DistributionGroup.
Get-Help Get-DistributionGroup -Full > command-results.txt 2>&1
Display output while saving it to a file. Base task: Display complete syntax, parameter details, and examples for Get-DistributionGroup.
Get-Help Get-DistributionGroup -Full 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Display complete syntax, parameter details, and examples for Get-DistributionGroup.
time Get-Help Get-DistributionGroup -Full
Repeat the command every five seconds for monitoring. Base task: Display complete syntax, parameter details, and examples for Get-DistributionGroup.
watch -n 5 'Get-Help Get-DistributionGroup -Full'
Print a timestamp immediately before running the command. Base task: Display complete syntax, parameter details, and examples for Get-DistributionGroup.
date --iso-8601=seconds; Get-Help Get-DistributionGroup -Full
Run the command in the background and log its output. Base task: Display complete syntax, parameter details, and examples for Get-DistributionGroup.
nohup sh -c 'Get-Help Get-DistributionGroup -Full' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Display complete syntax, parameter details, and examples for Get-DistributionGroupMember.
Get-Help Get-DistributionGroupMember -Full > command-results.txt 2>&1
Display output while saving it to a file. Base task: Display complete syntax, parameter details, and examples for Get-DistributionGroupMember.
Get-Help Get-DistributionGroupMember -Full 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Display complete syntax, parameter details, and examples for Get-DistributionGroupMember.
time Get-Help Get-DistributionGroupMember -Full
Repeat the command every five seconds for monitoring. Base task: Display complete syntax, parameter details, and examples for Get-DistributionGroupMember.
watch -n 5 'Get-Help Get-DistributionGroupMember -Full'
Print a timestamp immediately before running the command. Base task: Display complete syntax, parameter details, and examples for Get-DistributionGroupMember.
date --iso-8601=seconds; Get-Help Get-DistributionGroupMember -Full
Run the command in the background and log its output. Base task: Display complete syntax, parameter details, and examples for Get-DistributionGroupMember.
nohup sh -c 'Get-Help Get-DistributionGroupMember -Full' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Display complete syntax, parameter details, and examples for Add-DistributionGroupMember.
Get-Help Add-DistributionGroupMember -Full > command-results.txt 2>&1
Display output while saving it to a file. Base task: Display complete syntax, parameter details, and examples for Add-DistributionGroupMember.
Get-Help Add-DistributionGroupMember -Full 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Display complete syntax, parameter details, and examples for Add-DistributionGroupMember.
time Get-Help Add-DistributionGroupMember -Full
Repeat the command every five seconds for monitoring. Base task: Display complete syntax, parameter details, and examples for Add-DistributionGroupMember.
watch -n 5 'Get-Help Add-DistributionGroupMember -Full'
Print a timestamp immediately before running the command. Base task: Display complete syntax, parameter details, and examples for Add-DistributionGroupMember.
date --iso-8601=seconds; Get-Help Add-DistributionGroupMember -Full
Run the command in the background and log its output. Base task: Display complete syntax, parameter details, and examples for Add-DistributionGroupMember.
nohup sh -c 'Get-Help Add-DistributionGroupMember -Full' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Display complete syntax, parameter details, and examples for Get-MobileDevice.
Get-Help Get-MobileDevice -Full > command-results.txt 2>&1
Display output while saving it to a file. Base task: Display complete syntax, parameter details, and examples for Get-MobileDevice.
Get-Help Get-MobileDevice -Full 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Display complete syntax, parameter details, and examples for Get-MobileDevice.
time Get-Help Get-MobileDevice -Full
Repeat the command every five seconds for monitoring. Base task: Display complete syntax, parameter details, and examples for Get-MobileDevice.
watch -n 5 'Get-Help Get-MobileDevice -Full'
Print a timestamp immediately before running the command. Base task: Display complete syntax, parameter details, and examples for Get-MobileDevice.
date --iso-8601=seconds; Get-Help Get-MobileDevice -Full
Run the command in the background and log its output. Base task: Display complete syntax, parameter details, and examples for Get-MobileDevice.
nohup sh -c 'Get-Help Get-MobileDevice -Full' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Display complete syntax, parameter details, and examples for Get-MailboxStatistics.
Get-Help Get-MailboxStatistics -Full > command-results.txt 2>&1
Display output while saving it to a file. Base task: Display complete syntax, parameter details, and examples for Get-MailboxStatistics.
Get-Help Get-MailboxStatistics -Full 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Display complete syntax, parameter details, and examples for Get-MailboxStatistics.
time Get-Help Get-MailboxStatistics -Full
Repeat the command every five seconds for monitoring. Base task: Display complete syntax, parameter details, and examples for Get-MailboxStatistics.
watch -n 5 'Get-Help Get-MailboxStatistics -Full'
Print a timestamp immediately before running the command. Base task: Display complete syntax, parameter details, and examples for Get-MailboxStatistics.
date --iso-8601=seconds; Get-Help Get-MailboxStatistics -Full
Run the command in the background and log its output. Base task: Display complete syntax, parameter details, and examples for Get-MailboxStatistics.
nohup sh -c 'Get-Help Get-MailboxStatistics -Full' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Display complete syntax, parameter details, and examples for Get-MailboxFolderStatistics.
Get-Help Get-MailboxFolderStatistics -Full > command-results.txt 2>&1
Display output while saving it to a file. Base task: Display complete syntax, parameter details, and examples for Get-MailboxFolderStatistics.
Get-Help Get-MailboxFolderStatistics -Full 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Display complete syntax, parameter details, and examples for Get-MailboxFolderStatistics.
time Get-Help Get-MailboxFolderStatistics -Full
Repeat the command every five seconds for monitoring. Base task: Display complete syntax, parameter details, and examples for Get-MailboxFolderStatistics.
watch -n 5 'Get-Help Get-MailboxFolderStatistics -Full'
Print a timestamp immediately before running the command. Base task: Display complete syntax, parameter details, and examples for Get-MailboxFolderStatistics.
date --iso-8601=seconds; Get-Help Get-MailboxFolderStatistics -Full
Run the command in the background and log its output. Base task: Display complete syntax, parameter details, and examples for Get-MailboxFolderStatistics.
nohup sh -c 'Get-Help Get-MailboxFolderStatistics -Full' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Display complete syntax, parameter details, and examples for Set-Mailbox.
Get-Help Set-Mailbox -Full > command-results.txt 2>&1
Display output while saving it to a file. Base task: Display complete syntax, parameter details, and examples for Set-Mailbox.
Get-Help Set-Mailbox -Full 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Display complete syntax, parameter details, and examples for Set-Mailbox.
time Get-Help Set-Mailbox -Full
Repeat the command every five seconds for monitoring. Base task: Display complete syntax, parameter details, and examples for Set-Mailbox.
watch -n 5 'Get-Help Set-Mailbox -Full'
Print a timestamp immediately before running the command. Base task: Display complete syntax, parameter details, and examples for Set-Mailbox.
date --iso-8601=seconds; Get-Help Set-Mailbox -Full
Run the command in the background and log its output. Base task: Display complete syntax, parameter details, and examples for Set-Mailbox.
nohup sh -c 'Get-Help Set-Mailbox -Full' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Display complete syntax, parameter details, and examples for New-Mailbox.
Get-Help New-Mailbox -Full > command-results.txt 2>&1
Display output while saving it to a file. Base task: Display complete syntax, parameter details, and examples for New-Mailbox.
Get-Help New-Mailbox -Full 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Display complete syntax, parameter details, and examples for New-Mailbox.
time Get-Help New-Mailbox -Full
Repeat the command every five seconds for monitoring. Base task: Display complete syntax, parameter details, and examples for New-Mailbox.
watch -n 5 'Get-Help New-Mailbox -Full'
Print a timestamp immediately before running the command. Base task: Display complete syntax, parameter details, and examples for New-Mailbox.
date --iso-8601=seconds; Get-Help New-Mailbox -Full
Run the command in the background and log its output. Base task: Display complete syntax, parameter details, and examples for New-Mailbox.
nohup sh -c 'Get-Help New-Mailbox -Full' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Display complete syntax, parameter details, and examples for Get-OrganizationConfig.
Get-Help Get-OrganizationConfig -Full > command-results.txt 2>&1
Display output while saving it to a file. Base task: Display complete syntax, parameter details, and examples for Get-OrganizationConfig.
Get-Help Get-OrganizationConfig -Full 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Display complete syntax, parameter details, and examples for Get-OrganizationConfig.
time Get-Help Get-OrganizationConfig -Full
Repeat the command every five seconds for monitoring. Base task: Display complete syntax, parameter details, and examples for Get-OrganizationConfig.
watch -n 5 'Get-Help Get-OrganizationConfig -Full'
Print a timestamp immediately before running the command. Base task: Display complete syntax, parameter details, and examples for Get-OrganizationConfig.
date --iso-8601=seconds; Get-Help Get-OrganizationConfig -Full
Run the command in the background and log its output. Base task: Display complete syntax, parameter details, and examples for Get-OrganizationConfig.
nohup sh -c 'Get-Help Get-OrganizationConfig -Full' > command-results.log 2>&1 &
Linux and Bash
List files with permissions and sizes.
ls -lah /var/log
Change the current directory.
cd /var/log
Print the current working directory.
pwd
Copy files while preserving attributes.
cp -a /source/. /backup/
Move or rename a file.
mv old.log archive/
Remove a file interactively.
rm -i old.log
Create nested directories.
mkdir -p /opt/app/logs
Create an empty file or update its timestamp.
touch /tmp/healthcheck.txt
Display file contents.
cat /etc/os-release
View a text file interactively.
less /var/log/syslog
Display the first lines of a file.
head -n 20 /var/log/syslog
Follow new lines appended to a log.
tail -f /var/log/syslog
Search recursively for text.
grep -Rni "error" /var/log/app
Find files modified within the last day.
find /var/log -type f -mtime -1
Find files using the locate database.
locate sshd_config
Show the executable resolved by the shell.
which python3
Locate binary, source, and manual paths.
whereis nginx
Change file permissions.
chmod 640 /etc/app.conf
Change file ownership.
chown root:app /etc/app.conf
Create a symbolic link.
ln -s /opt/app/current /var/www/app
Display filesystem usage.
df -hT
Display directory sizes.
du -sh /var/log/* | sort -h
Display memory usage.
free -h
Display uptime and load averages.
uptime
Display real-time process activity.
top
List processes sorted by memory use.
ps aux --sort=-%mem | head
Send a termination signal to a process.
kill -TERM 1234
Signal processes matching a pattern.
pkill -f app-worker
Start a process with adjusted priority.
nice -n 10 long-running-command
Change the priority of a running process.
renice 5 -p 1234
Display a systemd service status.
systemctl status nginx
Start a systemd service.
sudo systemctl start nginx
Stop a systemd service.
sudo systemctl stop nginx
Restart a systemd service.
sudo systemctl restart nginx
Enable and start a service.
sudo systemctl enable --now nginx
Query systemd journal logs.
journalctl -u nginx --since "1 hour ago"
Display kernel warnings and errors.
dmesg --level=err,warn
Display network interface addresses.
ip addr show
Display the routing table.
ip route show
Display the neighbor table.
ip neigh show
List listening TCP and UDP sockets.
ss -tulpn
Test ICMP reachability.
ping -c 4 example.com
Trace the network path to a host.
traceroute example.com
Query DNS records.
dig example.com MX +short
Perform a DNS lookup.
host -t txt example.com
Fetch HTTP response headers.
curl -I https://example.com
Download a file.
wget -O file.zip https://example.com/file.zip
Open a secure shell session.
ssh admin@server01
Copy a file over SSH.
scp backup.tar.gz admin@server01:/backups/
Synchronize directories.
rsync -avh --delete /source/ /backup/
Create a compressed tar archive.
tar -czf backup.tar.gz /etc/app
Compress a file with gzip.
gzip -k large.log
Extract a ZIP archive.
unzip package.zip -d /opt/app
Replace text in a file.
sed -i "s/old/new/g" config.txt
Process delimited text.
awk -F: "{print $1}" /etc/passwd
Extract selected columns.
cut -d, -f1,3 users.csv
Sort and deduplicate lines.
sort -u names.txt
Count repeated adjacent lines.
sort access.log | uniq -c
Count lines in a file.
wc -l access.log
Build command arguments from input.
find /tmp -name "*.tmp" -print0 | xargs -0 rm -f
Write output to a file with elevated privileges.
echo "enabled=true" | sudo tee /etc/app.conf
Display environment variables.
env | sort
Set an environment variable for the shell.
export APP_ENV=production
List the current user cron jobs.
crontab -l
Refresh package indexes on Debian or Ubuntu.
sudo apt update
Install available package upgrades.
sudo apt upgrade
Update packages on modern RHEL-family systems.
sudo dnf update
List installed RPM packages.
rpm -qa | sort
List installed Debian packages.
dpkg -l
Display kernel and architecture information.
uname -a
Display host and operating system information.
hostnamectl
Display time and timezone settings.
timedatectl
List block devices and filesystems.
lsblk -f
Display mounted filesystems.
mount | column -t
List disk partition tables.
sudo fdisk -l
List processes using a network port.
sudo lsof -i :443
Inspect a TLS connection and certificate chain.
openssl s_client -connect example.com:443 -servername example.com
Display certificate details.
openssl x509 -in cert.pem -noout -text
Calculate a SHA-256 checksum.
sha256sum installer.iso
Use ls for a standard administrative task.
ls -lah /var/log
Use cd for a standard administrative task.
cd /var/log
Use pwd for a standard administrative task.
pwd
Use cp for a standard administrative task.
cp -a /source/. /backup/
Use mv for a standard administrative task.
mv old.log archive/
Use rm for a standard administrative task.
rm -i old.log
Use mkdir for a standard administrative task.
mkdir -p /opt/app/logs
Use touch for a standard administrative task.
touch /tmp/healthcheck.txt
Use cat for a standard administrative task.
cat /etc/os-release
Use less for a standard administrative task.
less /var/log/syslog
Use head for a standard administrative task.
head -n 20 /var/log/syslog
Use tail for a standard administrative task.
tail -f /var/log/syslog
Use grep for a standard administrative task.
grep -Rni "error" /var/log/app
Use find for a standard administrative task.
find /var/log -type f -mtime -1
Use locate for a standard administrative task.
locate sshd_config
Use which for a standard administrative task.
which python3
Use whereis for a standard administrative task.
whereis nginx
Use chmod for a standard administrative task.
chmod 640 /etc/app.conf
Use chown for a standard administrative task.
chown root:app /etc/app.conf
Use ln for a standard administrative task.
ln -s /opt/app/current /var/www/app
Use df for a standard administrative task.
df -hT
Use du for a standard administrative task.
du -sh /var/log/* | sort -h
Use free for a standard administrative task.
free -h
Use uptime for a standard administrative task.
uptime
Use top for a standard administrative task.
top
Use ps for a standard administrative task.
ps aux --sort=-%mem | head
Use kill for a standard administrative task.
kill -TERM 1234
Use pkill for a standard administrative task.
pkill -f app-worker
Use nice for a standard administrative task.
nice -n 10 long-running-command
Use renice for a standard administrative task.
renice 5 -p 1234
Use systemctl status for a standard administrative task.
systemctl status nginx
Use systemctl start for a standard administrative task.
sudo systemctl start nginx
Use systemctl stop for a standard administrative task.
sudo systemctl stop nginx
Use systemctl restart for a standard administrative task.
sudo systemctl restart nginx
Use systemctl enable for a standard administrative task.
sudo systemctl enable --now nginx
Use journalctl for a standard administrative task.
journalctl -u nginx --since "1 hour ago"
Use dmesg for a standard administrative task.
dmesg --level=err,warn
Use ip addr for a standard administrative task.
ip addr show
Use ip route for a standard administrative task.
ip route show
Use ip neigh for a standard administrative task.
ip neigh show
Use ss for a standard administrative task.
ss -tulpn
Use ping for a standard administrative task.
ping -c 4 example.com
Use traceroute for a standard administrative task.
traceroute example.com
Use dig for a standard administrative task.
dig example.com MX +short
Use host for a standard administrative task.
host -t txt example.com
Use curl for a standard administrative task.
curl -I https://example.com
Use wget for a standard administrative task.
wget -O file.zip https://example.com/file.zip
Use ssh for a standard administrative task.
ssh admin@server01
Use scp for a standard administrative task.
scp backup.tar.gz admin@server01:/backups/
Use rsync for a standard administrative task.
rsync -avh --delete /source/ /backup/
Use tar for a standard administrative task.
tar -czf backup.tar.gz /etc/app
Use gzip for a standard administrative task.
gzip -k large.log
Use unzip for a standard administrative task.
unzip package.zip -d /opt/app
Use sed for a standard administrative task.
sed -i "s/old/new/g" config.txt
Use awk for a standard administrative task.
awk -F: "{print $1}" /etc/passwd
Use cut for a standard administrative task.
cut -d, -f1,3 users.csv
Use sort for a standard administrative task.
sort -u names.txt
Use uniq for a standard administrative task.
sort access.log | uniq -c
Use wc for a standard administrative task.
wc -l access.log
Use xargs for a standard administrative task.
find /tmp -name "*.tmp" -print0 | xargs -0 rm -f
Use tee for a standard administrative task.
echo "enabled=true" | sudo tee /etc/app.conf
Use env for a standard administrative task.
env | sort
Use export for a standard administrative task.
export APP_ENV=production
Use crontab for a standard administrative task.
crontab -l
Use apt update for a standard administrative task.
sudo apt update
Use apt upgrade for a standard administrative task.
sudo apt upgrade
Use dnf update for a standard administrative task.
sudo dnf update
Use rpm query for a standard administrative task.
rpm -qa | sort
Use dpkg query for a standard administrative task.
dpkg -l
Use uname for a standard administrative task.
uname -a
Use hostnamectl for a standard administrative task.
hostnamectl
Use timedatectl for a standard administrative task.
timedatectl
Use lsblk for a standard administrative task.
lsblk -f
Use mount for a standard administrative task.
mount | column -t
Use fdisk for a standard administrative task.
sudo fdisk -l
Use lsof for a standard administrative task.
sudo lsof -i :443
Use openssl s_client for a standard administrative task.
openssl s_client -connect example.com:443 -servername example.com
Use openssl x509 for a standard administrative task.
openssl x509 -in cert.pem -noout -text
Use sha256sum for a standard administrative task.
sha256sum installer.iso
Export the output of ls for documentation or review.
ls -lah /var/log > output.txt
Export the output of cd for documentation or review.
cd /var/log > output.txt
Export the output of pwd for documentation or review.
pwd > output.txt
Export the output of cp for documentation or review.
cp -a /source/. /backup/ > output.txt
Export the output of mv for documentation or review.
mv old.log archive/ > output.txt
Export the output of rm for documentation or review.
rm -i old.log > output.txt
Export the output of mkdir for documentation or review.
mkdir -p /opt/app/logs > output.txt
Export the output of touch for documentation or review.
touch /tmp/healthcheck.txt > output.txt
Export the output of cat for documentation or review.
cat /etc/os-release > output.txt
Export the output of less for documentation or review.
less /var/log/syslog > output.txt
Export the output of head for documentation or review.
head -n 20 /var/log/syslog > output.txt
Export the output of tail for documentation or review.
tail -f /var/log/syslog > output.txt
Export the output of grep for documentation or review.
grep -Rni "error" /var/log/app > output.txt
Export the output of find for documentation or review.
find /var/log -type f -mtime -1 > output.txt
Export the output of locate for documentation or review.
locate sshd_config > output.txt
Export the output of which for documentation or review.
which python3 > output.txt
Export the output of whereis for documentation or review.
whereis nginx > output.txt
Export the output of chmod for documentation or review.
chmod 640 /etc/app.conf > output.txt
Export the output of chown for documentation or review.
chown root:app /etc/app.conf > output.txt
Export the output of ln for documentation or review.
ln -s /opt/app/current /var/www/app > output.txt
Export the output of df for documentation or review.
df -hT > output.txt
Export the output of du for documentation or review.
du -sh /var/log/* | sort -h > output.txt
Export the output of free for documentation or review.
free -h > output.txt
Export the output of uptime for documentation or review.
uptime > output.txt
Export the output of top for documentation or review.
top > output.txt
Export the output of ps for documentation or review.
ps aux --sort=-%mem | head > output.txt
Export the output of kill for documentation or review.
kill -TERM 1234 > output.txt
Export the output of pkill for documentation or review.
pkill -f app-worker > output.txt
Export the output of nice for documentation or review.
nice -n 10 long-running-command > output.txt
Export the output of renice for documentation or review.
renice 5 -p 1234 > output.txt
Export the output of systemctl status for documentation or review.
systemctl status nginx > output.txt
Export the output of systemctl start for documentation or review.
sudo systemctl start nginx > output.txt
Export the output of systemctl stop for documentation or review.
sudo systemctl stop nginx > output.txt
Export the output of systemctl restart for documentation or review.
sudo systemctl restart nginx > output.txt
Export the output of systemctl enable for documentation or review.
sudo systemctl enable --now nginx > output.txt
Export the output of journalctl for documentation or review.
journalctl -u nginx --since "1 hour ago" > output.txt
Export the output of dmesg for documentation or review.
dmesg --level=err,warn > output.txt
Export the output of ip addr for documentation or review.
ip addr show > output.txt
Export the output of ip route for documentation or review.
ip route show > output.txt
Export the output of ip neigh for documentation or review.
ip neigh show > output.txt
Export the output of ss for documentation or review.
ss -tulpn > output.txt
Export the output of ping for documentation or review.
ping -c 4 example.com > output.txt
Export the output of traceroute for documentation or review.
traceroute example.com > output.txt
Export the output of dig for documentation or review.
dig example.com MX +short > output.txt
Export the output of host for documentation or review.
host -t txt example.com > output.txt
Export the output of curl for documentation or review.
curl -I https://example.com > output.txt
Export the output of wget for documentation or review.
wget -O file.zip https://example.com/file.zip > output.txt
Export the output of ssh for documentation or review.
ssh admin@server01 > output.txt
Export the output of scp for documentation or review.
scp backup.tar.gz admin@server01:/backups/ > output.txt
Export the output of rsync for documentation or review.
rsync -avh --delete /source/ /backup/ > output.txt
Export the output of tar for documentation or review.
tar -czf backup.tar.gz /etc/app > output.txt
Export the output of gzip for documentation or review.
gzip -k large.log > output.txt
Export the output of unzip for documentation or review.
unzip package.zip -d /opt/app > output.txt
Export the output of sed for documentation or review.
sed -i "s/old/new/g" config.txt > output.txt
Export the output of awk for documentation or review.
awk -F: "{print $1}" /etc/passwd > output.txt
Export the output of cut for documentation or review.
cut -d, -f1,3 users.csv > output.txt
Export the output of sort for documentation or review.
sort -u names.txt > output.txt
Export the output of uniq for documentation or review.
sort access.log | uniq -c > output.txt
Export the output of wc for documentation or review.
wc -l access.log > output.txt
Export the output of xargs for documentation or review.
find /tmp -name "*.tmp" -print0 | xargs -0 rm -f > output.txt
Export the output of tee for documentation or review.
echo "enabled=true" | sudo tee /etc/app.conf > output.txt
Export the output of env for documentation or review.
env | sort > output.txt
Export the output of export for documentation or review.
export APP_ENV=production > output.txt
Export the output of crontab for documentation or review.
crontab -l > output.txt
Export the output of apt update for documentation or review.
sudo apt update > output.txt
Export the output of apt upgrade for documentation or review.
sudo apt upgrade > output.txt
Export the output of dnf update for documentation or review.
sudo dnf update > output.txt
Export the output of rpm query for documentation or review.
rpm -qa | sort > output.txt
Export the output of dpkg query for documentation or review.
dpkg -l > output.txt
Export the output of uname for documentation or review.
uname -a > output.txt
Export the output of hostnamectl for documentation or review.
hostnamectl > output.txt
Export the output of timedatectl for documentation or review.
timedatectl > output.txt
Display usage, options, and built-in help for the Linux command ls.
ls --help
Display usage, options, and built-in help for the Linux command cd.
cd --help
Display usage, options, and built-in help for the Linux command pwd.
pwd --help
Display usage, options, and built-in help for the Linux command cp.
cp --help
Display usage, options, and built-in help for the Linux command mv.
mv --help
Display usage, options, and built-in help for the Linux command rm.
rm --help
Display usage, options, and built-in help for the Linux command mkdir.
mkdir --help
Display usage, options, and built-in help for the Linux command touch.
touch --help
Display usage, options, and built-in help for the Linux command cat.
cat --help
Display usage, options, and built-in help for the Linux command less.
less --help
Display usage, options, and built-in help for the Linux command head.
head --help
Display usage, options, and built-in help for the Linux command tail.
tail --help
Display usage, options, and built-in help for the Linux command grep.
grep --help
Display usage, options, and built-in help for the Linux command find.
find --help
Display usage, options, and built-in help for the Linux command locate.
locate --help
Display usage, options, and built-in help for the Linux command which.
which --help
Display usage, options, and built-in help for the Linux command whereis.
whereis --help
Display usage, options, and built-in help for the Linux command chmod.
chmod --help
Display usage, options, and built-in help for the Linux command chown.
chown --help
Display usage, options, and built-in help for the Linux command ln.
ln --help
Display usage, options, and built-in help for the Linux command df.
df --help
Display usage, options, and built-in help for the Linux command du.
du --help
Display usage, options, and built-in help for the Linux command free.
free --help
Display usage, options, and built-in help for the Linux command uptime.
uptime --help
Display usage, options, and built-in help for the Linux command top.
top --help
Display usage, options, and built-in help for the Linux command ps.
ps --help
Display usage, options, and built-in help for the Linux command kill.
kill --help
Display usage, options, and built-in help for the Linux command pkill.
pkill --help
Display usage, options, and built-in help for the Linux command nice.
nice --help
Display usage, options, and built-in help for the Linux command renice.
renice --help
Display usage, options, and built-in help for the Linux command systemctl status.
systemctl --help
Display usage, options, and built-in help for the Linux command systemctl start.
systemctl --help
Display usage, options, and built-in help for the Linux command systemctl stop.
systemctl --help
Display usage, options, and built-in help for the Linux command systemctl restart.
systemctl --help
Display usage, options, and built-in help for the Linux command systemctl enable.
systemctl --help
Display usage, options, and built-in help for the Linux command journalctl.
journalctl --help
Display usage, options, and built-in help for the Linux command dmesg.
dmesg --help
Display usage, options, and built-in help for the Linux command ip addr.
ip --help
Display usage, options, and built-in help for the Linux command ip route.
ip --help
Display usage, options, and built-in help for the Linux command ip neigh.
ip --help
Display usage, options, and built-in help for the Linux command ss.
ss --help
Display usage, options, and built-in help for the Linux command ping.
ping --help
Display usage, options, and built-in help for the Linux command traceroute.
traceroute --help
Display usage, options, and built-in help for the Linux command dig.
dig --help
Display usage, options, and built-in help for the Linux command host.
host --help
Display usage, options, and built-in help for the Linux command curl.
curl --help
Display usage, options, and built-in help for the Linux command wget.
wget --help
Display usage, options, and built-in help for the Linux command ssh.
ssh --help
Display usage, options, and built-in help for the Linux command scp.
scp --help
Display usage, options, and built-in help for the Linux command rsync.
rsync --help
Display usage, options, and built-in help for the Linux command tar.
tar --help
Display usage, options, and built-in help for the Linux command gzip.
gzip --help
Display usage, options, and built-in help for the Linux command unzip.
unzip --help
Display usage, options, and built-in help for the Linux command sed.
sed --help
Display usage, options, and built-in help for the Linux command awk.
awk --help
Display usage, options, and built-in help for the Linux command cut.
cut --help
Display usage, options, and built-in help for the Linux command sort.
sort --help
Display usage, options, and built-in help for the Linux command uniq.
sort --help
Display usage, options, and built-in help for the Linux command wc.
wc --help
Display usage, options, and built-in help for the Linux command xargs.
find --help
Display usage, options, and built-in help for the Linux command tee.
echo --help
Display usage, options, and built-in help for the Linux command env.
env --help
Display usage, options, and built-in help for the Linux command export.
export --help
Display usage, options, and built-in help for the Linux command crontab.
crontab --help
Display usage, options, and built-in help for the Linux command apt update.
apt --help
Display usage, options, and built-in help for the Linux command apt upgrade.
apt --help
Display usage, options, and built-in help for the Linux command dnf update.
dnf --help
Display usage, options, and built-in help for the Linux command rpm query.
rpm --help
Display usage, options, and built-in help for the Linux command dpkg query.
dpkg --help
Display usage, options, and built-in help for the Linux command uname.
uname --help
Display usage, options, and built-in help for the Linux command hostnamectl.
hostnamectl --help
Display usage, options, and built-in help for the Linux command timedatectl.
timedatectl --help
Display usage, options, and built-in help for the Linux command lsblk.
lsblk --help
Display usage, options, and built-in help for the Linux command mount.
mount --help
Display usage, options, and built-in help for the Linux command fdisk.
fdisk --help
Display usage, options, and built-in help for the Linux command lsof.
lsof --help
Display usage, options, and built-in help for the Linux command openssl s_client.
openssl --help
Display usage, options, and built-in help for the Linux command openssl x509.
openssl --help
Display usage, options, and built-in help for the Linux command sha256sum.
sha256sum --help
Display usage, options, and built-in help for the Linux command ls — Basic Usage.
ls --help
Display usage, options, and built-in help for the Linux command cd — Basic Usage.
cd --help
Display usage, options, and built-in help for the Linux command pwd — Basic Usage.
pwd --help
Display usage, options, and built-in help for the Linux command cp — Basic Usage.
cp --help
Display usage, options, and built-in help for the Linux command mv — Basic Usage.
mv --help
Display usage, options, and built-in help for the Linux command rm — Basic Usage.
rm --help
Display usage, options, and built-in help for the Linux command mkdir — Basic Usage.
mkdir --help
Display usage, options, and built-in help for the Linux command touch — Basic Usage.
touch --help
Display usage, options, and built-in help for the Linux command cat — Basic Usage.
cat --help
Display usage, options, and built-in help for the Linux command less — Basic Usage.
less --help
Display usage, options, and built-in help for the Linux command head — Basic Usage.
head --help
Display usage, options, and built-in help for the Linux command tail — Basic Usage.
tail --help
Display usage, options, and built-in help for the Linux command grep — Basic Usage.
grep --help
Display usage, options, and built-in help for the Linux command find — Basic Usage.
find --help
Display usage, options, and built-in help for the Linux command locate — Basic Usage.
locate --help
Display usage, options, and built-in help for the Linux command which — Basic Usage.
which --help
Display usage, options, and built-in help for the Linux command whereis — Basic Usage.
whereis --help
Display usage, options, and built-in help for the Linux command chmod — Basic Usage.
chmod --help
Display usage, options, and built-in help for the Linux command chown — Basic Usage.
chown --help
Display usage, options, and built-in help for the Linux command ln — Basic Usage.
ln --help
Display usage, options, and built-in help for the Linux command df — Basic Usage.
df --help
Display usage, options, and built-in help for the Linux command du — Basic Usage.
du --help
Display usage, options, and built-in help for the Linux command free — Basic Usage.
free --help
Display usage, options, and built-in help for the Linux command uptime — Basic Usage.
uptime --help
Display usage, options, and built-in help for the Linux command top — Basic Usage.
top --help
Display usage, options, and built-in help for the Linux command ps — Basic Usage.
ps --help
Display usage, options, and built-in help for the Linux command kill — Basic Usage.
kill --help
Display usage, options, and built-in help for the Linux command pkill — Basic Usage.
pkill --help
Display usage, options, and built-in help for the Linux command nice — Basic Usage.
nice --help
Display usage, options, and built-in help for the Linux command renice — Basic Usage.
renice --help
Display usage, options, and built-in help for the Linux command systemctl status — Basic Usage.
systemctl --help
Display usage, options, and built-in help for the Linux command systemctl start — Basic Usage.
systemctl --help
Display usage, options, and built-in help for the Linux command systemctl stop — Basic Usage.
systemctl --help
Display usage, options, and built-in help for the Linux command systemctl restart — Basic Usage.
systemctl --help
Display usage, options, and built-in help for the Linux command systemctl enable — Basic Usage.
systemctl --help
Display usage, options, and built-in help for the Linux command journalctl — Basic Usage.
journalctl --help
Display usage, options, and built-in help for the Linux command dmesg — Basic Usage.
dmesg --help
Display usage, options, and built-in help for the Linux command ip addr — Basic Usage.
ip --help
Display usage, options, and built-in help for the Linux command ip route — Basic Usage.
ip --help
Display usage, options, and built-in help for the Linux command ip neigh — Basic Usage.
ip --help
Display usage, options, and built-in help for the Linux command ss — Basic Usage.
ss --help
Display usage, options, and built-in help for the Linux command ping — Basic Usage.
ping --help
Display usage, options, and built-in help for the Linux command traceroute — Basic Usage.
traceroute --help
Display usage, options, and built-in help for the Linux command dig — Basic Usage.
dig --help
Display usage, options, and built-in help for the Linux command host — Basic Usage.
host --help
Display usage, options, and built-in help for the Linux command curl — Basic Usage.
curl --help
Display usage, options, and built-in help for the Linux command wget — Basic Usage.
wget --help
Display usage, options, and built-in help for the Linux command ssh — Basic Usage.
ssh --help
Display usage, options, and built-in help for the Linux command scp — Basic Usage.
scp --help
Display usage, options, and built-in help for the Linux command rsync — Basic Usage.
rsync --help
Display usage, options, and built-in help for the Linux command tar — Basic Usage.
tar --help
Display usage, options, and built-in help for the Linux command gzip — Basic Usage.
gzip --help
Display usage, options, and built-in help for the Linux command unzip — Basic Usage.
unzip --help
Display usage, options, and built-in help for the Linux command sed — Basic Usage.
sed --help
Display usage, options, and built-in help for the Linux command awk — Basic Usage.
awk --help
Display usage, options, and built-in help for the Linux command cut — Basic Usage.
cut --help
Display usage, options, and built-in help for the Linux command sort — Basic Usage.
sort --help
Display usage, options, and built-in help for the Linux command uniq — Basic Usage.
sort --help
Display usage, options, and built-in help for the Linux command wc — Basic Usage.
wc --help
Display usage, options, and built-in help for the Linux command xargs — Basic Usage.
find --help
Display usage, options, and built-in help for the Linux command tee — Basic Usage.
echo --help
Display usage, options, and built-in help for the Linux command env — Basic Usage.
env --help
Display usage, options, and built-in help for the Linux command export — Basic Usage.
export --help
Display usage, options, and built-in help for the Linux command crontab — Basic Usage.
crontab --help
Display usage, options, and built-in help for the Linux command apt update — Basic Usage.
apt --help
Display usage, options, and built-in help for the Linux command apt upgrade — Basic Usage.
apt --help
Display usage, options, and built-in help for the Linux command dnf update — Basic Usage.
dnf --help
Display usage, options, and built-in help for the Linux command rpm query — Basic Usage.
rpm --help
Display usage, options, and built-in help for the Linux command dpkg query — Basic Usage.
dpkg --help
Display usage, options, and built-in help for the Linux command uname — Basic Usage.
uname --help
Display usage, options, and built-in help for the Linux command hostnamectl — Basic Usage.
hostnamectl --help
Display usage, options, and built-in help for the Linux command timedatectl — Basic Usage.
timedatectl --help
Display usage, options, and built-in help for the Linux command lsblk — Basic Usage.
lsblk --help
Display usage, options, and built-in help for the Linux command mount — Basic Usage.
mount --help
Display usage, options, and built-in help for the Linux command fdisk — Basic Usage.
fdisk --help
Display usage, options, and built-in help for the Linux command lsof — Basic Usage.
lsof --help
Display usage, options, and built-in help for the Linux command openssl s_client — Basic Usage.
openssl --help
Display usage, options, and built-in help for the Linux command openssl x509 — Basic Usage.
openssl --help
Display usage, options, and built-in help for the Linux command sha256sum — Basic Usage.
sha256sum --help
Display usage, options, and built-in help for the Linux command ls — Export Results.
ls --help
Display usage, options, and built-in help for the Linux command cd — Export Results.
cd --help
Display usage, options, and built-in help for the Linux command pwd — Export Results.
pwd --help
Display usage, options, and built-in help for the Linux command cp — Export Results.
cp --help
Display usage, options, and built-in help for the Linux command mv — Export Results.
mv --help
Display usage, options, and built-in help for the Linux command rm — Export Results.
rm --help
Display usage, options, and built-in help for the Linux command mkdir — Export Results.
mkdir --help
Display usage, options, and built-in help for the Linux command touch — Export Results.
touch --help
Display usage, options, and built-in help for the Linux command cat — Export Results.
cat --help
Display usage, options, and built-in help for the Linux command less — Export Results.
less --help
Display usage, options, and built-in help for the Linux command head — Export Results.
head --help
Display usage, options, and built-in help for the Linux command tail — Export Results.
tail --help
Display usage, options, and built-in help for the Linux command grep — Export Results.
grep --help
Display usage, options, and built-in help for the Linux command find — Export Results.
find --help
Display usage, options, and built-in help for the Linux command locate — Export Results.
locate --help
Display usage, options, and built-in help for the Linux command which — Export Results.
which --help
Display usage, options, and built-in help for the Linux command whereis — Export Results.
whereis --help
Display usage, options, and built-in help for the Linux command chmod — Export Results.
chmod --help
Display usage, options, and built-in help for the Linux command chown — Export Results.
chown --help
Display usage, options, and built-in help for the Linux command ln — Export Results.
ln --help
Display usage, options, and built-in help for the Linux command df — Export Results.
df --help
Display usage, options, and built-in help for the Linux command du — Export Results.
du --help
Display usage, options, and built-in help for the Linux command free — Export Results.
free --help
Display usage, options, and built-in help for the Linux command uptime — Export Results.
uptime --help
Display usage, options, and built-in help for the Linux command top — Export Results.
top --help
Display usage, options, and built-in help for the Linux command ps — Export Results.
ps --help
Display usage, options, and built-in help for the Linux command kill — Export Results.
kill --help
Display usage, options, and built-in help for the Linux command pkill — Export Results.
pkill --help
Display usage, options, and built-in help for the Linux command nice — Export Results.
nice --help
Display usage, options, and built-in help for the Linux command renice — Export Results.
renice --help
Display usage, options, and built-in help for the Linux command systemctl status — Export Results.
systemctl --help
Display usage, options, and built-in help for the Linux command systemctl start — Export Results.
systemctl --help
Display usage, options, and built-in help for the Linux command systemctl stop — Export Results.
systemctl --help
Display usage, options, and built-in help for the Linux command systemctl restart — Export Results.
systemctl --help
Display usage, options, and built-in help for the Linux command systemctl enable — Export Results.
systemctl --help
Display usage, options, and built-in help for the Linux command journalctl — Export Results.
journalctl --help
Display usage, options, and built-in help for the Linux command dmesg — Export Results.
dmesg --help
Display usage, options, and built-in help for the Linux command ip addr — Export Results.
ip --help
Display usage, options, and built-in help for the Linux command ip route — Export Results.
ip --help
Display usage, options, and built-in help for the Linux command ip neigh — Export Results.
ip --help
Display usage, options, and built-in help for the Linux command ss — Export Results.
ss --help
Display usage, options, and built-in help for the Linux command ping — Export Results.
ping --help
Display usage, options, and built-in help for the Linux command traceroute — Export Results.
traceroute --help
Display usage, options, and built-in help for the Linux command dig — Export Results.
dig --help
Display usage, options, and built-in help for the Linux command host — Export Results.
host --help
Display usage, options, and built-in help for the Linux command curl — Export Results.
curl --help
Display usage, options, and built-in help for the Linux command wget — Export Results.
wget --help
Display usage, options, and built-in help for the Linux command ssh — Export Results.
ssh --help
Display usage, options, and built-in help for the Linux command scp — Export Results.
scp --help
Display usage, options, and built-in help for the Linux command rsync — Export Results.
rsync --help
Display usage, options, and built-in help for the Linux command tar — Export Results.
tar --help
Display usage, options, and built-in help for the Linux command gzip — Export Results.
gzip --help
Display usage, options, and built-in help for the Linux command unzip — Export Results.
unzip --help
Display usage, options, and built-in help for the Linux command sed — Export Results.
sed --help
Display usage, options, and built-in help for the Linux command awk — Export Results.
awk --help
Display usage, options, and built-in help for the Linux command cut — Export Results.
cut --help
Display usage, options, and built-in help for the Linux command sort — Export Results.
sort --help
Display usage, options, and built-in help for the Linux command uniq — Export Results.
sort --help
Display usage, options, and built-in help for the Linux command wc — Export Results.
wc --help
Display usage, options, and built-in help for the Linux command xargs — Export Results.
find --help
Display usage, options, and built-in help for the Linux command tee — Export Results.
echo --help
Display usage, options, and built-in help for the Linux command env — Export Results.
env --help
Display usage, options, and built-in help for the Linux command export — Export Results.
export --help
Display usage, options, and built-in help for the Linux command crontab — Export Results.
crontab --help
Display usage, options, and built-in help for the Linux command apt update — Export Results.
apt --help
Display usage, options, and built-in help for the Linux command apt upgrade — Export Results.
apt --help
Display usage, options, and built-in help for the Linux command dnf update — Export Results.
dnf --help
Display usage, options, and built-in help for the Linux command rpm query — Export Results.
rpm --help
Display usage, options, and built-in help for the Linux command dpkg query — Export Results.
dpkg --help
Display usage, options, and built-in help for the Linux command uname — Export Results.
uname --help
Display usage, options, and built-in help for the Linux command hostnamectl — Export Results.
hostnamectl --help
Display usage, options, and built-in help for the Linux command timedatectl — Export Results.
timedatectl --help
Save standard output and errors to a text file. Base task: List files with permissions and sizes.
ls -lah /var/log > command-results.txt 2>&1
Display output while saving it to a file. Base task: List files with permissions and sizes.
ls -lah /var/log 2>&1 | tee command-results.txt
Measure the command execution time. Base task: List files with permissions and sizes.
time ls -lah /var/log
Repeat the command every five seconds for monitoring. Base task: List files with permissions and sizes.
watch -n 5 'ls -lah /var/log'
Print a timestamp immediately before running the command. Base task: List files with permissions and sizes.
date --iso-8601=seconds; ls -lah /var/log
Run the command in the background and log its output. Base task: List files with permissions and sizes.
nohup sh -c 'ls -lah /var/log' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Change the current directory.
cd /var/log > command-results.txt 2>&1
Display output while saving it to a file. Base task: Change the current directory.
cd /var/log 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Change the current directory.
time cd /var/log
Repeat the command every five seconds for monitoring. Base task: Change the current directory.
watch -n 5 'cd /var/log'
Print a timestamp immediately before running the command. Base task: Change the current directory.
date --iso-8601=seconds; cd /var/log
Run the command in the background and log its output. Base task: Change the current directory.
nohup sh -c 'cd /var/log' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Print the current working directory.
pwd > command-results.txt 2>&1
Display output while saving it to a file. Base task: Print the current working directory.
pwd 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Print the current working directory.
time pwd
Repeat the command every five seconds for monitoring. Base task: Print the current working directory.
watch -n 5 'pwd'
Print a timestamp immediately before running the command. Base task: Print the current working directory.
date --iso-8601=seconds; pwd
Run the command in the background and log its output. Base task: Print the current working directory.
nohup sh -c 'pwd' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Copy files while preserving attributes.
cp -a /source/. /backup/ > command-results.txt 2>&1
Display output while saving it to a file. Base task: Copy files while preserving attributes.
cp -a /source/. /backup/ 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Copy files while preserving attributes.
time cp -a /source/. /backup/
Repeat the command every five seconds for monitoring. Base task: Copy files while preserving attributes.
watch -n 5 'cp -a /source/. /backup/'
Print a timestamp immediately before running the command. Base task: Copy files while preserving attributes.
date --iso-8601=seconds; cp -a /source/. /backup/
Run the command in the background and log its output. Base task: Copy files while preserving attributes.
nohup sh -c 'cp -a /source/. /backup/' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Move or rename a file.
mv old.log archive/ > command-results.txt 2>&1
Display output while saving it to a file. Base task: Move or rename a file.
mv old.log archive/ 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Move or rename a file.
time mv old.log archive/
Repeat the command every five seconds for monitoring. Base task: Move or rename a file.
watch -n 5 'mv old.log archive/'
Print a timestamp immediately before running the command. Base task: Move or rename a file.
date --iso-8601=seconds; mv old.log archive/
Run the command in the background and log its output. Base task: Move or rename a file.
nohup sh -c 'mv old.log archive/' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Remove a file interactively.
rm -i old.log > command-results.txt 2>&1
Display output while saving it to a file. Base task: Remove a file interactively.
rm -i old.log 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Remove a file interactively.
time rm -i old.log
Repeat the command every five seconds for monitoring. Base task: Remove a file interactively.
watch -n 5 'rm -i old.log'
Print a timestamp immediately before running the command. Base task: Remove a file interactively.
date --iso-8601=seconds; rm -i old.log
Run the command in the background and log its output. Base task: Remove a file interactively.
nohup sh -c 'rm -i old.log' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Create nested directories.
mkdir -p /opt/app/logs > command-results.txt 2>&1
Display output while saving it to a file. Base task: Create nested directories.
mkdir -p /opt/app/logs 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Create nested directories.
time mkdir -p /opt/app/logs
Repeat the command every five seconds for monitoring. Base task: Create nested directories.
watch -n 5 'mkdir -p /opt/app/logs'
Print a timestamp immediately before running the command. Base task: Create nested directories.
date --iso-8601=seconds; mkdir -p /opt/app/logs
Run the command in the background and log its output. Base task: Create nested directories.
nohup sh -c 'mkdir -p /opt/app/logs' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Create an empty file or update its timestamp.
touch /tmp/healthcheck.txt > command-results.txt 2>&1
Display output while saving it to a file. Base task: Create an empty file or update its timestamp.
touch /tmp/healthcheck.txt 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Create an empty file or update its timestamp.
time touch /tmp/healthcheck.txt
Repeat the command every five seconds for monitoring. Base task: Create an empty file or update its timestamp.
watch -n 5 'touch /tmp/healthcheck.txt'
Print a timestamp immediately before running the command. Base task: Create an empty file or update its timestamp.
date --iso-8601=seconds; touch /tmp/healthcheck.txt
Run the command in the background and log its output. Base task: Create an empty file or update its timestamp.
nohup sh -c 'touch /tmp/healthcheck.txt' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Display file contents.
cat /etc/os-release > command-results.txt 2>&1
Display output while saving it to a file. Base task: Display file contents.
cat /etc/os-release 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Display file contents.
time cat /etc/os-release
Repeat the command every five seconds for monitoring. Base task: Display file contents.
watch -n 5 'cat /etc/os-release'
Print a timestamp immediately before running the command. Base task: Display file contents.
date --iso-8601=seconds; cat /etc/os-release
Run the command in the background and log its output. Base task: Display file contents.
nohup sh -c 'cat /etc/os-release' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: View a text file interactively.
less /var/log/syslog > command-results.txt 2>&1
Display output while saving it to a file. Base task: View a text file interactively.
less /var/log/syslog 2>&1 | tee command-results.txt
Measure the command execution time. Base task: View a text file interactively.
time less /var/log/syslog
Repeat the command every five seconds for monitoring. Base task: View a text file interactively.
watch -n 5 'less /var/log/syslog'
Print a timestamp immediately before running the command. Base task: View a text file interactively.
date --iso-8601=seconds; less /var/log/syslog
Run the command in the background and log its output. Base task: View a text file interactively.
nohup sh -c 'less /var/log/syslog' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Display the first lines of a file.
head -n 20 /var/log/syslog > command-results.txt 2>&1
Display output while saving it to a file. Base task: Display the first lines of a file.
head -n 20 /var/log/syslog 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Display the first lines of a file.
time head -n 20 /var/log/syslog
Repeat the command every five seconds for monitoring. Base task: Display the first lines of a file.
watch -n 5 'head -n 20 /var/log/syslog'
Print a timestamp immediately before running the command. Base task: Display the first lines of a file.
date --iso-8601=seconds; head -n 20 /var/log/syslog
Run the command in the background and log its output. Base task: Display the first lines of a file.
nohup sh -c 'head -n 20 /var/log/syslog' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Follow new lines appended to a log.
tail -f /var/log/syslog > command-results.txt 2>&1
Display output while saving it to a file. Base task: Follow new lines appended to a log.
tail -f /var/log/syslog 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Follow new lines appended to a log.
time tail -f /var/log/syslog
Repeat the command every five seconds for monitoring. Base task: Follow new lines appended to a log.
watch -n 5 'tail -f /var/log/syslog'
Print a timestamp immediately before running the command. Base task: Follow new lines appended to a log.
date --iso-8601=seconds; tail -f /var/log/syslog
Run the command in the background and log its output. Base task: Follow new lines appended to a log.
nohup sh -c 'tail -f /var/log/syslog' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Search recursively for text.
grep -Rni "error" /var/log/app > command-results.txt 2>&1
Display output while saving it to a file. Base task: Search recursively for text.
grep -Rni "error" /var/log/app 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Search recursively for text.
time grep -Rni "error" /var/log/app
Repeat the command every five seconds for monitoring. Base task: Search recursively for text.
watch -n 5 'grep -Rni "error" /var/log/app'
Print a timestamp immediately before running the command. Base task: Search recursively for text.
date --iso-8601=seconds; grep -Rni "error" /var/log/app
Run the command in the background and log its output. Base task: Search recursively for text.
nohup sh -c 'grep -Rni "error" /var/log/app' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Find files modified within the last day.
find /var/log -type f -mtime -1 > command-results.txt 2>&1
Display output while saving it to a file. Base task: Find files modified within the last day.
find /var/log -type f -mtime -1 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Find files modified within the last day.
time find /var/log -type f -mtime -1
Repeat the command every five seconds for monitoring. Base task: Find files modified within the last day.
watch -n 5 'find /var/log -type f -mtime -1'
Print a timestamp immediately before running the command. Base task: Find files modified within the last day.
date --iso-8601=seconds; find /var/log -type f -mtime -1
Run the command in the background and log its output. Base task: Find files modified within the last day.
nohup sh -c 'find /var/log -type f -mtime -1' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Find files using the locate database.
locate sshd_config > command-results.txt 2>&1
Display output while saving it to a file. Base task: Find files using the locate database.
locate sshd_config 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Find files using the locate database.
time locate sshd_config
Repeat the command every five seconds for monitoring. Base task: Find files using the locate database.
watch -n 5 'locate sshd_config'
Print a timestamp immediately before running the command. Base task: Find files using the locate database.
date --iso-8601=seconds; locate sshd_config
Run the command in the background and log its output. Base task: Find files using the locate database.
nohup sh -c 'locate sshd_config' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Show the executable resolved by the shell.
which python3 > command-results.txt 2>&1
Display output while saving it to a file. Base task: Show the executable resolved by the shell.
which python3 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Show the executable resolved by the shell.
time which python3
Repeat the command every five seconds for monitoring. Base task: Show the executable resolved by the shell.
watch -n 5 'which python3'
Print a timestamp immediately before running the command. Base task: Show the executable resolved by the shell.
date --iso-8601=seconds; which python3
Run the command in the background and log its output. Base task: Show the executable resolved by the shell.
nohup sh -c 'which python3' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Locate binary, source, and manual paths.
whereis nginx > command-results.txt 2>&1
Display output while saving it to a file. Base task: Locate binary, source, and manual paths.
whereis nginx 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Locate binary, source, and manual paths.
time whereis nginx
Repeat the command every five seconds for monitoring. Base task: Locate binary, source, and manual paths.
watch -n 5 'whereis nginx'
Print a timestamp immediately before running the command. Base task: Locate binary, source, and manual paths.
date --iso-8601=seconds; whereis nginx
Run the command in the background and log its output. Base task: Locate binary, source, and manual paths.
nohup sh -c 'whereis nginx' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Change file permissions.
chmod 640 /etc/app.conf > command-results.txt 2>&1
Display output while saving it to a file. Base task: Change file permissions.
chmod 640 /etc/app.conf 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Change file permissions.
time chmod 640 /etc/app.conf
Repeat the command every five seconds for monitoring. Base task: Change file permissions.
watch -n 5 'chmod 640 /etc/app.conf'
Print a timestamp immediately before running the command. Base task: Change file permissions.
date --iso-8601=seconds; chmod 640 /etc/app.conf
Run the command in the background and log its output. Base task: Change file permissions.
nohup sh -c 'chmod 640 /etc/app.conf' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Change file ownership.
chown root:app /etc/app.conf > command-results.txt 2>&1
Display output while saving it to a file. Base task: Change file ownership.
chown root:app /etc/app.conf 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Change file ownership.
time chown root:app /etc/app.conf
Repeat the command every five seconds for monitoring. Base task: Change file ownership.
watch -n 5 'chown root:app /etc/app.conf'
Print a timestamp immediately before running the command. Base task: Change file ownership.
date --iso-8601=seconds; chown root:app /etc/app.conf
Run the command in the background and log its output. Base task: Change file ownership.
nohup sh -c 'chown root:app /etc/app.conf' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Create a symbolic link.
ln -s /opt/app/current /var/www/app > command-results.txt 2>&1
Display output while saving it to a file. Base task: Create a symbolic link.
ln -s /opt/app/current /var/www/app 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Create a symbolic link.
time ln -s /opt/app/current /var/www/app
Repeat the command every five seconds for monitoring. Base task: Create a symbolic link.
watch -n 5 'ln -s /opt/app/current /var/www/app'
Print a timestamp immediately before running the command. Base task: Create a symbolic link.
date --iso-8601=seconds; ln -s /opt/app/current /var/www/app
Run the command in the background and log its output. Base task: Create a symbolic link.
nohup sh -c 'ln -s /opt/app/current /var/www/app' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Display filesystem usage.
df -hT > command-results.txt 2>&1
Display output while saving it to a file. Base task: Display filesystem usage.
df -hT 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Display filesystem usage.
time df -hT
Repeat the command every five seconds for monitoring. Base task: Display filesystem usage.
watch -n 5 'df -hT'
Print a timestamp immediately before running the command. Base task: Display filesystem usage.
date --iso-8601=seconds; df -hT
Run the command in the background and log its output. Base task: Display filesystem usage.
nohup sh -c 'df -hT' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Display directory sizes.
du -sh /var/log/* | sort -h > command-results.txt 2>&1
Display output while saving it to a file. Base task: Display directory sizes.
du -sh /var/log/* | sort -h 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Display directory sizes.
time du -sh /var/log/* | sort -h
Repeat the command every five seconds for monitoring. Base task: Display directory sizes.
watch -n 5 'du -sh /var/log/* | sort -h'
Print a timestamp immediately before running the command. Base task: Display directory sizes.
date --iso-8601=seconds; du -sh /var/log/* | sort -h
Run the command in the background and log its output. Base task: Display directory sizes.
nohup sh -c 'du -sh /var/log/* | sort -h' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Display memory usage.
free -h > command-results.txt 2>&1
Display output while saving it to a file. Base task: Display memory usage.
free -h 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Display memory usage.
time free -h
Repeat the command every five seconds for monitoring. Base task: Display memory usage.
watch -n 5 'free -h'
Print a timestamp immediately before running the command. Base task: Display memory usage.
date --iso-8601=seconds; free -h
Run the command in the background and log its output. Base task: Display memory usage.
nohup sh -c 'free -h' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Display uptime and load averages.
uptime > command-results.txt 2>&1
Display output while saving it to a file. Base task: Display uptime and load averages.
uptime 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Display uptime and load averages.
time uptime
Repeat the command every five seconds for monitoring. Base task: Display uptime and load averages.
watch -n 5 'uptime'
Print a timestamp immediately before running the command. Base task: Display uptime and load averages.
date --iso-8601=seconds; uptime
Run the command in the background and log its output. Base task: Display uptime and load averages.
nohup sh -c 'uptime' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Display real-time process activity.
top > command-results.txt 2>&1
Display output while saving it to a file. Base task: Display real-time process activity.
top 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Display real-time process activity.
time top
Repeat the command every five seconds for monitoring. Base task: Display real-time process activity.
watch -n 5 'top'
Print a timestamp immediately before running the command. Base task: Display real-time process activity.
date --iso-8601=seconds; top
Run the command in the background and log its output. Base task: Display real-time process activity.
nohup sh -c 'top' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: List processes sorted by memory use.
ps aux --sort=-%mem | head > command-results.txt 2>&1
Display output while saving it to a file. Base task: List processes sorted by memory use.
ps aux --sort=-%mem | head 2>&1 | tee command-results.txt
Measure the command execution time. Base task: List processes sorted by memory use.
time ps aux --sort=-%mem | head
Repeat the command every five seconds for monitoring. Base task: List processes sorted by memory use.
watch -n 5 'ps aux --sort=-%mem | head'
Print a timestamp immediately before running the command. Base task: List processes sorted by memory use.
date --iso-8601=seconds; ps aux --sort=-%mem | head
Run the command in the background and log its output. Base task: List processes sorted by memory use.
nohup sh -c 'ps aux --sort=-%mem | head' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Send a termination signal to a process.
kill -TERM 1234 > command-results.txt 2>&1
Display output while saving it to a file. Base task: Send a termination signal to a process.
kill -TERM 1234 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Send a termination signal to a process.
time kill -TERM 1234
Repeat the command every five seconds for monitoring. Base task: Send a termination signal to a process.
watch -n 5 'kill -TERM 1234'
Print a timestamp immediately before running the command. Base task: Send a termination signal to a process.
date --iso-8601=seconds; kill -TERM 1234
Run the command in the background and log its output. Base task: Send a termination signal to a process.
nohup sh -c 'kill -TERM 1234' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Signal processes matching a pattern.
pkill -f app-worker > command-results.txt 2>&1
Display output while saving it to a file. Base task: Signal processes matching a pattern.
pkill -f app-worker 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Signal processes matching a pattern.
time pkill -f app-worker
Repeat the command every five seconds for monitoring. Base task: Signal processes matching a pattern.
watch -n 5 'pkill -f app-worker'
Print a timestamp immediately before running the command. Base task: Signal processes matching a pattern.
date --iso-8601=seconds; pkill -f app-worker
Run the command in the background and log its output. Base task: Signal processes matching a pattern.
nohup sh -c 'pkill -f app-worker' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Start a process with adjusted priority.
nice -n 10 long-running-command > command-results.txt 2>&1
Display output while saving it to a file. Base task: Start a process with adjusted priority.
nice -n 10 long-running-command 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Start a process with adjusted priority.
time nice -n 10 long-running-command
Repeat the command every five seconds for monitoring. Base task: Start a process with adjusted priority.
watch -n 5 'nice -n 10 long-running-command'
Print a timestamp immediately before running the command. Base task: Start a process with adjusted priority.
date --iso-8601=seconds; nice -n 10 long-running-command
Run the command in the background and log its output. Base task: Start a process with adjusted priority.
nohup sh -c 'nice -n 10 long-running-command' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Change the priority of a running process.
renice 5 -p 1234 > command-results.txt 2>&1
Display output while saving it to a file. Base task: Change the priority of a running process.
renice 5 -p 1234 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Change the priority of a running process.
time renice 5 -p 1234
Repeat the command every five seconds for monitoring. Base task: Change the priority of a running process.
watch -n 5 'renice 5 -p 1234'
Print a timestamp immediately before running the command. Base task: Change the priority of a running process.
date --iso-8601=seconds; renice 5 -p 1234
Run the command in the background and log its output. Base task: Change the priority of a running process.
nohup sh -c 'renice 5 -p 1234' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Display a systemd service status.
systemctl status nginx > command-results.txt 2>&1
Display output while saving it to a file. Base task: Display a systemd service status.
systemctl status nginx 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Display a systemd service status.
time systemctl status nginx
Repeat the command every five seconds for monitoring. Base task: Display a systemd service status.
watch -n 5 'systemctl status nginx'
Print a timestamp immediately before running the command. Base task: Display a systemd service status.
date --iso-8601=seconds; systemctl status nginx
Run the command in the background and log its output. Base task: Display a systemd service status.
nohup sh -c 'systemctl status nginx' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Start a systemd service.
sudo systemctl start nginx > command-results.txt 2>&1
Display output while saving it to a file. Base task: Start a systemd service.
sudo systemctl start nginx 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Start a systemd service.
time sudo systemctl start nginx
Repeat the command every five seconds for monitoring. Base task: Start a systemd service.
watch -n 5 'sudo systemctl start nginx'
Print a timestamp immediately before running the command. Base task: Start a systemd service.
date --iso-8601=seconds; sudo systemctl start nginx
Run the command in the background and log its output. Base task: Start a systemd service.
nohup sh -c 'sudo systemctl start nginx' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Stop a systemd service.
sudo systemctl stop nginx > command-results.txt 2>&1
Display output while saving it to a file. Base task: Stop a systemd service.
sudo systemctl stop nginx 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Stop a systemd service.
time sudo systemctl stop nginx
Repeat the command every five seconds for monitoring. Base task: Stop a systemd service.
watch -n 5 'sudo systemctl stop nginx'
Print a timestamp immediately before running the command. Base task: Stop a systemd service.
date --iso-8601=seconds; sudo systemctl stop nginx
Run the command in the background and log its output. Base task: Stop a systemd service.
nohup sh -c 'sudo systemctl stop nginx' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Restart a systemd service.
sudo systemctl restart nginx > command-results.txt 2>&1
Display output while saving it to a file. Base task: Restart a systemd service.
sudo systemctl restart nginx 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Restart a systemd service.
time sudo systemctl restart nginx
Repeat the command every five seconds for monitoring. Base task: Restart a systemd service.
watch -n 5 'sudo systemctl restart nginx'
Print a timestamp immediately before running the command. Base task: Restart a systemd service.
date --iso-8601=seconds; sudo systemctl restart nginx
Run the command in the background and log its output. Base task: Restart a systemd service.
nohup sh -c 'sudo systemctl restart nginx' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Enable and start a service.
sudo systemctl enable --now nginx > command-results.txt 2>&1
Display output while saving it to a file. Base task: Enable and start a service.
sudo systemctl enable --now nginx 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Enable and start a service.
time sudo systemctl enable --now nginx
Repeat the command every five seconds for monitoring. Base task: Enable and start a service.
watch -n 5 'sudo systemctl enable --now nginx'
Print a timestamp immediately before running the command. Base task: Enable and start a service.
date --iso-8601=seconds; sudo systemctl enable --now nginx
Run the command in the background and log its output. Base task: Enable and start a service.
nohup sh -c 'sudo systemctl enable --now nginx' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Query systemd journal logs.
journalctl -u nginx --since "1 hour ago" > command-results.txt 2>&1
Display output while saving it to a file. Base task: Query systemd journal logs.
journalctl -u nginx --since "1 hour ago" 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Query systemd journal logs.
time journalctl -u nginx --since "1 hour ago"
Repeat the command every five seconds for monitoring. Base task: Query systemd journal logs.
watch -n 5 'journalctl -u nginx --since "1 hour ago"'
Print a timestamp immediately before running the command. Base task: Query systemd journal logs.
date --iso-8601=seconds; journalctl -u nginx --since "1 hour ago"
Run the command in the background and log its output. Base task: Query systemd journal logs.
nohup sh -c 'journalctl -u nginx --since "1 hour ago"' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Display kernel warnings and errors.
dmesg --level=err,warn > command-results.txt 2>&1
Display output while saving it to a file. Base task: Display kernel warnings and errors.
dmesg --level=err,warn 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Display kernel warnings and errors.
time dmesg --level=err,warn
Repeat the command every five seconds for monitoring. Base task: Display kernel warnings and errors.
watch -n 5 'dmesg --level=err,warn'
Print a timestamp immediately before running the command. Base task: Display kernel warnings and errors.
date --iso-8601=seconds; dmesg --level=err,warn
Run the command in the background and log its output. Base task: Display kernel warnings and errors.
nohup sh -c 'dmesg --level=err,warn' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Display network interface addresses.
ip addr show > command-results.txt 2>&1
Display output while saving it to a file. Base task: Display network interface addresses.
ip addr show 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Display network interface addresses.
time ip addr show
Repeat the command every five seconds for monitoring. Base task: Display network interface addresses.
watch -n 5 'ip addr show'
Print a timestamp immediately before running the command. Base task: Display network interface addresses.
date --iso-8601=seconds; ip addr show
Run the command in the background and log its output. Base task: Display network interface addresses.
nohup sh -c 'ip addr show' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Display the routing table.
ip route show > command-results.txt 2>&1
Display output while saving it to a file. Base task: Display the routing table.
ip route show 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Display the routing table.
time ip route show
Repeat the command every five seconds for monitoring. Base task: Display the routing table.
watch -n 5 'ip route show'
Print a timestamp immediately before running the command. Base task: Display the routing table.
date --iso-8601=seconds; ip route show
Run the command in the background and log its output. Base task: Display the routing table.
nohup sh -c 'ip route show' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Display the neighbor table.
ip neigh show > command-results.txt 2>&1
Display output while saving it to a file. Base task: Display the neighbor table.
ip neigh show 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Display the neighbor table.
time ip neigh show
Repeat the command every five seconds for monitoring. Base task: Display the neighbor table.
watch -n 5 'ip neigh show'
Print a timestamp immediately before running the command. Base task: Display the neighbor table.
date --iso-8601=seconds; ip neigh show
Run the command in the background and log its output. Base task: Display the neighbor table.
nohup sh -c 'ip neigh show' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: List listening TCP and UDP sockets.
ss -tulpn > command-results.txt 2>&1
Display output while saving it to a file. Base task: List listening TCP and UDP sockets.
ss -tulpn 2>&1 | tee command-results.txt
Measure the command execution time. Base task: List listening TCP and UDP sockets.
time ss -tulpn
Repeat the command every five seconds for monitoring. Base task: List listening TCP and UDP sockets.
watch -n 5 'ss -tulpn'
Print a timestamp immediately before running the command. Base task: List listening TCP and UDP sockets.
date --iso-8601=seconds; ss -tulpn
Run the command in the background and log its output. Base task: List listening TCP and UDP sockets.
nohup sh -c 'ss -tulpn' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Test ICMP reachability.
ping -c 4 example.com > command-results.txt 2>&1
Display output while saving it to a file. Base task: Test ICMP reachability.
ping -c 4 example.com 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Test ICMP reachability.
time ping -c 4 example.com
Repeat the command every five seconds for monitoring. Base task: Test ICMP reachability.
watch -n 5 'ping -c 4 example.com'
Print a timestamp immediately before running the command. Base task: Test ICMP reachability.
date --iso-8601=seconds; ping -c 4 example.com
Run the command in the background and log its output. Base task: Test ICMP reachability.
nohup sh -c 'ping -c 4 example.com' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Trace the network path to a host.
traceroute example.com > command-results.txt 2>&1
Display output while saving it to a file. Base task: Trace the network path to a host.
traceroute example.com 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Trace the network path to a host.
time traceroute example.com
Repeat the command every five seconds for monitoring. Base task: Trace the network path to a host.
watch -n 5 'traceroute example.com'
Print a timestamp immediately before running the command. Base task: Trace the network path to a host.
date --iso-8601=seconds; traceroute example.com
Run the command in the background and log its output. Base task: Trace the network path to a host.
nohup sh -c 'traceroute example.com' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Query DNS records.
dig example.com MX +short > command-results.txt 2>&1
Display output while saving it to a file. Base task: Query DNS records.
dig example.com MX +short 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Query DNS records.
time dig example.com MX +short
Repeat the command every five seconds for monitoring. Base task: Query DNS records.
watch -n 5 'dig example.com MX +short'
Print a timestamp immediately before running the command. Base task: Query DNS records.
date --iso-8601=seconds; dig example.com MX +short
Run the command in the background and log its output. Base task: Query DNS records.
nohup sh -c 'dig example.com MX +short' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Perform a DNS lookup.
host -t txt example.com > command-results.txt 2>&1
Display output while saving it to a file. Base task: Perform a DNS lookup.
host -t txt example.com 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Perform a DNS lookup.
time host -t txt example.com
Repeat the command every five seconds for monitoring. Base task: Perform a DNS lookup.
watch -n 5 'host -t txt example.com'
Print a timestamp immediately before running the command. Base task: Perform a DNS lookup.
date --iso-8601=seconds; host -t txt example.com
Run the command in the background and log its output. Base task: Perform a DNS lookup.
nohup sh -c 'host -t txt example.com' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Fetch HTTP response headers.
curl -I https://example.com > command-results.txt 2>&1
Display output while saving it to a file. Base task: Fetch HTTP response headers.
curl -I https://example.com 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Fetch HTTP response headers.
time curl -I https://example.com
Repeat the command every five seconds for monitoring. Base task: Fetch HTTP response headers.
watch -n 5 'curl -I https://example.com'
Print a timestamp immediately before running the command. Base task: Fetch HTTP response headers.
date --iso-8601=seconds; curl -I https://example.com
Run the command in the background and log its output. Base task: Fetch HTTP response headers.
nohup sh -c 'curl -I https://example.com' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Download a file.
wget -O file.zip https://example.com/file.zip > command-results.txt 2>&1
Display output while saving it to a file. Base task: Download a file.
wget -O file.zip https://example.com/file.zip 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Download a file.
time wget -O file.zip https://example.com/file.zip
Repeat the command every five seconds for monitoring. Base task: Download a file.
watch -n 5 'wget -O file.zip https://example.com/file.zip'
Print a timestamp immediately before running the command. Base task: Download a file.
date --iso-8601=seconds; wget -O file.zip https://example.com/file.zip
Run the command in the background and log its output. Base task: Download a file.
nohup sh -c 'wget -O file.zip https://example.com/file.zip' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Open a secure shell session.
ssh admin@server01 > command-results.txt 2>&1
Display output while saving it to a file. Base task: Open a secure shell session.
ssh admin@server01 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Open a secure shell session.
time ssh admin@server01
Repeat the command every five seconds for monitoring. Base task: Open a secure shell session.
watch -n 5 'ssh admin@server01'
Print a timestamp immediately before running the command. Base task: Open a secure shell session.
date --iso-8601=seconds; ssh admin@server01
Run the command in the background and log its output. Base task: Open a secure shell session.
nohup sh -c 'ssh admin@server01' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Copy a file over SSH.
scp backup.tar.gz admin@server01:/backups/ > command-results.txt 2>&1
Display output while saving it to a file. Base task: Copy a file over SSH.
scp backup.tar.gz admin@server01:/backups/ 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Copy a file over SSH.
time scp backup.tar.gz admin@server01:/backups/
Repeat the command every five seconds for monitoring. Base task: Copy a file over SSH.
watch -n 5 'scp backup.tar.gz admin@server01:/backups/'
Print a timestamp immediately before running the command. Base task: Copy a file over SSH.
date --iso-8601=seconds; scp backup.tar.gz admin@server01:/backups/
Run the command in the background and log its output. Base task: Copy a file over SSH.
nohup sh -c 'scp backup.tar.gz admin@server01:/backups/' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Synchronize directories.
rsync -avh --delete /source/ /backup/ > command-results.txt 2>&1
Display output while saving it to a file. Base task: Synchronize directories.
rsync -avh --delete /source/ /backup/ 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Synchronize directories.
time rsync -avh --delete /source/ /backup/
Repeat the command every five seconds for monitoring. Base task: Synchronize directories.
watch -n 5 'rsync -avh --delete /source/ /backup/'
Print a timestamp immediately before running the command. Base task: Synchronize directories.
date --iso-8601=seconds; rsync -avh --delete /source/ /backup/
Run the command in the background and log its output. Base task: Synchronize directories.
nohup sh -c 'rsync -avh --delete /source/ /backup/' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Create a compressed tar archive.
tar -czf backup.tar.gz /etc/app > command-results.txt 2>&1
Display output while saving it to a file. Base task: Create a compressed tar archive.
tar -czf backup.tar.gz /etc/app 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Create a compressed tar archive.
time tar -czf backup.tar.gz /etc/app
Repeat the command every five seconds for monitoring. Base task: Create a compressed tar archive.
watch -n 5 'tar -czf backup.tar.gz /etc/app'
Print a timestamp immediately before running the command. Base task: Create a compressed tar archive.
date --iso-8601=seconds; tar -czf backup.tar.gz /etc/app
Run the command in the background and log its output. Base task: Create a compressed tar archive.
nohup sh -c 'tar -czf backup.tar.gz /etc/app' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Compress a file with gzip.
gzip -k large.log > command-results.txt 2>&1
Display output while saving it to a file. Base task: Compress a file with gzip.
gzip -k large.log 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Compress a file with gzip.
time gzip -k large.log
Repeat the command every five seconds for monitoring. Base task: Compress a file with gzip.
watch -n 5 'gzip -k large.log'
Print a timestamp immediately before running the command. Base task: Compress a file with gzip.
date --iso-8601=seconds; gzip -k large.log
Run the command in the background and log its output. Base task: Compress a file with gzip.
nohup sh -c 'gzip -k large.log' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Extract a ZIP archive.
unzip package.zip -d /opt/app > command-results.txt 2>&1
Display output while saving it to a file. Base task: Extract a ZIP archive.
unzip package.zip -d /opt/app 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Extract a ZIP archive.
time unzip package.zip -d /opt/app
Repeat the command every five seconds for monitoring. Base task: Extract a ZIP archive.
watch -n 5 'unzip package.zip -d /opt/app'
Print a timestamp immediately before running the command. Base task: Extract a ZIP archive.
date --iso-8601=seconds; unzip package.zip -d /opt/app
Run the command in the background and log its output. Base task: Extract a ZIP archive.
nohup sh -c 'unzip package.zip -d /opt/app' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Replace text in a file.
sed -i "s/old/new/g" config.txt > command-results.txt 2>&1
Display output while saving it to a file. Base task: Replace text in a file.
sed -i "s/old/new/g" config.txt 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Replace text in a file.
time sed -i "s/old/new/g" config.txt
Repeat the command every five seconds for monitoring. Base task: Replace text in a file.
watch -n 5 'sed -i "s/old/new/g" config.txt'
Print a timestamp immediately before running the command. Base task: Replace text in a file.
date --iso-8601=seconds; sed -i "s/old/new/g" config.txt
Run the command in the background and log its output. Base task: Replace text in a file.
nohup sh -c 'sed -i "s/old/new/g" config.txt' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Process delimited text.
awk -F: "{print $1}" /etc/passwd > command-results.txt 2>&1
Display output while saving it to a file. Base task: Process delimited text.
awk -F: "{print $1}" /etc/passwd 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Process delimited text.
time awk -F: "{print $1}" /etc/passwd
Repeat the command every five seconds for monitoring. Base task: Process delimited text.
watch -n 5 'awk -F: "{print $1}" /etc/passwd'
Print a timestamp immediately before running the command. Base task: Process delimited text.
date --iso-8601=seconds; awk -F: "{print $1}" /etc/passwd
Run the command in the background and log its output. Base task: Process delimited text.
nohup sh -c 'awk -F: "{print $1}" /etc/passwd' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Extract selected columns.
cut -d, -f1,3 users.csv > command-results.txt 2>&1
Display output while saving it to a file. Base task: Extract selected columns.
cut -d, -f1,3 users.csv 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Extract selected columns.
time cut -d, -f1,3 users.csv
Repeat the command every five seconds for monitoring. Base task: Extract selected columns.
watch -n 5 'cut -d, -f1,3 users.csv'
Print a timestamp immediately before running the command. Base task: Extract selected columns.
date --iso-8601=seconds; cut -d, -f1,3 users.csv
Run the command in the background and log its output. Base task: Extract selected columns.
nohup sh -c 'cut -d, -f1,3 users.csv' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Sort and deduplicate lines.
sort -u names.txt > command-results.txt 2>&1
Display output while saving it to a file. Base task: Sort and deduplicate lines.
sort -u names.txt 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Sort and deduplicate lines.
time sort -u names.txt
Repeat the command every five seconds for monitoring. Base task: Sort and deduplicate lines.
watch -n 5 'sort -u names.txt'
Print a timestamp immediately before running the command. Base task: Sort and deduplicate lines.
date --iso-8601=seconds; sort -u names.txt
Run the command in the background and log its output. Base task: Sort and deduplicate lines.
nohup sh -c 'sort -u names.txt' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Count repeated adjacent lines.
sort access.log | uniq -c > command-results.txt 2>&1
Display output while saving it to a file. Base task: Count repeated adjacent lines.
sort access.log | uniq -c 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Count repeated adjacent lines.
time sort access.log | uniq -c
Repeat the command every five seconds for monitoring. Base task: Count repeated adjacent lines.
watch -n 5 'sort access.log | uniq -c'
Print a timestamp immediately before running the command. Base task: Count repeated adjacent lines.
date --iso-8601=seconds; sort access.log | uniq -c
Run the command in the background and log its output. Base task: Count repeated adjacent lines.
nohup sh -c 'sort access.log | uniq -c' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Count lines in a file.
wc -l access.log > command-results.txt 2>&1
Display output while saving it to a file. Base task: Count lines in a file.
wc -l access.log 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Count lines in a file.
time wc -l access.log
Repeat the command every five seconds for monitoring. Base task: Count lines in a file.
watch -n 5 'wc -l access.log'
Print a timestamp immediately before running the command. Base task: Count lines in a file.
date --iso-8601=seconds; wc -l access.log
Run the command in the background and log its output. Base task: Count lines in a file.
nohup sh -c 'wc -l access.log' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Build command arguments from input.
find /tmp -name "*.tmp" -print0 | xargs -0 rm -f > command-results.txt 2>&1
Display output while saving it to a file. Base task: Build command arguments from input.
find /tmp -name "*.tmp" -print0 | xargs -0 rm -f 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Build command arguments from input.
time find /tmp -name "*.tmp" -print0 | xargs -0 rm -f
Repeat the command every five seconds for monitoring. Base task: Build command arguments from input.
watch -n 5 'find /tmp -name "*.tmp" -print0 | xargs -0 rm -f'
Print a timestamp immediately before running the command. Base task: Build command arguments from input.
date --iso-8601=seconds; find /tmp -name "*.tmp" -print0 | xargs -0 rm -f
Run the command in the background and log its output. Base task: Build command arguments from input.
nohup sh -c 'find /tmp -name "*.tmp" -print0 | xargs -0 rm -f' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Write output to a file with elevated privileges.
echo "enabled=true" | sudo tee /etc/app.conf > command-results.txt 2>&1
Display output while saving it to a file. Base task: Write output to a file with elevated privileges.
echo "enabled=true" | sudo tee /etc/app.conf 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Write output to a file with elevated privileges.
time echo "enabled=true" | sudo tee /etc/app.conf
Repeat the command every five seconds for monitoring. Base task: Write output to a file with elevated privileges.
watch -n 5 'echo "enabled=true" | sudo tee /etc/app.conf'
Print a timestamp immediately before running the command. Base task: Write output to a file with elevated privileges.
date --iso-8601=seconds; echo "enabled=true" | sudo tee /etc/app.conf
Run the command in the background and log its output. Base task: Write output to a file with elevated privileges.
nohup sh -c 'echo "enabled=true" | sudo tee /etc/app.conf' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Display environment variables.
env | sort > command-results.txt 2>&1
Display output while saving it to a file. Base task: Display environment variables.
env | sort 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Display environment variables.
time env | sort
Repeat the command every five seconds for monitoring. Base task: Display environment variables.
watch -n 5 'env | sort'
Print a timestamp immediately before running the command. Base task: Display environment variables.
date --iso-8601=seconds; env | sort
Run the command in the background and log its output. Base task: Display environment variables.
nohup sh -c 'env | sort' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Set an environment variable for the shell.
export APP_ENV=production > command-results.txt 2>&1
Display output while saving it to a file. Base task: Set an environment variable for the shell.
export APP_ENV=production 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Set an environment variable for the shell.
time export APP_ENV=production
Repeat the command every five seconds for monitoring. Base task: Set an environment variable for the shell.
watch -n 5 'export APP_ENV=production'
Print a timestamp immediately before running the command. Base task: Set an environment variable for the shell.
date --iso-8601=seconds; export APP_ENV=production
Run the command in the background and log its output. Base task: Set an environment variable for the shell.
nohup sh -c 'export APP_ENV=production' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: List the current user cron jobs.
crontab -l > command-results.txt 2>&1
Display output while saving it to a file. Base task: List the current user cron jobs.
crontab -l 2>&1 | tee command-results.txt
Measure the command execution time. Base task: List the current user cron jobs.
time crontab -l
Repeat the command every five seconds for monitoring. Base task: List the current user cron jobs.
watch -n 5 'crontab -l'
Print a timestamp immediately before running the command. Base task: List the current user cron jobs.
date --iso-8601=seconds; crontab -l
Run the command in the background and log its output. Base task: List the current user cron jobs.
nohup sh -c 'crontab -l' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Refresh package indexes on Debian or Ubuntu.
sudo apt update > command-results.txt 2>&1
Display output while saving it to a file. Base task: Refresh package indexes on Debian or Ubuntu.
sudo apt update 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Refresh package indexes on Debian or Ubuntu.
time sudo apt update
Repeat the command every five seconds for monitoring. Base task: Refresh package indexes on Debian or Ubuntu.
watch -n 5 'sudo apt update'
Print a timestamp immediately before running the command. Base task: Refresh package indexes on Debian or Ubuntu.
date --iso-8601=seconds; sudo apt update
Run the command in the background and log its output. Base task: Refresh package indexes on Debian or Ubuntu.
nohup sh -c 'sudo apt update' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Install available package upgrades.
sudo apt upgrade > command-results.txt 2>&1
Display output while saving it to a file. Base task: Install available package upgrades.
sudo apt upgrade 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Install available package upgrades.
time sudo apt upgrade
Repeat the command every five seconds for monitoring. Base task: Install available package upgrades.
watch -n 5 'sudo apt upgrade'
Print a timestamp immediately before running the command. Base task: Install available package upgrades.
date --iso-8601=seconds; sudo apt upgrade
Run the command in the background and log its output. Base task: Install available package upgrades.
nohup sh -c 'sudo apt upgrade' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Update packages on modern RHEL-family systems.
sudo dnf update > command-results.txt 2>&1
Display output while saving it to a file. Base task: Update packages on modern RHEL-family systems.
sudo dnf update 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Update packages on modern RHEL-family systems.
time sudo dnf update
Repeat the command every five seconds for monitoring. Base task: Update packages on modern RHEL-family systems.
watch -n 5 'sudo dnf update'
Print a timestamp immediately before running the command. Base task: Update packages on modern RHEL-family systems.
date --iso-8601=seconds; sudo dnf update
Run the command in the background and log its output. Base task: Update packages on modern RHEL-family systems.
nohup sh -c 'sudo dnf update' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: List installed RPM packages.
rpm -qa | sort > command-results.txt 2>&1
Display output while saving it to a file. Base task: List installed RPM packages.
rpm -qa | sort 2>&1 | tee command-results.txt
Measure the command execution time. Base task: List installed RPM packages.
time rpm -qa | sort
Repeat the command every five seconds for monitoring. Base task: List installed RPM packages.
watch -n 5 'rpm -qa | sort'
Print a timestamp immediately before running the command. Base task: List installed RPM packages.
date --iso-8601=seconds; rpm -qa | sort
Run the command in the background and log its output. Base task: List installed RPM packages.
nohup sh -c 'rpm -qa | sort' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: List installed Debian packages.
dpkg -l > command-results.txt 2>&1
Display output while saving it to a file. Base task: List installed Debian packages.
dpkg -l 2>&1 | tee command-results.txt
Measure the command execution time. Base task: List installed Debian packages.
time dpkg -l
Repeat the command every five seconds for monitoring. Base task: List installed Debian packages.
watch -n 5 'dpkg -l'
Print a timestamp immediately before running the command. Base task: List installed Debian packages.
date --iso-8601=seconds; dpkg -l
Run the command in the background and log its output. Base task: List installed Debian packages.
nohup sh -c 'dpkg -l' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Display kernel and architecture information.
uname -a > command-results.txt 2>&1
Display output while saving it to a file. Base task: Display kernel and architecture information.
uname -a 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Display kernel and architecture information.
time uname -a
Repeat the command every five seconds for monitoring. Base task: Display kernel and architecture information.
watch -n 5 'uname -a'
Print a timestamp immediately before running the command. Base task: Display kernel and architecture information.
date --iso-8601=seconds; uname -a
Run the command in the background and log its output. Base task: Display kernel and architecture information.
nohup sh -c 'uname -a' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Display host and operating system information.
hostnamectl > command-results.txt 2>&1
Display output while saving it to a file. Base task: Display host and operating system information.
hostnamectl 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Display host and operating system information.
time hostnamectl
Repeat the command every five seconds for monitoring. Base task: Display host and operating system information.
watch -n 5 'hostnamectl'
Print a timestamp immediately before running the command. Base task: Display host and operating system information.
date --iso-8601=seconds; hostnamectl
Run the command in the background and log its output. Base task: Display host and operating system information.
nohup sh -c 'hostnamectl' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Display time and timezone settings.
timedatectl > command-results.txt 2>&1
Display output while saving it to a file. Base task: Display time and timezone settings.
timedatectl 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Display time and timezone settings.
time timedatectl
Repeat the command every five seconds for monitoring. Base task: Display time and timezone settings.
watch -n 5 'timedatectl'
Print a timestamp immediately before running the command. Base task: Display time and timezone settings.
date --iso-8601=seconds; timedatectl
Run the command in the background and log its output. Base task: Display time and timezone settings.
nohup sh -c 'timedatectl' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: List block devices and filesystems.
lsblk -f > command-results.txt 2>&1
Display output while saving it to a file. Base task: List block devices and filesystems.
lsblk -f 2>&1 | tee command-results.txt
Measure the command execution time. Base task: List block devices and filesystems.
time lsblk -f
Repeat the command every five seconds for monitoring. Base task: List block devices and filesystems.
watch -n 5 'lsblk -f'
Print a timestamp immediately before running the command. Base task: List block devices and filesystems.
date --iso-8601=seconds; lsblk -f
Run the command in the background and log its output. Base task: List block devices and filesystems.
nohup sh -c 'lsblk -f' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Display mounted filesystems.
mount | column -t > command-results.txt 2>&1
Display output while saving it to a file. Base task: Display mounted filesystems.
mount | column -t 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Display mounted filesystems.
time mount | column -t
Repeat the command every five seconds for monitoring. Base task: Display mounted filesystems.
watch -n 5 'mount | column -t'
Print a timestamp immediately before running the command. Base task: Display mounted filesystems.
date --iso-8601=seconds; mount | column -t
Run the command in the background and log its output. Base task: Display mounted filesystems.
nohup sh -c 'mount | column -t' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: List disk partition tables.
sudo fdisk -l > command-results.txt 2>&1
Display output while saving it to a file. Base task: List disk partition tables.
sudo fdisk -l 2>&1 | tee command-results.txt
Measure the command execution time. Base task: List disk partition tables.
time sudo fdisk -l
Repeat the command every five seconds for monitoring. Base task: List disk partition tables.
watch -n 5 'sudo fdisk -l'
Print a timestamp immediately before running the command. Base task: List disk partition tables.
date --iso-8601=seconds; sudo fdisk -l
Run the command in the background and log its output. Base task: List disk partition tables.
nohup sh -c 'sudo fdisk -l' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: List processes using a network port.
sudo lsof -i :443 > command-results.txt 2>&1
Display output while saving it to a file. Base task: List processes using a network port.
sudo lsof -i :443 2>&1 | tee command-results.txt
Measure the command execution time. Base task: List processes using a network port.
time sudo lsof -i :443
Repeat the command every five seconds for monitoring. Base task: List processes using a network port.
watch -n 5 'sudo lsof -i :443'
Print a timestamp immediately before running the command. Base task: List processes using a network port.
date --iso-8601=seconds; sudo lsof -i :443
Run the command in the background and log its output. Base task: List processes using a network port.
nohup sh -c 'sudo lsof -i :443' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Inspect a TLS connection and certificate chain.
openssl s_client -connect example.com:443 -servername example.com > command-results.txt 2>&1
Display output while saving it to a file. Base task: Inspect a TLS connection and certificate chain.
openssl s_client -connect example.com:443 -servername example.com 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Inspect a TLS connection and certificate chain.
time openssl s_client -connect example.com:443 -servername example.com
Repeat the command every five seconds for monitoring. Base task: Inspect a TLS connection and certificate chain.
watch -n 5 'openssl s_client -connect example.com:443 -servername example.com'
Print a timestamp immediately before running the command. Base task: Inspect a TLS connection and certificate chain.
date --iso-8601=seconds; openssl s_client -connect example.com:443 -servername example.com
Run the command in the background and log its output. Base task: Inspect a TLS connection and certificate chain.
nohup sh -c 'openssl s_client -connect example.com:443 -servername example.com' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Display certificate details.
openssl x509 -in cert.pem -noout -text > command-results.txt 2>&1
Display output while saving it to a file. Base task: Display certificate details.
openssl x509 -in cert.pem -noout -text 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Display certificate details.
time openssl x509 -in cert.pem -noout -text
Repeat the command every five seconds for monitoring. Base task: Display certificate details.
watch -n 5 'openssl x509 -in cert.pem -noout -text'
Print a timestamp immediately before running the command. Base task: Display certificate details.
date --iso-8601=seconds; openssl x509 -in cert.pem -noout -text
Run the command in the background and log its output. Base task: Display certificate details.
nohup sh -c 'openssl x509 -in cert.pem -noout -text' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Calculate a SHA-256 checksum.
sha256sum installer.iso > command-results.txt 2>&1
Display output while saving it to a file. Base task: Calculate a SHA-256 checksum.
sha256sum installer.iso 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Calculate a SHA-256 checksum.
time sha256sum installer.iso
Repeat the command every five seconds for monitoring. Base task: Calculate a SHA-256 checksum.
watch -n 5 'sha256sum installer.iso'
Print a timestamp immediately before running the command. Base task: Calculate a SHA-256 checksum.
date --iso-8601=seconds; sha256sum installer.iso
Run the command in the background and log its output. Base task: Calculate a SHA-256 checksum.
nohup sh -c 'sha256sum installer.iso' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Export the output of ls for documentation or review.
ls -lah /var/log > output.txt > command-results.txt 2>&1
Display output while saving it to a file. Base task: Export the output of ls for documentation or review.
ls -lah /var/log > output.txt 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Export the output of ls for documentation or review.
time ls -lah /var/log > output.txt
Repeat the command every five seconds for monitoring. Base task: Export the output of ls for documentation or review.
watch -n 5 'ls -lah /var/log > output.txt'
Print a timestamp immediately before running the command. Base task: Export the output of ls for documentation or review.
date --iso-8601=seconds; ls -lah /var/log > output.txt
Run the command in the background and log its output. Base task: Export the output of ls for documentation or review.
nohup sh -c 'ls -lah /var/log > output.txt' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Export the output of cd for documentation or review.
cd /var/log > output.txt > command-results.txt 2>&1
Display output while saving it to a file. Base task: Export the output of cd for documentation or review.
cd /var/log > output.txt 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Export the output of cd for documentation or review.
time cd /var/log > output.txt
Repeat the command every five seconds for monitoring. Base task: Export the output of cd for documentation or review.
watch -n 5 'cd /var/log > output.txt'
Print a timestamp immediately before running the command. Base task: Export the output of cd for documentation or review.
date --iso-8601=seconds; cd /var/log > output.txt
Run the command in the background and log its output. Base task: Export the output of cd for documentation or review.
nohup sh -c 'cd /var/log > output.txt' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Export the output of pwd for documentation or review.
pwd > output.txt > command-results.txt 2>&1
Display output while saving it to a file. Base task: Export the output of pwd for documentation or review.
pwd > output.txt 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Export the output of pwd for documentation or review.
time pwd > output.txt
Repeat the command every five seconds for monitoring. Base task: Export the output of pwd for documentation or review.
watch -n 5 'pwd > output.txt'
Print a timestamp immediately before running the command. Base task: Export the output of pwd for documentation or review.
date --iso-8601=seconds; pwd > output.txt
Run the command in the background and log its output. Base task: Export the output of pwd for documentation or review.
nohup sh -c 'pwd > output.txt' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Export the output of cp for documentation or review.
cp -a /source/. /backup/ > output.txt > command-results.txt 2>&1
Display output while saving it to a file. Base task: Export the output of cp for documentation or review.
cp -a /source/. /backup/ > output.txt 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Export the output of cp for documentation or review.
time cp -a /source/. /backup/ > output.txt
Repeat the command every five seconds for monitoring. Base task: Export the output of cp for documentation or review.
watch -n 5 'cp -a /source/. /backup/ > output.txt'
Print a timestamp immediately before running the command. Base task: Export the output of cp for documentation or review.
date --iso-8601=seconds; cp -a /source/. /backup/ > output.txt
Run the command in the background and log its output. Base task: Export the output of cp for documentation or review.
nohup sh -c 'cp -a /source/. /backup/ > output.txt' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Export the output of mv for documentation or review.
mv old.log archive/ > output.txt > command-results.txt 2>&1
Display output while saving it to a file. Base task: Export the output of mv for documentation or review.
mv old.log archive/ > output.txt 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Export the output of mv for documentation or review.
time mv old.log archive/ > output.txt
Repeat the command every five seconds for monitoring. Base task: Export the output of mv for documentation or review.
watch -n 5 'mv old.log archive/ > output.txt'
Print a timestamp immediately before running the command. Base task: Export the output of mv for documentation or review.
date --iso-8601=seconds; mv old.log archive/ > output.txt
Run the command in the background and log its output. Base task: Export the output of mv for documentation or review.
nohup sh -c 'mv old.log archive/ > output.txt' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Export the output of rm for documentation or review.
rm -i old.log > output.txt > command-results.txt 2>&1
Display output while saving it to a file. Base task: Export the output of rm for documentation or review.
rm -i old.log > output.txt 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Export the output of rm for documentation or review.
time rm -i old.log > output.txt
Repeat the command every five seconds for monitoring. Base task: Export the output of rm for documentation or review.
watch -n 5 'rm -i old.log > output.txt'
Print a timestamp immediately before running the command. Base task: Export the output of rm for documentation or review.
date --iso-8601=seconds; rm -i old.log > output.txt
Run the command in the background and log its output. Base task: Export the output of rm for documentation or review.
nohup sh -c 'rm -i old.log > output.txt' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Export the output of mkdir for documentation or review.
mkdir -p /opt/app/logs > output.txt > command-results.txt 2>&1
Display output while saving it to a file. Base task: Export the output of mkdir for documentation or review.
mkdir -p /opt/app/logs > output.txt 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Export the output of mkdir for documentation or review.
time mkdir -p /opt/app/logs > output.txt
Repeat the command every five seconds for monitoring. Base task: Export the output of mkdir for documentation or review.
watch -n 5 'mkdir -p /opt/app/logs > output.txt'
Print a timestamp immediately before running the command. Base task: Export the output of mkdir for documentation or review.
date --iso-8601=seconds; mkdir -p /opt/app/logs > output.txt
Run the command in the background and log its output. Base task: Export the output of mkdir for documentation or review.
nohup sh -c 'mkdir -p /opt/app/logs > output.txt' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Export the output of touch for documentation or review.
touch /tmp/healthcheck.txt > output.txt > command-results.txt 2>&1
Display output while saving it to a file. Base task: Export the output of touch for documentation or review.
touch /tmp/healthcheck.txt > output.txt 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Export the output of touch for documentation or review.
time touch /tmp/healthcheck.txt > output.txt
Repeat the command every five seconds for monitoring. Base task: Export the output of touch for documentation or review.
watch -n 5 'touch /tmp/healthcheck.txt > output.txt'
Print a timestamp immediately before running the command. Base task: Export the output of touch for documentation or review.
date --iso-8601=seconds; touch /tmp/healthcheck.txt > output.txt
Run the command in the background and log its output. Base task: Export the output of touch for documentation or review.
nohup sh -c 'touch /tmp/healthcheck.txt > output.txt' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Export the output of cat for documentation or review.
cat /etc/os-release > output.txt > command-results.txt 2>&1
Display output while saving it to a file. Base task: Export the output of cat for documentation or review.
cat /etc/os-release > output.txt 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Export the output of cat for documentation or review.
time cat /etc/os-release > output.txt
Repeat the command every five seconds for monitoring. Base task: Export the output of cat for documentation or review.
watch -n 5 'cat /etc/os-release > output.txt'
Print a timestamp immediately before running the command. Base task: Export the output of cat for documentation or review.
date --iso-8601=seconds; cat /etc/os-release > output.txt
Run the command in the background and log its output. Base task: Export the output of cat for documentation or review.
nohup sh -c 'cat /etc/os-release > output.txt' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Export the output of less for documentation or review.
less /var/log/syslog > output.txt > command-results.txt 2>&1
Display output while saving it to a file. Base task: Export the output of less for documentation or review.
less /var/log/syslog > output.txt 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Export the output of less for documentation or review.
time less /var/log/syslog > output.txt
Repeat the command every five seconds for monitoring. Base task: Export the output of less for documentation or review.
watch -n 5 'less /var/log/syslog > output.txt'
Print a timestamp immediately before running the command. Base task: Export the output of less for documentation or review.
date --iso-8601=seconds; less /var/log/syslog > output.txt
Run the command in the background and log its output. Base task: Export the output of less for documentation or review.
nohup sh -c 'less /var/log/syslog > output.txt' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Export the output of head for documentation or review.
head -n 20 /var/log/syslog > output.txt > command-results.txt 2>&1
Display output while saving it to a file. Base task: Export the output of head for documentation or review.
head -n 20 /var/log/syslog > output.txt 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Export the output of head for documentation or review.
time head -n 20 /var/log/syslog > output.txt
Repeat the command every five seconds for monitoring. Base task: Export the output of head for documentation or review.
watch -n 5 'head -n 20 /var/log/syslog > output.txt'
Print a timestamp immediately before running the command. Base task: Export the output of head for documentation or review.
date --iso-8601=seconds; head -n 20 /var/log/syslog > output.txt
Run the command in the background and log its output. Base task: Export the output of head for documentation or review.
nohup sh -c 'head -n 20 /var/log/syslog > output.txt' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Export the output of tail for documentation or review.
tail -f /var/log/syslog > output.txt > command-results.txt 2>&1
Display output while saving it to a file. Base task: Export the output of tail for documentation or review.
tail -f /var/log/syslog > output.txt 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Export the output of tail for documentation or review.
time tail -f /var/log/syslog > output.txt
Repeat the command every five seconds for monitoring. Base task: Export the output of tail for documentation or review.
watch -n 5 'tail -f /var/log/syslog > output.txt'
Print a timestamp immediately before running the command. Base task: Export the output of tail for documentation or review.
date --iso-8601=seconds; tail -f /var/log/syslog > output.txt
Run the command in the background and log its output. Base task: Export the output of tail for documentation or review.
nohup sh -c 'tail -f /var/log/syslog > output.txt' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Export the output of grep for documentation or review.
grep -Rni "error" /var/log/app > output.txt > command-results.txt 2>&1
Display output while saving it to a file. Base task: Export the output of grep for documentation or review.
grep -Rni "error" /var/log/app > output.txt 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Export the output of grep for documentation or review.
time grep -Rni "error" /var/log/app > output.txt
Repeat the command every five seconds for monitoring. Base task: Export the output of grep for documentation or review.
watch -n 5 'grep -Rni "error" /var/log/app > output.txt'
Print a timestamp immediately before running the command. Base task: Export the output of grep for documentation or review.
date --iso-8601=seconds; grep -Rni "error" /var/log/app > output.txt
Run the command in the background and log its output. Base task: Export the output of grep for documentation or review.
nohup sh -c 'grep -Rni "error" /var/log/app > output.txt' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Export the output of find for documentation or review.
find /var/log -type f -mtime -1 > output.txt > command-results.txt 2>&1
Display output while saving it to a file. Base task: Export the output of find for documentation or review.
find /var/log -type f -mtime -1 > output.txt 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Export the output of find for documentation or review.
time find /var/log -type f -mtime -1 > output.txt
Repeat the command every five seconds for monitoring. Base task: Export the output of find for documentation or review.
watch -n 5 'find /var/log -type f -mtime -1 > output.txt'
Print a timestamp immediately before running the command. Base task: Export the output of find for documentation or review.
date --iso-8601=seconds; find /var/log -type f -mtime -1 > output.txt
Run the command in the background and log its output. Base task: Export the output of find for documentation or review.
nohup sh -c 'find /var/log -type f -mtime -1 > output.txt' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Export the output of locate for documentation or review.
locate sshd_config > output.txt > command-results.txt 2>&1
Display output while saving it to a file. Base task: Export the output of locate for documentation or review.
locate sshd_config > output.txt 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Export the output of locate for documentation or review.
time locate sshd_config > output.txt
Repeat the command every five seconds for monitoring. Base task: Export the output of locate for documentation or review.
watch -n 5 'locate sshd_config > output.txt'
Print a timestamp immediately before running the command. Base task: Export the output of locate for documentation or review.
date --iso-8601=seconds; locate sshd_config > output.txt
Run the command in the background and log its output. Base task: Export the output of locate for documentation or review.
nohup sh -c 'locate sshd_config > output.txt' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Export the output of which for documentation or review.
which python3 > output.txt > command-results.txt 2>&1
Display output while saving it to a file. Base task: Export the output of which for documentation or review.
which python3 > output.txt 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Export the output of which for documentation or review.
time which python3 > output.txt
Repeat the command every five seconds for monitoring. Base task: Export the output of which for documentation or review.
watch -n 5 'which python3 > output.txt'
Print a timestamp immediately before running the command. Base task: Export the output of which for documentation or review.
date --iso-8601=seconds; which python3 > output.txt
Run the command in the background and log its output. Base task: Export the output of which for documentation or review.
nohup sh -c 'which python3 > output.txt' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Export the output of whereis for documentation or review.
whereis nginx > output.txt > command-results.txt 2>&1
Display output while saving it to a file. Base task: Export the output of whereis for documentation or review.
whereis nginx > output.txt 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Export the output of whereis for documentation or review.
time whereis nginx > output.txt
Repeat the command every five seconds for monitoring. Base task: Export the output of whereis for documentation or review.
watch -n 5 'whereis nginx > output.txt'
Print a timestamp immediately before running the command. Base task: Export the output of whereis for documentation or review.
date --iso-8601=seconds; whereis nginx > output.txt
Run the command in the background and log its output. Base task: Export the output of whereis for documentation or review.
nohup sh -c 'whereis nginx > output.txt' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Export the output of chmod for documentation or review.
chmod 640 /etc/app.conf > output.txt > command-results.txt 2>&1
Display output while saving it to a file. Base task: Export the output of chmod for documentation or review.
chmod 640 /etc/app.conf > output.txt 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Export the output of chmod for documentation or review.
time chmod 640 /etc/app.conf > output.txt
Repeat the command every five seconds for monitoring. Base task: Export the output of chmod for documentation or review.
watch -n 5 'chmod 640 /etc/app.conf > output.txt'
Print a timestamp immediately before running the command. Base task: Export the output of chmod for documentation or review.
date --iso-8601=seconds; chmod 640 /etc/app.conf > output.txt
Run the command in the background and log its output. Base task: Export the output of chmod for documentation or review.
nohup sh -c 'chmod 640 /etc/app.conf > output.txt' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Export the output of chown for documentation or review.
chown root:app /etc/app.conf > output.txt > command-results.txt 2>&1
Display output while saving it to a file. Base task: Export the output of chown for documentation or review.
chown root:app /etc/app.conf > output.txt 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Export the output of chown for documentation or review.
time chown root:app /etc/app.conf > output.txt
Repeat the command every five seconds for monitoring. Base task: Export the output of chown for documentation or review.
watch -n 5 'chown root:app /etc/app.conf > output.txt'
Print a timestamp immediately before running the command. Base task: Export the output of chown for documentation or review.
date --iso-8601=seconds; chown root:app /etc/app.conf > output.txt
Run the command in the background and log its output. Base task: Export the output of chown for documentation or review.
nohup sh -c 'chown root:app /etc/app.conf > output.txt' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Export the output of ln for documentation or review.
ln -s /opt/app/current /var/www/app > output.txt > command-results.txt 2>&1
Display output while saving it to a file. Base task: Export the output of ln for documentation or review.
ln -s /opt/app/current /var/www/app > output.txt 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Export the output of ln for documentation or review.
time ln -s /opt/app/current /var/www/app > output.txt
Repeat the command every five seconds for monitoring. Base task: Export the output of ln for documentation or review.
watch -n 5 'ln -s /opt/app/current /var/www/app > output.txt'
Print a timestamp immediately before running the command. Base task: Export the output of ln for documentation or review.
date --iso-8601=seconds; ln -s /opt/app/current /var/www/app > output.txt
Run the command in the background and log its output. Base task: Export the output of ln for documentation or review.
nohup sh -c 'ln -s /opt/app/current /var/www/app > output.txt' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Export the output of df for documentation or review.
df -hT > output.txt > command-results.txt 2>&1
Display output while saving it to a file. Base task: Export the output of df for documentation or review.
df -hT > output.txt 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Export the output of df for documentation or review.
time df -hT > output.txt
Repeat the command every five seconds for monitoring. Base task: Export the output of df for documentation or review.
watch -n 5 'df -hT > output.txt'
Print a timestamp immediately before running the command. Base task: Export the output of df for documentation or review.
date --iso-8601=seconds; df -hT > output.txt
Run the command in the background and log its output. Base task: Export the output of df for documentation or review.
nohup sh -c 'df -hT > output.txt' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Export the output of du for documentation or review.
du -sh /var/log/* | sort -h > output.txt > command-results.txt 2>&1
Display output while saving it to a file. Base task: Export the output of du for documentation or review.
du -sh /var/log/* | sort -h > output.txt 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Export the output of du for documentation or review.
time du -sh /var/log/* | sort -h > output.txt
Repeat the command every five seconds for monitoring. Base task: Export the output of du for documentation or review.
watch -n 5 'du -sh /var/log/* | sort -h > output.txt'
Print a timestamp immediately before running the command. Base task: Export the output of du for documentation or review.
date --iso-8601=seconds; du -sh /var/log/* | sort -h > output.txt
Run the command in the background and log its output. Base task: Export the output of du for documentation or review.
nohup sh -c 'du -sh /var/log/* | sort -h > output.txt' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Export the output of free for documentation or review.
free -h > output.txt > command-results.txt 2>&1
Display output while saving it to a file. Base task: Export the output of free for documentation or review.
free -h > output.txt 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Export the output of free for documentation or review.
time free -h > output.txt
Repeat the command every five seconds for monitoring. Base task: Export the output of free for documentation or review.
watch -n 5 'free -h > output.txt'
Print a timestamp immediately before running the command. Base task: Export the output of free for documentation or review.
date --iso-8601=seconds; free -h > output.txt
Run the command in the background and log its output. Base task: Export the output of free for documentation or review.
nohup sh -c 'free -h > output.txt' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Export the output of uptime for documentation or review.
uptime > output.txt > command-results.txt 2>&1
Display output while saving it to a file. Base task: Export the output of uptime for documentation or review.
uptime > output.txt 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Export the output of uptime for documentation or review.
time uptime > output.txt
Repeat the command every five seconds for monitoring. Base task: Export the output of uptime for documentation or review.
watch -n 5 'uptime > output.txt'
Print a timestamp immediately before running the command. Base task: Export the output of uptime for documentation or review.
date --iso-8601=seconds; uptime > output.txt
Run the command in the background and log its output. Base task: Export the output of uptime for documentation or review.
nohup sh -c 'uptime > output.txt' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Export the output of top for documentation or review.
top > output.txt > command-results.txt 2>&1
Display output while saving it to a file. Base task: Export the output of top for documentation or review.
top > output.txt 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Export the output of top for documentation or review.
time top > output.txt
Repeat the command every five seconds for monitoring. Base task: Export the output of top for documentation or review.
watch -n 5 'top > output.txt'
Print a timestamp immediately before running the command. Base task: Export the output of top for documentation or review.
date --iso-8601=seconds; top > output.txt
Run the command in the background and log its output. Base task: Export the output of top for documentation or review.
nohup sh -c 'top > output.txt' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Export the output of ps for documentation or review.
ps aux --sort=-%mem | head > output.txt > command-results.txt 2>&1
Display output while saving it to a file. Base task: Export the output of ps for documentation or review.
ps aux --sort=-%mem | head > output.txt 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Export the output of ps for documentation or review.
time ps aux --sort=-%mem | head > output.txt
Repeat the command every five seconds for monitoring. Base task: Export the output of ps for documentation or review.
watch -n 5 'ps aux --sort=-%mem | head > output.txt'
Print a timestamp immediately before running the command. Base task: Export the output of ps for documentation or review.
date --iso-8601=seconds; ps aux --sort=-%mem | head > output.txt
Run the command in the background and log its output. Base task: Export the output of ps for documentation or review.
nohup sh -c 'ps aux --sort=-%mem | head > output.txt' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Export the output of kill for documentation or review.
kill -TERM 1234 > output.txt > command-results.txt 2>&1
Display output while saving it to a file. Base task: Export the output of kill for documentation or review.
kill -TERM 1234 > output.txt 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Export the output of kill for documentation or review.
time kill -TERM 1234 > output.txt
Repeat the command every five seconds for monitoring. Base task: Export the output of kill for documentation or review.
watch -n 5 'kill -TERM 1234 > output.txt'
Print a timestamp immediately before running the command. Base task: Export the output of kill for documentation or review.
date --iso-8601=seconds; kill -TERM 1234 > output.txt
Run the command in the background and log its output. Base task: Export the output of kill for documentation or review.
nohup sh -c 'kill -TERM 1234 > output.txt' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Export the output of pkill for documentation or review.
pkill -f app-worker > output.txt > command-results.txt 2>&1
Display output while saving it to a file. Base task: Export the output of pkill for documentation or review.
pkill -f app-worker > output.txt 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Export the output of pkill for documentation or review.
time pkill -f app-worker > output.txt
Repeat the command every five seconds for monitoring. Base task: Export the output of pkill for documentation or review.
watch -n 5 'pkill -f app-worker > output.txt'
Print a timestamp immediately before running the command. Base task: Export the output of pkill for documentation or review.
date --iso-8601=seconds; pkill -f app-worker > output.txt
Run the command in the background and log its output. Base task: Export the output of pkill for documentation or review.
nohup sh -c 'pkill -f app-worker > output.txt' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Export the output of nice for documentation or review.
nice -n 10 long-running-command > output.txt > command-results.txt 2>&1
Display output while saving it to a file. Base task: Export the output of nice for documentation or review.
nice -n 10 long-running-command > output.txt 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Export the output of nice for documentation or review.
time nice -n 10 long-running-command > output.txt
Repeat the command every five seconds for monitoring. Base task: Export the output of nice for documentation or review.
watch -n 5 'nice -n 10 long-running-command > output.txt'
Print a timestamp immediately before running the command. Base task: Export the output of nice for documentation or review.
date --iso-8601=seconds; nice -n 10 long-running-command > output.txt
Run the command in the background and log its output. Base task: Export the output of nice for documentation or review.
nohup sh -c 'nice -n 10 long-running-command > output.txt' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Export the output of renice for documentation or review.
renice 5 -p 1234 > output.txt > command-results.txt 2>&1
Display output while saving it to a file. Base task: Export the output of renice for documentation or review.
renice 5 -p 1234 > output.txt 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Export the output of renice for documentation or review.
time renice 5 -p 1234 > output.txt
Repeat the command every five seconds for monitoring. Base task: Export the output of renice for documentation or review.
watch -n 5 'renice 5 -p 1234 > output.txt'
Print a timestamp immediately before running the command. Base task: Export the output of renice for documentation or review.
date --iso-8601=seconds; renice 5 -p 1234 > output.txt
Run the command in the background and log its output. Base task: Export the output of renice for documentation or review.
nohup sh -c 'renice 5 -p 1234 > output.txt' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Export the output of systemctl status for documentation or review.
systemctl status nginx > output.txt > command-results.txt 2>&1
Display output while saving it to a file. Base task: Export the output of systemctl status for documentation or review.
systemctl status nginx > output.txt 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Export the output of systemctl status for documentation or review.
time systemctl status nginx > output.txt
Repeat the command every five seconds for monitoring. Base task: Export the output of systemctl status for documentation or review.
watch -n 5 'systemctl status nginx > output.txt'
Print a timestamp immediately before running the command. Base task: Export the output of systemctl status for documentation or review.
date --iso-8601=seconds; systemctl status nginx > output.txt
Run the command in the background and log its output. Base task: Export the output of systemctl status for documentation or review.
nohup sh -c 'systemctl status nginx > output.txt' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Export the output of systemctl start for documentation or review.
sudo systemctl start nginx > output.txt > command-results.txt 2>&1
Display output while saving it to a file. Base task: Export the output of systemctl start for documentation or review.
sudo systemctl start nginx > output.txt 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Export the output of systemctl start for documentation or review.
time sudo systemctl start nginx > output.txt
Repeat the command every five seconds for monitoring. Base task: Export the output of systemctl start for documentation or review.
watch -n 5 'sudo systemctl start nginx > output.txt'
Print a timestamp immediately before running the command. Base task: Export the output of systemctl start for documentation or review.
date --iso-8601=seconds; sudo systemctl start nginx > output.txt
Run the command in the background and log its output. Base task: Export the output of systemctl start for documentation or review.
nohup sh -c 'sudo systemctl start nginx > output.txt' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Export the output of systemctl stop for documentation or review.
sudo systemctl stop nginx > output.txt > command-results.txt 2>&1
Display output while saving it to a file. Base task: Export the output of systemctl stop for documentation or review.
sudo systemctl stop nginx > output.txt 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Export the output of systemctl stop for documentation or review.
time sudo systemctl stop nginx > output.txt
Repeat the command every five seconds for monitoring. Base task: Export the output of systemctl stop for documentation or review.
watch -n 5 'sudo systemctl stop nginx > output.txt'
Print a timestamp immediately before running the command. Base task: Export the output of systemctl stop for documentation or review.
date --iso-8601=seconds; sudo systemctl stop nginx > output.txt
Run the command in the background and log its output. Base task: Export the output of systemctl stop for documentation or review.
nohup sh -c 'sudo systemctl stop nginx > output.txt' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Export the output of systemctl restart for documentation or review.
sudo systemctl restart nginx > output.txt > command-results.txt 2>&1
Display output while saving it to a file. Base task: Export the output of systemctl restart for documentation or review.
sudo systemctl restart nginx > output.txt 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Export the output of systemctl restart for documentation or review.
time sudo systemctl restart nginx > output.txt
Repeat the command every five seconds for monitoring. Base task: Export the output of systemctl restart for documentation or review.
watch -n 5 'sudo systemctl restart nginx > output.txt'
Print a timestamp immediately before running the command. Base task: Export the output of systemctl restart for documentation or review.
date --iso-8601=seconds; sudo systemctl restart nginx > output.txt
Run the command in the background and log its output. Base task: Export the output of systemctl restart for documentation or review.
nohup sh -c 'sudo systemctl restart nginx > output.txt' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Export the output of systemctl enable for documentation or review.
sudo systemctl enable --now nginx > output.txt > command-results.txt 2>&1
Display output while saving it to a file. Base task: Export the output of systemctl enable for documentation or review.
sudo systemctl enable --now nginx > output.txt 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Export the output of systemctl enable for documentation or review.
time sudo systemctl enable --now nginx > output.txt
Repeat the command every five seconds for monitoring. Base task: Export the output of systemctl enable for documentation or review.
watch -n 5 'sudo systemctl enable --now nginx > output.txt'
Print a timestamp immediately before running the command. Base task: Export the output of systemctl enable for documentation or review.
date --iso-8601=seconds; sudo systemctl enable --now nginx > output.txt
Run the command in the background and log its output. Base task: Export the output of systemctl enable for documentation or review.
nohup sh -c 'sudo systemctl enable --now nginx > output.txt' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Export the output of journalctl for documentation or review.
journalctl -u nginx --since "1 hour ago" > output.txt > command-results.txt 2>&1
Display output while saving it to a file. Base task: Export the output of journalctl for documentation or review.
journalctl -u nginx --since "1 hour ago" > output.txt 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Export the output of journalctl for documentation or review.
time journalctl -u nginx --since "1 hour ago" > output.txt
Repeat the command every five seconds for monitoring. Base task: Export the output of journalctl for documentation or review.
watch -n 5 'journalctl -u nginx --since "1 hour ago" > output.txt'
Print a timestamp immediately before running the command. Base task: Export the output of journalctl for documentation or review.
date --iso-8601=seconds; journalctl -u nginx --since "1 hour ago" > output.txt
Run the command in the background and log its output. Base task: Export the output of journalctl for documentation or review.
nohup sh -c 'journalctl -u nginx --since "1 hour ago" > output.txt' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Export the output of dmesg for documentation or review.
dmesg --level=err,warn > output.txt > command-results.txt 2>&1
Display output while saving it to a file. Base task: Export the output of dmesg for documentation or review.
dmesg --level=err,warn > output.txt 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Export the output of dmesg for documentation or review.
time dmesg --level=err,warn > output.txt
Repeat the command every five seconds for monitoring. Base task: Export the output of dmesg for documentation or review.
watch -n 5 'dmesg --level=err,warn > output.txt'
Print a timestamp immediately before running the command. Base task: Export the output of dmesg for documentation or review.
date --iso-8601=seconds; dmesg --level=err,warn > output.txt
Run the command in the background and log its output. Base task: Export the output of dmesg for documentation or review.
nohup sh -c 'dmesg --level=err,warn > output.txt' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Export the output of ip addr for documentation or review.
ip addr show > output.txt > command-results.txt 2>&1
Display output while saving it to a file. Base task: Export the output of ip addr for documentation or review.
ip addr show > output.txt 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Export the output of ip addr for documentation or review.
time ip addr show > output.txt
Repeat the command every five seconds for monitoring. Base task: Export the output of ip addr for documentation or review.
watch -n 5 'ip addr show > output.txt'
Print a timestamp immediately before running the command. Base task: Export the output of ip addr for documentation or review.
date --iso-8601=seconds; ip addr show > output.txt
Run the command in the background and log its output. Base task: Export the output of ip addr for documentation or review.
nohup sh -c 'ip addr show > output.txt' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Export the output of ip route for documentation or review.
ip route show > output.txt > command-results.txt 2>&1
Display output while saving it to a file. Base task: Export the output of ip route for documentation or review.
ip route show > output.txt 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Export the output of ip route for documentation or review.
time ip route show > output.txt
Repeat the command every five seconds for monitoring. Base task: Export the output of ip route for documentation or review.
watch -n 5 'ip route show > output.txt'
Print a timestamp immediately before running the command. Base task: Export the output of ip route for documentation or review.
date --iso-8601=seconds; ip route show > output.txt
Run the command in the background and log its output. Base task: Export the output of ip route for documentation or review.
nohup sh -c 'ip route show > output.txt' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Export the output of ip neigh for documentation or review.
ip neigh show > output.txt > command-results.txt 2>&1
Display output while saving it to a file. Base task: Export the output of ip neigh for documentation or review.
ip neigh show > output.txt 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Export the output of ip neigh for documentation or review.
time ip neigh show > output.txt
Repeat the command every five seconds for monitoring. Base task: Export the output of ip neigh for documentation or review.
watch -n 5 'ip neigh show > output.txt'
Print a timestamp immediately before running the command. Base task: Export the output of ip neigh for documentation or review.
date --iso-8601=seconds; ip neigh show > output.txt
Run the command in the background and log its output. Base task: Export the output of ip neigh for documentation or review.
nohup sh -c 'ip neigh show > output.txt' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Export the output of ss for documentation or review.
ss -tulpn > output.txt > command-results.txt 2>&1
Display output while saving it to a file. Base task: Export the output of ss for documentation or review.
ss -tulpn > output.txt 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Export the output of ss for documentation or review.
time ss -tulpn > output.txt
Repeat the command every five seconds for monitoring. Base task: Export the output of ss for documentation or review.
watch -n 5 'ss -tulpn > output.txt'
Print a timestamp immediately before running the command. Base task: Export the output of ss for documentation or review.
date --iso-8601=seconds; ss -tulpn > output.txt
Run the command in the background and log its output. Base task: Export the output of ss for documentation or review.
nohup sh -c 'ss -tulpn > output.txt' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Export the output of ping for documentation or review.
ping -c 4 example.com > output.txt > command-results.txt 2>&1
Display output while saving it to a file. Base task: Export the output of ping for documentation or review.
ping -c 4 example.com > output.txt 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Export the output of ping for documentation or review.
time ping -c 4 example.com > output.txt
Repeat the command every five seconds for monitoring. Base task: Export the output of ping for documentation or review.
watch -n 5 'ping -c 4 example.com > output.txt'
Print a timestamp immediately before running the command. Base task: Export the output of ping for documentation or review.
date --iso-8601=seconds; ping -c 4 example.com > output.txt
Run the command in the background and log its output. Base task: Export the output of ping for documentation or review.
nohup sh -c 'ping -c 4 example.com > output.txt' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Export the output of traceroute for documentation or review.
traceroute example.com > output.txt > command-results.txt 2>&1
Display output while saving it to a file. Base task: Export the output of traceroute for documentation or review.
traceroute example.com > output.txt 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Export the output of traceroute for documentation or review.
time traceroute example.com > output.txt
Repeat the command every five seconds for monitoring. Base task: Export the output of traceroute for documentation or review.
watch -n 5 'traceroute example.com > output.txt'
Print a timestamp immediately before running the command. Base task: Export the output of traceroute for documentation or review.
date --iso-8601=seconds; traceroute example.com > output.txt
Run the command in the background and log its output. Base task: Export the output of traceroute for documentation or review.
nohup sh -c 'traceroute example.com > output.txt' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Export the output of dig for documentation or review.
dig example.com MX +short > output.txt > command-results.txt 2>&1
Display output while saving it to a file. Base task: Export the output of dig for documentation or review.
dig example.com MX +short > output.txt 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Export the output of dig for documentation or review.
time dig example.com MX +short > output.txt
Repeat the command every five seconds for monitoring. Base task: Export the output of dig for documentation or review.
watch -n 5 'dig example.com MX +short > output.txt'
Print a timestamp immediately before running the command. Base task: Export the output of dig for documentation or review.
date --iso-8601=seconds; dig example.com MX +short > output.txt
Run the command in the background and log its output. Base task: Export the output of dig for documentation or review.
nohup sh -c 'dig example.com MX +short > output.txt' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Export the output of host for documentation or review.
host -t txt example.com > output.txt > command-results.txt 2>&1
Display output while saving it to a file. Base task: Export the output of host for documentation or review.
host -t txt example.com > output.txt 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Export the output of host for documentation or review.
time host -t txt example.com > output.txt
Repeat the command every five seconds for monitoring. Base task: Export the output of host for documentation or review.
watch -n 5 'host -t txt example.com > output.txt'
Print a timestamp immediately before running the command. Base task: Export the output of host for documentation or review.
date --iso-8601=seconds; host -t txt example.com > output.txt
Run the command in the background and log its output. Base task: Export the output of host for documentation or review.
nohup sh -c 'host -t txt example.com > output.txt' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Export the output of curl for documentation or review.
curl -I https://example.com > output.txt > command-results.txt 2>&1
Display output while saving it to a file. Base task: Export the output of curl for documentation or review.
curl -I https://example.com > output.txt 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Export the output of curl for documentation or review.
time curl -I https://example.com > output.txt
Repeat the command every five seconds for monitoring. Base task: Export the output of curl for documentation or review.
watch -n 5 'curl -I https://example.com > output.txt'
Print a timestamp immediately before running the command. Base task: Export the output of curl for documentation or review.
date --iso-8601=seconds; curl -I https://example.com > output.txt
Run the command in the background and log its output. Base task: Export the output of curl for documentation or review.
nohup sh -c 'curl -I https://example.com > output.txt' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Export the output of wget for documentation or review.
wget -O file.zip https://example.com/file.zip > output.txt > command-results.txt 2>&1
Display output while saving it to a file. Base task: Export the output of wget for documentation or review.
wget -O file.zip https://example.com/file.zip > output.txt 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Export the output of wget for documentation or review.
time wget -O file.zip https://example.com/file.zip > output.txt
Repeat the command every five seconds for monitoring. Base task: Export the output of wget for documentation or review.
watch -n 5 'wget -O file.zip https://example.com/file.zip > output.txt'
Print a timestamp immediately before running the command. Base task: Export the output of wget for documentation or review.
date --iso-8601=seconds; wget -O file.zip https://example.com/file.zip > output.txt
Run the command in the background and log its output. Base task: Export the output of wget for documentation or review.
nohup sh -c 'wget -O file.zip https://example.com/file.zip > output.txt' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Export the output of ssh for documentation or review.
ssh admin@server01 > output.txt > command-results.txt 2>&1
Display output while saving it to a file. Base task: Export the output of ssh for documentation or review.
ssh admin@server01 > output.txt 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Export the output of ssh for documentation or review.
time ssh admin@server01 > output.txt
Repeat the command every five seconds for monitoring. Base task: Export the output of ssh for documentation or review.
watch -n 5 'ssh admin@server01 > output.txt'
Print a timestamp immediately before running the command. Base task: Export the output of ssh for documentation or review.
date --iso-8601=seconds; ssh admin@server01 > output.txt
Run the command in the background and log its output. Base task: Export the output of ssh for documentation or review.
nohup sh -c 'ssh admin@server01 > output.txt' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Export the output of scp for documentation or review.
scp backup.tar.gz admin@server01:/backups/ > output.txt > command-results.txt 2>&1
Display output while saving it to a file. Base task: Export the output of scp for documentation or review.
scp backup.tar.gz admin@server01:/backups/ > output.txt 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Export the output of scp for documentation or review.
time scp backup.tar.gz admin@server01:/backups/ > output.txt
Repeat the command every five seconds for monitoring. Base task: Export the output of scp for documentation or review.
watch -n 5 'scp backup.tar.gz admin@server01:/backups/ > output.txt'
Print a timestamp immediately before running the command. Base task: Export the output of scp for documentation or review.
date --iso-8601=seconds; scp backup.tar.gz admin@server01:/backups/ > output.txt
Run the command in the background and log its output. Base task: Export the output of scp for documentation or review.
nohup sh -c 'scp backup.tar.gz admin@server01:/backups/ > output.txt' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Export the output of rsync for documentation or review.
rsync -avh --delete /source/ /backup/ > output.txt > command-results.txt 2>&1
Display output while saving it to a file. Base task: Export the output of rsync for documentation or review.
rsync -avh --delete /source/ /backup/ > output.txt 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Export the output of rsync for documentation or review.
time rsync -avh --delete /source/ /backup/ > output.txt
Repeat the command every five seconds for monitoring. Base task: Export the output of rsync for documentation or review.
watch -n 5 'rsync -avh --delete /source/ /backup/ > output.txt'
Print a timestamp immediately before running the command. Base task: Export the output of rsync for documentation or review.
date --iso-8601=seconds; rsync -avh --delete /source/ /backup/ > output.txt
Run the command in the background and log its output. Base task: Export the output of rsync for documentation or review.
nohup sh -c 'rsync -avh --delete /source/ /backup/ > output.txt' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Export the output of tar for documentation or review.
tar -czf backup.tar.gz /etc/app > output.txt > command-results.txt 2>&1
Display output while saving it to a file. Base task: Export the output of tar for documentation or review.
tar -czf backup.tar.gz /etc/app > output.txt 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Export the output of tar for documentation or review.
time tar -czf backup.tar.gz /etc/app > output.txt
Repeat the command every five seconds for monitoring. Base task: Export the output of tar for documentation or review.
watch -n 5 'tar -czf backup.tar.gz /etc/app > output.txt'
Print a timestamp immediately before running the command. Base task: Export the output of tar for documentation or review.
date --iso-8601=seconds; tar -czf backup.tar.gz /etc/app > output.txt
Run the command in the background and log its output. Base task: Export the output of tar for documentation or review.
nohup sh -c 'tar -czf backup.tar.gz /etc/app > output.txt' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Export the output of gzip for documentation or review.
gzip -k large.log > output.txt > command-results.txt 2>&1
Display output while saving it to a file. Base task: Export the output of gzip for documentation or review.
gzip -k large.log > output.txt 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Export the output of gzip for documentation or review.
time gzip -k large.log > output.txt
Repeat the command every five seconds for monitoring. Base task: Export the output of gzip for documentation or review.
watch -n 5 'gzip -k large.log > output.txt'
Print a timestamp immediately before running the command. Base task: Export the output of gzip for documentation or review.
date --iso-8601=seconds; gzip -k large.log > output.txt
Run the command in the background and log its output. Base task: Export the output of gzip for documentation or review.
nohup sh -c 'gzip -k large.log > output.txt' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Export the output of unzip for documentation or review.
unzip package.zip -d /opt/app > output.txt > command-results.txt 2>&1
Display output while saving it to a file. Base task: Export the output of unzip for documentation or review.
unzip package.zip -d /opt/app > output.txt 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Export the output of unzip for documentation or review.
time unzip package.zip -d /opt/app > output.txt
Repeat the command every five seconds for monitoring. Base task: Export the output of unzip for documentation or review.
watch -n 5 'unzip package.zip -d /opt/app > output.txt'
Print a timestamp immediately before running the command. Base task: Export the output of unzip for documentation or review.
date --iso-8601=seconds; unzip package.zip -d /opt/app > output.txt
Run the command in the background and log its output. Base task: Export the output of unzip for documentation or review.
nohup sh -c 'unzip package.zip -d /opt/app > output.txt' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Export the output of sed for documentation or review.
sed -i "s/old/new/g" config.txt > output.txt > command-results.txt 2>&1
Display output while saving it to a file. Base task: Export the output of sed for documentation or review.
sed -i "s/old/new/g" config.txt > output.txt 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Export the output of sed for documentation or review.
time sed -i "s/old/new/g" config.txt > output.txt
Repeat the command every five seconds for monitoring. Base task: Export the output of sed for documentation or review.
watch -n 5 'sed -i "s/old/new/g" config.txt > output.txt'
Print a timestamp immediately before running the command. Base task: Export the output of sed for documentation or review.
date --iso-8601=seconds; sed -i "s/old/new/g" config.txt > output.txt
Run the command in the background and log its output. Base task: Export the output of sed for documentation or review.
nohup sh -c 'sed -i "s/old/new/g" config.txt > output.txt' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Export the output of awk for documentation or review.
awk -F: "{print $1}" /etc/passwd > output.txt > command-results.txt 2>&1
Display output while saving it to a file. Base task: Export the output of awk for documentation or review.
awk -F: "{print $1}" /etc/passwd > output.txt 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Export the output of awk for documentation or review.
time awk -F: "{print $1}" /etc/passwd > output.txt
Repeat the command every five seconds for monitoring. Base task: Export the output of awk for documentation or review.
watch -n 5 'awk -F: "{print $1}" /etc/passwd > output.txt'
Print a timestamp immediately before running the command. Base task: Export the output of awk for documentation or review.
date --iso-8601=seconds; awk -F: "{print $1}" /etc/passwd > output.txt
Run the command in the background and log its output. Base task: Export the output of awk for documentation or review.
nohup sh -c 'awk -F: "{print $1}" /etc/passwd > output.txt' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Export the output of cut for documentation or review.
cut -d, -f1,3 users.csv > output.txt > command-results.txt 2>&1
Display output while saving it to a file. Base task: Export the output of cut for documentation or review.
cut -d, -f1,3 users.csv > output.txt 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Export the output of cut for documentation or review.
time cut -d, -f1,3 users.csv > output.txt
Repeat the command every five seconds for monitoring. Base task: Export the output of cut for documentation or review.
watch -n 5 'cut -d, -f1,3 users.csv > output.txt'
Print a timestamp immediately before running the command. Base task: Export the output of cut for documentation or review.
date --iso-8601=seconds; cut -d, -f1,3 users.csv > output.txt
Run the command in the background and log its output. Base task: Export the output of cut for documentation or review.
nohup sh -c 'cut -d, -f1,3 users.csv > output.txt' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Export the output of sort for documentation or review.
sort -u names.txt > output.txt > command-results.txt 2>&1
Display output while saving it to a file. Base task: Export the output of sort for documentation or review.
sort -u names.txt > output.txt 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Export the output of sort for documentation or review.
time sort -u names.txt > output.txt
Repeat the command every five seconds for monitoring. Base task: Export the output of sort for documentation or review.
watch -n 5 'sort -u names.txt > output.txt'
Print a timestamp immediately before running the command. Base task: Export the output of sort for documentation or review.
date --iso-8601=seconds; sort -u names.txt > output.txt
Run the command in the background and log its output. Base task: Export the output of sort for documentation or review.
nohup sh -c 'sort -u names.txt > output.txt' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Export the output of uniq for documentation or review.
sort access.log | uniq -c > output.txt > command-results.txt 2>&1
Display output while saving it to a file. Base task: Export the output of uniq for documentation or review.
sort access.log | uniq -c > output.txt 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Export the output of uniq for documentation or review.
time sort access.log | uniq -c > output.txt
Repeat the command every five seconds for monitoring. Base task: Export the output of uniq for documentation or review.
watch -n 5 'sort access.log | uniq -c > output.txt'
Print a timestamp immediately before running the command. Base task: Export the output of uniq for documentation or review.
date --iso-8601=seconds; sort access.log | uniq -c > output.txt
Run the command in the background and log its output. Base task: Export the output of uniq for documentation or review.
nohup sh -c 'sort access.log | uniq -c > output.txt' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Export the output of wc for documentation or review.
wc -l access.log > output.txt > command-results.txt 2>&1
Display output while saving it to a file. Base task: Export the output of wc for documentation or review.
wc -l access.log > output.txt 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Export the output of wc for documentation or review.
time wc -l access.log > output.txt
Repeat the command every five seconds for monitoring. Base task: Export the output of wc for documentation or review.
watch -n 5 'wc -l access.log > output.txt'
Print a timestamp immediately before running the command. Base task: Export the output of wc for documentation or review.
date --iso-8601=seconds; wc -l access.log > output.txt
Run the command in the background and log its output. Base task: Export the output of wc for documentation or review.
nohup sh -c 'wc -l access.log > output.txt' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Export the output of xargs for documentation or review.
find /tmp -name "*.tmp" -print0 | xargs -0 rm -f > output.txt > command-results.txt 2>&1
Display output while saving it to a file. Base task: Export the output of xargs for documentation or review.
find /tmp -name "*.tmp" -print0 | xargs -0 rm -f > output.txt 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Export the output of xargs for documentation or review.
time find /tmp -name "*.tmp" -print0 | xargs -0 rm -f > output.txt
Repeat the command every five seconds for monitoring. Base task: Export the output of xargs for documentation or review.
watch -n 5 'find /tmp -name "*.tmp" -print0 | xargs -0 rm -f > output.txt'
Print a timestamp immediately before running the command. Base task: Export the output of xargs for documentation or review.
date --iso-8601=seconds; find /tmp -name "*.tmp" -print0 | xargs -0 rm -f > output.txt
Run the command in the background and log its output. Base task: Export the output of xargs for documentation or review.
nohup sh -c 'find /tmp -name "*.tmp" -print0 | xargs -0 rm -f > output.txt' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Export the output of tee for documentation or review.
echo "enabled=true" | sudo tee /etc/app.conf > output.txt > command-results.txt 2>&1
Display output while saving it to a file. Base task: Export the output of tee for documentation or review.
echo "enabled=true" | sudo tee /etc/app.conf > output.txt 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Export the output of tee for documentation or review.
time echo "enabled=true" | sudo tee /etc/app.conf > output.txt
Repeat the command every five seconds for monitoring. Base task: Export the output of tee for documentation or review.
watch -n 5 'echo "enabled=true" | sudo tee /etc/app.conf > output.txt'
Print a timestamp immediately before running the command. Base task: Export the output of tee for documentation or review.
date --iso-8601=seconds; echo "enabled=true" | sudo tee /etc/app.conf > output.txt
Run the command in the background and log its output. Base task: Export the output of tee for documentation or review.
nohup sh -c 'echo "enabled=true" | sudo tee /etc/app.conf > output.txt' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Export the output of env for documentation or review.
env | sort > output.txt > command-results.txt 2>&1
Display output while saving it to a file. Base task: Export the output of env for documentation or review.
env | sort > output.txt 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Export the output of env for documentation or review.
time env | sort > output.txt
Repeat the command every five seconds for monitoring. Base task: Export the output of env for documentation or review.
watch -n 5 'env | sort > output.txt'
Print a timestamp immediately before running the command. Base task: Export the output of env for documentation or review.
date --iso-8601=seconds; env | sort > output.txt
Run the command in the background and log its output. Base task: Export the output of env for documentation or review.
nohup sh -c 'env | sort > output.txt' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Export the output of export for documentation or review.
export APP_ENV=production > output.txt > command-results.txt 2>&1
Display output while saving it to a file. Base task: Export the output of export for documentation or review.
export APP_ENV=production > output.txt 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Export the output of export for documentation or review.
time export APP_ENV=production > output.txt
Repeat the command every five seconds for monitoring. Base task: Export the output of export for documentation or review.
watch -n 5 'export APP_ENV=production > output.txt'
Print a timestamp immediately before running the command. Base task: Export the output of export for documentation or review.
date --iso-8601=seconds; export APP_ENV=production > output.txt
Run the command in the background and log its output. Base task: Export the output of export for documentation or review.
nohup sh -c 'export APP_ENV=production > output.txt' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Export the output of crontab for documentation or review.
crontab -l > output.txt > command-results.txt 2>&1
Display output while saving it to a file. Base task: Export the output of crontab for documentation or review.
crontab -l > output.txt 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Export the output of crontab for documentation or review.
time crontab -l > output.txt
Repeat the command every five seconds for monitoring. Base task: Export the output of crontab for documentation or review.
watch -n 5 'crontab -l > output.txt'
Print a timestamp immediately before running the command. Base task: Export the output of crontab for documentation or review.
date --iso-8601=seconds; crontab -l > output.txt
Run the command in the background and log its output. Base task: Export the output of crontab for documentation or review.
nohup sh -c 'crontab -l > output.txt' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Export the output of apt update for documentation or review.
sudo apt update > output.txt > command-results.txt 2>&1
Display output while saving it to a file. Base task: Export the output of apt update for documentation or review.
sudo apt update > output.txt 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Export the output of apt update for documentation or review.
time sudo apt update > output.txt
Repeat the command every five seconds for monitoring. Base task: Export the output of apt update for documentation or review.
watch -n 5 'sudo apt update > output.txt'
Print a timestamp immediately before running the command. Base task: Export the output of apt update for documentation or review.
date --iso-8601=seconds; sudo apt update > output.txt
Run the command in the background and log its output. Base task: Export the output of apt update for documentation or review.
nohup sh -c 'sudo apt update > output.txt' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Export the output of apt upgrade for documentation or review.
sudo apt upgrade > output.txt > command-results.txt 2>&1
Display output while saving it to a file. Base task: Export the output of apt upgrade for documentation or review.
sudo apt upgrade > output.txt 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Export the output of apt upgrade for documentation or review.
time sudo apt upgrade > output.txt
Repeat the command every five seconds for monitoring. Base task: Export the output of apt upgrade for documentation or review.
watch -n 5 'sudo apt upgrade > output.txt'
Print a timestamp immediately before running the command. Base task: Export the output of apt upgrade for documentation or review.
date --iso-8601=seconds; sudo apt upgrade > output.txt
Run the command in the background and log its output. Base task: Export the output of apt upgrade for documentation or review.
nohup sh -c 'sudo apt upgrade > output.txt' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Export the output of dnf update for documentation or review.
sudo dnf update > output.txt > command-results.txt 2>&1
Display output while saving it to a file. Base task: Export the output of dnf update for documentation or review.
sudo dnf update > output.txt 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Export the output of dnf update for documentation or review.
time sudo dnf update > output.txt
Repeat the command every five seconds for monitoring. Base task: Export the output of dnf update for documentation or review.
watch -n 5 'sudo dnf update > output.txt'
Print a timestamp immediately before running the command. Base task: Export the output of dnf update for documentation or review.
date --iso-8601=seconds; sudo dnf update > output.txt
Run the command in the background and log its output. Base task: Export the output of dnf update for documentation or review.
nohup sh -c 'sudo dnf update > output.txt' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Export the output of rpm query for documentation or review.
rpm -qa | sort > output.txt > command-results.txt 2>&1
Display output while saving it to a file. Base task: Export the output of rpm query for documentation or review.
rpm -qa | sort > output.txt 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Export the output of rpm query for documentation or review.
time rpm -qa | sort > output.txt
Repeat the command every five seconds for monitoring. Base task: Export the output of rpm query for documentation or review.
watch -n 5 'rpm -qa | sort > output.txt'
Print a timestamp immediately before running the command. Base task: Export the output of rpm query for documentation or review.
date --iso-8601=seconds; rpm -qa | sort > output.txt
Run the command in the background and log its output. Base task: Export the output of rpm query for documentation or review.
nohup sh -c 'rpm -qa | sort > output.txt' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Export the output of dpkg query for documentation or review.
dpkg -l > output.txt > command-results.txt 2>&1
Display output while saving it to a file. Base task: Export the output of dpkg query for documentation or review.
dpkg -l > output.txt 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Export the output of dpkg query for documentation or review.
time dpkg -l > output.txt
Repeat the command every five seconds for monitoring. Base task: Export the output of dpkg query for documentation or review.
watch -n 5 'dpkg -l > output.txt'
Print a timestamp immediately before running the command. Base task: Export the output of dpkg query for documentation or review.
date --iso-8601=seconds; dpkg -l > output.txt
Run the command in the background and log its output. Base task: Export the output of dpkg query for documentation or review.
nohup sh -c 'dpkg -l > output.txt' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Export the output of uname for documentation or review.
uname -a > output.txt > command-results.txt 2>&1
Display output while saving it to a file. Base task: Export the output of uname for documentation or review.
uname -a > output.txt 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Export the output of uname for documentation or review.
time uname -a > output.txt
Repeat the command every five seconds for monitoring. Base task: Export the output of uname for documentation or review.
watch -n 5 'uname -a > output.txt'
Print a timestamp immediately before running the command. Base task: Export the output of uname for documentation or review.
date --iso-8601=seconds; uname -a > output.txt
Run the command in the background and log its output. Base task: Export the output of uname for documentation or review.
nohup sh -c 'uname -a > output.txt' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Export the output of hostnamectl for documentation or review.
hostnamectl > output.txt > command-results.txt 2>&1
Display output while saving it to a file. Base task: Export the output of hostnamectl for documentation or review.
hostnamectl > output.txt 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Export the output of hostnamectl for documentation or review.
time hostnamectl > output.txt
Repeat the command every five seconds for monitoring. Base task: Export the output of hostnamectl for documentation or review.
watch -n 5 'hostnamectl > output.txt'
Print a timestamp immediately before running the command. Base task: Export the output of hostnamectl for documentation or review.
date --iso-8601=seconds; hostnamectl > output.txt
Run the command in the background and log its output. Base task: Export the output of hostnamectl for documentation or review.
nohup sh -c 'hostnamectl > output.txt' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Export the output of timedatectl for documentation or review.
timedatectl > output.txt > command-results.txt 2>&1
Display output while saving it to a file. Base task: Export the output of timedatectl for documentation or review.
timedatectl > output.txt 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Export the output of timedatectl for documentation or review.
time timedatectl > output.txt
Repeat the command every five seconds for monitoring. Base task: Export the output of timedatectl for documentation or review.
watch -n 5 'timedatectl > output.txt'
Print a timestamp immediately before running the command. Base task: Export the output of timedatectl for documentation or review.
date --iso-8601=seconds; timedatectl > output.txt
Run the command in the background and log its output. Base task: Export the output of timedatectl for documentation or review.
nohup sh -c 'timedatectl > output.txt' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Display usage, options, and built-in help for the Linux command ls.
ls --help > command-results.txt 2>&1
Display output while saving it to a file. Base task: Display usage, options, and built-in help for the Linux command ls.
ls --help 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Display usage, options, and built-in help for the Linux command ls.
time ls --help
Repeat the command every five seconds for monitoring. Base task: Display usage, options, and built-in help for the Linux command ls.
watch -n 5 'ls --help'
Print a timestamp immediately before running the command. Base task: Display usage, options, and built-in help for the Linux command ls.
date --iso-8601=seconds; ls --help
Run the command in the background and log its output. Base task: Display usage, options, and built-in help for the Linux command ls.
nohup sh -c 'ls --help' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Display usage, options, and built-in help for the Linux command cd.
cd --help > command-results.txt 2>&1
Display output while saving it to a file. Base task: Display usage, options, and built-in help for the Linux command cd.
cd --help 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Display usage, options, and built-in help for the Linux command cd.
time cd --help
Repeat the command every five seconds for monitoring. Base task: Display usage, options, and built-in help for the Linux command cd.
watch -n 5 'cd --help'
Print a timestamp immediately before running the command. Base task: Display usage, options, and built-in help for the Linux command cd.
date --iso-8601=seconds; cd --help
Run the command in the background and log its output. Base task: Display usage, options, and built-in help for the Linux command cd.
nohup sh -c 'cd --help' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Display usage, options, and built-in help for the Linux command pwd.
pwd --help > command-results.txt 2>&1
Display output while saving it to a file. Base task: Display usage, options, and built-in help for the Linux command pwd.
pwd --help 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Display usage, options, and built-in help for the Linux command pwd.
time pwd --help
Repeat the command every five seconds for monitoring. Base task: Display usage, options, and built-in help for the Linux command pwd.
watch -n 5 'pwd --help'
Print a timestamp immediately before running the command. Base task: Display usage, options, and built-in help for the Linux command pwd.
date --iso-8601=seconds; pwd --help
Run the command in the background and log its output. Base task: Display usage, options, and built-in help for the Linux command pwd.
nohup sh -c 'pwd --help' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Display usage, options, and built-in help for the Linux command cp.
cp --help > command-results.txt 2>&1
Display output while saving it to a file. Base task: Display usage, options, and built-in help for the Linux command cp.
cp --help 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Display usage, options, and built-in help for the Linux command cp.
time cp --help
Repeat the command every five seconds for monitoring. Base task: Display usage, options, and built-in help for the Linux command cp.
watch -n 5 'cp --help'
Print a timestamp immediately before running the command. Base task: Display usage, options, and built-in help for the Linux command cp.
date --iso-8601=seconds; cp --help
Run the command in the background and log its output. Base task: Display usage, options, and built-in help for the Linux command cp.
nohup sh -c 'cp --help' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Display usage, options, and built-in help for the Linux command mv.
mv --help > command-results.txt 2>&1
Display output while saving it to a file. Base task: Display usage, options, and built-in help for the Linux command mv.
mv --help 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Display usage, options, and built-in help for the Linux command mv.
time mv --help
Repeat the command every five seconds for monitoring. Base task: Display usage, options, and built-in help for the Linux command mv.
watch -n 5 'mv --help'
Print a timestamp immediately before running the command. Base task: Display usage, options, and built-in help for the Linux command mv.
date --iso-8601=seconds; mv --help
Run the command in the background and log its output. Base task: Display usage, options, and built-in help for the Linux command mv.
nohup sh -c 'mv --help' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Display usage, options, and built-in help for the Linux command rm.
rm --help > command-results.txt 2>&1
Display output while saving it to a file. Base task: Display usage, options, and built-in help for the Linux command rm.
rm --help 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Display usage, options, and built-in help for the Linux command rm.
time rm --help
Repeat the command every five seconds for monitoring. Base task: Display usage, options, and built-in help for the Linux command rm.
watch -n 5 'rm --help'
Print a timestamp immediately before running the command. Base task: Display usage, options, and built-in help for the Linux command rm.
date --iso-8601=seconds; rm --help
Run the command in the background and log its output. Base task: Display usage, options, and built-in help for the Linux command rm.
nohup sh -c 'rm --help' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Display usage, options, and built-in help for the Linux command mkdir.
mkdir --help > command-results.txt 2>&1
Display output while saving it to a file. Base task: Display usage, options, and built-in help for the Linux command mkdir.
mkdir --help 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Display usage, options, and built-in help for the Linux command mkdir.
time mkdir --help
Repeat the command every five seconds for monitoring. Base task: Display usage, options, and built-in help for the Linux command mkdir.
watch -n 5 'mkdir --help'
Print a timestamp immediately before running the command. Base task: Display usage, options, and built-in help for the Linux command mkdir.
date --iso-8601=seconds; mkdir --help
Run the command in the background and log its output. Base task: Display usage, options, and built-in help for the Linux command mkdir.
nohup sh -c 'mkdir --help' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Display usage, options, and built-in help for the Linux command touch.
touch --help > command-results.txt 2>&1
Display output while saving it to a file. Base task: Display usage, options, and built-in help for the Linux command touch.
touch --help 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Display usage, options, and built-in help for the Linux command touch.
time touch --help
Repeat the command every five seconds for monitoring. Base task: Display usage, options, and built-in help for the Linux command touch.
watch -n 5 'touch --help'
Print a timestamp immediately before running the command. Base task: Display usage, options, and built-in help for the Linux command touch.
date --iso-8601=seconds; touch --help
Run the command in the background and log its output. Base task: Display usage, options, and built-in help for the Linux command touch.
nohup sh -c 'touch --help' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Display usage, options, and built-in help for the Linux command cat.
cat --help > command-results.txt 2>&1
Display output while saving it to a file. Base task: Display usage, options, and built-in help for the Linux command cat.
cat --help 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Display usage, options, and built-in help for the Linux command cat.
time cat --help
Repeat the command every five seconds for monitoring. Base task: Display usage, options, and built-in help for the Linux command cat.
watch -n 5 'cat --help'
Print a timestamp immediately before running the command. Base task: Display usage, options, and built-in help for the Linux command cat.
date --iso-8601=seconds; cat --help
Run the command in the background and log its output. Base task: Display usage, options, and built-in help for the Linux command cat.
nohup sh -c 'cat --help' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Display usage, options, and built-in help for the Linux command less.
less --help > command-results.txt 2>&1
Display output while saving it to a file. Base task: Display usage, options, and built-in help for the Linux command less.
less --help 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Display usage, options, and built-in help for the Linux command less.
time less --help
Repeat the command every five seconds for monitoring. Base task: Display usage, options, and built-in help for the Linux command less.
watch -n 5 'less --help'
Print a timestamp immediately before running the command. Base task: Display usage, options, and built-in help for the Linux command less.
date --iso-8601=seconds; less --help
Run the command in the background and log its output. Base task: Display usage, options, and built-in help for the Linux command less.
nohup sh -c 'less --help' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Display usage, options, and built-in help for the Linux command head.
head --help > command-results.txt 2>&1
Display output while saving it to a file. Base task: Display usage, options, and built-in help for the Linux command head.
head --help 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Display usage, options, and built-in help for the Linux command head.
time head --help
Repeat the command every five seconds for monitoring. Base task: Display usage, options, and built-in help for the Linux command head.
watch -n 5 'head --help'
Print a timestamp immediately before running the command. Base task: Display usage, options, and built-in help for the Linux command head.
date --iso-8601=seconds; head --help
Run the command in the background and log its output. Base task: Display usage, options, and built-in help for the Linux command head.
nohup sh -c 'head --help' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Display usage, options, and built-in help for the Linux command tail.
tail --help > command-results.txt 2>&1
Display output while saving it to a file. Base task: Display usage, options, and built-in help for the Linux command tail.
tail --help 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Display usage, options, and built-in help for the Linux command tail.
time tail --help
Repeat the command every five seconds for monitoring. Base task: Display usage, options, and built-in help for the Linux command tail.
watch -n 5 'tail --help'
Print a timestamp immediately before running the command. Base task: Display usage, options, and built-in help for the Linux command tail.
date --iso-8601=seconds; tail --help
Run the command in the background and log its output. Base task: Display usage, options, and built-in help for the Linux command tail.
nohup sh -c 'tail --help' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Display usage, options, and built-in help for the Linux command grep.
grep --help > command-results.txt 2>&1
Display output while saving it to a file. Base task: Display usage, options, and built-in help for the Linux command grep.
grep --help 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Display usage, options, and built-in help for the Linux command grep.
time grep --help
Repeat the command every five seconds for monitoring. Base task: Display usage, options, and built-in help for the Linux command grep.
watch -n 5 'grep --help'
Print a timestamp immediately before running the command. Base task: Display usage, options, and built-in help for the Linux command grep.
date --iso-8601=seconds; grep --help
Run the command in the background and log its output. Base task: Display usage, options, and built-in help for the Linux command grep.
nohup sh -c 'grep --help' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Display usage, options, and built-in help for the Linux command find.
find --help > command-results.txt 2>&1
Display output while saving it to a file. Base task: Display usage, options, and built-in help for the Linux command find.
find --help 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Display usage, options, and built-in help for the Linux command find.
time find --help
Repeat the command every five seconds for monitoring. Base task: Display usage, options, and built-in help for the Linux command find.
watch -n 5 'find --help'
Print a timestamp immediately before running the command. Base task: Display usage, options, and built-in help for the Linux command find.
date --iso-8601=seconds; find --help
Run the command in the background and log its output. Base task: Display usage, options, and built-in help for the Linux command find.
nohup sh -c 'find --help' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Display usage, options, and built-in help for the Linux command locate.
locate --help > command-results.txt 2>&1
Display output while saving it to a file. Base task: Display usage, options, and built-in help for the Linux command locate.
locate --help 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Display usage, options, and built-in help for the Linux command locate.
time locate --help
Repeat the command every five seconds for monitoring. Base task: Display usage, options, and built-in help for the Linux command locate.
watch -n 5 'locate --help'
Print a timestamp immediately before running the command. Base task: Display usage, options, and built-in help for the Linux command locate.
date --iso-8601=seconds; locate --help
Run the command in the background and log its output. Base task: Display usage, options, and built-in help for the Linux command locate.
nohup sh -c 'locate --help' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Display usage, options, and built-in help for the Linux command which.
which --help > command-results.txt 2>&1
Display output while saving it to a file. Base task: Display usage, options, and built-in help for the Linux command which.
which --help 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Display usage, options, and built-in help for the Linux command which.
time which --help
Repeat the command every five seconds for monitoring. Base task: Display usage, options, and built-in help for the Linux command which.
watch -n 5 'which --help'
Print a timestamp immediately before running the command. Base task: Display usage, options, and built-in help for the Linux command which.
date --iso-8601=seconds; which --help
Run the command in the background and log its output. Base task: Display usage, options, and built-in help for the Linux command which.
nohup sh -c 'which --help' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Display usage, options, and built-in help for the Linux command whereis.
whereis --help > command-results.txt 2>&1
Display output while saving it to a file. Base task: Display usage, options, and built-in help for the Linux command whereis.
whereis --help 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Display usage, options, and built-in help for the Linux command whereis.
time whereis --help
Repeat the command every five seconds for monitoring. Base task: Display usage, options, and built-in help for the Linux command whereis.
watch -n 5 'whereis --help'
Print a timestamp immediately before running the command. Base task: Display usage, options, and built-in help for the Linux command whereis.
date --iso-8601=seconds; whereis --help
Run the command in the background and log its output. Base task: Display usage, options, and built-in help for the Linux command whereis.
nohup sh -c 'whereis --help' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Display usage, options, and built-in help for the Linux command chmod.
chmod --help > command-results.txt 2>&1
Display output while saving it to a file. Base task: Display usage, options, and built-in help for the Linux command chmod.
chmod --help 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Display usage, options, and built-in help for the Linux command chmod.
time chmod --help
Repeat the command every five seconds for monitoring. Base task: Display usage, options, and built-in help for the Linux command chmod.
watch -n 5 'chmod --help'
Print a timestamp immediately before running the command. Base task: Display usage, options, and built-in help for the Linux command chmod.
date --iso-8601=seconds; chmod --help
Run the command in the background and log its output. Base task: Display usage, options, and built-in help for the Linux command chmod.
nohup sh -c 'chmod --help' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Display usage, options, and built-in help for the Linux command chown.
chown --help > command-results.txt 2>&1
Display output while saving it to a file. Base task: Display usage, options, and built-in help for the Linux command chown.
chown --help 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Display usage, options, and built-in help for the Linux command chown.
time chown --help
Repeat the command every five seconds for monitoring. Base task: Display usage, options, and built-in help for the Linux command chown.
watch -n 5 'chown --help'
Print a timestamp immediately before running the command. Base task: Display usage, options, and built-in help for the Linux command chown.
date --iso-8601=seconds; chown --help
Run the command in the background and log its output. Base task: Display usage, options, and built-in help for the Linux command chown.
nohup sh -c 'chown --help' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Display usage, options, and built-in help for the Linux command ln.
ln --help > command-results.txt 2>&1
Display output while saving it to a file. Base task: Display usage, options, and built-in help for the Linux command ln.
ln --help 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Display usage, options, and built-in help for the Linux command ln.
time ln --help
Repeat the command every five seconds for monitoring. Base task: Display usage, options, and built-in help for the Linux command ln.
watch -n 5 'ln --help'
Print a timestamp immediately before running the command. Base task: Display usage, options, and built-in help for the Linux command ln.
date --iso-8601=seconds; ln --help
Run the command in the background and log its output. Base task: Display usage, options, and built-in help for the Linux command ln.
nohup sh -c 'ln --help' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Display usage, options, and built-in help for the Linux command df.
df --help > command-results.txt 2>&1
Display output while saving it to a file. Base task: Display usage, options, and built-in help for the Linux command df.
df --help 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Display usage, options, and built-in help for the Linux command df.
time df --help
Repeat the command every five seconds for monitoring. Base task: Display usage, options, and built-in help for the Linux command df.
watch -n 5 'df --help'
Print a timestamp immediately before running the command. Base task: Display usage, options, and built-in help for the Linux command df.
date --iso-8601=seconds; df --help
Run the command in the background and log its output. Base task: Display usage, options, and built-in help for the Linux command df.
nohup sh -c 'df --help' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Display usage, options, and built-in help for the Linux command du.
du --help > command-results.txt 2>&1
Display output while saving it to a file. Base task: Display usage, options, and built-in help for the Linux command du.
du --help 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Display usage, options, and built-in help for the Linux command du.
time du --help
Repeat the command every five seconds for monitoring. Base task: Display usage, options, and built-in help for the Linux command du.
watch -n 5 'du --help'
Print a timestamp immediately before running the command. Base task: Display usage, options, and built-in help for the Linux command du.
date --iso-8601=seconds; du --help
Run the command in the background and log its output. Base task: Display usage, options, and built-in help for the Linux command du.
nohup sh -c 'du --help' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Display usage, options, and built-in help for the Linux command free.
free --help > command-results.txt 2>&1
Display output while saving it to a file. Base task: Display usage, options, and built-in help for the Linux command free.
free --help 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Display usage, options, and built-in help for the Linux command free.
time free --help
Repeat the command every five seconds for monitoring. Base task: Display usage, options, and built-in help for the Linux command free.
watch -n 5 'free --help'
Print a timestamp immediately before running the command. Base task: Display usage, options, and built-in help for the Linux command free.
date --iso-8601=seconds; free --help
Run the command in the background and log its output. Base task: Display usage, options, and built-in help for the Linux command free.
nohup sh -c 'free --help' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Display usage, options, and built-in help for the Linux command uptime.
uptime --help > command-results.txt 2>&1
Display output while saving it to a file. Base task: Display usage, options, and built-in help for the Linux command uptime.
uptime --help 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Display usage, options, and built-in help for the Linux command uptime.
time uptime --help
Repeat the command every five seconds for monitoring. Base task: Display usage, options, and built-in help for the Linux command uptime.
watch -n 5 'uptime --help'
Print a timestamp immediately before running the command. Base task: Display usage, options, and built-in help for the Linux command uptime.
date --iso-8601=seconds; uptime --help
Run the command in the background and log its output. Base task: Display usage, options, and built-in help for the Linux command uptime.
nohup sh -c 'uptime --help' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Display usage, options, and built-in help for the Linux command top.
top --help > command-results.txt 2>&1
Display output while saving it to a file. Base task: Display usage, options, and built-in help for the Linux command top.
top --help 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Display usage, options, and built-in help for the Linux command top.
time top --help
Repeat the command every five seconds for monitoring. Base task: Display usage, options, and built-in help for the Linux command top.
watch -n 5 'top --help'
Print a timestamp immediately before running the command. Base task: Display usage, options, and built-in help for the Linux command top.
date --iso-8601=seconds; top --help
Run the command in the background and log its output. Base task: Display usage, options, and built-in help for the Linux command top.
nohup sh -c 'top --help' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Display usage, options, and built-in help for the Linux command ps.
ps --help > command-results.txt 2>&1
Display output while saving it to a file. Base task: Display usage, options, and built-in help for the Linux command ps.
ps --help 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Display usage, options, and built-in help for the Linux command ps.
time ps --help
Repeat the command every five seconds for monitoring. Base task: Display usage, options, and built-in help for the Linux command ps.
watch -n 5 'ps --help'
Print a timestamp immediately before running the command. Base task: Display usage, options, and built-in help for the Linux command ps.
date --iso-8601=seconds; ps --help
Run the command in the background and log its output. Base task: Display usage, options, and built-in help for the Linux command ps.
nohup sh -c 'ps --help' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Display usage, options, and built-in help for the Linux command kill.
kill --help > command-results.txt 2>&1
Display output while saving it to a file. Base task: Display usage, options, and built-in help for the Linux command kill.
kill --help 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Display usage, options, and built-in help for the Linux command kill.
time kill --help
Repeat the command every five seconds for monitoring. Base task: Display usage, options, and built-in help for the Linux command kill.
watch -n 5 'kill --help'
Print a timestamp immediately before running the command. Base task: Display usage, options, and built-in help for the Linux command kill.
date --iso-8601=seconds; kill --help
Run the command in the background and log its output. Base task: Display usage, options, and built-in help for the Linux command kill.
nohup sh -c 'kill --help' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Display usage, options, and built-in help for the Linux command pkill.
pkill --help > command-results.txt 2>&1
Display output while saving it to a file. Base task: Display usage, options, and built-in help for the Linux command pkill.
pkill --help 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Display usage, options, and built-in help for the Linux command pkill.
time pkill --help
Repeat the command every five seconds for monitoring. Base task: Display usage, options, and built-in help for the Linux command pkill.
watch -n 5 'pkill --help'
Print a timestamp immediately before running the command. Base task: Display usage, options, and built-in help for the Linux command pkill.
date --iso-8601=seconds; pkill --help
Run the command in the background and log its output. Base task: Display usage, options, and built-in help for the Linux command pkill.
nohup sh -c 'pkill --help' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Display usage, options, and built-in help for the Linux command nice.
nice --help > command-results.txt 2>&1
Display output while saving it to a file. Base task: Display usage, options, and built-in help for the Linux command nice.
nice --help 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Display usage, options, and built-in help for the Linux command nice.
time nice --help
Repeat the command every five seconds for monitoring. Base task: Display usage, options, and built-in help for the Linux command nice.
watch -n 5 'nice --help'
Print a timestamp immediately before running the command. Base task: Display usage, options, and built-in help for the Linux command nice.
date --iso-8601=seconds; nice --help
Run the command in the background and log its output. Base task: Display usage, options, and built-in help for the Linux command nice.
nohup sh -c 'nice --help' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Display usage, options, and built-in help for the Linux command renice.
renice --help > command-results.txt 2>&1
Display output while saving it to a file. Base task: Display usage, options, and built-in help for the Linux command renice.
renice --help 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Display usage, options, and built-in help for the Linux command renice.
time renice --help
Repeat the command every five seconds for monitoring. Base task: Display usage, options, and built-in help for the Linux command renice.
watch -n 5 'renice --help'
Print a timestamp immediately before running the command. Base task: Display usage, options, and built-in help for the Linux command renice.
date --iso-8601=seconds; renice --help
Run the command in the background and log its output. Base task: Display usage, options, and built-in help for the Linux command renice.
nohup sh -c 'renice --help' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Display usage, options, and built-in help for the Linux command systemctl status.
systemctl --help > command-results.txt 2>&1
Display output while saving it to a file. Base task: Display usage, options, and built-in help for the Linux command systemctl status.
systemctl --help 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Display usage, options, and built-in help for the Linux command systemctl status.
time systemctl --help
Repeat the command every five seconds for monitoring. Base task: Display usage, options, and built-in help for the Linux command systemctl status.
watch -n 5 'systemctl --help'
Print a timestamp immediately before running the command. Base task: Display usage, options, and built-in help for the Linux command systemctl status.
date --iso-8601=seconds; systemctl --help
Run the command in the background and log its output. Base task: Display usage, options, and built-in help for the Linux command systemctl status.
nohup sh -c 'systemctl --help' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Display usage, options, and built-in help for the Linux command journalctl.
journalctl --help > command-results.txt 2>&1
Display output while saving it to a file. Base task: Display usage, options, and built-in help for the Linux command journalctl.
journalctl --help 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Display usage, options, and built-in help for the Linux command journalctl.
time journalctl --help
Repeat the command every five seconds for monitoring. Base task: Display usage, options, and built-in help for the Linux command journalctl.
watch -n 5 'journalctl --help'
Print a timestamp immediately before running the command. Base task: Display usage, options, and built-in help for the Linux command journalctl.
date --iso-8601=seconds; journalctl --help
Run the command in the background and log its output. Base task: Display usage, options, and built-in help for the Linux command journalctl.
nohup sh -c 'journalctl --help' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Display usage, options, and built-in help for the Linux command dmesg.
dmesg --help > command-results.txt 2>&1
Display output while saving it to a file. Base task: Display usage, options, and built-in help for the Linux command dmesg.
dmesg --help 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Display usage, options, and built-in help for the Linux command dmesg.
time dmesg --help
Repeat the command every five seconds for monitoring. Base task: Display usage, options, and built-in help for the Linux command dmesg.
watch -n 5 'dmesg --help'
Print a timestamp immediately before running the command. Base task: Display usage, options, and built-in help for the Linux command dmesg.
date --iso-8601=seconds; dmesg --help
Run the command in the background and log its output. Base task: Display usage, options, and built-in help for the Linux command dmesg.
nohup sh -c 'dmesg --help' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Display usage, options, and built-in help for the Linux command ip addr.
ip --help > command-results.txt 2>&1
Display output while saving it to a file. Base task: Display usage, options, and built-in help for the Linux command ip addr.
ip --help 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Display usage, options, and built-in help for the Linux command ip addr.
time ip --help
Repeat the command every five seconds for monitoring. Base task: Display usage, options, and built-in help for the Linux command ip addr.
watch -n 5 'ip --help'
Print a timestamp immediately before running the command. Base task: Display usage, options, and built-in help for the Linux command ip addr.
date --iso-8601=seconds; ip --help
Run the command in the background and log its output. Base task: Display usage, options, and built-in help for the Linux command ip addr.
nohup sh -c 'ip --help' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Display usage, options, and built-in help for the Linux command ss.
ss --help > command-results.txt 2>&1
Display output while saving it to a file. Base task: Display usage, options, and built-in help for the Linux command ss.
ss --help 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Display usage, options, and built-in help for the Linux command ss.
time ss --help
Repeat the command every five seconds for monitoring. Base task: Display usage, options, and built-in help for the Linux command ss.
watch -n 5 'ss --help'
Print a timestamp immediately before running the command. Base task: Display usage, options, and built-in help for the Linux command ss.
date --iso-8601=seconds; ss --help
Run the command in the background and log its output. Base task: Display usage, options, and built-in help for the Linux command ss.
nohup sh -c 'ss --help' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Display usage, options, and built-in help for the Linux command ping.
ping --help > command-results.txt 2>&1
Display output while saving it to a file. Base task: Display usage, options, and built-in help for the Linux command ping.
ping --help 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Display usage, options, and built-in help for the Linux command ping.
time ping --help
Repeat the command every five seconds for monitoring. Base task: Display usage, options, and built-in help for the Linux command ping.
watch -n 5 'ping --help'
Print a timestamp immediately before running the command. Base task: Display usage, options, and built-in help for the Linux command ping.
date --iso-8601=seconds; ping --help
Run the command in the background and log its output. Base task: Display usage, options, and built-in help for the Linux command ping.
nohup sh -c 'ping --help' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Display usage, options, and built-in help for the Linux command traceroute.
traceroute --help > command-results.txt 2>&1
Display output while saving it to a file. Base task: Display usage, options, and built-in help for the Linux command traceroute.
traceroute --help 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Display usage, options, and built-in help for the Linux command traceroute.
time traceroute --help
Repeat the command every five seconds for monitoring. Base task: Display usage, options, and built-in help for the Linux command traceroute.
watch -n 5 'traceroute --help'
Print a timestamp immediately before running the command. Base task: Display usage, options, and built-in help for the Linux command traceroute.
date --iso-8601=seconds; traceroute --help
Run the command in the background and log its output. Base task: Display usage, options, and built-in help for the Linux command traceroute.
nohup sh -c 'traceroute --help' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Display usage, options, and built-in help for the Linux command dig.
dig --help > command-results.txt 2>&1
Display output while saving it to a file. Base task: Display usage, options, and built-in help for the Linux command dig.
dig --help 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Display usage, options, and built-in help for the Linux command dig.
time dig --help
Repeat the command every five seconds for monitoring. Base task: Display usage, options, and built-in help for the Linux command dig.
watch -n 5 'dig --help'
Print a timestamp immediately before running the command. Base task: Display usage, options, and built-in help for the Linux command dig.
date --iso-8601=seconds; dig --help
Run the command in the background and log its output. Base task: Display usage, options, and built-in help for the Linux command dig.
nohup sh -c 'dig --help' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Display usage, options, and built-in help for the Linux command host.
host --help > command-results.txt 2>&1
Display output while saving it to a file. Base task: Display usage, options, and built-in help for the Linux command host.
host --help 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Display usage, options, and built-in help for the Linux command host.
time host --help
Repeat the command every five seconds for monitoring. Base task: Display usage, options, and built-in help for the Linux command host.
watch -n 5 'host --help'
Print a timestamp immediately before running the command. Base task: Display usage, options, and built-in help for the Linux command host.
date --iso-8601=seconds; host --help
Run the command in the background and log its output. Base task: Display usage, options, and built-in help for the Linux command host.
nohup sh -c 'host --help' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Display usage, options, and built-in help for the Linux command curl.
curl --help > command-results.txt 2>&1
Display output while saving it to a file. Base task: Display usage, options, and built-in help for the Linux command curl.
curl --help 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Display usage, options, and built-in help for the Linux command curl.
time curl --help
Repeat the command every five seconds for monitoring. Base task: Display usage, options, and built-in help for the Linux command curl.
watch -n 5 'curl --help'
Print a timestamp immediately before running the command. Base task: Display usage, options, and built-in help for the Linux command curl.
date --iso-8601=seconds; curl --help
Run the command in the background and log its output. Base task: Display usage, options, and built-in help for the Linux command curl.
nohup sh -c 'curl --help' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Display usage, options, and built-in help for the Linux command wget.
wget --help > command-results.txt 2>&1
Display output while saving it to a file. Base task: Display usage, options, and built-in help for the Linux command wget.
wget --help 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Display usage, options, and built-in help for the Linux command wget.
time wget --help
Repeat the command every five seconds for monitoring. Base task: Display usage, options, and built-in help for the Linux command wget.
watch -n 5 'wget --help'
Print a timestamp immediately before running the command. Base task: Display usage, options, and built-in help for the Linux command wget.
date --iso-8601=seconds; wget --help
Run the command in the background and log its output. Base task: Display usage, options, and built-in help for the Linux command wget.
nohup sh -c 'wget --help' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Display usage, options, and built-in help for the Linux command ssh.
ssh --help > command-results.txt 2>&1
Display output while saving it to a file. Base task: Display usage, options, and built-in help for the Linux command ssh.
ssh --help 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Display usage, options, and built-in help for the Linux command ssh.
time ssh --help
Repeat the command every five seconds for monitoring. Base task: Display usage, options, and built-in help for the Linux command ssh.
watch -n 5 'ssh --help'
Print a timestamp immediately before running the command. Base task: Display usage, options, and built-in help for the Linux command ssh.
date --iso-8601=seconds; ssh --help
Run the command in the background and log its output. Base task: Display usage, options, and built-in help for the Linux command ssh.
nohup sh -c 'ssh --help' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Display usage, options, and built-in help for the Linux command scp.
scp --help > command-results.txt 2>&1
Display output while saving it to a file. Base task: Display usage, options, and built-in help for the Linux command scp.
scp --help 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Display usage, options, and built-in help for the Linux command scp.
time scp --help
Repeat the command every five seconds for monitoring. Base task: Display usage, options, and built-in help for the Linux command scp.
watch -n 5 'scp --help'
Print a timestamp immediately before running the command. Base task: Display usage, options, and built-in help for the Linux command scp.
date --iso-8601=seconds; scp --help
Run the command in the background and log its output. Base task: Display usage, options, and built-in help for the Linux command scp.
nohup sh -c 'scp --help' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Display usage, options, and built-in help for the Linux command rsync.
rsync --help > command-results.txt 2>&1
Display output while saving it to a file. Base task: Display usage, options, and built-in help for the Linux command rsync.
rsync --help 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Display usage, options, and built-in help for the Linux command rsync.
time rsync --help
Repeat the command every five seconds for monitoring. Base task: Display usage, options, and built-in help for the Linux command rsync.
watch -n 5 'rsync --help'
Print a timestamp immediately before running the command. Base task: Display usage, options, and built-in help for the Linux command rsync.
date --iso-8601=seconds; rsync --help
Run the command in the background and log its output. Base task: Display usage, options, and built-in help for the Linux command rsync.
nohup sh -c 'rsync --help' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Display usage, options, and built-in help for the Linux command tar.
tar --help > command-results.txt 2>&1
Display output while saving it to a file. Base task: Display usage, options, and built-in help for the Linux command tar.
tar --help 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Display usage, options, and built-in help for the Linux command tar.
time tar --help
Repeat the command every five seconds for monitoring. Base task: Display usage, options, and built-in help for the Linux command tar.
watch -n 5 'tar --help'
Print a timestamp immediately before running the command. Base task: Display usage, options, and built-in help for the Linux command tar.
date --iso-8601=seconds; tar --help
Run the command in the background and log its output. Base task: Display usage, options, and built-in help for the Linux command tar.
nohup sh -c 'tar --help' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Display usage, options, and built-in help for the Linux command gzip.
gzip --help > command-results.txt 2>&1
Display output while saving it to a file. Base task: Display usage, options, and built-in help for the Linux command gzip.
gzip --help 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Display usage, options, and built-in help for the Linux command gzip.
time gzip --help
Repeat the command every five seconds for monitoring. Base task: Display usage, options, and built-in help for the Linux command gzip.
watch -n 5 'gzip --help'
Print a timestamp immediately before running the command. Base task: Display usage, options, and built-in help for the Linux command gzip.
date --iso-8601=seconds; gzip --help
Run the command in the background and log its output. Base task: Display usage, options, and built-in help for the Linux command gzip.
nohup sh -c 'gzip --help' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Display usage, options, and built-in help for the Linux command unzip.
unzip --help > command-results.txt 2>&1
Display output while saving it to a file. Base task: Display usage, options, and built-in help for the Linux command unzip.
unzip --help 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Display usage, options, and built-in help for the Linux command unzip.
time unzip --help
Repeat the command every five seconds for monitoring. Base task: Display usage, options, and built-in help for the Linux command unzip.
watch -n 5 'unzip --help'
Print a timestamp immediately before running the command. Base task: Display usage, options, and built-in help for the Linux command unzip.
date --iso-8601=seconds; unzip --help
Run the command in the background and log its output. Base task: Display usage, options, and built-in help for the Linux command unzip.
nohup sh -c 'unzip --help' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Display usage, options, and built-in help for the Linux command sed.
sed --help > command-results.txt 2>&1
Display output while saving it to a file. Base task: Display usage, options, and built-in help for the Linux command sed.
sed --help 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Display usage, options, and built-in help for the Linux command sed.
time sed --help
Repeat the command every five seconds for monitoring. Base task: Display usage, options, and built-in help for the Linux command sed.
watch -n 5 'sed --help'
Print a timestamp immediately before running the command. Base task: Display usage, options, and built-in help for the Linux command sed.
date --iso-8601=seconds; sed --help
Run the command in the background and log its output. Base task: Display usage, options, and built-in help for the Linux command sed.
nohup sh -c 'sed --help' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Display usage, options, and built-in help for the Linux command awk.
awk --help > command-results.txt 2>&1
Display output while saving it to a file. Base task: Display usage, options, and built-in help for the Linux command awk.
awk --help 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Display usage, options, and built-in help for the Linux command awk.
time awk --help
Repeat the command every five seconds for monitoring. Base task: Display usage, options, and built-in help for the Linux command awk.
watch -n 5 'awk --help'
Print a timestamp immediately before running the command. Base task: Display usage, options, and built-in help for the Linux command awk.
date --iso-8601=seconds; awk --help
Run the command in the background and log its output. Base task: Display usage, options, and built-in help for the Linux command awk.
nohup sh -c 'awk --help' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Display usage, options, and built-in help for the Linux command cut.
cut --help > command-results.txt 2>&1
Display output while saving it to a file. Base task: Display usage, options, and built-in help for the Linux command cut.
cut --help 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Display usage, options, and built-in help for the Linux command cut.
time cut --help
Repeat the command every five seconds for monitoring. Base task: Display usage, options, and built-in help for the Linux command cut.
watch -n 5 'cut --help'
Print a timestamp immediately before running the command. Base task: Display usage, options, and built-in help for the Linux command cut.
date --iso-8601=seconds; cut --help
Run the command in the background and log its output. Base task: Display usage, options, and built-in help for the Linux command cut.
nohup sh -c 'cut --help' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Display usage, options, and built-in help for the Linux command sort.
sort --help > command-results.txt 2>&1
Display output while saving it to a file. Base task: Display usage, options, and built-in help for the Linux command sort.
sort --help 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Display usage, options, and built-in help for the Linux command sort.
time sort --help
Repeat the command every five seconds for monitoring. Base task: Display usage, options, and built-in help for the Linux command sort.
watch -n 5 'sort --help'
Print a timestamp immediately before running the command. Base task: Display usage, options, and built-in help for the Linux command sort.
date --iso-8601=seconds; sort --help
Run the command in the background and log its output. Base task: Display usage, options, and built-in help for the Linux command sort.
nohup sh -c 'sort --help' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Display usage, options, and built-in help for the Linux command wc.
wc --help > command-results.txt 2>&1
Display output while saving it to a file. Base task: Display usage, options, and built-in help for the Linux command wc.
wc --help 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Display usage, options, and built-in help for the Linux command wc.
time wc --help
Repeat the command every five seconds for monitoring. Base task: Display usage, options, and built-in help for the Linux command wc.
watch -n 5 'wc --help'
Print a timestamp immediately before running the command. Base task: Display usage, options, and built-in help for the Linux command wc.
date --iso-8601=seconds; wc --help
Run the command in the background and log its output. Base task: Display usage, options, and built-in help for the Linux command wc.
nohup sh -c 'wc --help' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Display usage, options, and built-in help for the Linux command tee.
echo --help > command-results.txt 2>&1
Display output while saving it to a file. Base task: Display usage, options, and built-in help for the Linux command tee.
echo --help 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Display usage, options, and built-in help for the Linux command tee.
time echo --help
Repeat the command every five seconds for monitoring. Base task: Display usage, options, and built-in help for the Linux command tee.
watch -n 5 'echo --help'
Print a timestamp immediately before running the command. Base task: Display usage, options, and built-in help for the Linux command tee.
date --iso-8601=seconds; echo --help
Run the command in the background and log its output. Base task: Display usage, options, and built-in help for the Linux command tee.
nohup sh -c 'echo --help' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Display usage, options, and built-in help for the Linux command env.
env --help > command-results.txt 2>&1
Display output while saving it to a file. Base task: Display usage, options, and built-in help for the Linux command env.
env --help 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Display usage, options, and built-in help for the Linux command env.
time env --help
Repeat the command every five seconds for monitoring. Base task: Display usage, options, and built-in help for the Linux command env.
watch -n 5 'env --help'
Print a timestamp immediately before running the command. Base task: Display usage, options, and built-in help for the Linux command env.
date --iso-8601=seconds; env --help
Run the command in the background and log its output. Base task: Display usage, options, and built-in help for the Linux command env.
nohup sh -c 'env --help' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Display usage, options, and built-in help for the Linux command export.
export --help > command-results.txt 2>&1
Display output while saving it to a file. Base task: Display usage, options, and built-in help for the Linux command export.
export --help 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Display usage, options, and built-in help for the Linux command export.
time export --help
Repeat the command every five seconds for monitoring. Base task: Display usage, options, and built-in help for the Linux command export.
watch -n 5 'export --help'
Print a timestamp immediately before running the command. Base task: Display usage, options, and built-in help for the Linux command export.
date --iso-8601=seconds; export --help
Run the command in the background and log its output. Base task: Display usage, options, and built-in help for the Linux command export.
nohup sh -c 'export --help' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Display usage, options, and built-in help for the Linux command crontab.
crontab --help > command-results.txt 2>&1
Display output while saving it to a file. Base task: Display usage, options, and built-in help for the Linux command crontab.
crontab --help 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Display usage, options, and built-in help for the Linux command crontab.
time crontab --help
Repeat the command every five seconds for monitoring. Base task: Display usage, options, and built-in help for the Linux command crontab.
watch -n 5 'crontab --help'
Print a timestamp immediately before running the command. Base task: Display usage, options, and built-in help for the Linux command crontab.
date --iso-8601=seconds; crontab --help
Run the command in the background and log its output. Base task: Display usage, options, and built-in help for the Linux command crontab.
nohup sh -c 'crontab --help' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Display usage, options, and built-in help for the Linux command apt update.
apt --help > command-results.txt 2>&1
Display output while saving it to a file. Base task: Display usage, options, and built-in help for the Linux command apt update.
apt --help 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Display usage, options, and built-in help for the Linux command apt update.
time apt --help
Repeat the command every five seconds for monitoring. Base task: Display usage, options, and built-in help for the Linux command apt update.
watch -n 5 'apt --help'
Print a timestamp immediately before running the command. Base task: Display usage, options, and built-in help for the Linux command apt update.
date --iso-8601=seconds; apt --help
Run the command in the background and log its output. Base task: Display usage, options, and built-in help for the Linux command apt update.
nohup sh -c 'apt --help' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Display usage, options, and built-in help for the Linux command dnf update.
dnf --help > command-results.txt 2>&1
Display output while saving it to a file. Base task: Display usage, options, and built-in help for the Linux command dnf update.
dnf --help 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Display usage, options, and built-in help for the Linux command dnf update.
time dnf --help
Repeat the command every five seconds for monitoring. Base task: Display usage, options, and built-in help for the Linux command dnf update.
watch -n 5 'dnf --help'
Print a timestamp immediately before running the command. Base task: Display usage, options, and built-in help for the Linux command dnf update.
date --iso-8601=seconds; dnf --help
Run the command in the background and log its output. Base task: Display usage, options, and built-in help for the Linux command dnf update.
nohup sh -c 'dnf --help' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Display usage, options, and built-in help for the Linux command rpm query.
rpm --help > command-results.txt 2>&1
Display output while saving it to a file. Base task: Display usage, options, and built-in help for the Linux command rpm query.
rpm --help 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Display usage, options, and built-in help for the Linux command rpm query.
time rpm --help
Repeat the command every five seconds for monitoring. Base task: Display usage, options, and built-in help for the Linux command rpm query.
watch -n 5 'rpm --help'
Print a timestamp immediately before running the command. Base task: Display usage, options, and built-in help for the Linux command rpm query.
date --iso-8601=seconds; rpm --help
Run the command in the background and log its output. Base task: Display usage, options, and built-in help for the Linux command rpm query.
nohup sh -c 'rpm --help' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Display usage, options, and built-in help for the Linux command dpkg query.
dpkg --help > command-results.txt 2>&1
Display output while saving it to a file. Base task: Display usage, options, and built-in help for the Linux command dpkg query.
dpkg --help 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Display usage, options, and built-in help for the Linux command dpkg query.
time dpkg --help
Repeat the command every five seconds for monitoring. Base task: Display usage, options, and built-in help for the Linux command dpkg query.
watch -n 5 'dpkg --help'
Print a timestamp immediately before running the command. Base task: Display usage, options, and built-in help for the Linux command dpkg query.
date --iso-8601=seconds; dpkg --help
Run the command in the background and log its output. Base task: Display usage, options, and built-in help for the Linux command dpkg query.
nohup sh -c 'dpkg --help' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Display usage, options, and built-in help for the Linux command uname.
uname --help > command-results.txt 2>&1
Display output while saving it to a file. Base task: Display usage, options, and built-in help for the Linux command uname.
uname --help 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Display usage, options, and built-in help for the Linux command uname.
time uname --help
Repeat the command every five seconds for monitoring. Base task: Display usage, options, and built-in help for the Linux command uname.
watch -n 5 'uname --help'
Print a timestamp immediately before running the command. Base task: Display usage, options, and built-in help for the Linux command uname.
date --iso-8601=seconds; uname --help
Run the command in the background and log its output. Base task: Display usage, options, and built-in help for the Linux command uname.
nohup sh -c 'uname --help' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Display usage, options, and built-in help for the Linux command hostnamectl.
hostnamectl --help > command-results.txt 2>&1
Display output while saving it to a file. Base task: Display usage, options, and built-in help for the Linux command hostnamectl.
hostnamectl --help 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Display usage, options, and built-in help for the Linux command hostnamectl.
time hostnamectl --help
Repeat the command every five seconds for monitoring. Base task: Display usage, options, and built-in help for the Linux command hostnamectl.
watch -n 5 'hostnamectl --help'
Print a timestamp immediately before running the command. Base task: Display usage, options, and built-in help for the Linux command hostnamectl.
date --iso-8601=seconds; hostnamectl --help
Run the command in the background and log its output. Base task: Display usage, options, and built-in help for the Linux command hostnamectl.
nohup sh -c 'hostnamectl --help' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Display usage, options, and built-in help for the Linux command timedatectl.
timedatectl --help > command-results.txt 2>&1
Display output while saving it to a file. Base task: Display usage, options, and built-in help for the Linux command timedatectl.
timedatectl --help 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Display usage, options, and built-in help for the Linux command timedatectl.
time timedatectl --help
Repeat the command every five seconds for monitoring. Base task: Display usage, options, and built-in help for the Linux command timedatectl.
watch -n 5 'timedatectl --help'
Print a timestamp immediately before running the command. Base task: Display usage, options, and built-in help for the Linux command timedatectl.
date --iso-8601=seconds; timedatectl --help
Run the command in the background and log its output. Base task: Display usage, options, and built-in help for the Linux command timedatectl.
nohup sh -c 'timedatectl --help' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Display usage, options, and built-in help for the Linux command lsblk.
lsblk --help > command-results.txt 2>&1
Display output while saving it to a file. Base task: Display usage, options, and built-in help for the Linux command lsblk.
lsblk --help 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Display usage, options, and built-in help for the Linux command lsblk.
time lsblk --help
Repeat the command every five seconds for monitoring. Base task: Display usage, options, and built-in help for the Linux command lsblk.
watch -n 5 'lsblk --help'
Print a timestamp immediately before running the command. Base task: Display usage, options, and built-in help for the Linux command lsblk.
date --iso-8601=seconds; lsblk --help
Run the command in the background and log its output. Base task: Display usage, options, and built-in help for the Linux command lsblk.
nohup sh -c 'lsblk --help' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Display usage, options, and built-in help for the Linux command mount.
mount --help > command-results.txt 2>&1
Display output while saving it to a file. Base task: Display usage, options, and built-in help for the Linux command mount.
mount --help 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Display usage, options, and built-in help for the Linux command mount.
time mount --help
Repeat the command every five seconds for monitoring. Base task: Display usage, options, and built-in help for the Linux command mount.
watch -n 5 'mount --help'
Print a timestamp immediately before running the command. Base task: Display usage, options, and built-in help for the Linux command mount.
date --iso-8601=seconds; mount --help
Run the command in the background and log its output. Base task: Display usage, options, and built-in help for the Linux command mount.
nohup sh -c 'mount --help' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Display usage, options, and built-in help for the Linux command fdisk.
fdisk --help > command-results.txt 2>&1
Display output while saving it to a file. Base task: Display usage, options, and built-in help for the Linux command fdisk.
fdisk --help 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Display usage, options, and built-in help for the Linux command fdisk.
time fdisk --help
Repeat the command every five seconds for monitoring. Base task: Display usage, options, and built-in help for the Linux command fdisk.
watch -n 5 'fdisk --help'
Print a timestamp immediately before running the command. Base task: Display usage, options, and built-in help for the Linux command fdisk.
date --iso-8601=seconds; fdisk --help
Run the command in the background and log its output. Base task: Display usage, options, and built-in help for the Linux command fdisk.
nohup sh -c 'fdisk --help' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Display usage, options, and built-in help for the Linux command lsof.
lsof --help > command-results.txt 2>&1
Display output while saving it to a file. Base task: Display usage, options, and built-in help for the Linux command lsof.
lsof --help 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Display usage, options, and built-in help for the Linux command lsof.
time lsof --help
Repeat the command every five seconds for monitoring. Base task: Display usage, options, and built-in help for the Linux command lsof.
watch -n 5 'lsof --help'
Print a timestamp immediately before running the command. Base task: Display usage, options, and built-in help for the Linux command lsof.
date --iso-8601=seconds; lsof --help
Run the command in the background and log its output. Base task: Display usage, options, and built-in help for the Linux command lsof.
nohup sh -c 'lsof --help' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Display usage, options, and built-in help for the Linux command openssl s_client.
openssl --help > command-results.txt 2>&1
Display output while saving it to a file. Base task: Display usage, options, and built-in help for the Linux command openssl s_client.
openssl --help 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Display usage, options, and built-in help for the Linux command openssl s_client.
time openssl --help
Repeat the command every five seconds for monitoring. Base task: Display usage, options, and built-in help for the Linux command openssl s_client.
watch -n 5 'openssl --help'
Print a timestamp immediately before running the command. Base task: Display usage, options, and built-in help for the Linux command openssl s_client.
date --iso-8601=seconds; openssl --help
Run the command in the background and log its output. Base task: Display usage, options, and built-in help for the Linux command openssl s_client.
nohup sh -c 'openssl --help' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Display usage, options, and built-in help for the Linux command sha256sum.
sha256sum --help > command-results.txt 2>&1
Display output while saving it to a file. Base task: Display usage, options, and built-in help for the Linux command sha256sum.
sha256sum --help 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Display usage, options, and built-in help for the Linux command sha256sum.
time sha256sum --help
Repeat the command every five seconds for monitoring. Base task: Display usage, options, and built-in help for the Linux command sha256sum.
watch -n 5 'sha256sum --help'
Print a timestamp immediately before running the command. Base task: Display usage, options, and built-in help for the Linux command sha256sum.
date --iso-8601=seconds; sha256sum --help
Run the command in the background and log its output. Base task: Display usage, options, and built-in help for the Linux command sha256sum.
nohup sh -c 'sha256sum --help' > command-results.log 2>&1 &
Microsoft Azure
Authenticate Azure CLI interactively.
az login
Display the active Azure subscription context.
az account show -o table
List accessible Azure subscriptions.
az account list -o table
Select an Azure subscription.
az account set --subscription "Production"
List Azure resource groups.
az group list -o table
Create an Azure resource group.
az group create --name rg-app-prod --location eastus
List resources in a resource group.
az resource list -g rg-app-prod -o table
List Azure virtual machines.
az vm list -d -o table
Display Azure VM details.
az vm show -g rg-app-prod -n vm01 -d
Start an Azure virtual machine.
az vm start -g rg-app-prod -n vm01
Deallocate an Azure virtual machine.
az vm deallocate -g rg-app-prod -n vm01
Restart an Azure virtual machine.
az vm restart -g rg-app-prod -n vm01
Display Azure VM runtime status.
az vm get-instance-view -g rg-app-prod -n vm01 -o table
List Azure virtual networks.
az network vnet list -o table
List network security groups.
az network nsg list -o table
List Azure public IP resources.
az network public-ip list -o table
List Azure storage accounts.
az storage account list -o table
List blobs in a container.
az storage blob list --account-name mystorage --container-name backups -o table
List Azure App Service web apps.
az webapp list -o table
Restart an Azure web app.
az webapp restart -g rg-app-prod -n mywebapp
List Azure Key Vaults.
az keyvault list -o table
List secret metadata in a Key Vault.
az keyvault secret list --vault-name myvault -o table
List Microsoft Entra ID users through Azure CLI.
az ad user list --output table
List Microsoft Entra ID groups through Azure CLI.
az ad group list --output table
List recent Azure activity log events.
az monitor activity-log list --offset 1d -o table
List Azure tags and values.
az tag list -o table
Use az login for a standard administrative task.
az login
Use az account show for a standard administrative task.
az account show -o table
Use az account list for a standard administrative task.
az account list -o table
Use az account set for a standard administrative task.
az account set --subscription "Production"
Use az group list for a standard administrative task.
az group list -o table
Use az group create for a standard administrative task.
az group create --name rg-app-prod --location eastus
Use az resource list for a standard administrative task.
az resource list -g rg-app-prod -o table
Use az vm list for a standard administrative task.
az vm list -d -o table
Use az vm show for a standard administrative task.
az vm show -g rg-app-prod -n vm01 -d
Use az vm start for a standard administrative task.
az vm start -g rg-app-prod -n vm01
Use az vm deallocate for a standard administrative task.
az vm deallocate -g rg-app-prod -n vm01
Use az vm restart for a standard administrative task.
az vm restart -g rg-app-prod -n vm01
Use az vm get-instance-view for a standard administrative task.
az vm get-instance-view -g rg-app-prod -n vm01 -o table
Use az network vnet list for a standard administrative task.
az network vnet list -o table
Use az network nsg list for a standard administrative task.
az network nsg list -o table
Use az network public-ip list for a standard administrative task.
az network public-ip list -o table
Use az storage account list for a standard administrative task.
az storage account list -o table
Use az storage blob list for a standard administrative task.
az storage blob list --account-name mystorage --container-name backups -o table
Use az webapp list for a standard administrative task.
az webapp list -o table
Use az webapp restart for a standard administrative task.
az webapp restart -g rg-app-prod -n mywebapp
Use az keyvault list for a standard administrative task.
az keyvault list -o table
Use az keyvault secret list for a standard administrative task.
az keyvault secret list --vault-name myvault -o table
Use az ad user list for a standard administrative task.
az ad user list --output table
Use az ad group list for a standard administrative task.
az ad group list --output table
Use az monitor activity-log list for a standard administrative task.
az monitor activity-log list --offset 1d -o table
Use az tag list for a standard administrative task.
az tag list -o table
Show Azure CLI syntax, arguments, and examples related to az login.
az login --help
Show Azure CLI syntax, arguments, and examples related to az account show.
az account show --help
Show Azure CLI syntax, arguments, and examples related to az account list.
az account list --help
Show Azure CLI syntax, arguments, and examples related to az account set.
az account set --help
Show Azure CLI syntax, arguments, and examples related to az group list.
az group list --help
Show Azure CLI syntax, arguments, and examples related to az group create.
az group create --help
Show Azure CLI syntax, arguments, and examples related to az resource list.
az resource list --help
Show Azure CLI syntax, arguments, and examples related to az vm list.
az vm list --help
Show Azure CLI syntax, arguments, and examples related to az vm show.
az vm show --help
Show Azure CLI syntax, arguments, and examples related to az vm start.
az vm start --help
Show Azure CLI syntax, arguments, and examples related to az vm deallocate.
az vm deallocate --help
Show Azure CLI syntax, arguments, and examples related to az vm restart.
az vm restart --help
Show Azure CLI syntax, arguments, and examples related to az vm get-instance-view.
az vm get-instance-view --help
Show Azure CLI syntax, arguments, and examples related to az network vnet list.
az network vnet --help
Show Azure CLI syntax, arguments, and examples related to az network nsg list.
az network nsg --help
Show Azure CLI syntax, arguments, and examples related to az network public-ip list.
az network public-ip --help
Show Azure CLI syntax, arguments, and examples related to az storage account list.
az storage account --help
Show Azure CLI syntax, arguments, and examples related to az storage blob list.
az storage blob --help
Show Azure CLI syntax, arguments, and examples related to az webapp list.
az webapp list --help
Show Azure CLI syntax, arguments, and examples related to az webapp restart.
az webapp restart --help
Show Azure CLI syntax, arguments, and examples related to az keyvault list.
az keyvault list --help
Show Azure CLI syntax, arguments, and examples related to az keyvault secret list.
az keyvault secret --help
Show Azure CLI syntax, arguments, and examples related to az ad user list.
az ad user --help
Show Azure CLI syntax, arguments, and examples related to az ad group list.
az ad group --help
Show Azure CLI syntax, arguments, and examples related to az monitor activity-log list.
az monitor activity-log --help
Show Azure CLI syntax, arguments, and examples related to az tag list.
az tag list --help
Show Azure CLI syntax, arguments, and examples related to az login — Basic Usage.
az login --help
Show Azure CLI syntax, arguments, and examples related to az account show — Basic Usage.
az account show --help
Show Azure CLI syntax, arguments, and examples related to az account list — Basic Usage.
az account list --help
Show Azure CLI syntax, arguments, and examples related to az account set — Basic Usage.
az account set --help
Show Azure CLI syntax, arguments, and examples related to az group list — Basic Usage.
az group list --help
Show Azure CLI syntax, arguments, and examples related to az group create — Basic Usage.
az group create --help
Show Azure CLI syntax, arguments, and examples related to az resource list — Basic Usage.
az resource list --help
Show Azure CLI syntax, arguments, and examples related to az vm list — Basic Usage.
az vm list --help
Show Azure CLI syntax, arguments, and examples related to az vm show — Basic Usage.
az vm show --help
Show Azure CLI syntax, arguments, and examples related to az vm start — Basic Usage.
az vm start --help
Show Azure CLI syntax, arguments, and examples related to az vm deallocate — Basic Usage.
az vm deallocate --help
Show Azure CLI syntax, arguments, and examples related to az vm restart — Basic Usage.
az vm restart --help
Show Azure CLI syntax, arguments, and examples related to az vm get-instance-view — Basic Usage.
az vm get-instance-view --help
Show Azure CLI syntax, arguments, and examples related to az network vnet list — Basic Usage.
az network vnet --help
Show Azure CLI syntax, arguments, and examples related to az network nsg list — Basic Usage.
az network nsg --help
Show Azure CLI syntax, arguments, and examples related to az network public-ip list — Basic Usage.
az network public-ip --help
Show Azure CLI syntax, arguments, and examples related to az storage account list — Basic Usage.
az storage account --help
Show Azure CLI syntax, arguments, and examples related to az storage blob list — Basic Usage.
az storage blob --help
Show Azure CLI syntax, arguments, and examples related to az webapp list — Basic Usage.
az webapp list --help
Show Azure CLI syntax, arguments, and examples related to az webapp restart — Basic Usage.
az webapp restart --help
Show Azure CLI syntax, arguments, and examples related to az keyvault list — Basic Usage.
az keyvault list --help
Show Azure CLI syntax, arguments, and examples related to az keyvault secret list — Basic Usage.
az keyvault secret --help
Show Azure CLI syntax, arguments, and examples related to az ad user list — Basic Usage.
az ad user --help
Show Azure CLI syntax, arguments, and examples related to az ad group list — Basic Usage.
az ad group --help
Show Azure CLI syntax, arguments, and examples related to az monitor activity-log list — Basic Usage.
az monitor activity-log --help
Show Azure CLI syntax, arguments, and examples related to az tag list — Basic Usage.
az tag list --help
Return Azure CLI output as JSON. Base task: Authenticate Azure CLI interactively.
az login --output json
Display Azure CLI output as a readable table. Base task: Authenticate Azure CLI interactively.
az login --output table
Return tab-separated output for scripts. Base task: Authenticate Azure CLI interactively.
az login --output tsv
Save Azure CLI output to a JSON file. Base task: Authenticate Azure CLI interactively.
az login --output json > azure-command-results.json
Measure Azure CLI execution time in a compatible shell. Base task: Authenticate Azure CLI interactively.
time az login
Return Azure CLI output as JSON. Base task: Display the active Azure subscription context.
az account show -o table --output json
Display Azure CLI output as a readable table. Base task: Display the active Azure subscription context.
az account show -o table --output table
Return tab-separated output for scripts. Base task: Display the active Azure subscription context.
az account show -o table --output tsv
Save Azure CLI output to a JSON file. Base task: Display the active Azure subscription context.
az account show -o table --output json > azure-command-results.json
Measure Azure CLI execution time in a compatible shell. Base task: Display the active Azure subscription context.
time az account show -o table
Return Azure CLI output as JSON. Base task: List accessible Azure subscriptions.
az account list -o table --output json
Display Azure CLI output as a readable table. Base task: List accessible Azure subscriptions.
az account list -o table --output table
Return tab-separated output for scripts. Base task: List accessible Azure subscriptions.
az account list -o table --output tsv
Save Azure CLI output to a JSON file. Base task: List accessible Azure subscriptions.
az account list -o table --output json > azure-command-results.json
Measure Azure CLI execution time in a compatible shell. Base task: List accessible Azure subscriptions.
time az account list -o table
Return Azure CLI output as JSON. Base task: Select an Azure subscription.
az account set --subscription "Production" --output json
Display Azure CLI output as a readable table. Base task: Select an Azure subscription.
az account set --subscription "Production" --output table
Return tab-separated output for scripts. Base task: Select an Azure subscription.
az account set --subscription "Production" --output tsv
Save Azure CLI output to a JSON file. Base task: Select an Azure subscription.
az account set --subscription "Production" --output json > azure-command-results.json
Measure Azure CLI execution time in a compatible shell. Base task: Select an Azure subscription.
time az account set --subscription "Production"
Return Azure CLI output as JSON. Base task: List Azure resource groups.
az group list -o table --output json
Display Azure CLI output as a readable table. Base task: List Azure resource groups.
az group list -o table --output table
Return tab-separated output for scripts. Base task: List Azure resource groups.
az group list -o table --output tsv
Save Azure CLI output to a JSON file. Base task: List Azure resource groups.
az group list -o table --output json > azure-command-results.json
Measure Azure CLI execution time in a compatible shell. Base task: List Azure resource groups.
time az group list -o table
Return Azure CLI output as JSON. Base task: Create an Azure resource group.
az group create --name rg-app-prod --location eastus --output json
Display Azure CLI output as a readable table. Base task: Create an Azure resource group.
az group create --name rg-app-prod --location eastus --output table
Return tab-separated output for scripts. Base task: Create an Azure resource group.
az group create --name rg-app-prod --location eastus --output tsv
Save Azure CLI output to a JSON file. Base task: Create an Azure resource group.
az group create --name rg-app-prod --location eastus --output json > azure-command-results.json
Measure Azure CLI execution time in a compatible shell. Base task: Create an Azure resource group.
time az group create --name rg-app-prod --location eastus
Return Azure CLI output as JSON. Base task: List resources in a resource group.
az resource list -g rg-app-prod -o table --output json
Display Azure CLI output as a readable table. Base task: List resources in a resource group.
az resource list -g rg-app-prod -o table --output table
Return tab-separated output for scripts. Base task: List resources in a resource group.
az resource list -g rg-app-prod -o table --output tsv
Save Azure CLI output to a JSON file. Base task: List resources in a resource group.
az resource list -g rg-app-prod -o table --output json > azure-command-results.json
Measure Azure CLI execution time in a compatible shell. Base task: List resources in a resource group.
time az resource list -g rg-app-prod -o table
Return Azure CLI output as JSON. Base task: List Azure virtual machines.
az vm list -d -o table --output json
Display Azure CLI output as a readable table. Base task: List Azure virtual machines.
az vm list -d -o table --output table
Return tab-separated output for scripts. Base task: List Azure virtual machines.
az vm list -d -o table --output tsv
Save Azure CLI output to a JSON file. Base task: List Azure virtual machines.
az vm list -d -o table --output json > azure-command-results.json
Measure Azure CLI execution time in a compatible shell. Base task: List Azure virtual machines.
time az vm list -d -o table
Return Azure CLI output as JSON. Base task: Display Azure VM details.
az vm show -g rg-app-prod -n vm01 -d --output json
Display Azure CLI output as a readable table. Base task: Display Azure VM details.
az vm show -g rg-app-prod -n vm01 -d --output table
Return tab-separated output for scripts. Base task: Display Azure VM details.
az vm show -g rg-app-prod -n vm01 -d --output tsv
Save Azure CLI output to a JSON file. Base task: Display Azure VM details.
az vm show -g rg-app-prod -n vm01 -d --output json > azure-command-results.json
Measure Azure CLI execution time in a compatible shell. Base task: Display Azure VM details.
time az vm show -g rg-app-prod -n vm01 -d
Return Azure CLI output as JSON. Base task: Start an Azure virtual machine.
az vm start -g rg-app-prod -n vm01 --output json
Display Azure CLI output as a readable table. Base task: Start an Azure virtual machine.
az vm start -g rg-app-prod -n vm01 --output table
Return tab-separated output for scripts. Base task: Start an Azure virtual machine.
az vm start -g rg-app-prod -n vm01 --output tsv
Save Azure CLI output to a JSON file. Base task: Start an Azure virtual machine.
az vm start -g rg-app-prod -n vm01 --output json > azure-command-results.json
Measure Azure CLI execution time in a compatible shell. Base task: Start an Azure virtual machine.
time az vm start -g rg-app-prod -n vm01
Return Azure CLI output as JSON. Base task: Deallocate an Azure virtual machine.
az vm deallocate -g rg-app-prod -n vm01 --output json
Display Azure CLI output as a readable table. Base task: Deallocate an Azure virtual machine.
az vm deallocate -g rg-app-prod -n vm01 --output table
Return tab-separated output for scripts. Base task: Deallocate an Azure virtual machine.
az vm deallocate -g rg-app-prod -n vm01 --output tsv
Save Azure CLI output to a JSON file. Base task: Deallocate an Azure virtual machine.
az vm deallocate -g rg-app-prod -n vm01 --output json > azure-command-results.json
Measure Azure CLI execution time in a compatible shell. Base task: Deallocate an Azure virtual machine.
time az vm deallocate -g rg-app-prod -n vm01
Return Azure CLI output as JSON. Base task: Restart an Azure virtual machine.
az vm restart -g rg-app-prod -n vm01 --output json
Display Azure CLI output as a readable table. Base task: Restart an Azure virtual machine.
az vm restart -g rg-app-prod -n vm01 --output table
Return tab-separated output for scripts. Base task: Restart an Azure virtual machine.
az vm restart -g rg-app-prod -n vm01 --output tsv
Save Azure CLI output to a JSON file. Base task: Restart an Azure virtual machine.
az vm restart -g rg-app-prod -n vm01 --output json > azure-command-results.json
Measure Azure CLI execution time in a compatible shell. Base task: Restart an Azure virtual machine.
time az vm restart -g rg-app-prod -n vm01
Return Azure CLI output as JSON. Base task: Display Azure VM runtime status.
az vm get-instance-view -g rg-app-prod -n vm01 -o table --output json
Display Azure CLI output as a readable table. Base task: Display Azure VM runtime status.
az vm get-instance-view -g rg-app-prod -n vm01 -o table --output table
Return tab-separated output for scripts. Base task: Display Azure VM runtime status.
az vm get-instance-view -g rg-app-prod -n vm01 -o table --output tsv
Save Azure CLI output to a JSON file. Base task: Display Azure VM runtime status.
az vm get-instance-view -g rg-app-prod -n vm01 -o table --output json > azure-command-results.json
Measure Azure CLI execution time in a compatible shell. Base task: Display Azure VM runtime status.
time az vm get-instance-view -g rg-app-prod -n vm01 -o table
Return Azure CLI output as JSON. Base task: List Azure virtual networks.
az network vnet list -o table --output json
Display Azure CLI output as a readable table. Base task: List Azure virtual networks.
az network vnet list -o table --output table
Return tab-separated output for scripts. Base task: List Azure virtual networks.
az network vnet list -o table --output tsv
Save Azure CLI output to a JSON file. Base task: List Azure virtual networks.
az network vnet list -o table --output json > azure-command-results.json
Measure Azure CLI execution time in a compatible shell. Base task: List Azure virtual networks.
time az network vnet list -o table
Return Azure CLI output as JSON. Base task: List network security groups.
az network nsg list -o table --output json
Display Azure CLI output as a readable table. Base task: List network security groups.
az network nsg list -o table --output table
Return tab-separated output for scripts. Base task: List network security groups.
az network nsg list -o table --output tsv
Save Azure CLI output to a JSON file. Base task: List network security groups.
az network nsg list -o table --output json > azure-command-results.json
Measure Azure CLI execution time in a compatible shell. Base task: List network security groups.
time az network nsg list -o table
Return Azure CLI output as JSON. Base task: List Azure public IP resources.
az network public-ip list -o table --output json
Display Azure CLI output as a readable table. Base task: List Azure public IP resources.
az network public-ip list -o table --output table
Return tab-separated output for scripts. Base task: List Azure public IP resources.
az network public-ip list -o table --output tsv
Save Azure CLI output to a JSON file. Base task: List Azure public IP resources.
az network public-ip list -o table --output json > azure-command-results.json
Measure Azure CLI execution time in a compatible shell. Base task: List Azure public IP resources.
time az network public-ip list -o table
Return Azure CLI output as JSON. Base task: List Azure storage accounts.
az storage account list -o table --output json
Display Azure CLI output as a readable table. Base task: List Azure storage accounts.
az storage account list -o table --output table
Return tab-separated output for scripts. Base task: List Azure storage accounts.
az storage account list -o table --output tsv
Save Azure CLI output to a JSON file. Base task: List Azure storage accounts.
az storage account list -o table --output json > azure-command-results.json
Measure Azure CLI execution time in a compatible shell. Base task: List Azure storage accounts.
time az storage account list -o table
Return Azure CLI output as JSON. Base task: List blobs in a container.
az storage blob list --account-name mystorage --container-name backups -o table --output json
Display Azure CLI output as a readable table. Base task: List blobs in a container.
az storage blob list --account-name mystorage --container-name backups -o table --output table
Return tab-separated output for scripts. Base task: List blobs in a container.
az storage blob list --account-name mystorage --container-name backups -o table --output tsv
Save Azure CLI output to a JSON file. Base task: List blobs in a container.
az storage blob list --account-name mystorage --container-name backups -o table --output json > azure-command-results.json
Measure Azure CLI execution time in a compatible shell. Base task: List blobs in a container.
time az storage blob list --account-name mystorage --container-name backups -o table
Return Azure CLI output as JSON. Base task: List Azure App Service web apps.
az webapp list -o table --output json
Display Azure CLI output as a readable table. Base task: List Azure App Service web apps.
az webapp list -o table --output table
Return tab-separated output for scripts. Base task: List Azure App Service web apps.
az webapp list -o table --output tsv
Save Azure CLI output to a JSON file. Base task: List Azure App Service web apps.
az webapp list -o table --output json > azure-command-results.json
Measure Azure CLI execution time in a compatible shell. Base task: List Azure App Service web apps.
time az webapp list -o table
Return Azure CLI output as JSON. Base task: Restart an Azure web app.
az webapp restart -g rg-app-prod -n mywebapp --output json
Display Azure CLI output as a readable table. Base task: Restart an Azure web app.
az webapp restart -g rg-app-prod -n mywebapp --output table
Return tab-separated output for scripts. Base task: Restart an Azure web app.
az webapp restart -g rg-app-prod -n mywebapp --output tsv
Save Azure CLI output to a JSON file. Base task: Restart an Azure web app.
az webapp restart -g rg-app-prod -n mywebapp --output json > azure-command-results.json
Measure Azure CLI execution time in a compatible shell. Base task: Restart an Azure web app.
time az webapp restart -g rg-app-prod -n mywebapp
Return Azure CLI output as JSON. Base task: List Azure Key Vaults.
az keyvault list -o table --output json
Display Azure CLI output as a readable table. Base task: List Azure Key Vaults.
az keyvault list -o table --output table
Return tab-separated output for scripts. Base task: List Azure Key Vaults.
az keyvault list -o table --output tsv
Save Azure CLI output to a JSON file. Base task: List Azure Key Vaults.
az keyvault list -o table --output json > azure-command-results.json
Measure Azure CLI execution time in a compatible shell. Base task: List Azure Key Vaults.
time az keyvault list -o table
Return Azure CLI output as JSON. Base task: List secret metadata in a Key Vault.
az keyvault secret list --vault-name myvault -o table --output json
Display Azure CLI output as a readable table. Base task: List secret metadata in a Key Vault.
az keyvault secret list --vault-name myvault -o table --output table
Return tab-separated output for scripts. Base task: List secret metadata in a Key Vault.
az keyvault secret list --vault-name myvault -o table --output tsv
Save Azure CLI output to a JSON file. Base task: List secret metadata in a Key Vault.
az keyvault secret list --vault-name myvault -o table --output json > azure-command-results.json
Measure Azure CLI execution time in a compatible shell. Base task: List secret metadata in a Key Vault.
time az keyvault secret list --vault-name myvault -o table
Return Azure CLI output as JSON. Base task: List Microsoft Entra ID users through Azure CLI.
az ad user list --output table --output json
Display Azure CLI output as a readable table. Base task: List Microsoft Entra ID users through Azure CLI.
az ad user list --output table --output table
Return tab-separated output for scripts. Base task: List Microsoft Entra ID users through Azure CLI.
az ad user list --output table --output tsv
Save Azure CLI output to a JSON file. Base task: List Microsoft Entra ID users through Azure CLI.
az ad user list --output table --output json > azure-command-results.json
Measure Azure CLI execution time in a compatible shell. Base task: List Microsoft Entra ID users through Azure CLI.
time az ad user list --output table
Return Azure CLI output as JSON. Base task: List Microsoft Entra ID groups through Azure CLI.
az ad group list --output table --output json
Display Azure CLI output as a readable table. Base task: List Microsoft Entra ID groups through Azure CLI.
az ad group list --output table --output table
Return tab-separated output for scripts. Base task: List Microsoft Entra ID groups through Azure CLI.
az ad group list --output table --output tsv
Save Azure CLI output to a JSON file. Base task: List Microsoft Entra ID groups through Azure CLI.
az ad group list --output table --output json > azure-command-results.json
Measure Azure CLI execution time in a compatible shell. Base task: List Microsoft Entra ID groups through Azure CLI.
time az ad group list --output table
Return Azure CLI output as JSON. Base task: List recent Azure activity log events.
az monitor activity-log list --offset 1d -o table --output json
Display Azure CLI output as a readable table. Base task: List recent Azure activity log events.
az monitor activity-log list --offset 1d -o table --output table
Return tab-separated output for scripts. Base task: List recent Azure activity log events.
az monitor activity-log list --offset 1d -o table --output tsv
Save Azure CLI output to a JSON file. Base task: List recent Azure activity log events.
az monitor activity-log list --offset 1d -o table --output json > azure-command-results.json
Measure Azure CLI execution time in a compatible shell. Base task: List recent Azure activity log events.
time az monitor activity-log list --offset 1d -o table
Return Azure CLI output as JSON. Base task: List Azure tags and values.
az tag list -o table --output json
Display Azure CLI output as a readable table. Base task: List Azure tags and values.
az tag list -o table --output table
Return tab-separated output for scripts. Base task: List Azure tags and values.
az tag list -o table --output tsv
Save Azure CLI output to a JSON file. Base task: List Azure tags and values.
az tag list -o table --output json > azure-command-results.json
Measure Azure CLI execution time in a compatible shell. Base task: List Azure tags and values.
time az tag list -o table
Return Azure CLI output as JSON. Base task: Show Azure CLI syntax, arguments, and examples related to az login.
az login --help --output json
Display Azure CLI output as a readable table. Base task: Show Azure CLI syntax, arguments, and examples related to az login.
az login --help --output table
Return tab-separated output for scripts. Base task: Show Azure CLI syntax, arguments, and examples related to az login.
az login --help --output tsv
Save Azure CLI output to a JSON file. Base task: Show Azure CLI syntax, arguments, and examples related to az login.
az login --help --output json > azure-command-results.json
Measure Azure CLI execution time in a compatible shell. Base task: Show Azure CLI syntax, arguments, and examples related to az login.
time az login --help
Return Azure CLI output as JSON. Base task: Show Azure CLI syntax, arguments, and examples related to az account show.
az account show --help --output json
Display Azure CLI output as a readable table. Base task: Show Azure CLI syntax, arguments, and examples related to az account show.
az account show --help --output table
Return tab-separated output for scripts. Base task: Show Azure CLI syntax, arguments, and examples related to az account show.
az account show --help --output tsv
Save Azure CLI output to a JSON file. Base task: Show Azure CLI syntax, arguments, and examples related to az account show.
az account show --help --output json > azure-command-results.json
Measure Azure CLI execution time in a compatible shell. Base task: Show Azure CLI syntax, arguments, and examples related to az account show.
time az account show --help
Return Azure CLI output as JSON. Base task: Show Azure CLI syntax, arguments, and examples related to az account list.
az account list --help --output json
Display Azure CLI output as a readable table. Base task: Show Azure CLI syntax, arguments, and examples related to az account list.
az account list --help --output table
Return tab-separated output for scripts. Base task: Show Azure CLI syntax, arguments, and examples related to az account list.
az account list --help --output tsv
Save Azure CLI output to a JSON file. Base task: Show Azure CLI syntax, arguments, and examples related to az account list.
az account list --help --output json > azure-command-results.json
Measure Azure CLI execution time in a compatible shell. Base task: Show Azure CLI syntax, arguments, and examples related to az account list.
time az account list --help
Return Azure CLI output as JSON. Base task: Show Azure CLI syntax, arguments, and examples related to az account set.
az account set --help --output json
Display Azure CLI output as a readable table. Base task: Show Azure CLI syntax, arguments, and examples related to az account set.
az account set --help --output table
Return tab-separated output for scripts. Base task: Show Azure CLI syntax, arguments, and examples related to az account set.
az account set --help --output tsv
Save Azure CLI output to a JSON file. Base task: Show Azure CLI syntax, arguments, and examples related to az account set.
az account set --help --output json > azure-command-results.json
Measure Azure CLI execution time in a compatible shell. Base task: Show Azure CLI syntax, arguments, and examples related to az account set.
time az account set --help
Return Azure CLI output as JSON. Base task: Show Azure CLI syntax, arguments, and examples related to az group list.
az group list --help --output json
Display Azure CLI output as a readable table. Base task: Show Azure CLI syntax, arguments, and examples related to az group list.
az group list --help --output table
Return tab-separated output for scripts. Base task: Show Azure CLI syntax, arguments, and examples related to az group list.
az group list --help --output tsv
Save Azure CLI output to a JSON file. Base task: Show Azure CLI syntax, arguments, and examples related to az group list.
az group list --help --output json > azure-command-results.json
Measure Azure CLI execution time in a compatible shell. Base task: Show Azure CLI syntax, arguments, and examples related to az group list.
time az group list --help
Return Azure CLI output as JSON. Base task: Show Azure CLI syntax, arguments, and examples related to az group create.
az group create --help --output json
Display Azure CLI output as a readable table. Base task: Show Azure CLI syntax, arguments, and examples related to az group create.
az group create --help --output table
Return tab-separated output for scripts. Base task: Show Azure CLI syntax, arguments, and examples related to az group create.
az group create --help --output tsv
Save Azure CLI output to a JSON file. Base task: Show Azure CLI syntax, arguments, and examples related to az group create.
az group create --help --output json > azure-command-results.json
PowerCLI and ESXi
List VMware virtual machines with PowerCLI.
Get-VM
List ESXi hosts.
Get-VMHost
List VMware datastores.
Get-Datastore
List vSphere clusters.
Get-Cluster
List virtual machine snapshots.
Get-VM | Get-Snapshot
Create a virtual machine snapshot.
New-Snapshot -VM vm01 -Name "Before Change" -Description "Maintenance checkpoint"
Remove a virtual machine snapshot.
Get-Snapshot -VM vm01 -Name "Before Change" | Remove-Snapshot -Confirm:$false
Power on a virtual machine.
Start-VM -VM vm01
Request a guest operating system shutdown.
Stop-VMGuest -VM vm01 -Confirm:$false
Request a guest operating system restart.
Restart-VMGuest -VM vm01 -Confirm:$false
Move a virtual machine.
Move-VM -VM vm01 -Destination Cluster02
List virtual machine network adapters.
Get-VM vm01 | Get-NetworkAdapter
List virtual disks.
Get-VM vm01 | Get-HardDisk
Retrieve vSphere performance statistics.
Get-Stat -Entity (Get-VM vm01) -Stat cpu.usage.average -Realtime
Connect PowerCLI to vCenter Server.
Connect-VIServer vcenter.contoso.com
Disconnect PowerCLI sessions.
Disconnect-VIServer * -Confirm:$false
Display ESXi version information.
esxcli system version get
List ESXi VMkernel interfaces.
esxcli network ip interface list
List ESXi physical network adapters.
esxcli network nic list
List ESXi filesystems and datastores.
esxcli storage filesystem list
Use Get-VM for a standard administrative task.
Get-VM
Use Get-VMHost for a standard administrative task.
Get-VMHost
Use Get-Datastore for a standard administrative task.
Get-Datastore
Use Get-Cluster for a standard administrative task.
Get-Cluster
Use Get-Snapshot for a standard administrative task.
Get-VM | Get-Snapshot
Use New-Snapshot for a standard administrative task.
New-Snapshot -VM vm01 -Name "Before Change" -Description "Maintenance checkpoint"
Use Remove-Snapshot for a standard administrative task.
Get-Snapshot -VM vm01 -Name "Before Change" | Remove-Snapshot -Confirm:$false
Use Start-VM for a standard administrative task.
Start-VM -VM vm01
Use Stop-VMGuest for a standard administrative task.
Stop-VMGuest -VM vm01 -Confirm:$false
Use Restart-VMGuest for a standard administrative task.
Restart-VMGuest -VM vm01 -Confirm:$false
Use Move-VM for a standard administrative task.
Move-VM -VM vm01 -Destination Cluster02
Use Get-VMNetworkAdapter for a standard administrative task.
Get-VM vm01 | Get-NetworkAdapter
Use Get-HardDisk for a standard administrative task.
Get-VM vm01 | Get-HardDisk
Use Get-Stat for a standard administrative task.
Get-Stat -Entity (Get-VM vm01) -Stat cpu.usage.average -Realtime
Use Connect-VIServer for a standard administrative task.
Connect-VIServer vcenter.contoso.com
Use Disconnect-VIServer for a standard administrative task.
Disconnect-VIServer * -Confirm:$false
Use esxcli system version get for a standard administrative task.
esxcli system version get
Use esxcli network ip interface list for a standard administrative task.
esxcli network ip interface list
Use esxcli network nic list for a standard administrative task.
esxcli network nic list
Use esxcli storage filesystem list for a standard administrative task.
esxcli storage filesystem list
Display complete syntax, parameter details, and examples for Get-VM.
Get-Help Get-VM -Full
Display complete syntax, parameter details, and examples for Get-VMHost.
Get-Help Get-VMHost -Full
Display complete syntax, parameter details, and examples for Get-Datastore.
Get-Help Get-Datastore -Full
Display complete syntax, parameter details, and examples for Get-Cluster.
Get-Help Get-Cluster -Full
Display complete syntax, parameter details, and examples for Get-Snapshot.
Get-Help Get-VM -Full
Display complete syntax, parameter details, and examples for New-Snapshot.
Get-Help New-Snapshot -Full
Display complete syntax, parameter details, and examples for Remove-Snapshot.
Get-Help Get-Snapshot -Full
Display complete syntax, parameter details, and examples for Start-VM.
Get-Help Start-VM -Full
Display complete syntax, parameter details, and examples for Stop-VMGuest.
Get-Help Stop-VMGuest -Full
Display complete syntax, parameter details, and examples for Restart-VMGuest.
Get-Help Restart-VMGuest -Full
Display complete syntax, parameter details, and examples for Move-VM.
Get-Help Move-VM -Full
Display complete syntax, parameter details, and examples for Get-VMNetworkAdapter.
Get-Help Get-VM -Full
Display complete syntax, parameter details, and examples for Get-HardDisk.
Get-Help Get-VM -Full
Display complete syntax, parameter details, and examples for Get-Stat.
Get-Help Get-Stat -Full
Display complete syntax, parameter details, and examples for Connect-VIServer.
Get-Help Connect-VIServer -Full
Display complete syntax, parameter details, and examples for Disconnect-VIServer.
Get-Help Disconnect-VIServer -Full
Display complete syntax, parameter details, and examples for esxcli system version get.
Get-Help esxcli -Full
Display complete syntax, parameter details, and examples for esxcli network ip interface list.
Get-Help esxcli -Full
Display complete syntax, parameter details, and examples for esxcli network nic list.
Get-Help esxcli -Full
Display complete syntax, parameter details, and examples for esxcli storage filesystem list.
Get-Help esxcli -Full
Display complete syntax, parameter details, and examples for Get-VM — Basic Usage.
Get-Help Get-VM -Full
Display complete syntax, parameter details, and examples for Get-VMHost — Basic Usage.
Get-Help Get-VMHost -Full
Display complete syntax, parameter details, and examples for Get-Datastore — Basic Usage.
Get-Help Get-Datastore -Full
Display complete syntax, parameter details, and examples for Get-Cluster — Basic Usage.
Get-Help Get-Cluster -Full
Display complete syntax, parameter details, and examples for Get-Snapshot — Basic Usage.
Get-Help Get-VM -Full
Display complete syntax, parameter details, and examples for New-Snapshot — Basic Usage.
Get-Help New-Snapshot -Full
Display complete syntax, parameter details, and examples for Remove-Snapshot — Basic Usage.
Get-Help Get-Snapshot -Full
Display complete syntax, parameter details, and examples for Start-VM — Basic Usage.
Get-Help Start-VM -Full
Display complete syntax, parameter details, and examples for Stop-VMGuest — Basic Usage.
Get-Help Stop-VMGuest -Full
Display complete syntax, parameter details, and examples for Restart-VMGuest — Basic Usage.
Get-Help Restart-VMGuest -Full
Display complete syntax, parameter details, and examples for Move-VM — Basic Usage.
Get-Help Move-VM -Full
Display complete syntax, parameter details, and examples for Get-VMNetworkAdapter — Basic Usage.
Get-Help Get-VM -Full
Display complete syntax, parameter details, and examples for Get-HardDisk — Basic Usage.
Get-Help Get-VM -Full
Display complete syntax, parameter details, and examples for Get-Stat — Basic Usage.
Get-Help Get-Stat -Full
Display complete syntax, parameter details, and examples for Connect-VIServer — Basic Usage.
Get-Help Connect-VIServer -Full
Display complete syntax, parameter details, and examples for Disconnect-VIServer — Basic Usage.
Get-Help Disconnect-VIServer -Full
Display complete syntax, parameter details, and examples for esxcli system version get — Basic Usage.
Get-Help esxcli -Full
Display complete syntax, parameter details, and examples for esxcli network ip interface list — Basic Usage.
Get-Help esxcli -Full
Display complete syntax, parameter details, and examples for esxcli network nic list — Basic Usage.
Get-Help esxcli -Full
Display complete syntax, parameter details, and examples for esxcli storage filesystem list — Basic Usage.
Get-Help esxcli -Full
Save standard output and errors to a text file. Base task: List VMware virtual machines with PowerCLI.
Get-VM > command-results.txt 2>&1
Display output while saving it to a file. Base task: List VMware virtual machines with PowerCLI.
Get-VM 2>&1 | tee command-results.txt
Measure the command execution time. Base task: List VMware virtual machines with PowerCLI.
time Get-VM
Repeat the command every five seconds for monitoring. Base task: List VMware virtual machines with PowerCLI.
watch -n 5 'Get-VM'
Print a timestamp immediately before running the command. Base task: List VMware virtual machines with PowerCLI.
date --iso-8601=seconds; Get-VM
Run the command in the background and log its output. Base task: List VMware virtual machines with PowerCLI.
nohup sh -c 'Get-VM' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: List ESXi hosts.
Get-VMHost > command-results.txt 2>&1
Display output while saving it to a file. Base task: List ESXi hosts.
Get-VMHost 2>&1 | tee command-results.txt
Measure the command execution time. Base task: List ESXi hosts.
time Get-VMHost
Repeat the command every five seconds for monitoring. Base task: List ESXi hosts.
watch -n 5 'Get-VMHost'
Print a timestamp immediately before running the command. Base task: List ESXi hosts.
date --iso-8601=seconds; Get-VMHost
Run the command in the background and log its output. Base task: List ESXi hosts.
nohup sh -c 'Get-VMHost' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: List VMware datastores.
Get-Datastore > command-results.txt 2>&1
Display output while saving it to a file. Base task: List VMware datastores.
Get-Datastore 2>&1 | tee command-results.txt
Measure the command execution time. Base task: List VMware datastores.
time Get-Datastore
Repeat the command every five seconds for monitoring. Base task: List VMware datastores.
watch -n 5 'Get-Datastore'
Print a timestamp immediately before running the command. Base task: List VMware datastores.
date --iso-8601=seconds; Get-Datastore
Run the command in the background and log its output. Base task: List VMware datastores.
nohup sh -c 'Get-Datastore' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: List vSphere clusters.
Get-Cluster > command-results.txt 2>&1
Display output while saving it to a file. Base task: List vSphere clusters.
Get-Cluster 2>&1 | tee command-results.txt
Measure the command execution time. Base task: List vSphere clusters.
time Get-Cluster
Repeat the command every five seconds for monitoring. Base task: List vSphere clusters.
watch -n 5 'Get-Cluster'
Print a timestamp immediately before running the command. Base task: List vSphere clusters.
date --iso-8601=seconds; Get-Cluster
Run the command in the background and log its output. Base task: List vSphere clusters.
nohup sh -c 'Get-Cluster' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: List virtual machine snapshots.
Get-VM | Get-Snapshot > command-results.txt 2>&1
Display output while saving it to a file. Base task: List virtual machine snapshots.
Get-VM | Get-Snapshot 2>&1 | tee command-results.txt
Measure the command execution time. Base task: List virtual machine snapshots.
time Get-VM | Get-Snapshot
Repeat the command every five seconds for monitoring. Base task: List virtual machine snapshots.
watch -n 5 'Get-VM | Get-Snapshot'
Print a timestamp immediately before running the command. Base task: List virtual machine snapshots.
date --iso-8601=seconds; Get-VM | Get-Snapshot
Run the command in the background and log its output. Base task: List virtual machine snapshots.
nohup sh -c 'Get-VM | Get-Snapshot' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Create a virtual machine snapshot.
New-Snapshot -VM vm01 -Name "Before Change" -Description "Maintenance checkpoint" > command-results.txt 2>&1
Display output while saving it to a file. Base task: Create a virtual machine snapshot.
New-Snapshot -VM vm01 -Name "Before Change" -Description "Maintenance checkpoint" 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Create a virtual machine snapshot.
time New-Snapshot -VM vm01 -Name "Before Change" -Description "Maintenance checkpoint"
Repeat the command every five seconds for monitoring. Base task: Create a virtual machine snapshot.
watch -n 5 'New-Snapshot -VM vm01 -Name "Before Change" -Description "Maintenance checkpoint"'
Print a timestamp immediately before running the command. Base task: Create a virtual machine snapshot.
date --iso-8601=seconds; New-Snapshot -VM vm01 -Name "Before Change" -Description "Maintenance checkpoint"
Run the command in the background and log its output. Base task: Create a virtual machine snapshot.
nohup sh -c 'New-Snapshot -VM vm01 -Name "Before Change" -Description "Maintenance checkpoint"' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Remove a virtual machine snapshot.
Get-Snapshot -VM vm01 -Name "Before Change" | Remove-Snapshot -Confirm:$false > command-results.txt 2>&1
Display output while saving it to a file. Base task: Remove a virtual machine snapshot.
Get-Snapshot -VM vm01 -Name "Before Change" | Remove-Snapshot -Confirm:$false 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Remove a virtual machine snapshot.
time Get-Snapshot -VM vm01 -Name "Before Change" | Remove-Snapshot -Confirm:$false
Repeat the command every five seconds for monitoring. Base task: Remove a virtual machine snapshot.
watch -n 5 'Get-Snapshot -VM vm01 -Name "Before Change" | Remove-Snapshot -Confirm:$false'
Print a timestamp immediately before running the command. Base task: Remove a virtual machine snapshot.
date --iso-8601=seconds; Get-Snapshot -VM vm01 -Name "Before Change" | Remove-Snapshot -Confirm:$false
Run the command in the background and log its output. Base task: Remove a virtual machine snapshot.
nohup sh -c 'Get-Snapshot -VM vm01 -Name "Before Change" | Remove-Snapshot -Confirm:$false' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Power on a virtual machine.
Start-VM -VM vm01 > command-results.txt 2>&1
Display output while saving it to a file. Base task: Power on a virtual machine.
Start-VM -VM vm01 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Power on a virtual machine.
time Start-VM -VM vm01
Repeat the command every five seconds for monitoring. Base task: Power on a virtual machine.
watch -n 5 'Start-VM -VM vm01'
Print a timestamp immediately before running the command. Base task: Power on a virtual machine.
date --iso-8601=seconds; Start-VM -VM vm01
Run the command in the background and log its output. Base task: Power on a virtual machine.
nohup sh -c 'Start-VM -VM vm01' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Request a guest operating system shutdown.
Stop-VMGuest -VM vm01 -Confirm:$false > command-results.txt 2>&1
Display output while saving it to a file. Base task: Request a guest operating system shutdown.
Stop-VMGuest -VM vm01 -Confirm:$false 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Request a guest operating system shutdown.
time Stop-VMGuest -VM vm01 -Confirm:$false
Repeat the command every five seconds for monitoring. Base task: Request a guest operating system shutdown.
watch -n 5 'Stop-VMGuest -VM vm01 -Confirm:$false'
Print a timestamp immediately before running the command. Base task: Request a guest operating system shutdown.
date --iso-8601=seconds; Stop-VMGuest -VM vm01 -Confirm:$false
Run the command in the background and log its output. Base task: Request a guest operating system shutdown.
nohup sh -c 'Stop-VMGuest -VM vm01 -Confirm:$false' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Request a guest operating system restart.
Restart-VMGuest -VM vm01 -Confirm:$false > command-results.txt 2>&1
Display output while saving it to a file. Base task: Request a guest operating system restart.
Restart-VMGuest -VM vm01 -Confirm:$false 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Request a guest operating system restart.
time Restart-VMGuest -VM vm01 -Confirm:$false
Repeat the command every five seconds for monitoring. Base task: Request a guest operating system restart.
watch -n 5 'Restart-VMGuest -VM vm01 -Confirm:$false'
Print a timestamp immediately before running the command. Base task: Request a guest operating system restart.
date --iso-8601=seconds; Restart-VMGuest -VM vm01 -Confirm:$false
Run the command in the background and log its output. Base task: Request a guest operating system restart.
nohup sh -c 'Restart-VMGuest -VM vm01 -Confirm:$false' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Move a virtual machine.
Move-VM -VM vm01 -Destination Cluster02 > command-results.txt 2>&1
Display output while saving it to a file. Base task: Move a virtual machine.
Move-VM -VM vm01 -Destination Cluster02 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Move a virtual machine.
time Move-VM -VM vm01 -Destination Cluster02
Repeat the command every five seconds for monitoring. Base task: Move a virtual machine.
watch -n 5 'Move-VM -VM vm01 -Destination Cluster02'
Print a timestamp immediately before running the command. Base task: Move a virtual machine.
date --iso-8601=seconds; Move-VM -VM vm01 -Destination Cluster02
Run the command in the background and log its output. Base task: Move a virtual machine.
nohup sh -c 'Move-VM -VM vm01 -Destination Cluster02' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: List virtual machine network adapters.
Get-VM vm01 | Get-NetworkAdapter > command-results.txt 2>&1
Display output while saving it to a file. Base task: List virtual machine network adapters.
Get-VM vm01 | Get-NetworkAdapter 2>&1 | tee command-results.txt
Measure the command execution time. Base task: List virtual machine network adapters.
time Get-VM vm01 | Get-NetworkAdapter
Repeat the command every five seconds for monitoring. Base task: List virtual machine network adapters.
watch -n 5 'Get-VM vm01 | Get-NetworkAdapter'
Print a timestamp immediately before running the command. Base task: List virtual machine network adapters.
date --iso-8601=seconds; Get-VM vm01 | Get-NetworkAdapter
Run the command in the background and log its output. Base task: List virtual machine network adapters.
nohup sh -c 'Get-VM vm01 | Get-NetworkAdapter' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: List virtual disks.
Get-VM vm01 | Get-HardDisk > command-results.txt 2>&1
Display output while saving it to a file. Base task: List virtual disks.
Get-VM vm01 | Get-HardDisk 2>&1 | tee command-results.txt
Measure the command execution time. Base task: List virtual disks.
time Get-VM vm01 | Get-HardDisk
Repeat the command every five seconds for monitoring. Base task: List virtual disks.
watch -n 5 'Get-VM vm01 | Get-HardDisk'
Print a timestamp immediately before running the command. Base task: List virtual disks.
date --iso-8601=seconds; Get-VM vm01 | Get-HardDisk
Run the command in the background and log its output. Base task: List virtual disks.
nohup sh -c 'Get-VM vm01 | Get-HardDisk' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Retrieve vSphere performance statistics.
Get-Stat -Entity (Get-VM vm01) -Stat cpu.usage.average -Realtime > command-results.txt 2>&1
Display output while saving it to a file. Base task: Retrieve vSphere performance statistics.
Get-Stat -Entity (Get-VM vm01) -Stat cpu.usage.average -Realtime 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Retrieve vSphere performance statistics.
time Get-Stat -Entity (Get-VM vm01) -Stat cpu.usage.average -Realtime
Repeat the command every five seconds for monitoring. Base task: Retrieve vSphere performance statistics.
watch -n 5 'Get-Stat -Entity (Get-VM vm01) -Stat cpu.usage.average -Realtime'
Print a timestamp immediately before running the command. Base task: Retrieve vSphere performance statistics.
date --iso-8601=seconds; Get-Stat -Entity (Get-VM vm01) -Stat cpu.usage.average -Realtime
Run the command in the background and log its output. Base task: Retrieve vSphere performance statistics.
nohup sh -c 'Get-Stat -Entity (Get-VM vm01) -Stat cpu.usage.average -Realtime' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Connect PowerCLI to vCenter Server.
Connect-VIServer vcenter.contoso.com > command-results.txt 2>&1
Display output while saving it to a file. Base task: Connect PowerCLI to vCenter Server.
Connect-VIServer vcenter.contoso.com 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Connect PowerCLI to vCenter Server.
time Connect-VIServer vcenter.contoso.com
Repeat the command every five seconds for monitoring. Base task: Connect PowerCLI to vCenter Server.
watch -n 5 'Connect-VIServer vcenter.contoso.com'
Print a timestamp immediately before running the command. Base task: Connect PowerCLI to vCenter Server.
date --iso-8601=seconds; Connect-VIServer vcenter.contoso.com
Run the command in the background and log its output. Base task: Connect PowerCLI to vCenter Server.
nohup sh -c 'Connect-VIServer vcenter.contoso.com' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Disconnect PowerCLI sessions.
Disconnect-VIServer * -Confirm:$false > command-results.txt 2>&1
Display output while saving it to a file. Base task: Disconnect PowerCLI sessions.
Disconnect-VIServer * -Confirm:$false 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Disconnect PowerCLI sessions.
time Disconnect-VIServer * -Confirm:$false
Repeat the command every five seconds for monitoring. Base task: Disconnect PowerCLI sessions.
watch -n 5 'Disconnect-VIServer * -Confirm:$false'
Print a timestamp immediately before running the command. Base task: Disconnect PowerCLI sessions.
date --iso-8601=seconds; Disconnect-VIServer * -Confirm:$false
Run the command in the background and log its output. Base task: Disconnect PowerCLI sessions.
nohup sh -c 'Disconnect-VIServer * -Confirm:$false' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Display ESXi version information.
esxcli system version get > command-results.txt 2>&1
Display output while saving it to a file. Base task: Display ESXi version information.
esxcli system version get 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Display ESXi version information.
time esxcli system version get
Repeat the command every five seconds for monitoring. Base task: Display ESXi version information.
watch -n 5 'esxcli system version get'
Print a timestamp immediately before running the command. Base task: Display ESXi version information.
date --iso-8601=seconds; esxcli system version get
Run the command in the background and log its output. Base task: Display ESXi version information.
nohup sh -c 'esxcli system version get' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: List ESXi VMkernel interfaces.
esxcli network ip interface list > command-results.txt 2>&1
Display output while saving it to a file. Base task: List ESXi VMkernel interfaces.
esxcli network ip interface list 2>&1 | tee command-results.txt
Measure the command execution time. Base task: List ESXi VMkernel interfaces.
time esxcli network ip interface list
Repeat the command every five seconds for monitoring. Base task: List ESXi VMkernel interfaces.
watch -n 5 'esxcli network ip interface list'
Print a timestamp immediately before running the command. Base task: List ESXi VMkernel interfaces.
date --iso-8601=seconds; esxcli network ip interface list
Run the command in the background and log its output. Base task: List ESXi VMkernel interfaces.
nohup sh -c 'esxcli network ip interface list' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: List ESXi physical network adapters.
esxcli network nic list > command-results.txt 2>&1
Display output while saving it to a file. Base task: List ESXi physical network adapters.
esxcli network nic list 2>&1 | tee command-results.txt
Measure the command execution time. Base task: List ESXi physical network adapters.
time esxcli network nic list
Repeat the command every five seconds for monitoring. Base task: List ESXi physical network adapters.
watch -n 5 'esxcli network nic list'
Print a timestamp immediately before running the command. Base task: List ESXi physical network adapters.
date --iso-8601=seconds; esxcli network nic list
Run the command in the background and log its output. Base task: List ESXi physical network adapters.
nohup sh -c 'esxcli network nic list' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: List ESXi filesystems and datastores.
esxcli storage filesystem list > command-results.txt 2>&1
Display output while saving it to a file. Base task: List ESXi filesystems and datastores.
esxcli storage filesystem list 2>&1 | tee command-results.txt
Measure the command execution time. Base task: List ESXi filesystems and datastores.
time esxcli storage filesystem list
Repeat the command every five seconds for monitoring. Base task: List ESXi filesystems and datastores.
watch -n 5 'esxcli storage filesystem list'
Print a timestamp immediately before running the command. Base task: List ESXi filesystems and datastores.
date --iso-8601=seconds; esxcli storage filesystem list
Run the command in the background and log its output. Base task: List ESXi filesystems and datastores.
nohup sh -c 'esxcli storage filesystem list' > command-results.log 2>&1 &
SQL and Database Administration
Return rows from a table.
SELECT * FROM users LIMIT 100;
Filter rows with a condition.
SELECT * FROM users WHERE enabled = 1;
Sort query results.
SELECT * FROM users ORDER BY created_at DESC;
Aggregate rows by a column.
SELECT department, COUNT(*) FROM users GROUP BY department;
Join related tables.
SELECT u.name, d.name AS department FROM users u JOIN departments d ON d.id = u.department_id;
Insert a row.
INSERT INTO users (name,email) VALUES ('Jane Smith','jane@example.com');
Update matching rows.
UPDATE users SET enabled = 0 WHERE id = 42;
Delete matching rows.
DELETE FROM users WHERE id = 42;
Create a table.
CREATE TABLE audit_log (id BIGINT PRIMARY KEY AUTO_INCREMENT, event VARCHAR(255), created_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP);
Alter a table definition.
ALTER TABLE users ADD COLUMN last_login DATETIME NULL;
Create a database index.
CREATE INDEX idx_users_email ON users(email);
List MariaDB databases.
SHOW DATABASES;
List tables in the selected database.
SHOW TABLES;
Display a table definition.
DESCRIBE users;
Display active MariaDB sessions and queries.
SHOW FULL PROCESSLIST;
Back up a MariaDB or MySQL database.
mysqldump -u root -p database_name > backup.sql
List PostgreSQL databases in psql.
\l
List PostgreSQL tables in psql.
\dt
Describe a PostgreSQL table in psql.
\d users
Create a PostgreSQL custom-format backup.
pg_dump -Fc database_name > backup.dump
Use SQL SELECT for a standard administrative task.
SELECT * FROM users LIMIT 100;
Use SQL WHERE for a standard administrative task.
SELECT * FROM users WHERE enabled = 1;
Use SQL ORDER BY for a standard administrative task.
SELECT * FROM users ORDER BY created_at DESC;
Use SQL GROUP BY for a standard administrative task.
SELECT department, COUNT(*) FROM users GROUP BY department;
Use SQL JOIN for a standard administrative task.
SELECT u.name, d.name AS department FROM users u JOIN departments d ON d.id = u.department_id;
Use SQL INSERT for a standard administrative task.
INSERT INTO users (name,email) VALUES ('Jane Smith','jane@example.com');
Use SQL UPDATE for a standard administrative task.
UPDATE users SET enabled = 0 WHERE id = 42;
Use SQL DELETE for a standard administrative task.
DELETE FROM users WHERE id = 42;
Use SQL CREATE TABLE for a standard administrative task.
CREATE TABLE audit_log (id BIGINT PRIMARY KEY AUTO_INCREMENT, event VARCHAR(255), created_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP);
Use SQL ALTER TABLE for a standard administrative task.
ALTER TABLE users ADD COLUMN last_login DATETIME NULL;
Use SQL CREATE INDEX for a standard administrative task.
CREATE INDEX idx_users_email ON users(email);
Use MariaDB SHOW DATABASES for a standard administrative task.
SHOW DATABASES;
Use MariaDB SHOW TABLES for a standard administrative task.
SHOW TABLES;
Use MariaDB DESCRIBE for a standard administrative task.
DESCRIBE users;
Use MariaDB SHOW PROCESSLIST for a standard administrative task.
SHOW FULL PROCESSLIST;
Use MariaDB mysqldump for a standard administrative task.
mysqldump -u root -p database_name > backup.sql
Use PostgreSQL list databases for a standard administrative task.
\l
Use PostgreSQL list tables for a standard administrative task.
\dt
Use PostgreSQL describe table for a standard administrative task.
\d users
Use PostgreSQL pg_dump for a standard administrative task.
pg_dump -Fc database_name > backup.dump
Review the database execution plan for the statement used in SQL SELECT.
EXPLAIN SELECT * FROM users LIMIT 100;
Review the database execution plan for the statement used in SQL WHERE.
EXPLAIN SELECT * FROM users WHERE enabled = 1;
Review the database execution plan for the statement used in SQL ORDER BY.
EXPLAIN SELECT * FROM users ORDER BY created_at DESC;
Review the database execution plan for the statement used in SQL GROUP BY.
EXPLAIN SELECT department, COUNT(*) FROM users GROUP BY department;
Review the database execution plan for the statement used in SQL JOIN.
EXPLAIN SELECT u.name, d.name AS department FROM users u JOIN departments d ON d.id = u.department_id;
Review the database execution plan for the statement used in SQL INSERT.
EXPLAIN INSERT INTO users (name,email) VALUES ('Jane Smith','jane@example.com');
Review the database execution plan for the statement used in SQL UPDATE.
EXPLAIN UPDATE users SET enabled = 0 WHERE id = 42;
Review the database execution plan for the statement used in SQL DELETE.
EXPLAIN DELETE FROM users WHERE id = 42;
Request database command help and syntax related to SQL CREATE TABLE.
HELP 'CREATE';
Request database command help and syntax related to SQL ALTER TABLE.
HELP 'ALTER';
Request database command help and syntax related to SQL CREATE INDEX.
HELP 'CREATE';
Request database command help and syntax related to MariaDB SHOW DATABASES.
HELP 'SHOW';
Request database command help and syntax related to MariaDB SHOW TABLES.
HELP 'SHOW';
Request database command help and syntax related to MariaDB DESCRIBE.
HELP 'DESCRIBE';
Request database command help and syntax related to MariaDB SHOW PROCESSLIST.
HELP 'SHOW';
Request database command help and syntax related to MariaDB mysqldump.
HELP 'MYSQLDUMP';
Request database command help and syntax related to PostgreSQL list databases.
HELP '\L';
Request database command help and syntax related to PostgreSQL list tables.
HELP '\DT';
Request database command help and syntax related to PostgreSQL describe table.
HELP '\D';
Request database command help and syntax related to PostgreSQL pg_dump.
HELP 'PG_DUMP';
Review the database execution plan for the statement used in SQL SELECT — Basic Usage.
EXPLAIN SELECT * FROM users LIMIT 100;
Review the database execution plan for the statement used in SQL WHERE — Basic Usage.
EXPLAIN SELECT * FROM users WHERE enabled = 1;
Review the database execution plan for the statement used in SQL ORDER BY — Basic Usage.
EXPLAIN SELECT * FROM users ORDER BY created_at DESC;
Review the database execution plan for the statement used in SQL GROUP BY — Basic Usage.
EXPLAIN SELECT department, COUNT(*) FROM users GROUP BY department;
Review the database execution plan for the statement used in SQL JOIN — Basic Usage.
EXPLAIN SELECT u.name, d.name AS department FROM users u JOIN departments d ON d.id = u.department_id;
Review the database execution plan for the statement used in SQL INSERT — Basic Usage.
EXPLAIN INSERT INTO users (name,email) VALUES ('Jane Smith','jane@example.com');
Review the database execution plan for the statement used in SQL UPDATE — Basic Usage.
EXPLAIN UPDATE users SET enabled = 0 WHERE id = 42;
Review the database execution plan for the statement used in SQL DELETE — Basic Usage.
EXPLAIN DELETE FROM users WHERE id = 42;
Request database command help and syntax related to SQL CREATE TABLE — Basic Usage.
HELP 'CREATE';
Request database command help and syntax related to SQL ALTER TABLE — Basic Usage.
HELP 'ALTER';
Request database command help and syntax related to SQL CREATE INDEX — Basic Usage.
HELP 'CREATE';
Request database command help and syntax related to MariaDB SHOW DATABASES — Basic Usage.
HELP 'SHOW';
Request database command help and syntax related to MariaDB SHOW TABLES — Basic Usage.
HELP 'SHOW';
Request database command help and syntax related to MariaDB DESCRIBE — Basic Usage.
HELP 'DESCRIBE';
Request database command help and syntax related to MariaDB SHOW PROCESSLIST — Basic Usage.
HELP 'SHOW';
Request database command help and syntax related to MariaDB mysqldump — Basic Usage.
HELP 'MYSQLDUMP';
Request database command help and syntax related to PostgreSQL list databases — Basic Usage.
HELP '\L';
Request database command help and syntax related to PostgreSQL list tables — Basic Usage.
HELP '\DT';
Request database command help and syntax related to PostgreSQL describe table — Basic Usage.
HELP '\D';
Request database command help and syntax related to PostgreSQL pg_dump — Basic Usage.
HELP 'PG_DUMP';
Save standard output and errors to a text file. Base task: Return rows from a table.
SELECT * FROM users LIMIT 100 > command-results.txt 2>&1
Display output while saving it to a file. Base task: Return rows from a table.
SELECT * FROM users LIMIT 100 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Return rows from a table.
time SELECT * FROM users LIMIT 100
Repeat the command every five seconds for monitoring. Base task: Return rows from a table.
watch -n 5 'SELECT * FROM users LIMIT 100'
Print a timestamp immediately before running the command. Base task: Return rows from a table.
date --iso-8601=seconds; SELECT * FROM users LIMIT 100
Run the command in the background and log its output. Base task: Return rows from a table.
nohup sh -c 'SELECT * FROM users LIMIT 100' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Filter rows with a condition.
SELECT * FROM users WHERE enabled = 1 > command-results.txt 2>&1
Display output while saving it to a file. Base task: Filter rows with a condition.
SELECT * FROM users WHERE enabled = 1 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Filter rows with a condition.
time SELECT * FROM users WHERE enabled = 1
Repeat the command every five seconds for monitoring. Base task: Filter rows with a condition.
watch -n 5 'SELECT * FROM users WHERE enabled = 1'
Print a timestamp immediately before running the command. Base task: Filter rows with a condition.
date --iso-8601=seconds; SELECT * FROM users WHERE enabled = 1
Run the command in the background and log its output. Base task: Filter rows with a condition.
nohup sh -c 'SELECT * FROM users WHERE enabled = 1' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Sort query results.
SELECT * FROM users ORDER BY created_at DESC > command-results.txt 2>&1
Display output while saving it to a file. Base task: Sort query results.
SELECT * FROM users ORDER BY created_at DESC 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Sort query results.
time SELECT * FROM users ORDER BY created_at DESC
Repeat the command every five seconds for monitoring. Base task: Sort query results.
watch -n 5 'SELECT * FROM users ORDER BY created_at DESC'
Print a timestamp immediately before running the command. Base task: Sort query results.
date --iso-8601=seconds; SELECT * FROM users ORDER BY created_at DESC
Run the command in the background and log its output. Base task: Sort query results.
nohup sh -c 'SELECT * FROM users ORDER BY created_at DESC' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Aggregate rows by a column.
SELECT department, COUNT(*) FROM users GROUP BY department > command-results.txt 2>&1
Display output while saving it to a file. Base task: Aggregate rows by a column.
SELECT department, COUNT(*) FROM users GROUP BY department 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Aggregate rows by a column.
time SELECT department, COUNT(*) FROM users GROUP BY department
Repeat the command every five seconds for monitoring. Base task: Aggregate rows by a column.
watch -n 5 'SELECT department, COUNT(*) FROM users GROUP BY department'
Print a timestamp immediately before running the command. Base task: Aggregate rows by a column.
date --iso-8601=seconds; SELECT department, COUNT(*) FROM users GROUP BY department
Run the command in the background and log its output. Base task: Aggregate rows by a column.
nohup sh -c 'SELECT department, COUNT(*) FROM users GROUP BY department' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Join related tables.
SELECT u.name, d.name AS department FROM users u JOIN departments d ON d.id = u.department_id > command-results.txt 2>&1
Display output while saving it to a file. Base task: Join related tables.
SELECT u.name, d.name AS department FROM users u JOIN departments d ON d.id = u.department_id 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Join related tables.
time SELECT u.name, d.name AS department FROM users u JOIN departments d ON d.id = u.department_id
Repeat the command every five seconds for monitoring. Base task: Join related tables.
watch -n 5 'SELECT u.name, d.name AS department FROM users u JOIN departments d ON d.id = u.department_id'
Print a timestamp immediately before running the command. Base task: Join related tables.
date --iso-8601=seconds; SELECT u.name, d.name AS department FROM users u JOIN departments d ON d.id = u.department_id
Run the command in the background and log its output. Base task: Join related tables.
nohup sh -c 'SELECT u.name, d.name AS department FROM users u JOIN departments d ON d.id = u.department_id' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Insert a row.
INSERT INTO users (name,email) VALUES ('Jane Smith','jane@example.com') > command-results.txt 2>&1
Display output while saving it to a file. Base task: Insert a row.
INSERT INTO users (name,email) VALUES ('Jane Smith','jane@example.com') 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Insert a row.
time INSERT INTO users (name,email) VALUES ('Jane Smith','jane@example.com')
Repeat the command every five seconds for monitoring. Base task: Insert a row.
watch -n 5 'INSERT INTO users (name,email) VALUES ('Jane Smith','jane@example.com')'
Print a timestamp immediately before running the command. Base task: Insert a row.
date --iso-8601=seconds; INSERT INTO users (name,email) VALUES ('Jane Smith','jane@example.com')
Run the command in the background and log its output. Base task: Insert a row.
nohup sh -c 'INSERT INTO users (name,email) VALUES ('Jane Smith','jane@example.com')' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Update matching rows.
UPDATE users SET enabled = 0 WHERE id = 42 > command-results.txt 2>&1
Display output while saving it to a file. Base task: Update matching rows.
UPDATE users SET enabled = 0 WHERE id = 42 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Update matching rows.
time UPDATE users SET enabled = 0 WHERE id = 42
Repeat the command every five seconds for monitoring. Base task: Update matching rows.
watch -n 5 'UPDATE users SET enabled = 0 WHERE id = 42'
Print a timestamp immediately before running the command. Base task: Update matching rows.
date --iso-8601=seconds; UPDATE users SET enabled = 0 WHERE id = 42
Run the command in the background and log its output. Base task: Update matching rows.
nohup sh -c 'UPDATE users SET enabled = 0 WHERE id = 42' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Delete matching rows.
DELETE FROM users WHERE id = 42 > command-results.txt 2>&1
Display output while saving it to a file. Base task: Delete matching rows.
DELETE FROM users WHERE id = 42 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Delete matching rows.
time DELETE FROM users WHERE id = 42
Repeat the command every five seconds for monitoring. Base task: Delete matching rows.
watch -n 5 'DELETE FROM users WHERE id = 42'
Print a timestamp immediately before running the command. Base task: Delete matching rows.
date --iso-8601=seconds; DELETE FROM users WHERE id = 42
Run the command in the background and log its output. Base task: Delete matching rows.
nohup sh -c 'DELETE FROM users WHERE id = 42' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Create a table.
CREATE TABLE audit_log (id BIGINT PRIMARY KEY AUTO_INCREMENT, event VARCHAR(255), created_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP) > command-results.txt 2>&1
Display output while saving it to a file. Base task: Create a table.
CREATE TABLE audit_log (id BIGINT PRIMARY KEY AUTO_INCREMENT, event VARCHAR(255), created_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP) 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Create a table.
time CREATE TABLE audit_log (id BIGINT PRIMARY KEY AUTO_INCREMENT, event VARCHAR(255), created_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP)
Repeat the command every five seconds for monitoring. Base task: Create a table.
watch -n 5 'CREATE TABLE audit_log (id BIGINT PRIMARY KEY AUTO_INCREMENT, event VARCHAR(255), created_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP)'
Print a timestamp immediately before running the command. Base task: Create a table.
date --iso-8601=seconds; CREATE TABLE audit_log (id BIGINT PRIMARY KEY AUTO_INCREMENT, event VARCHAR(255), created_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP)
Run the command in the background and log its output. Base task: Create a table.
nohup sh -c 'CREATE TABLE audit_log (id BIGINT PRIMARY KEY AUTO_INCREMENT, event VARCHAR(255), created_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP)' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Alter a table definition.
ALTER TABLE users ADD COLUMN last_login DATETIME NULL > command-results.txt 2>&1
Display output while saving it to a file. Base task: Alter a table definition.
ALTER TABLE users ADD COLUMN last_login DATETIME NULL 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Alter a table definition.
time ALTER TABLE users ADD COLUMN last_login DATETIME NULL
Repeat the command every five seconds for monitoring. Base task: Alter a table definition.
watch -n 5 'ALTER TABLE users ADD COLUMN last_login DATETIME NULL'
Print a timestamp immediately before running the command. Base task: Alter a table definition.
date --iso-8601=seconds; ALTER TABLE users ADD COLUMN last_login DATETIME NULL
Run the command in the background and log its output. Base task: Alter a table definition.
nohup sh -c 'ALTER TABLE users ADD COLUMN last_login DATETIME NULL' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Create a database index.
CREATE INDEX idx_users_email ON users(email) > command-results.txt 2>&1
Display output while saving it to a file. Base task: Create a database index.
CREATE INDEX idx_users_email ON users(email) 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Create a database index.
time CREATE INDEX idx_users_email ON users(email)
Repeat the command every five seconds for monitoring. Base task: Create a database index.
watch -n 5 'CREATE INDEX idx_users_email ON users(email)'
Print a timestamp immediately before running the command. Base task: Create a database index.
date --iso-8601=seconds; CREATE INDEX idx_users_email ON users(email)
Run the command in the background and log its output. Base task: Create a database index.
nohup sh -c 'CREATE INDEX idx_users_email ON users(email)' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: List MariaDB databases.
SHOW DATABASES > command-results.txt 2>&1
Display output while saving it to a file. Base task: List MariaDB databases.
SHOW DATABASES 2>&1 | tee command-results.txt
Measure the command execution time. Base task: List MariaDB databases.
time SHOW DATABASES
Repeat the command every five seconds for monitoring. Base task: List MariaDB databases.
watch -n 5 'SHOW DATABASES'
Print a timestamp immediately before running the command. Base task: List MariaDB databases.
date --iso-8601=seconds; SHOW DATABASES
Run the command in the background and log its output. Base task: List MariaDB databases.
nohup sh -c 'SHOW DATABASES' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: List tables in the selected database.
SHOW TABLES > command-results.txt 2>&1
Display output while saving it to a file. Base task: List tables in the selected database.
SHOW TABLES 2>&1 | tee command-results.txt
Measure the command execution time. Base task: List tables in the selected database.
time SHOW TABLES
Repeat the command every five seconds for monitoring. Base task: List tables in the selected database.
watch -n 5 'SHOW TABLES'
Print a timestamp immediately before running the command. Base task: List tables in the selected database.
date --iso-8601=seconds; SHOW TABLES
Run the command in the background and log its output. Base task: List tables in the selected database.
nohup sh -c 'SHOW TABLES' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Display a table definition.
DESCRIBE users > command-results.txt 2>&1
Display output while saving it to a file. Base task: Display a table definition.
DESCRIBE users 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Display a table definition.
time DESCRIBE users
Repeat the command every five seconds for monitoring. Base task: Display a table definition.
watch -n 5 'DESCRIBE users'
Print a timestamp immediately before running the command. Base task: Display a table definition.
date --iso-8601=seconds; DESCRIBE users
Run the command in the background and log its output. Base task: Display a table definition.
nohup sh -c 'DESCRIBE users' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Display active MariaDB sessions and queries.
SHOW FULL PROCESSLIST > command-results.txt 2>&1
Display output while saving it to a file. Base task: Display active MariaDB sessions and queries.
SHOW FULL PROCESSLIST 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Display active MariaDB sessions and queries.
time SHOW FULL PROCESSLIST
Repeat the command every five seconds for monitoring. Base task: Display active MariaDB sessions and queries.
watch -n 5 'SHOW FULL PROCESSLIST'
Print a timestamp immediately before running the command. Base task: Display active MariaDB sessions and queries.
date --iso-8601=seconds; SHOW FULL PROCESSLIST
Run the command in the background and log its output. Base task: Display active MariaDB sessions and queries.
nohup sh -c 'SHOW FULL PROCESSLIST' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Back up a MariaDB or MySQL database.
mysqldump -u root -p database_name > backup.sql > command-results.txt 2>&1
Display output while saving it to a file. Base task: Back up a MariaDB or MySQL database.
mysqldump -u root -p database_name > backup.sql 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Back up a MariaDB or MySQL database.
time mysqldump -u root -p database_name > backup.sql
Repeat the command every five seconds for monitoring. Base task: Back up a MariaDB or MySQL database.
watch -n 5 'mysqldump -u root -p database_name > backup.sql'
Print a timestamp immediately before running the command. Base task: Back up a MariaDB or MySQL database.
date --iso-8601=seconds; mysqldump -u root -p database_name > backup.sql
Run the command in the background and log its output. Base task: Back up a MariaDB or MySQL database.
nohup sh -c 'mysqldump -u root -p database_name > backup.sql' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: List PostgreSQL databases in psql.
\l > command-results.txt 2>&1
Display output while saving it to a file. Base task: List PostgreSQL databases in psql.
\l 2>&1 | tee command-results.txt
Measure the command execution time. Base task: List PostgreSQL databases in psql.
time \l
Repeat the command every five seconds for monitoring. Base task: List PostgreSQL databases in psql.
watch -n 5 '\l'
Print a timestamp immediately before running the command. Base task: List PostgreSQL databases in psql.
date --iso-8601=seconds; \l
Run the command in the background and log its output. Base task: List PostgreSQL databases in psql.
nohup sh -c '\l' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: List PostgreSQL tables in psql.
\dt > command-results.txt 2>&1
Display output while saving it to a file. Base task: List PostgreSQL tables in psql.
\dt 2>&1 | tee command-results.txt
Measure the command execution time. Base task: List PostgreSQL tables in psql.
time \dt
Repeat the command every five seconds for monitoring. Base task: List PostgreSQL tables in psql.
watch -n 5 '\dt'
Print a timestamp immediately before running the command. Base task: List PostgreSQL tables in psql.
date --iso-8601=seconds; \dt
Run the command in the background and log its output. Base task: List PostgreSQL tables in psql.
nohup sh -c '\dt' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Describe a PostgreSQL table in psql.
\d users > command-results.txt 2>&1
Display output while saving it to a file. Base task: Describe a PostgreSQL table in psql.
\d users 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Describe a PostgreSQL table in psql.
time \d users
Repeat the command every five seconds for monitoring. Base task: Describe a PostgreSQL table in psql.
watch -n 5 '\d users'
Print a timestamp immediately before running the command. Base task: Describe a PostgreSQL table in psql.
date --iso-8601=seconds; \d users
Run the command in the background and log its output. Base task: Describe a PostgreSQL table in psql.
nohup sh -c '\d users' > command-results.log 2>&1 &
Save standard output and errors to a text file. Base task: Create a PostgreSQL custom-format backup.
pg_dump -Fc database_name > backup.dump > command-results.txt 2>&1
Display output while saving it to a file. Base task: Create a PostgreSQL custom-format backup.
pg_dump -Fc database_name > backup.dump 2>&1 | tee command-results.txt
Measure the command execution time. Base task: Create a PostgreSQL custom-format backup.
time pg_dump -Fc database_name > backup.dump
Repeat the command every five seconds for monitoring. Base task: Create a PostgreSQL custom-format backup.
watch -n 5 'pg_dump -Fc database_name > backup.dump'
Print a timestamp immediately before running the command. Base task: Create a PostgreSQL custom-format backup.
date --iso-8601=seconds; pg_dump -Fc database_name > backup.dump
Run the command in the background and log its output. Base task: Create a PostgreSQL custom-format backup.
nohup sh -c 'pg_dump -Fc database_name > backup.dump' > command-results.log 2>&1 &
Windows Administration
List Windows services on the local computer.
Get-Service
Start a Windows service.
Start-Service -Name Spooler
Stop a Windows service.
Stop-Service -Name Spooler
Restart a Windows service.
Restart-Service -Name Spooler
List running processes.
Get-Process
Stop a running process by name.
Stop-Process -Name notepad
Read recent entries from a classic Windows event log.
Get-EventLog -LogName System -Newest 50
Read recent Windows event log entries.
Get-WinEvent -LogName System -MaxEvents 50
Display detailed Windows system information.
Get-ComputerInfo
Query operating system information through CIM.
Get-CimInstance Win32_OperatingSystem
Test ICMP connectivity to a host.
Test-Connection server01 -Count 4
Test TCP connectivity to a host and port.
Test-NetConnection server01 -Port 443
Resolve DNS records for a name.
Resolve-DnsName example.com
List IP addresses configured on the computer.
Get-NetIPAddress
Display IP configuration for network adapters.
Get-NetIPConfiguration
List network adapters and link state.
Get-NetAdapter
Restart a network adapter.
Restart-NetAdapter -Name Ethernet
List routes in the Windows routing table.
Get-NetRoute
List listening TCP connections.
Get-NetTCPConnection -State Listen
Display the Windows DNS client cache.
Get-DnsClientCache
Clear the Windows DNS client cache.
Clear-DnsClientCache
List files and folders recursively.
Get-ChildItem C:\Logs -Recurse
Copy files or folders.
Copy-Item C:\Source C:\Backup -Recurse
Move or rename a file or folder.
Move-Item C:\Old C:\New
Delete a file.
Remove-Item C:\Temp\old.log -Force
Create a directory.
New-Item -ItemType Directory -Path C:\Reports
Read the last 100 lines of a file.
Get-Content C:\Logs\app.log -Tail 100
Write text to a file.
Set-Content C:\Temp\status.txt "OK"
Append text to a file.
Add-Content C:\Temp\status.txt "Completed"
Search text files for a pattern.
Select-String -Path C:\Logs\*.log -Pattern "error"
Export objects to a CSV file.
Get-Process | Export-Csv processes.csv -NoTypeInformation
Import rows from a CSV file.
Import-Csv users.csv
Convert PowerShell objects to JSON.
Get-Service | ConvertTo-Json -Depth 3
Call a REST endpoint and parse its response.
Invoke-RestMethod https://api.example.com/status
Send an HTTP request and return the web response.
Invoke-WebRequest https://example.com
List Windows scheduled tasks.
Get-ScheduledTask
Start a Windows scheduled task.
Start-ScheduledTask -TaskName "Daily Backup"
List local user accounts.
Get-LocalUser
Create a local user account.
New-LocalUser -Name helpdesk -Password (Read-Host -AsSecureString)
List members of a local group.
Get-LocalGroupMember Administrators
Add a member to a local group.
Add-LocalGroupMember -Group Administrators -Member helpdesk
List installed Windows updates.
Get-HotFix
List Windows optional features.
Get-WindowsOptionalFeature -Online
Enable a Windows optional feature.
Enable-WindowsOptionalFeature -Online -FeatureName IIS-WebServerRole
List storage volumes.
Get-Volume
List physical disks.
Get-Disk
List disk partitions.
Get-Partition
List SMB shares.
Get-SmbShare
Create an SMB share.
New-SmbShare -Name Data -Path D:\Data -FullAccess Administrators
Calculate a file hash.
Get-FileHash .\installer.exe -Algorithm SHA256
Count objects or calculate totals.
Get-ChildItem C:\Logs | Measure-Object -Property Length -Sum
Filter pipeline objects.
Get-Service | Where-Object Status -eq Running
Sort objects by a property.
Get-Process | Sort-Object CPU -Descending
Choose properties from objects.
Get-Process | Select-Object Name,Id,CPU
Run an action for each pipeline object.
Get-Service | ForEach-Object { $_.Name }
Record a PowerShell session to a text file.
Start-Transcript -Path C:\Logs\session.txt
Display PowerShell execution policies.
Get-ExecutionPolicy -List
Set the PowerShell execution policy for a scope.
Set-ExecutionPolicy RemoteSigned -Scope CurrentUser
List installed PowerShell modules.
Get-Module -ListAvailable
Install a module from PowerShell Gallery.
Install-Module Microsoft.Graph -Scope CurrentUser
Update an installed PowerShell module.
Update-Module Microsoft.Graph
Display command help and examples.
Get-Help Get-Service -Examples
Use Get-Service for a standard administrative task.
Get-Service
Use Start-Service for a standard administrative task.
Start-Service -Name Spooler
Use Stop-Service for a standard administrative task.
Stop-Service -Name Spooler
Use Restart-Service for a standard administrative task.
Restart-Service -Name Spooler
Use Get-Process for a standard administrative task.
Get-Process
Use Stop-Process for a standard administrative task.
Stop-Process -Name notepad
Use Get-EventLog for a standard administrative task.
Get-EventLog -LogName System -Newest 50
Use Get-WinEvent for a standard administrative task.
Get-WinEvent -LogName System -MaxEvents 50
Use Get-ComputerInfo for a standard administrative task.
Get-ComputerInfo
Use Get-CimInstance for a standard administrative task.
Get-CimInstance Win32_OperatingSystem
Use Test-Connection for a standard administrative task.
Test-Connection server01 -Count 4
Use Test-NetConnection for a standard administrative task.
Test-NetConnection server01 -Port 443
Use Resolve-DnsName for a standard administrative task.
Resolve-DnsName example.com
Use Get-NetIPAddress for a standard administrative task.
Get-NetIPAddress
Use Get-NetIPConfiguration for a standard administrative task.
Get-NetIPConfiguration
Use Get-NetAdapter for a standard administrative task.
Get-NetAdapter
Use Restart-NetAdapter for a standard administrative task.
Restart-NetAdapter -Name Ethernet
Use Get-NetRoute for a standard administrative task.
Get-NetRoute
Use Get-NetTCPConnection for a standard administrative task.
Get-NetTCPConnection -State Listen
Use Get-DnsClientCache for a standard administrative task.
Get-DnsClientCache
Use Clear-DnsClientCache for a standard administrative task.
Clear-DnsClientCache
Use Get-ChildItem for a standard administrative task.
Get-ChildItem C:\Logs -Recurse
Use Copy-Item for a standard administrative task.
Copy-Item C:\Source C:\Backup -Recurse
Use Move-Item for a standard administrative task.
Move-Item C:\Old C:\New
Use Remove-Item for a standard administrative task.
Remove-Item C:\Temp\old.log -Force
Use New-Item for a standard administrative task.
New-Item -ItemType Directory -Path C:\Reports
Use Get-Content for a standard administrative task.
Get-Content C:\Logs\app.log -Tail 100
Use Set-Content for a standard administrative task.
Set-Content C:\Temp\status.txt "OK"
Use Add-Content for a standard administrative task.
Add-Content C:\Temp\status.txt "Completed"
Use Select-String for a standard administrative task.
Select-String -Path C:\Logs\*.log -Pattern "error"
Use Export-Csv for a standard administrative task.
Get-Process | Export-Csv processes.csv -NoTypeInformation
Use Import-Csv for a standard administrative task.
Import-Csv users.csv
Use ConvertTo-Json for a standard administrative task.
Get-Service | ConvertTo-Json -Depth 3
Use Invoke-RestMethod for a standard administrative task.
Invoke-RestMethod https://api.example.com/status
Use Invoke-WebRequest for a standard administrative task.
Invoke-WebRequest https://example.com
Use Get-ScheduledTask for a standard administrative task.
Get-ScheduledTask
Use Start-ScheduledTask for a standard administrative task.
Start-ScheduledTask -TaskName "Daily Backup"
Use Get-LocalUser for a standard administrative task.
Get-LocalUser
Use New-LocalUser for a standard administrative task.
New-LocalUser -Name helpdesk -Password (Read-Host -AsSecureString)
Use Get-LocalGroupMember for a standard administrative task.
Get-LocalGroupMember Administrators
Use Add-LocalGroupMember for a standard administrative task.
Add-LocalGroupMember -Group Administrators -Member helpdesk
Use Get-HotFix for a standard administrative task.
Get-HotFix
Use Get-WindowsOptionalFeature for a standard administrative task.
Get-WindowsOptionalFeature -Online
Use Enable-WindowsOptionalFeature for a standard administrative task.
Enable-WindowsOptionalFeature -Online -FeatureName IIS-WebServerRole
Use Get-Volume for a standard administrative task.
Get-Volume
Use Get-Disk for a standard administrative task.
Get-Disk
Use Get-Partition for a standard administrative task.
Get-Partition
Use Get-SmbShare for a standard administrative task.
Get-SmbShare
Use New-SmbShare for a standard administrative task.
New-SmbShare -Name Data -Path D:\Data -FullAccess Administrators
Use Get-FileHash for a standard administrative task.
Get-FileHash .\installer.exe -Algorithm SHA256
Use Measure-Object for a standard administrative task.
Get-ChildItem C:\Logs | Measure-Object -Property Length -Sum
Use Where-Object for a standard administrative task.
Get-Service | Where-Object Status -eq Running
Use Sort-Object for a standard administrative task.
Get-Process | Sort-Object CPU -Descending
Use Select-Object for a standard administrative task.
Get-Process | Select-Object Name,Id,CPU
Use ForEach-Object for a standard administrative task.
Get-Service | ForEach-Object { $_.Name }
Use Start-Transcript for a standard administrative task.
Start-Transcript -Path C:\Logs\session.txt
Use Get-ExecutionPolicy for a standard administrative task.
Get-ExecutionPolicy -List
Use Set-ExecutionPolicy for a standard administrative task.
Set-ExecutionPolicy RemoteSigned -Scope CurrentUser
Use Get-Module for a standard administrative task.
Get-Module -ListAvailable
Use Install-Module for a standard administrative task.
Install-Module Microsoft.Graph -Scope CurrentUser
Use Update-Module for a standard administrative task.
Update-Module Microsoft.Graph
Use Get-Help for a standard administrative task.
Get-Help Get-Service -Examples
Export the output of Get-Service for documentation or review.
Get-Service | Export-Csv .\output.csv -NoTypeInformation
Export the output of Start-Service for documentation or review.
Start-Service -Name Spooler | Export-Csv .\output.csv -NoTypeInformation
Export the output of Stop-Service for documentation or review.
Stop-Service -Name Spooler | Export-Csv .\output.csv -NoTypeInformation
Export the output of Restart-Service for documentation or review.
Restart-Service -Name Spooler | Export-Csv .\output.csv -NoTypeInformation
Export the output of Get-Process for documentation or review.
Get-Process | Export-Csv .\output.csv -NoTypeInformation
Export the output of Stop-Process for documentation or review.
Stop-Process -Name notepad | Export-Csv .\output.csv -NoTypeInformation
Export the output of Get-EventLog for documentation or review.
Get-EventLog -LogName System -Newest 50 | Export-Csv .\output.csv -NoTypeInformation
Export the output of Get-WinEvent for documentation or review.
Get-WinEvent -LogName System -MaxEvents 50 | Export-Csv .\output.csv -NoTypeInformation
Export the output of Get-ComputerInfo for documentation or review.
Get-ComputerInfo | Export-Csv .\output.csv -NoTypeInformation
Export the output of Get-CimInstance for documentation or review.
Get-CimInstance Win32_OperatingSystem | Export-Csv .\output.csv -NoTypeInformation
Export the output of Test-Connection for documentation or review.
Test-Connection server01 -Count 4 | Export-Csv .\output.csv -NoTypeInformation
Export the output of Test-NetConnection for documentation or review.
Test-NetConnection server01 -Port 443 | Export-Csv .\output.csv -NoTypeInformation
Export the output of Resolve-DnsName for documentation or review.
Resolve-DnsName example.com | Export-Csv .\output.csv -NoTypeInformation
Export the output of Get-NetIPAddress for documentation or review.
Get-NetIPAddress | Export-Csv .\output.csv -NoTypeInformation
Export the output of Get-NetIPConfiguration for documentation or review.
Get-NetIPConfiguration | Export-Csv .\output.csv -NoTypeInformation
Export the output of Get-NetAdapter for documentation or review.
Get-NetAdapter | Export-Csv .\output.csv -NoTypeInformation
Export the output of Restart-NetAdapter for documentation or review.
Restart-NetAdapter -Name Ethernet | Export-Csv .\output.csv -NoTypeInformation
Export the output of Get-NetRoute for documentation or review.
Get-NetRoute | Export-Csv .\output.csv -NoTypeInformation
Export the output of Get-NetTCPConnection for documentation or review.
Get-NetTCPConnection -State Listen | Export-Csv .\output.csv -NoTypeInformation
Export the output of Get-DnsClientCache for documentation or review.
Get-DnsClientCache | Export-Csv .\output.csv -NoTypeInformation
Export the output of Clear-DnsClientCache for documentation or review.
Clear-DnsClientCache | Export-Csv .\output.csv -NoTypeInformation
Export the output of Get-ChildItem for documentation or review.
Get-ChildItem C:\Logs -Recurse | Export-Csv .\output.csv -NoTypeInformation
Export the output of Copy-Item for documentation or review.
Copy-Item C:\Source C:\Backup -Recurse | Export-Csv .\output.csv -NoTypeInformation
Export the output of Move-Item for documentation or review.
Move-Item C:\Old C:\New | Export-Csv .\output.csv -NoTypeInformation
Export the output of Remove-Item for documentation or review.
Remove-Item C:\Temp\old.log -Force | Export-Csv .\output.csv -NoTypeInformation
Export the output of New-Item for documentation or review.
New-Item -ItemType Directory -Path C:\Reports | Export-Csv .\output.csv -NoTypeInformation
Export the output of Get-Content for documentation or review.
Get-Content C:\Logs\app.log -Tail 100 | Export-Csv .\output.csv -NoTypeInformation
Export the output of Set-Content for documentation or review.
Set-Content C:\Temp\status.txt "OK" | Export-Csv .\output.csv -NoTypeInformation
Export the output of Add-Content for documentation or review.
Add-Content C:\Temp\status.txt "Completed" | Export-Csv .\output.csv -NoTypeInformation
Export the output of Select-String for documentation or review.
Select-String -Path C:\Logs\*.log -Pattern "error" | Export-Csv .\output.csv -NoTypeInformation
Export the output of Export-Csv for documentation or review.
Get-Process | Export-Csv processes.csv -NoTypeInformation | Export-Csv .\output.csv -NoTypeInformation
Export the output of Import-Csv for documentation or review.
Import-Csv users.csv | Export-Csv .\output.csv -NoTypeInformation
Export the output of ConvertTo-Json for documentation or review.
Get-Service | ConvertTo-Json -Depth 3 | Export-Csv .\output.csv -NoTypeInformation
Export the output of Invoke-RestMethod for documentation or review.
Invoke-RestMethod https://api.example.com/status | Export-Csv .\output.csv -NoTypeInformation
Export the output of Invoke-WebRequest for documentation or review.
Invoke-WebRequest https://example.com | Export-Csv .\output.csv -NoTypeInformation
Export the output of Get-ScheduledTask for documentation or review.
Get-ScheduledTask | Export-Csv .\output.csv -NoTypeInformation
Export the output of Start-ScheduledTask for documentation or review.
Start-ScheduledTask -TaskName "Daily Backup" | Export-Csv .\output.csv -NoTypeInformation
Export the output of Get-LocalUser for documentation or review.
Get-LocalUser | Export-Csv .\output.csv -NoTypeInformation
Export the output of New-LocalUser for documentation or review.
New-LocalUser -Name helpdesk -Password (Read-Host -AsSecureString) | Export-Csv .\output.csv -NoTypeInformation
Export the output of Get-LocalGroupMember for documentation or review.
Get-LocalGroupMember Administrators | Export-Csv .\output.csv -NoTypeInformation
Export the output of Add-LocalGroupMember for documentation or review.
Add-LocalGroupMember -Group Administrators -Member helpdesk | Export-Csv .\output.csv -NoTypeInformation
Export the output of Get-HotFix for documentation or review.
Get-HotFix | Export-Csv .\output.csv -NoTypeInformation
Export the output of Get-WindowsOptionalFeature for documentation or review.
Get-WindowsOptionalFeature -Online | Export-Csv .\output.csv -NoTypeInformation
Export the output of Enable-WindowsOptionalFeature for documentation or review.
Enable-WindowsOptionalFeature -Online -FeatureName IIS-WebServerRole | Export-Csv .\output.csv -NoTypeInformation
Export the output of Get-Volume for documentation or review.
Get-Volume | Export-Csv .\output.csv -NoTypeInformation
Export the output of Get-Disk for documentation or review.
Get-Disk | Export-Csv .\output.csv -NoTypeInformation
Export the output of Get-Partition for documentation or review.
Get-Partition | Export-Csv .\output.csv -NoTypeInformation
Export the output of Get-SmbShare for documentation or review.
Get-SmbShare | Export-Csv .\output.csv -NoTypeInformation
Export the output of New-SmbShare for documentation or review.
New-SmbShare -Name Data -Path D:\Data -FullAccess Administrators | Export-Csv .\output.csv -NoTypeInformation
Export the output of Get-FileHash for documentation or review.
Get-FileHash .\installer.exe -Algorithm SHA256 | Export-Csv .\output.csv -NoTypeInformation
Export the output of Measure-Object for documentation or review.
Get-ChildItem C:\Logs | Measure-Object -Property Length -Sum | Export-Csv .\output.csv -NoTypeInformation
Export the output of Where-Object for documentation or review.
Get-Service | Where-Object Status -eq Running | Export-Csv .\output.csv -NoTypeInformation
Export the output of Sort-Object for documentation or review.
Get-Process | Sort-Object CPU -Descending | Export-Csv .\output.csv -NoTypeInformation
Export the output of Select-Object for documentation or review.
Get-Process | Select-Object Name,Id,CPU | Export-Csv .\output.csv -NoTypeInformation
Export the output of ForEach-Object for documentation or review.
Get-Service | ForEach-Object { $_.Name } | Export-Csv .\output.csv -NoTypeInformation
Export the output of Start-Transcript for documentation or review.
Start-Transcript -Path C:\Logs\session.txt | Export-Csv .\output.csv -NoTypeInformation
Export the output of Get-ExecutionPolicy for documentation or review.
Get-ExecutionPolicy -List | Export-Csv .\output.csv -NoTypeInformation
Export the output of Set-ExecutionPolicy for documentation or review.
Set-ExecutionPolicy RemoteSigned -Scope CurrentUser | Export-Csv .\output.csv -NoTypeInformation
Export the output of Get-Module for documentation or review.
Get-Module -ListAvailable | Export-Csv .\output.csv -NoTypeInformation
Export the output of Install-Module for documentation or review.
Install-Module Microsoft.Graph -Scope CurrentUser | Export-Csv .\output.csv -NoTypeInformation
Export the output of Update-Module for documentation or review.
Update-Module Microsoft.Graph | Export-Csv .\output.csv -NoTypeInformation
Export the output of Get-Help for documentation or review.
Get-Help Get-Service -Examples | Export-Csv .\output.csv -NoTypeInformation
Display complete syntax, parameter details, and examples for Get-Service.
Get-Help Get-Service -Full
Display complete syntax, parameter details, and examples for Start-Service.
Get-Help Start-Service -Full
Display complete syntax, parameter details, and examples for Stop-Service.
Get-Help Stop-Service -Full
Display complete syntax, parameter details, and examples for Restart-Service.
Get-Help Restart-Service -Full
Display complete syntax, parameter details, and examples for Get-Process.
Get-Help Get-Process -Full
Display complete syntax, parameter details, and examples for Stop-Process.
Get-Help Stop-Process -Full
Display complete syntax, parameter details, and examples for Get-EventLog.
Get-Help Get-EventLog -Full
Display complete syntax, parameter details, and examples for Get-WinEvent.
Get-Help Get-WinEvent -Full
Display complete syntax, parameter details, and examples for Get-ComputerInfo.
Get-Help Get-ComputerInfo -Full
Display complete syntax, parameter details, and examples for Get-CimInstance.
Get-Help Get-CimInstance -Full
Display complete syntax, parameter details, and examples for Test-Connection.
Get-Help Test-Connection -Full
Display complete syntax, parameter details, and examples for Test-NetConnection.
Get-Help Test-NetConnection -Full
Display complete syntax, parameter details, and examples for Resolve-DnsName.
Get-Help Resolve-DnsName -Full
Display complete syntax, parameter details, and examples for Get-NetIPAddress.
Get-Help Get-NetIPAddress -Full
Display complete syntax, parameter details, and examples for Get-NetIPConfiguration.
Get-Help Get-NetIPConfiguration -Full
Display complete syntax, parameter details, and examples for Get-NetAdapter.
Get-Help Get-NetAdapter -Full
Display complete syntax, parameter details, and examples for Restart-NetAdapter.
Get-Help Restart-NetAdapter -Full
Display complete syntax, parameter details, and examples for Get-NetRoute.
Get-Help Get-NetRoute -Full
Display complete syntax, parameter details, and examples for Get-NetTCPConnection.
Get-Help Get-NetTCPConnection -Full
Display complete syntax, parameter details, and examples for Get-DnsClientCache.
Get-Help Get-DnsClientCache -Full
Display complete syntax, parameter details, and examples for Clear-DnsClientCache.
Get-Help Clear-DnsClientCache -Full
Display complete syntax, parameter details, and examples for Get-ChildItem.
Get-Help Get-ChildItem -Full
Display complete syntax, parameter details, and examples for Copy-Item.
Get-Help Copy-Item -Full
Display complete syntax, parameter details, and examples for Move-Item.
Get-Help Move-Item -Full
Display complete syntax, parameter details, and examples for Remove-Item.
Get-Help Remove-Item -Full
Display complete syntax, parameter details, and examples for New-Item.
Get-Help New-Item -Full
Display complete syntax, parameter details, and examples for Get-Content.
Get-Help Get-Content -Full
Display complete syntax, parameter details, and examples for Set-Content.
Get-Help Set-Content -Full
Display complete syntax, parameter details, and examples for Add-Content.
Get-Help Add-Content -Full
Display complete syntax, parameter details, and examples for Select-String.
Get-Help Select-String -Full
Display complete syntax, parameter details, and examples for Export-Csv.
Get-Help Get-Process -Full
Display complete syntax, parameter details, and examples for Import-Csv.
Get-Help Import-Csv -Full
Display complete syntax, parameter details, and examples for ConvertTo-Json.
Get-Help Get-Service -Full
Display complete syntax, parameter details, and examples for Invoke-RestMethod.
Get-Help Invoke-RestMethod -Full
Display complete syntax, parameter details, and examples for Invoke-WebRequest.
Get-Help Invoke-WebRequest -Full
Display complete syntax, parameter details, and examples for Get-ScheduledTask.
Get-Help Get-ScheduledTask -Full
Display complete syntax, parameter details, and examples for Start-ScheduledTask.
Get-Help Start-ScheduledTask -Full
Display complete syntax, parameter details, and examples for Get-LocalUser.
Get-Help Get-LocalUser -Full
Display complete syntax, parameter details, and examples for New-LocalUser.
Get-Help New-LocalUser -Full
Display complete syntax, parameter details, and examples for Get-LocalGroupMember.
Get-Help Get-LocalGroupMember -Full
Display complete syntax, parameter details, and examples for Add-LocalGroupMember.
Get-Help Add-LocalGroupMember -Full
Display complete syntax, parameter details, and examples for Get-HotFix.
Get-Help Get-HotFix -Full
Display complete syntax, parameter details, and examples for Get-WindowsOptionalFeature.
Get-Help Get-WindowsOptionalFeature -Full
Display complete syntax, parameter details, and examples for Enable-WindowsOptionalFeature.
Get-Help Enable-WindowsOptionalFeature -Full
Display complete syntax, parameter details, and examples for Get-Volume.
Get-Help Get-Volume -Full
Display complete syntax, parameter details, and examples for Get-Disk.
Get-Help Get-Disk -Full
Display complete syntax, parameter details, and examples for Get-Partition.
Get-Help Get-Partition -Full
Display complete syntax, parameter details, and examples for Get-SmbShare.
Get-Help Get-SmbShare -Full
Display complete syntax, parameter details, and examples for New-SmbShare.
Get-Help New-SmbShare -Full
Display complete syntax, parameter details, and examples for Get-FileHash.
Get-Help Get-FileHash -Full
Display complete syntax, parameter details, and examples for Measure-Object.
Get-Help Get-ChildItem -Full
Display complete syntax, parameter details, and examples for Where-Object.
Get-Help Get-Service -Full
Display complete syntax, parameter details, and examples for Sort-Object.
Get-Help Get-Process -Full
Display complete syntax, parameter details, and examples for Select-Object.
Get-Help Get-Process -Full
Display complete syntax, parameter details, and examples for ForEach-Object.
Get-Help Get-Service -Full
Display complete syntax, parameter details, and examples for Start-Transcript.
Get-Help Start-Transcript -Full
Display complete syntax, parameter details, and examples for Get-ExecutionPolicy.
Get-Help Get-ExecutionPolicy -Full
Display complete syntax, parameter details, and examples for Set-ExecutionPolicy.
Get-Help Set-ExecutionPolicy -Full
Display complete syntax, parameter details, and examples for Get-Module.
Get-Help Get-Module -Full
Display complete syntax, parameter details, and examples for Install-Module.
Get-Help Install-Module -Full
Display complete syntax, parameter details, and examples for Update-Module.
Get-Help Update-Module -Full
Display complete syntax, parameter details, and examples for Get-Help.
Get-Help Get-Help -Full
Display complete syntax, parameter details, and examples for Get-Service — Basic Usage.
Get-Help Get-Service -Full
Display complete syntax, parameter details, and examples for Start-Service — Basic Usage.
Get-Help Start-Service -Full
Display complete syntax, parameter details, and examples for Stop-Service — Basic Usage.
Get-Help Stop-Service -Full
Display complete syntax, parameter details, and examples for Restart-Service — Basic Usage.
Get-Help Restart-Service -Full
Display complete syntax, parameter details, and examples for Get-Process — Basic Usage.
Get-Help Get-Process -Full
Display complete syntax, parameter details, and examples for Stop-Process — Basic Usage.
Get-Help Stop-Process -Full
Display complete syntax, parameter details, and examples for Get-EventLog — Basic Usage.
Get-Help Get-EventLog -Full
Display complete syntax, parameter details, and examples for Get-WinEvent — Basic Usage.
Get-Help Get-WinEvent -Full
Display complete syntax, parameter details, and examples for Get-ComputerInfo — Basic Usage.
Get-Help Get-ComputerInfo -Full
Display complete syntax, parameter details, and examples for Get-CimInstance — Basic Usage.
Get-Help Get-CimInstance -Full
Display complete syntax, parameter details, and examples for Test-Connection — Basic Usage.
Get-Help Test-Connection -Full
Display complete syntax, parameter details, and examples for Test-NetConnection — Basic Usage.
Get-Help Test-NetConnection -Full
Display complete syntax, parameter details, and examples for Resolve-DnsName — Basic Usage.
Get-Help Resolve-DnsName -Full
Display complete syntax, parameter details, and examples for Get-NetIPAddress — Basic Usage.
Get-Help Get-NetIPAddress -Full
Display complete syntax, parameter details, and examples for Get-NetIPConfiguration — Basic Usage.
Get-Help Get-NetIPConfiguration -Full
Display complete syntax, parameter details, and examples for Get-NetAdapter — Basic Usage.
Get-Help Get-NetAdapter -Full
Display complete syntax, parameter details, and examples for Restart-NetAdapter — Basic Usage.
Get-Help Restart-NetAdapter -Full
Display complete syntax, parameter details, and examples for Get-NetRoute — Basic Usage.
Get-Help Get-NetRoute -Full
Display complete syntax, parameter details, and examples for Get-NetTCPConnection — Basic Usage.
Get-Help Get-NetTCPConnection -Full
Display complete syntax, parameter details, and examples for Get-DnsClientCache — Basic Usage.
Get-Help Get-DnsClientCache -Full
Display complete syntax, parameter details, and examples for Clear-DnsClientCache — Basic Usage.
Get-Help Clear-DnsClientCache -Full
Display complete syntax, parameter details, and examples for Get-ChildItem — Basic Usage.
Get-Help Get-ChildItem -Full
Display complete syntax, parameter details, and examples for Copy-Item — Basic Usage.
Get-Help Copy-Item -Full
Display complete syntax, parameter details, and examples for Move-Item — Basic Usage.
Get-Help Move-Item -Full
Display complete syntax, parameter details, and examples for Remove-Item — Basic Usage.
Get-Help Remove-Item -Full
Display complete syntax, parameter details, and examples for New-Item — Basic Usage.
Get-Help New-Item -Full
Display complete syntax, parameter details, and examples for Get-Content — Basic Usage.
Get-Help Get-Content -Full
Display complete syntax, parameter details, and examples for Set-Content — Basic Usage.
Get-Help Set-Content -Full
Display complete syntax, parameter details, and examples for Add-Content — Basic Usage.
Get-Help Add-Content -Full
Display complete syntax, parameter details, and examples for Select-String — Basic Usage.
Get-Help Select-String -Full
Display complete syntax, parameter details, and examples for Export-Csv — Basic Usage.
Get-Help Get-Process -Full
Display complete syntax, parameter details, and examples for Import-Csv — Basic Usage.
Get-Help Import-Csv -Full
Display complete syntax, parameter details, and examples for ConvertTo-Json — Basic Usage.
Get-Help Get-Service -Full
Display complete syntax, parameter details, and examples for Invoke-RestMethod — Basic Usage.
Get-Help Invoke-RestMethod -Full
Display complete syntax, parameter details, and examples for Invoke-WebRequest — Basic Usage.
Get-Help Invoke-WebRequest -Full
Display complete syntax, parameter details, and examples for Get-ScheduledTask — Basic Usage.
Get-Help Get-ScheduledTask -Full
Display complete syntax, parameter details, and examples for Start-ScheduledTask — Basic Usage.
Get-Help Start-ScheduledTask -Full
Display complete syntax, parameter details, and examples for Get-LocalUser — Basic Usage.
Get-Help Get-LocalUser -Full
Display complete syntax, parameter details, and examples for New-LocalUser — Basic Usage.
Get-Help New-LocalUser -Full
Display complete syntax, parameter details, and examples for Get-LocalGroupMember — Basic Usage.
Get-Help Get-LocalGroupMember -Full
Display complete syntax, parameter details, and examples for Add-LocalGroupMember — Basic Usage.
Get-Help Add-LocalGroupMember -Full
Display complete syntax, parameter details, and examples for Get-HotFix — Basic Usage.
Get-Help Get-HotFix -Full
Display complete syntax, parameter details, and examples for Get-WindowsOptionalFeature — Basic Usage.
Get-Help Get-WindowsOptionalFeature -Full
Display complete syntax, parameter details, and examples for Enable-WindowsOptionalFeature — Basic Usage.
Get-Help Enable-WindowsOptionalFeature -Full
Display complete syntax, parameter details, and examples for Get-Volume — Basic Usage.
Get-Help Get-Volume -Full
Display complete syntax, parameter details, and examples for Get-Disk — Basic Usage.
Get-Help Get-Disk -Full
Display complete syntax, parameter details, and examples for Get-Partition — Basic Usage.
Get-Help Get-Partition -Full
Display complete syntax, parameter details, and examples for Get-SmbShare — Basic Usage.
Get-Help Get-SmbShare -Full
Display complete syntax, parameter details, and examples for New-SmbShare — Basic Usage.
Get-Help New-SmbShare -Full
Display complete syntax, parameter details, and examples for Get-FileHash — Basic Usage.
Get-Help Get-FileHash -Full
Display complete syntax, parameter details, and examples for Measure-Object — Basic Usage.
Get-Help Get-ChildItem -Full
Display complete syntax, parameter details, and examples for Where-Object — Basic Usage.
Get-Help Get-Service -Full
Display complete syntax, parameter details, and examples for Sort-Object — Basic Usage.
Get-Help Get-Process -Full
Display complete syntax, parameter details, and examples for Select-Object — Basic Usage.
Get-Help Get-Process -Full
Display complete syntax, parameter details, and examples for ForEach-Object — Basic Usage.
Get-Help Get-Service -Full
Display complete syntax, parameter details, and examples for Start-Transcript — Basic Usage.
Get-Help Start-Transcript -Full
Display complete syntax, parameter details, and examples for Get-ExecutionPolicy — Basic Usage.
Get-Help Get-ExecutionPolicy -Full
Display complete syntax, parameter details, and examples for Set-ExecutionPolicy — Basic Usage.
Get-Help Set-ExecutionPolicy -Full
Display complete syntax, parameter details, and examples for Get-Module — Basic Usage.
Get-Help Get-Module -Full
Display complete syntax, parameter details, and examples for Install-Module — Basic Usage.
Get-Help Install-Module -Full
Display complete syntax, parameter details, and examples for Update-Module — Basic Usage.
Get-Help Update-Module -Full
Display complete syntax, parameter details, and examples for Get-Help — Basic Usage.
Get-Help Get-Help -Full
Display complete syntax, parameter details, and examples for Get-Service — Export Results.
Get-Help Get-Service -Full
Display complete syntax, parameter details, and examples for Start-Service — Export Results.
Get-Help Start-Service -Full
Display complete syntax, parameter details, and examples for Stop-Service — Export Results.
Get-Help Stop-Service -Full
Display complete syntax, parameter details, and examples for Restart-Service — Export Results.
Get-Help Restart-Service -Full
Display complete syntax, parameter details, and examples for Get-Process — Export Results.
Get-Help Get-Process -Full
Display complete syntax, parameter details, and examples for Stop-Process — Export Results.
Get-Help Stop-Process -Full
Display complete syntax, parameter details, and examples for Get-EventLog — Export Results.
Get-Help Get-EventLog -Full
Display complete syntax, parameter details, and examples for Get-WinEvent — Export Results.
Get-Help Get-WinEvent -Full
Display complete syntax, parameter details, and examples for Get-ComputerInfo — Export Results.
Get-Help Get-ComputerInfo -Full
Display complete syntax, parameter details, and examples for Get-CimInstance — Export Results.
Get-Help Get-CimInstance -Full
Display complete syntax, parameter details, and examples for Test-Connection — Export Results.
Get-Help Test-Connection -Full
Display complete syntax, parameter details, and examples for Test-NetConnection — Export Results.
Get-Help Test-NetConnection -Full
Display complete syntax, parameter details, and examples for Resolve-DnsName — Export Results.
Get-Help Resolve-DnsName -Full
Display complete syntax, parameter details, and examples for Get-NetIPAddress — Export Results.
Get-Help Get-NetIPAddress -Full
Display complete syntax, parameter details, and examples for Get-NetIPConfiguration — Export Results.
Get-Help Get-NetIPConfiguration -Full
Display complete syntax, parameter details, and examples for Get-NetAdapter — Export Results.
Get-Help Get-NetAdapter -Full
Display complete syntax, parameter details, and examples for Restart-NetAdapter — Export Results.
Get-Help Restart-NetAdapter -Full
Display complete syntax, parameter details, and examples for Get-NetRoute — Export Results.
Get-Help Get-NetRoute -Full
Display complete syntax, parameter details, and examples for Get-NetTCPConnection — Export Results.
Get-Help Get-NetTCPConnection -Full
Display complete syntax, parameter details, and examples for Get-DnsClientCache — Export Results.
Get-Help Get-DnsClientCache -Full
Display complete syntax, parameter details, and examples for Clear-DnsClientCache — Export Results.
Get-Help Clear-DnsClientCache -Full
Display complete syntax, parameter details, and examples for Get-ChildItem — Export Results.
Get-Help Get-ChildItem -Full
Display complete syntax, parameter details, and examples for Copy-Item — Export Results.
Get-Help Copy-Item -Full
Display complete syntax, parameter details, and examples for Move-Item — Export Results.
Get-Help Move-Item -Full
Display complete syntax, parameter details, and examples for Remove-Item — Export Results.
Get-Help Remove-Item -Full
Display complete syntax, parameter details, and examples for New-Item — Export Results.
Get-Help New-Item -Full
Display complete syntax, parameter details, and examples for Get-Content — Export Results.
Get-Help Get-Content -Full
Display complete syntax, parameter details, and examples for Set-Content — Export Results.
Get-Help Set-Content -Full
Display complete syntax, parameter details, and examples for Add-Content — Export Results.
Get-Help Add-Content -Full
Display complete syntax, parameter details, and examples for Select-String — Export Results.
Get-Help Select-String -Full
Display complete syntax, parameter details, and examples for Export-Csv — Export Results.
Get-Help Get-Process -Full
Display complete syntax, parameter details, and examples for Import-Csv — Export Results.
Get-Help Import-Csv -Full
Display complete syntax, parameter details, and examples for ConvertTo-Json — Export Results.
Get-Help Get-Service -Full
Display complete syntax, parameter details, and examples for Invoke-RestMethod — Export Results.
Get-Help Invoke-RestMethod -Full
Display complete syntax, parameter details, and examples for Invoke-WebRequest — Export Results.
Get-Help Invoke-WebRequest -Full
Display complete syntax, parameter details, and examples for Get-ScheduledTask — Export Results.
Get-Help Get-ScheduledTask -Full
Display complete syntax, parameter details, and examples for Start-ScheduledTask — Export Results.
Get-Help Start-ScheduledTask -Full
Display complete syntax, parameter details, and examples for Get-LocalUser — Export Results.
Get-Help Get-LocalUser -Full
Display complete syntax, parameter details, and examples for New-LocalUser — Export Results.
Get-Help New-LocalUser -Full
Display complete syntax, parameter details, and examples for Get-LocalGroupMember — Export Results.
Get-Help Get-LocalGroupMember -Full
Display complete syntax, parameter details, and examples for Add-LocalGroupMember — Export Results.
Get-Help Add-LocalGroupMember -Full
Display complete syntax, parameter details, and examples for Get-HotFix — Export Results.
Get-Help Get-HotFix -Full
Display complete syntax, parameter details, and examples for Get-WindowsOptionalFeature — Export Results.
Get-Help Get-WindowsOptionalFeature -Full
Display complete syntax, parameter details, and examples for Enable-WindowsOptionalFeature — Export Results.
Get-Help Enable-WindowsOptionalFeature -Full
Display complete syntax, parameter details, and examples for Get-Volume — Export Results.
Get-Help Get-Volume -Full
Display complete syntax, parameter details, and examples for Get-Disk — Export Results.
Get-Help Get-Disk -Full
Display complete syntax, parameter details, and examples for Get-Partition — Export Results.
Get-Help Get-Partition -Full
Display complete syntax, parameter details, and examples for Get-SmbShare — Export Results.
Get-Help Get-SmbShare -Full
Display complete syntax, parameter details, and examples for New-SmbShare — Export Results.
Get-Help New-SmbShare -Full
Display complete syntax, parameter details, and examples for Get-FileHash — Export Results.
Get-Help Get-FileHash -Full
Display complete syntax, parameter details, and examples for Measure-Object — Export Results.
Get-Help Get-ChildItem -Full
Display complete syntax, parameter details, and examples for Where-Object — Export Results.
Get-Help Get-Service -Full
Display complete syntax, parameter details, and examples for Sort-Object — Export Results.
Get-Help Get-Process -Full
Display complete syntax, parameter details, and examples for Select-Object — Export Results.
Get-Help Get-Process -Full
Display complete syntax, parameter details, and examples for ForEach-Object — Export Results.
Get-Help Get-Service -Full
Display complete syntax, parameter details, and examples for Start-Transcript — Export Results.
Get-Help Start-Transcript -Full
Display complete syntax, parameter details, and examples for Get-ExecutionPolicy — Export Results.
Get-Help Get-ExecutionPolicy -Full
Display complete syntax, parameter details, and examples for Set-ExecutionPolicy — Export Results.
Get-Help Set-ExecutionPolicy -Full
Display complete syntax, parameter details, and examples for Get-Module — Export Results.
Get-Help Get-Module -Full
Display complete syntax, parameter details, and examples for Install-Module — Export Results.
Get-Help Install-Module -Full
Display complete syntax, parameter details, and examples for Update-Module — Export Results.
Get-Help Update-Module -Full
Display complete syntax, parameter details, and examples for Get-Help — Export Results.
Get-Help Get-Help -Full
Display all returned properties in a readable list. Base task: List Windows services on the local computer.
Get-Service | Format-List *
Export returned objects to a CSV file for reporting. Base task: List Windows services on the local computer.
Get-Service | Export-Csv -Path .\command-results.csv -NoTypeInformation
Measure how long the command takes to complete. Base task: List Windows services on the local computer.
Measure-Command { Get-Service }
Run the command with terminating error handling. Base task: List Windows services on the local computer.
try { Get-Service -ErrorAction Stop } catch { Write-Error $_.Exception.Message }
Capture the command and console output in a transcript log. Base task: List Windows services on the local computer.
Start-Transcript -Path .\command-session.log; Get-Service; Stop-Transcript
Return all available object properties for inspection. Base task: List Windows services on the local computer.
Get-Service | Select-Object *
Convert returned objects into JSON for APIs or automation. Base task: List Windows services on the local computer.
Get-Service | ConvertTo-Json -Depth 6
Save formatted output to a UTF-8 text file. Base task: List Windows services on the local computer.
Get-Service | Out-File -FilePath .\command-results.txt -Encoding utf8
Display all returned properties in a readable list. Base task: Start a Windows service.
Start-Service -Name Spooler | Format-List *
Export returned objects to a CSV file for reporting. Base task: Start a Windows service.
Start-Service -Name Spooler | Export-Csv -Path .\command-results.csv -NoTypeInformation
Measure how long the command takes to complete. Base task: Start a Windows service.
Measure-Command { Start-Service -Name Spooler }
Run the command with terminating error handling. Base task: Start a Windows service.
try { Start-Service -Name Spooler -ErrorAction Stop } catch { Write-Error $_.Exception.Message }
Capture the command and console output in a transcript log. Base task: Start a Windows service.
Start-Transcript -Path .\command-session.log; Start-Service -Name Spooler; Stop-Transcript
Return all available object properties for inspection. Base task: Start a Windows service.
Start-Service -Name Spooler | Select-Object *
Convert returned objects into JSON for APIs or automation. Base task: Start a Windows service.
Start-Service -Name Spooler | ConvertTo-Json -Depth 6
Save formatted output to a UTF-8 text file. Base task: Start a Windows service.
Start-Service -Name Spooler | Out-File -FilePath .\command-results.txt -Encoding utf8
Display all returned properties in a readable list. Base task: Stop a Windows service.
Stop-Service -Name Spooler | Format-List *
Export returned objects to a CSV file for reporting. Base task: Stop a Windows service.
Stop-Service -Name Spooler | Export-Csv -Path .\command-results.csv -NoTypeInformation
Measure how long the command takes to complete. Base task: Stop a Windows service.
Measure-Command { Stop-Service -Name Spooler }
Run the command with terminating error handling. Base task: Stop a Windows service.
try { Stop-Service -Name Spooler -ErrorAction Stop } catch { Write-Error $_.Exception.Message }
Capture the command and console output in a transcript log. Base task: Stop a Windows service.
Start-Transcript -Path .\command-session.log; Stop-Service -Name Spooler; Stop-Transcript
Return all available object properties for inspection. Base task: Stop a Windows service.
Stop-Service -Name Spooler | Select-Object *
Convert returned objects into JSON for APIs or automation. Base task: Stop a Windows service.
Stop-Service -Name Spooler | ConvertTo-Json -Depth 6
Save formatted output to a UTF-8 text file. Base task: Stop a Windows service.
Stop-Service -Name Spooler | Out-File -FilePath .\command-results.txt -Encoding utf8
Display all returned properties in a readable list. Base task: Restart a Windows service.
Restart-Service -Name Spooler | Format-List *
Export returned objects to a CSV file for reporting. Base task: Restart a Windows service.
Restart-Service -Name Spooler | Export-Csv -Path .\command-results.csv -NoTypeInformation
Measure how long the command takes to complete. Base task: Restart a Windows service.
Measure-Command { Restart-Service -Name Spooler }
Run the command with terminating error handling. Base task: Restart a Windows service.
try { Restart-Service -Name Spooler -ErrorAction Stop } catch { Write-Error $_.Exception.Message }
Capture the command and console output in a transcript log. Base task: Restart a Windows service.
Start-Transcript -Path .\command-session.log; Restart-Service -Name Spooler; Stop-Transcript
Return all available object properties for inspection. Base task: Restart a Windows service.
Restart-Service -Name Spooler | Select-Object *
Convert returned objects into JSON for APIs or automation. Base task: Restart a Windows service.
Restart-Service -Name Spooler | ConvertTo-Json -Depth 6
Save formatted output to a UTF-8 text file. Base task: Restart a Windows service.
Restart-Service -Name Spooler | Out-File -FilePath .\command-results.txt -Encoding utf8
Display all returned properties in a readable list. Base task: List running processes.
Get-Process | Format-List *
Export returned objects to a CSV file for reporting. Base task: List running processes.
Get-Process | Export-Csv -Path .\command-results.csv -NoTypeInformation
Measure how long the command takes to complete. Base task: List running processes.
Measure-Command { Get-Process }
Run the command with terminating error handling. Base task: List running processes.
try { Get-Process -ErrorAction Stop } catch { Write-Error $_.Exception.Message }
Capture the command and console output in a transcript log. Base task: List running processes.
Start-Transcript -Path .\command-session.log; Get-Process; Stop-Transcript
Return all available object properties for inspection. Base task: List running processes.
Get-Process | Select-Object *
Convert returned objects into JSON for APIs or automation. Base task: List running processes.
Get-Process | ConvertTo-Json -Depth 6
Save formatted output to a UTF-8 text file. Base task: List running processes.
Get-Process | Out-File -FilePath .\command-results.txt -Encoding utf8
Display all returned properties in a readable list. Base task: Stop a running process by name.
Stop-Process -Name notepad | Format-List *
Export returned objects to a CSV file for reporting. Base task: Stop a running process by name.
Stop-Process -Name notepad | Export-Csv -Path .\command-results.csv -NoTypeInformation
Measure how long the command takes to complete. Base task: Stop a running process by name.
Measure-Command { Stop-Process -Name notepad }
Run the command with terminating error handling. Base task: Stop a running process by name.
try { Stop-Process -Name notepad -ErrorAction Stop } catch { Write-Error $_.Exception.Message }
Capture the command and console output in a transcript log. Base task: Stop a running process by name.
Start-Transcript -Path .\command-session.log; Stop-Process -Name notepad; Stop-Transcript
Return all available object properties for inspection. Base task: Stop a running process by name.
Stop-Process -Name notepad | Select-Object *
Convert returned objects into JSON for APIs or automation. Base task: Stop a running process by name.
Stop-Process -Name notepad | ConvertTo-Json -Depth 6
Save formatted output to a UTF-8 text file. Base task: Stop a running process by name.
Stop-Process -Name notepad | Out-File -FilePath .\command-results.txt -Encoding utf8
Display all returned properties in a readable list. Base task: Read recent entries from a classic Windows event log.
Get-EventLog -LogName System -Newest 50 | Format-List *
Export returned objects to a CSV file for reporting. Base task: Read recent entries from a classic Windows event log.
Get-EventLog -LogName System -Newest 50 | Export-Csv -Path .\command-results.csv -NoTypeInformation
Measure how long the command takes to complete. Base task: Read recent entries from a classic Windows event log.
Measure-Command { Get-EventLog -LogName System -Newest 50 }
Run the command with terminating error handling. Base task: Read recent entries from a classic Windows event log.
try { Get-EventLog -LogName System -Newest 50 -ErrorAction Stop } catch { Write-Error $_.Exception.Message }
Capture the command and console output in a transcript log. Base task: Read recent entries from a classic Windows event log.
Start-Transcript -Path .\command-session.log; Get-EventLog -LogName System -Newest 50; Stop-Transcript
Return all available object properties for inspection. Base task: Read recent entries from a classic Windows event log.
Get-EventLog -LogName System -Newest 50 | Select-Object *
Convert returned objects into JSON for APIs or automation. Base task: Read recent entries from a classic Windows event log.
Get-EventLog -LogName System -Newest 50 | ConvertTo-Json -Depth 6
Save formatted output to a UTF-8 text file. Base task: Read recent entries from a classic Windows event log.
Get-EventLog -LogName System -Newest 50 | Out-File -FilePath .\command-results.txt -Encoding utf8
Display all returned properties in a readable list. Base task: Read recent Windows event log entries.
Get-WinEvent -LogName System -MaxEvents 50 | Format-List *
Export returned objects to a CSV file for reporting. Base task: Read recent Windows event log entries.
Get-WinEvent -LogName System -MaxEvents 50 | Export-Csv -Path .\command-results.csv -NoTypeInformation
Measure how long the command takes to complete. Base task: Read recent Windows event log entries.
Measure-Command { Get-WinEvent -LogName System -MaxEvents 50 }
Run the command with terminating error handling. Base task: Read recent Windows event log entries.
try { Get-WinEvent -LogName System -MaxEvents 50 -ErrorAction Stop } catch { Write-Error $_.Exception.Message }
Capture the command and console output in a transcript log. Base task: Read recent Windows event log entries.
Start-Transcript -Path .\command-session.log; Get-WinEvent -LogName System -MaxEvents 50; Stop-Transcript
Return all available object properties for inspection. Base task: Read recent Windows event log entries.
Get-WinEvent -LogName System -MaxEvents 50 | Select-Object *
Convert returned objects into JSON for APIs or automation. Base task: Read recent Windows event log entries.
Get-WinEvent -LogName System -MaxEvents 50 | ConvertTo-Json -Depth 6
Save formatted output to a UTF-8 text file. Base task: Read recent Windows event log entries.
Get-WinEvent -LogName System -MaxEvents 50 | Out-File -FilePath .\command-results.txt -Encoding utf8
Display all returned properties in a readable list. Base task: Display detailed Windows system information.
Get-ComputerInfo | Format-List *
Export returned objects to a CSV file for reporting. Base task: Display detailed Windows system information.
Get-ComputerInfo | Export-Csv -Path .\command-results.csv -NoTypeInformation
Measure how long the command takes to complete. Base task: Display detailed Windows system information.
Measure-Command { Get-ComputerInfo }
Run the command with terminating error handling. Base task: Display detailed Windows system information.
try { Get-ComputerInfo -ErrorAction Stop } catch { Write-Error $_.Exception.Message }
Capture the command and console output in a transcript log. Base task: Display detailed Windows system information.
Start-Transcript -Path .\command-session.log; Get-ComputerInfo; Stop-Transcript
Return all available object properties for inspection. Base task: Display detailed Windows system information.
Get-ComputerInfo | Select-Object *
Convert returned objects into JSON for APIs or automation. Base task: Display detailed Windows system information.
Get-ComputerInfo | ConvertTo-Json -Depth 6
Save formatted output to a UTF-8 text file. Base task: Display detailed Windows system information.
Get-ComputerInfo | Out-File -FilePath .\command-results.txt -Encoding utf8
Display all returned properties in a readable list. Base task: Query operating system information through CIM.
Get-CimInstance Win32_OperatingSystem | Format-List *
Export returned objects to a CSV file for reporting. Base task: Query operating system information through CIM.
Get-CimInstance Win32_OperatingSystem | Export-Csv -Path .\command-results.csv -NoTypeInformation
Measure how long the command takes to complete. Base task: Query operating system information through CIM.
Measure-Command { Get-CimInstance Win32_OperatingSystem }
Run the command with terminating error handling. Base task: Query operating system information through CIM.
try { Get-CimInstance Win32_OperatingSystem -ErrorAction Stop } catch { Write-Error $_.Exception.Message }
Capture the command and console output in a transcript log. Base task: Query operating system information through CIM.
Start-Transcript -Path .\command-session.log; Get-CimInstance Win32_OperatingSystem; Stop-Transcript
Return all available object properties for inspection. Base task: Query operating system information through CIM.
Get-CimInstance Win32_OperatingSystem | Select-Object *
Convert returned objects into JSON for APIs or automation. Base task: Query operating system information through CIM.
Get-CimInstance Win32_OperatingSystem | ConvertTo-Json -Depth 6
Save formatted output to a UTF-8 text file. Base task: Query operating system information through CIM.
Get-CimInstance Win32_OperatingSystem | Out-File -FilePath .\command-results.txt -Encoding utf8
Display all returned properties in a readable list. Base task: Test ICMP connectivity to a host.
Test-Connection server01 -Count 4 | Format-List *
Export returned objects to a CSV file for reporting. Base task: Test ICMP connectivity to a host.
Test-Connection server01 -Count 4 | Export-Csv -Path .\command-results.csv -NoTypeInformation
Measure how long the command takes to complete. Base task: Test ICMP connectivity to a host.
Measure-Command { Test-Connection server01 -Count 4 }
Run the command with terminating error handling. Base task: Test ICMP connectivity to a host.
try { Test-Connection server01 -Count 4 -ErrorAction Stop } catch { Write-Error $_.Exception.Message }
Capture the command and console output in a transcript log. Base task: Test ICMP connectivity to a host.
Start-Transcript -Path .\command-session.log; Test-Connection server01 -Count 4; Stop-Transcript
Return all available object properties for inspection. Base task: Test ICMP connectivity to a host.
Test-Connection server01 -Count 4 | Select-Object *
Convert returned objects into JSON for APIs or automation. Base task: Test ICMP connectivity to a host.
Test-Connection server01 -Count 4 | ConvertTo-Json -Depth 6
Save formatted output to a UTF-8 text file. Base task: Test ICMP connectivity to a host.
Test-Connection server01 -Count 4 | Out-File -FilePath .\command-results.txt -Encoding utf8
Display all returned properties in a readable list. Base task: Test TCP connectivity to a host and port.
Test-NetConnection server01 -Port 443 | Format-List *
Export returned objects to a CSV file for reporting. Base task: Test TCP connectivity to a host and port.
Test-NetConnection server01 -Port 443 | Export-Csv -Path .\command-results.csv -NoTypeInformation
Measure how long the command takes to complete. Base task: Test TCP connectivity to a host and port.
Measure-Command { Test-NetConnection server01 -Port 443 }
Run the command with terminating error handling. Base task: Test TCP connectivity to a host and port.
try { Test-NetConnection server01 -Port 443 -ErrorAction Stop } catch { Write-Error $_.Exception.Message }
Capture the command and console output in a transcript log. Base task: Test TCP connectivity to a host and port.
Start-Transcript -Path .\command-session.log; Test-NetConnection server01 -Port 443; Stop-Transcript
Return all available object properties for inspection. Base task: Test TCP connectivity to a host and port.
Test-NetConnection server01 -Port 443 | Select-Object *
Convert returned objects into JSON for APIs or automation. Base task: Test TCP connectivity to a host and port.
Test-NetConnection server01 -Port 443 | ConvertTo-Json -Depth 6
Save formatted output to a UTF-8 text file. Base task: Test TCP connectivity to a host and port.
Test-NetConnection server01 -Port 443 | Out-File -FilePath .\command-results.txt -Encoding utf8
Display all returned properties in a readable list. Base task: Resolve DNS records for a name.
Resolve-DnsName example.com | Format-List *
Export returned objects to a CSV file for reporting. Base task: Resolve DNS records for a name.
Resolve-DnsName example.com | Export-Csv -Path .\command-results.csv -NoTypeInformation
Measure how long the command takes to complete. Base task: Resolve DNS records for a name.
Measure-Command { Resolve-DnsName example.com }
Run the command with terminating error handling. Base task: Resolve DNS records for a name.
try { Resolve-DnsName example.com -ErrorAction Stop } catch { Write-Error $_.Exception.Message }
Capture the command and console output in a transcript log. Base task: Resolve DNS records for a name.
Start-Transcript -Path .\command-session.log; Resolve-DnsName example.com; Stop-Transcript
Return all available object properties for inspection. Base task: Resolve DNS records for a name.
Resolve-DnsName example.com | Select-Object *
Convert returned objects into JSON for APIs or automation. Base task: Resolve DNS records for a name.
Resolve-DnsName example.com | ConvertTo-Json -Depth 6
Save formatted output to a UTF-8 text file. Base task: Resolve DNS records for a name.
Resolve-DnsName example.com | Out-File -FilePath .\command-results.txt -Encoding utf8
Display all returned properties in a readable list. Base task: List IP addresses configured on the computer.
Get-NetIPAddress | Format-List *
Export returned objects to a CSV file for reporting. Base task: List IP addresses configured on the computer.
Get-NetIPAddress | Export-Csv -Path .\command-results.csv -NoTypeInformation
Measure how long the command takes to complete. Base task: List IP addresses configured on the computer.
Measure-Command { Get-NetIPAddress }
Run the command with terminating error handling. Base task: List IP addresses configured on the computer.
try { Get-NetIPAddress -ErrorAction Stop } catch { Write-Error $_.Exception.Message }
Capture the command and console output in a transcript log. Base task: List IP addresses configured on the computer.
Start-Transcript -Path .\command-session.log; Get-NetIPAddress; Stop-Transcript
Return all available object properties for inspection. Base task: List IP addresses configured on the computer.
Get-NetIPAddress | Select-Object *
Convert returned objects into JSON for APIs or automation. Base task: List IP addresses configured on the computer.
Get-NetIPAddress | ConvertTo-Json -Depth 6
Save formatted output to a UTF-8 text file. Base task: List IP addresses configured on the computer.
Get-NetIPAddress | Out-File -FilePath .\command-results.txt -Encoding utf8
Display all returned properties in a readable list. Base task: Display IP configuration for network adapters.
Get-NetIPConfiguration | Format-List *
Export returned objects to a CSV file for reporting. Base task: Display IP configuration for network adapters.
Get-NetIPConfiguration | Export-Csv -Path .\command-results.csv -NoTypeInformation
Measure how long the command takes to complete. Base task: Display IP configuration for network adapters.
Measure-Command { Get-NetIPConfiguration }
Run the command with terminating error handling. Base task: Display IP configuration for network adapters.
try { Get-NetIPConfiguration -ErrorAction Stop } catch { Write-Error $_.Exception.Message }
Capture the command and console output in a transcript log. Base task: Display IP configuration for network adapters.
Start-Transcript -Path .\command-session.log; Get-NetIPConfiguration; Stop-Transcript
Return all available object properties for inspection. Base task: Display IP configuration for network adapters.
Get-NetIPConfiguration | Select-Object *
Convert returned objects into JSON for APIs or automation. Base task: Display IP configuration for network adapters.
Get-NetIPConfiguration | ConvertTo-Json -Depth 6
Save formatted output to a UTF-8 text file. Base task: Display IP configuration for network adapters.
Get-NetIPConfiguration | Out-File -FilePath .\command-results.txt -Encoding utf8
Display all returned properties in a readable list. Base task: List network adapters and link state.
Get-NetAdapter | Format-List *
Export returned objects to a CSV file for reporting. Base task: List network adapters and link state.
Get-NetAdapter | Export-Csv -Path .\command-results.csv -NoTypeInformation
Measure how long the command takes to complete. Base task: List network adapters and link state.
Measure-Command { Get-NetAdapter }
Run the command with terminating error handling. Base task: List network adapters and link state.
try { Get-NetAdapter -ErrorAction Stop } catch { Write-Error $_.Exception.Message }
Capture the command and console output in a transcript log. Base task: List network adapters and link state.
Start-Transcript -Path .\command-session.log; Get-NetAdapter; Stop-Transcript
Return all available object properties for inspection. Base task: List network adapters and link state.
Get-NetAdapter | Select-Object *
Convert returned objects into JSON for APIs or automation. Base task: List network adapters and link state.
Get-NetAdapter | ConvertTo-Json -Depth 6
Save formatted output to a UTF-8 text file. Base task: List network adapters and link state.
Get-NetAdapter | Out-File -FilePath .\command-results.txt -Encoding utf8
Display all returned properties in a readable list. Base task: Restart a network adapter.
Restart-NetAdapter -Name Ethernet | Format-List *
Export returned objects to a CSV file for reporting. Base task: Restart a network adapter.
Restart-NetAdapter -Name Ethernet | Export-Csv -Path .\command-results.csv -NoTypeInformation
Measure how long the command takes to complete. Base task: Restart a network adapter.
Measure-Command { Restart-NetAdapter -Name Ethernet }
Run the command with terminating error handling. Base task: Restart a network adapter.
try { Restart-NetAdapter -Name Ethernet -ErrorAction Stop } catch { Write-Error $_.Exception.Message }
Capture the command and console output in a transcript log. Base task: Restart a network adapter.
Start-Transcript -Path .\command-session.log; Restart-NetAdapter -Name Ethernet; Stop-Transcript
Return all available object properties for inspection. Base task: Restart a network adapter.
Restart-NetAdapter -Name Ethernet | Select-Object *
Convert returned objects into JSON for APIs or automation. Base task: Restart a network adapter.
Restart-NetAdapter -Name Ethernet | ConvertTo-Json -Depth 6
Save formatted output to a UTF-8 text file. Base task: Restart a network adapter.
Restart-NetAdapter -Name Ethernet | Out-File -FilePath .\command-results.txt -Encoding utf8
Display all returned properties in a readable list. Base task: List routes in the Windows routing table.
Get-NetRoute | Format-List *
Export returned objects to a CSV file for reporting. Base task: List routes in the Windows routing table.
Get-NetRoute | Export-Csv -Path .\command-results.csv -NoTypeInformation
Measure how long the command takes to complete. Base task: List routes in the Windows routing table.
Measure-Command { Get-NetRoute }
Run the command with terminating error handling. Base task: List routes in the Windows routing table.
try { Get-NetRoute -ErrorAction Stop } catch { Write-Error $_.Exception.Message }
Capture the command and console output in a transcript log. Base task: List routes in the Windows routing table.
Start-Transcript -Path .\command-session.log; Get-NetRoute; Stop-Transcript
Return all available object properties for inspection. Base task: List routes in the Windows routing table.
Get-NetRoute | Select-Object *
Convert returned objects into JSON for APIs or automation. Base task: List routes in the Windows routing table.
Get-NetRoute | ConvertTo-Json -Depth 6
Save formatted output to a UTF-8 text file. Base task: List routes in the Windows routing table.
Get-NetRoute | Out-File -FilePath .\command-results.txt -Encoding utf8
Display all returned properties in a readable list. Base task: List listening TCP connections.
Get-NetTCPConnection -State Listen | Format-List *
Export returned objects to a CSV file for reporting. Base task: List listening TCP connections.
Get-NetTCPConnection -State Listen | Export-Csv -Path .\command-results.csv -NoTypeInformation
Measure how long the command takes to complete. Base task: List listening TCP connections.
Measure-Command { Get-NetTCPConnection -State Listen }
Run the command with terminating error handling. Base task: List listening TCP connections.
try { Get-NetTCPConnection -State Listen -ErrorAction Stop } catch { Write-Error $_.Exception.Message }
Capture the command and console output in a transcript log. Base task: List listening TCP connections.
Start-Transcript -Path .\command-session.log; Get-NetTCPConnection -State Listen; Stop-Transcript
Return all available object properties for inspection. Base task: List listening TCP connections.
Get-NetTCPConnection -State Listen | Select-Object *
Convert returned objects into JSON for APIs or automation. Base task: List listening TCP connections.
Get-NetTCPConnection -State Listen | ConvertTo-Json -Depth 6
Save formatted output to a UTF-8 text file. Base task: List listening TCP connections.
Get-NetTCPConnection -State Listen | Out-File -FilePath .\command-results.txt -Encoding utf8
Display all returned properties in a readable list. Base task: Display the Windows DNS client cache.
Get-DnsClientCache | Format-List *
Export returned objects to a CSV file for reporting. Base task: Display the Windows DNS client cache.
Get-DnsClientCache | Export-Csv -Path .\command-results.csv -NoTypeInformation
Measure how long the command takes to complete. Base task: Display the Windows DNS client cache.
Measure-Command { Get-DnsClientCache }
Run the command with terminating error handling. Base task: Display the Windows DNS client cache.
try { Get-DnsClientCache -ErrorAction Stop } catch { Write-Error $_.Exception.Message }
Capture the command and console output in a transcript log. Base task: Display the Windows DNS client cache.
Start-Transcript -Path .\command-session.log; Get-DnsClientCache; Stop-Transcript
Return all available object properties for inspection. Base task: Display the Windows DNS client cache.
Get-DnsClientCache | Select-Object *
Convert returned objects into JSON for APIs or automation. Base task: Display the Windows DNS client cache.
Get-DnsClientCache | ConvertTo-Json -Depth 6
Save formatted output to a UTF-8 text file. Base task: Display the Windows DNS client cache.
Get-DnsClientCache | Out-File -FilePath .\command-results.txt -Encoding utf8
Display all returned properties in a readable list. Base task: Clear the Windows DNS client cache.
Clear-DnsClientCache | Format-List *
Export returned objects to a CSV file for reporting. Base task: Clear the Windows DNS client cache.
Clear-DnsClientCache | Export-Csv -Path .\command-results.csv -NoTypeInformation
Measure how long the command takes to complete. Base task: Clear the Windows DNS client cache.
Measure-Command { Clear-DnsClientCache }
Run the command with terminating error handling. Base task: Clear the Windows DNS client cache.
try { Clear-DnsClientCache -ErrorAction Stop } catch { Write-Error $_.Exception.Message }
Capture the command and console output in a transcript log. Base task: Clear the Windows DNS client cache.
Start-Transcript -Path .\command-session.log; Clear-DnsClientCache; Stop-Transcript
Return all available object properties for inspection. Base task: Clear the Windows DNS client cache.
Clear-DnsClientCache | Select-Object *
Convert returned objects into JSON for APIs or automation. Base task: Clear the Windows DNS client cache.
Clear-DnsClientCache | ConvertTo-Json -Depth 6
Save formatted output to a UTF-8 text file. Base task: Clear the Windows DNS client cache.
Clear-DnsClientCache | Out-File -FilePath .\command-results.txt -Encoding utf8
Display all returned properties in a readable list. Base task: List files and folders recursively.
Get-ChildItem C:\Logs -Recurse | Format-List *
Export returned objects to a CSV file for reporting. Base task: List files and folders recursively.
Get-ChildItem C:\Logs -Recurse | Export-Csv -Path .\command-results.csv -NoTypeInformation
Measure how long the command takes to complete. Base task: List files and folders recursively.
Measure-Command { Get-ChildItem C:\Logs -Recurse }
Run the command with terminating error handling. Base task: List files and folders recursively.
try { Get-ChildItem C:\Logs -Recurse -ErrorAction Stop } catch { Write-Error $_.Exception.Message }
Capture the command and console output in a transcript log. Base task: List files and folders recursively.
Start-Transcript -Path .\command-session.log; Get-ChildItem C:\Logs -Recurse; Stop-Transcript
Return all available object properties for inspection. Base task: List files and folders recursively.
Get-ChildItem C:\Logs -Recurse | Select-Object *
Convert returned objects into JSON for APIs or automation. Base task: List files and folders recursively.
Get-ChildItem C:\Logs -Recurse | ConvertTo-Json -Depth 6
Save formatted output to a UTF-8 text file. Base task: List files and folders recursively.
Get-ChildItem C:\Logs -Recurse | Out-File -FilePath .\command-results.txt -Encoding utf8
Display all returned properties in a readable list. Base task: Copy files or folders.
Copy-Item C:\Source C:\Backup -Recurse | Format-List *
Export returned objects to a CSV file for reporting. Base task: Copy files or folders.
Copy-Item C:\Source C:\Backup -Recurse | Export-Csv -Path .\command-results.csv -NoTypeInformation
Measure how long the command takes to complete. Base task: Copy files or folders.
Measure-Command { Copy-Item C:\Source C:\Backup -Recurse }
Run the command with terminating error handling. Base task: Copy files or folders.
try { Copy-Item C:\Source C:\Backup -Recurse -ErrorAction Stop } catch { Write-Error $_.Exception.Message }
Capture the command and console output in a transcript log. Base task: Copy files or folders.
Start-Transcript -Path .\command-session.log; Copy-Item C:\Source C:\Backup -Recurse; Stop-Transcript
Return all available object properties for inspection. Base task: Copy files or folders.
Copy-Item C:\Source C:\Backup -Recurse | Select-Object *
Convert returned objects into JSON for APIs or automation. Base task: Copy files or folders.
Copy-Item C:\Source C:\Backup -Recurse | ConvertTo-Json -Depth 6
Save formatted output to a UTF-8 text file. Base task: Copy files or folders.
Copy-Item C:\Source C:\Backup -Recurse | Out-File -FilePath .\command-results.txt -Encoding utf8
Display all returned properties in a readable list. Base task: Move or rename a file or folder.
Move-Item C:\Old C:\New | Format-List *
Export returned objects to a CSV file for reporting. Base task: Move or rename a file or folder.
Move-Item C:\Old C:\New | Export-Csv -Path .\command-results.csv -NoTypeInformation
Measure how long the command takes to complete. Base task: Move or rename a file or folder.
Measure-Command { Move-Item C:\Old C:\New }
Run the command with terminating error handling. Base task: Move or rename a file or folder.
try { Move-Item C:\Old C:\New -ErrorAction Stop } catch { Write-Error $_.Exception.Message }
Capture the command and console output in a transcript log. Base task: Move or rename a file or folder.
Start-Transcript -Path .\command-session.log; Move-Item C:\Old C:\New; Stop-Transcript
Return all available object properties for inspection. Base task: Move or rename a file or folder.
Move-Item C:\Old C:\New | Select-Object *
Convert returned objects into JSON for APIs or automation. Base task: Move or rename a file or folder.
Move-Item C:\Old C:\New | ConvertTo-Json -Depth 6
Save formatted output to a UTF-8 text file. Base task: Move or rename a file or folder.
Move-Item C:\Old C:\New | Out-File -FilePath .\command-results.txt -Encoding utf8
Display all returned properties in a readable list. Base task: Delete a file.
Remove-Item C:\Temp\old.log -Force | Format-List *
Export returned objects to a CSV file for reporting. Base task: Delete a file.
Remove-Item C:\Temp\old.log -Force | Export-Csv -Path .\command-results.csv -NoTypeInformation
Measure how long the command takes to complete. Base task: Delete a file.
Measure-Command { Remove-Item C:\Temp\old.log -Force }
Run the command with terminating error handling. Base task: Delete a file.
try { Remove-Item C:\Temp\old.log -Force -ErrorAction Stop } catch { Write-Error $_.Exception.Message }
Capture the command and console output in a transcript log. Base task: Delete a file.
Start-Transcript -Path .\command-session.log; Remove-Item C:\Temp\old.log -Force; Stop-Transcript
Return all available object properties for inspection. Base task: Delete a file.
Remove-Item C:\Temp\old.log -Force | Select-Object *
Convert returned objects into JSON for APIs or automation. Base task: Delete a file.
Remove-Item C:\Temp\old.log -Force | ConvertTo-Json -Depth 6
Save formatted output to a UTF-8 text file. Base task: Delete a file.
Remove-Item C:\Temp\old.log -Force | Out-File -FilePath .\command-results.txt -Encoding utf8
Display all returned properties in a readable list. Base task: Create a directory.
New-Item -ItemType Directory -Path C:\Reports | Format-List *
Export returned objects to a CSV file for reporting. Base task: Create a directory.
New-Item -ItemType Directory -Path C:\Reports | Export-Csv -Path .\command-results.csv -NoTypeInformation
Measure how long the command takes to complete. Base task: Create a directory.
Measure-Command { New-Item -ItemType Directory -Path C:\Reports }
Run the command with terminating error handling. Base task: Create a directory.
try { New-Item -ItemType Directory -Path C:\Reports -ErrorAction Stop } catch { Write-Error $_.Exception.Message }
Capture the command and console output in a transcript log. Base task: Create a directory.
Start-Transcript -Path .\command-session.log; New-Item -ItemType Directory -Path C:\Reports; Stop-Transcript
Return all available object properties for inspection. Base task: Create a directory.
New-Item -ItemType Directory -Path C:\Reports | Select-Object *
Convert returned objects into JSON for APIs or automation. Base task: Create a directory.
New-Item -ItemType Directory -Path C:\Reports | ConvertTo-Json -Depth 6
Save formatted output to a UTF-8 text file. Base task: Create a directory.
New-Item -ItemType Directory -Path C:\Reports | Out-File -FilePath .\command-results.txt -Encoding utf8
Display all returned properties in a readable list. Base task: Read the last 100 lines of a file.
Get-Content C:\Logs\app.log -Tail 100 | Format-List *
Export returned objects to a CSV file for reporting. Base task: Read the last 100 lines of a file.
Get-Content C:\Logs\app.log -Tail 100 | Export-Csv -Path .\command-results.csv -NoTypeInformation
Measure how long the command takes to complete. Base task: Read the last 100 lines of a file.
Measure-Command { Get-Content C:\Logs\app.log -Tail 100 }
Run the command with terminating error handling. Base task: Read the last 100 lines of a file.
try { Get-Content C:\Logs\app.log -Tail 100 -ErrorAction Stop } catch { Write-Error $_.Exception.Message }
Capture the command and console output in a transcript log. Base task: Read the last 100 lines of a file.
Start-Transcript -Path .\command-session.log; Get-Content C:\Logs\app.log -Tail 100; Stop-Transcript
Return all available object properties for inspection. Base task: Read the last 100 lines of a file.
Get-Content C:\Logs\app.log -Tail 100 | Select-Object *
Convert returned objects into JSON for APIs or automation. Base task: Read the last 100 lines of a file.
Get-Content C:\Logs\app.log -Tail 100 | ConvertTo-Json -Depth 6
Save formatted output to a UTF-8 text file. Base task: Read the last 100 lines of a file.
Get-Content C:\Logs\app.log -Tail 100 | Out-File -FilePath .\command-results.txt -Encoding utf8
Display all returned properties in a readable list. Base task: Write text to a file.
Set-Content C:\Temp\status.txt "OK" | Format-List *
Export returned objects to a CSV file for reporting. Base task: Write text to a file.
Set-Content C:\Temp\status.txt "OK" | Export-Csv -Path .\command-results.csv -NoTypeInformation
Measure how long the command takes to complete. Base task: Write text to a file.
Measure-Command { Set-Content C:\Temp\status.txt "OK" }
Run the command with terminating error handling. Base task: Write text to a file.
try { Set-Content C:\Temp\status.txt "OK" -ErrorAction Stop } catch { Write-Error $_.Exception.Message }
Capture the command and console output in a transcript log. Base task: Write text to a file.
Start-Transcript -Path .\command-session.log; Set-Content C:\Temp\status.txt "OK"; Stop-Transcript
Return all available object properties for inspection. Base task: Write text to a file.
Set-Content C:\Temp\status.txt "OK" | Select-Object *
Convert returned objects into JSON for APIs or automation. Base task: Write text to a file.
Set-Content C:\Temp\status.txt "OK" | ConvertTo-Json -Depth 6
Save formatted output to a UTF-8 text file. Base task: Write text to a file.
Set-Content C:\Temp\status.txt "OK" | Out-File -FilePath .\command-results.txt -Encoding utf8
Display all returned properties in a readable list. Base task: Append text to a file.
Add-Content C:\Temp\status.txt "Completed" | Format-List *
Export returned objects to a CSV file for reporting. Base task: Append text to a file.
Add-Content C:\Temp\status.txt "Completed" | Export-Csv -Path .\command-results.csv -NoTypeInformation
Measure how long the command takes to complete. Base task: Append text to a file.
Measure-Command { Add-Content C:\Temp\status.txt "Completed" }
Run the command with terminating error handling. Base task: Append text to a file.
try { Add-Content C:\Temp\status.txt "Completed" -ErrorAction Stop } catch { Write-Error $_.Exception.Message }
Capture the command and console output in a transcript log. Base task: Append text to a file.
Start-Transcript -Path .\command-session.log; Add-Content C:\Temp\status.txt "Completed"; Stop-Transcript
Return all available object properties for inspection. Base task: Append text to a file.
Add-Content C:\Temp\status.txt "Completed" | Select-Object *
Convert returned objects into JSON for APIs or automation. Base task: Append text to a file.
Add-Content C:\Temp\status.txt "Completed" | ConvertTo-Json -Depth 6
Save formatted output to a UTF-8 text file. Base task: Append text to a file.
Add-Content C:\Temp\status.txt "Completed" | Out-File -FilePath .\command-results.txt -Encoding utf8
Display all returned properties in a readable list. Base task: Search text files for a pattern.
Select-String -Path C:\Logs\*.log -Pattern "error" | Format-List *
Export returned objects to a CSV file for reporting. Base task: Search text files for a pattern.
Select-String -Path C:\Logs\*.log -Pattern "error" | Export-Csv -Path .\command-results.csv -NoTypeInformation
Measure how long the command takes to complete. Base task: Search text files for a pattern.
Measure-Command { Select-String -Path C:\Logs\*.log -Pattern "error" }
Run the command with terminating error handling. Base task: Search text files for a pattern.
try { Select-String -Path C:\Logs\*.log -Pattern "error" -ErrorAction Stop } catch { Write-Error $_.Exception.Message }
Capture the command and console output in a transcript log. Base task: Search text files for a pattern.
Start-Transcript -Path .\command-session.log; Select-String -Path C:\Logs\*.log -Pattern "error"; Stop-Transcript
Return all available object properties for inspection. Base task: Search text files for a pattern.
Select-String -Path C:\Logs\*.log -Pattern "error" | Select-Object *
Convert returned objects into JSON for APIs or automation. Base task: Search text files for a pattern.
Select-String -Path C:\Logs\*.log -Pattern "error" | ConvertTo-Json -Depth 6
Save formatted output to a UTF-8 text file. Base task: Search text files for a pattern.
Select-String -Path C:\Logs\*.log -Pattern "error" | Out-File -FilePath .\command-results.txt -Encoding utf8
Display all returned properties in a readable list. Base task: Export objects to a CSV file.
Get-Process | Export-Csv processes.csv -NoTypeInformation | Format-List *
Export returned objects to a CSV file for reporting. Base task: Export objects to a CSV file.
Get-Process | Export-Csv processes.csv -NoTypeInformation | Export-Csv -Path .\command-results.csv -NoTypeInformation
Measure how long the command takes to complete. Base task: Export objects to a CSV file.
Measure-Command { Get-Process | Export-Csv processes.csv -NoTypeInformation }
Run the command with terminating error handling. Base task: Export objects to a CSV file.
try { Get-Process | Export-Csv processes.csv -NoTypeInformation -ErrorAction Stop } catch { Write-Error $_.Exception.Message }
Capture the command and console output in a transcript log. Base task: Export objects to a CSV file.
Start-Transcript -Path .\command-session.log; Get-Process | Export-Csv processes.csv -NoTypeInformation; Stop-Transcript
Return all available object properties for inspection. Base task: Export objects to a CSV file.
Get-Process | Export-Csv processes.csv -NoTypeInformation | Select-Object *
Convert returned objects into JSON for APIs or automation. Base task: Export objects to a CSV file.
Get-Process | Export-Csv processes.csv -NoTypeInformation | ConvertTo-Json -Depth 6
Save formatted output to a UTF-8 text file. Base task: Export objects to a CSV file.
Get-Process | Export-Csv processes.csv -NoTypeInformation | Out-File -FilePath .\command-results.txt -Encoding utf8
Display all returned properties in a readable list. Base task: Import rows from a CSV file.
Import-Csv users.csv | Format-List *
Export returned objects to a CSV file for reporting. Base task: Import rows from a CSV file.
Import-Csv users.csv | Export-Csv -Path .\command-results.csv -NoTypeInformation
Measure how long the command takes to complete. Base task: Import rows from a CSV file.
Measure-Command { Import-Csv users.csv }
Run the command with terminating error handling. Base task: Import rows from a CSV file.
try { Import-Csv users.csv -ErrorAction Stop } catch { Write-Error $_.Exception.Message }
Capture the command and console output in a transcript log. Base task: Import rows from a CSV file.
Start-Transcript -Path .\command-session.log; Import-Csv users.csv; Stop-Transcript
Return all available object properties for inspection. Base task: Import rows from a CSV file.
Import-Csv users.csv | Select-Object *
Convert returned objects into JSON for APIs or automation. Base task: Import rows from a CSV file.
Import-Csv users.csv | ConvertTo-Json -Depth 6
Save formatted output to a UTF-8 text file. Base task: Import rows from a CSV file.
Import-Csv users.csv | Out-File -FilePath .\command-results.txt -Encoding utf8
Display all returned properties in a readable list. Base task: Convert PowerShell objects to JSON.
Get-Service | ConvertTo-Json -Depth 3 | Format-List *
Export returned objects to a CSV file for reporting. Base task: Convert PowerShell objects to JSON.
Get-Service | ConvertTo-Json -Depth 3 | Export-Csv -Path .\command-results.csv -NoTypeInformation
Measure how long the command takes to complete. Base task: Convert PowerShell objects to JSON.
Measure-Command { Get-Service | ConvertTo-Json -Depth 3 }
Run the command with terminating error handling. Base task: Convert PowerShell objects to JSON.
try { Get-Service | ConvertTo-Json -Depth 3 -ErrorAction Stop } catch { Write-Error $_.Exception.Message }
Capture the command and console output in a transcript log. Base task: Convert PowerShell objects to JSON.
Start-Transcript -Path .\command-session.log; Get-Service | ConvertTo-Json -Depth 3; Stop-Transcript
Return all available object properties for inspection. Base task: Convert PowerShell objects to JSON.
Get-Service | ConvertTo-Json -Depth 3 | Select-Object *
Convert returned objects into JSON for APIs or automation. Base task: Convert PowerShell objects to JSON.
Get-Service | ConvertTo-Json -Depth 3 | ConvertTo-Json -Depth 6
Save formatted output to a UTF-8 text file. Base task: Convert PowerShell objects to JSON.
Get-Service | ConvertTo-Json -Depth 3 | Out-File -FilePath .\command-results.txt -Encoding utf8
Display all returned properties in a readable list. Base task: Call a REST endpoint and parse its response.
Invoke-RestMethod https://api.example.com/status | Format-List *
Export returned objects to a CSV file for reporting. Base task: Call a REST endpoint and parse its response.
Invoke-RestMethod https://api.example.com/status | Export-Csv -Path .\command-results.csv -NoTypeInformation
Measure how long the command takes to complete. Base task: Call a REST endpoint and parse its response.
Measure-Command { Invoke-RestMethod https://api.example.com/status }
Run the command with terminating error handling. Base task: Call a REST endpoint and parse its response.
try { Invoke-RestMethod https://api.example.com/status -ErrorAction Stop } catch { Write-Error $_.Exception.Message }
Capture the command and console output in a transcript log. Base task: Call a REST endpoint and parse its response.
Start-Transcript -Path .\command-session.log; Invoke-RestMethod https://api.example.com/status; Stop-Transcript
Return all available object properties for inspection. Base task: Call a REST endpoint and parse its response.
Invoke-RestMethod https://api.example.com/status | Select-Object *
Convert returned objects into JSON for APIs or automation. Base task: Call a REST endpoint and parse its response.
Invoke-RestMethod https://api.example.com/status | ConvertTo-Json -Depth 6
Save formatted output to a UTF-8 text file. Base task: Call a REST endpoint and parse its response.
Invoke-RestMethod https://api.example.com/status | Out-File -FilePath .\command-results.txt -Encoding utf8
Display all returned properties in a readable list. Base task: Send an HTTP request and return the web response.
Invoke-WebRequest https://example.com | Format-List *
Export returned objects to a CSV file for reporting. Base task: Send an HTTP request and return the web response.
Invoke-WebRequest https://example.com | Export-Csv -Path .\command-results.csv -NoTypeInformation
Measure how long the command takes to complete. Base task: Send an HTTP request and return the web response.
Measure-Command { Invoke-WebRequest https://example.com }
Run the command with terminating error handling. Base task: Send an HTTP request and return the web response.
try { Invoke-WebRequest https://example.com -ErrorAction Stop } catch { Write-Error $_.Exception.Message }
Capture the command and console output in a transcript log. Base task: Send an HTTP request and return the web response.
Start-Transcript -Path .\command-session.log; Invoke-WebRequest https://example.com; Stop-Transcript
Return all available object properties for inspection. Base task: Send an HTTP request and return the web response.
Invoke-WebRequest https://example.com | Select-Object *
Convert returned objects into JSON for APIs or automation. Base task: Send an HTTP request and return the web response.
Invoke-WebRequest https://example.com | ConvertTo-Json -Depth 6
Save formatted output to a UTF-8 text file. Base task: Send an HTTP request and return the web response.
Invoke-WebRequest https://example.com | Out-File -FilePath .\command-results.txt -Encoding utf8
Display all returned properties in a readable list. Base task: List Windows scheduled tasks.
Get-ScheduledTask | Format-List *
Export returned objects to a CSV file for reporting. Base task: List Windows scheduled tasks.
Get-ScheduledTask | Export-Csv -Path .\command-results.csv -NoTypeInformation
Measure how long the command takes to complete. Base task: List Windows scheduled tasks.
Measure-Command { Get-ScheduledTask }
Run the command with terminating error handling. Base task: List Windows scheduled tasks.
try { Get-ScheduledTask -ErrorAction Stop } catch { Write-Error $_.Exception.Message }
Capture the command and console output in a transcript log. Base task: List Windows scheduled tasks.
Start-Transcript -Path .\command-session.log; Get-ScheduledTask; Stop-Transcript
Return all available object properties for inspection. Base task: List Windows scheduled tasks.
Get-ScheduledTask | Select-Object *
Convert returned objects into JSON for APIs or automation. Base task: List Windows scheduled tasks.
Get-ScheduledTask | ConvertTo-Json -Depth 6
Save formatted output to a UTF-8 text file. Base task: List Windows scheduled tasks.
Get-ScheduledTask | Out-File -FilePath .\command-results.txt -Encoding utf8
Display all returned properties in a readable list. Base task: Start a Windows scheduled task.
Start-ScheduledTask -TaskName "Daily Backup" | Format-List *
Export returned objects to a CSV file for reporting. Base task: Start a Windows scheduled task.
Start-ScheduledTask -TaskName "Daily Backup" | Export-Csv -Path .\command-results.csv -NoTypeInformation
Measure how long the command takes to complete. Base task: Start a Windows scheduled task.
Measure-Command { Start-ScheduledTask -TaskName "Daily Backup" }
Run the command with terminating error handling. Base task: Start a Windows scheduled task.
try { Start-ScheduledTask -TaskName "Daily Backup" -ErrorAction Stop } catch { Write-Error $_.Exception.Message }
Capture the command and console output in a transcript log. Base task: Start a Windows scheduled task.
Start-Transcript -Path .\command-session.log; Start-ScheduledTask -TaskName "Daily Backup"; Stop-Transcript
Return all available object properties for inspection. Base task: Start a Windows scheduled task.
Start-ScheduledTask -TaskName "Daily Backup" | Select-Object *
Convert returned objects into JSON for APIs or automation. Base task: Start a Windows scheduled task.
Start-ScheduledTask -TaskName "Daily Backup" | ConvertTo-Json -Depth 6
Save formatted output to a UTF-8 text file. Base task: Start a Windows scheduled task.
Start-ScheduledTask -TaskName "Daily Backup" | Out-File -FilePath .\command-results.txt -Encoding utf8
Display all returned properties in a readable list. Base task: List local user accounts.
Get-LocalUser | Format-List *
Export returned objects to a CSV file for reporting. Base task: List local user accounts.
Get-LocalUser | Export-Csv -Path .\command-results.csv -NoTypeInformation
Measure how long the command takes to complete. Base task: List local user accounts.
Measure-Command { Get-LocalUser }
Run the command with terminating error handling. Base task: List local user accounts.
try { Get-LocalUser -ErrorAction Stop } catch { Write-Error $_.Exception.Message }
Capture the command and console output in a transcript log. Base task: List local user accounts.
Start-Transcript -Path .\command-session.log; Get-LocalUser; Stop-Transcript
Return all available object properties for inspection. Base task: List local user accounts.
Get-LocalUser | Select-Object *
Convert returned objects into JSON for APIs or automation. Base task: List local user accounts.
Get-LocalUser | ConvertTo-Json -Depth 6
Save formatted output to a UTF-8 text file. Base task: List local user accounts.
Get-LocalUser | Out-File -FilePath .\command-results.txt -Encoding utf8
Display all returned properties in a readable list. Base task: Create a local user account.
New-LocalUser -Name helpdesk -Password (Read-Host -AsSecureString) | Format-List *
Export returned objects to a CSV file for reporting. Base task: Create a local user account.
New-LocalUser -Name helpdesk -Password (Read-Host -AsSecureString) | Export-Csv -Path .\command-results.csv -NoTypeInformation
Measure how long the command takes to complete. Base task: Create a local user account.
Measure-Command { New-LocalUser -Name helpdesk -Password (Read-Host -AsSecureString) }
Run the command with terminating error handling. Base task: Create a local user account.
try { New-LocalUser -Name helpdesk -Password (Read-Host -AsSecureString) -ErrorAction Stop } catch { Write-Error $_.Exception.Message }
Capture the command and console output in a transcript log. Base task: Create a local user account.
Start-Transcript -Path .\command-session.log; New-LocalUser -Name helpdesk -Password (Read-Host -AsSecureString); Stop-Transcript
Return all available object properties for inspection. Base task: Create a local user account.
New-LocalUser -Name helpdesk -Password (Read-Host -AsSecureString) | Select-Object *
Convert returned objects into JSON for APIs or automation. Base task: Create a local user account.
New-LocalUser -Name helpdesk -Password (Read-Host -AsSecureString) | ConvertTo-Json -Depth 6
Save formatted output to a UTF-8 text file. Base task: Create a local user account.
New-LocalUser -Name helpdesk -Password (Read-Host -AsSecureString) | Out-File -FilePath .\command-results.txt -Encoding utf8
Display all returned properties in a readable list. Base task: List members of a local group.
Get-LocalGroupMember Administrators | Format-List *
Export returned objects to a CSV file for reporting. Base task: List members of a local group.
Get-LocalGroupMember Administrators | Export-Csv -Path .\command-results.csv -NoTypeInformation
Measure how long the command takes to complete. Base task: List members of a local group.
Measure-Command { Get-LocalGroupMember Administrators }
Run the command with terminating error handling. Base task: List members of a local group.
try { Get-LocalGroupMember Administrators -ErrorAction Stop } catch { Write-Error $_.Exception.Message }
Capture the command and console output in a transcript log. Base task: List members of a local group.
Start-Transcript -Path .\command-session.log; Get-LocalGroupMember Administrators; Stop-Transcript
Return all available object properties for inspection. Base task: List members of a local group.
Get-LocalGroupMember Administrators | Select-Object *
Convert returned objects into JSON for APIs or automation. Base task: List members of a local group.
Get-LocalGroupMember Administrators | ConvertTo-Json -Depth 6
Save formatted output to a UTF-8 text file. Base task: List members of a local group.
Get-LocalGroupMember Administrators | Out-File -FilePath .\command-results.txt -Encoding utf8
Display all returned properties in a readable list. Base task: Add a member to a local group.
Add-LocalGroupMember -Group Administrators -Member helpdesk | Format-List *
Export returned objects to a CSV file for reporting. Base task: Add a member to a local group.
Add-LocalGroupMember -Group Administrators -Member helpdesk | Export-Csv -Path .\command-results.csv -NoTypeInformation
Measure how long the command takes to complete. Base task: Add a member to a local group.
Measure-Command { Add-LocalGroupMember -Group Administrators -Member helpdesk }
Run the command with terminating error handling. Base task: Add a member to a local group.
try { Add-LocalGroupMember -Group Administrators -Member helpdesk -ErrorAction Stop } catch { Write-Error $_.Exception.Message }
Capture the command and console output in a transcript log. Base task: Add a member to a local group.
Start-Transcript -Path .\command-session.log; Add-LocalGroupMember -Group Administrators -Member helpdesk; Stop-Transcript
Return all available object properties for inspection. Base task: Add a member to a local group.
Add-LocalGroupMember -Group Administrators -Member helpdesk | Select-Object *
Convert returned objects into JSON for APIs or automation. Base task: Add a member to a local group.
Add-LocalGroupMember -Group Administrators -Member helpdesk | ConvertTo-Json -Depth 6
Save formatted output to a UTF-8 text file. Base task: Add a member to a local group.
Add-LocalGroupMember -Group Administrators -Member helpdesk | Out-File -FilePath .\command-results.txt -Encoding utf8
Display all returned properties in a readable list. Base task: List installed Windows updates.
Get-HotFix | Format-List *
Export returned objects to a CSV file for reporting. Base task: List installed Windows updates.
Get-HotFix | Export-Csv -Path .\command-results.csv -NoTypeInformation
Measure how long the command takes to complete. Base task: List installed Windows updates.
Measure-Command { Get-HotFix }
Run the command with terminating error handling. Base task: List installed Windows updates.
try { Get-HotFix -ErrorAction Stop } catch { Write-Error $_.Exception.Message }
Capture the command and console output in a transcript log. Base task: List installed Windows updates.
Start-Transcript -Path .\command-session.log; Get-HotFix; Stop-Transcript
Return all available object properties for inspection. Base task: List installed Windows updates.
Get-HotFix | Select-Object *
Convert returned objects into JSON for APIs or automation. Base task: List installed Windows updates.
Get-HotFix | ConvertTo-Json -Depth 6
Save formatted output to a UTF-8 text file. Base task: List installed Windows updates.
Get-HotFix | Out-File -FilePath .\command-results.txt -Encoding utf8
Display all returned properties in a readable list. Base task: List Windows optional features.
Get-WindowsOptionalFeature -Online | Format-List *
Export returned objects to a CSV file for reporting. Base task: List Windows optional features.
Get-WindowsOptionalFeature -Online | Export-Csv -Path .\command-results.csv -NoTypeInformation
Measure how long the command takes to complete. Base task: List Windows optional features.
Measure-Command { Get-WindowsOptionalFeature -Online }
Run the command with terminating error handling. Base task: List Windows optional features.
try { Get-WindowsOptionalFeature -Online -ErrorAction Stop } catch { Write-Error $_.Exception.Message }
Capture the command and console output in a transcript log. Base task: List Windows optional features.
Start-Transcript -Path .\command-session.log; Get-WindowsOptionalFeature -Online; Stop-Transcript
Return all available object properties for inspection. Base task: List Windows optional features.
Get-WindowsOptionalFeature -Online | Select-Object *
Convert returned objects into JSON for APIs or automation. Base task: List Windows optional features.
Get-WindowsOptionalFeature -Online | ConvertTo-Json -Depth 6
Save formatted output to a UTF-8 text file. Base task: List Windows optional features.
Get-WindowsOptionalFeature -Online | Out-File -FilePath .\command-results.txt -Encoding utf8
Display all returned properties in a readable list. Base task: Enable a Windows optional feature.
Enable-WindowsOptionalFeature -Online -FeatureName IIS-WebServerRole | Format-List *
Export returned objects to a CSV file for reporting. Base task: Enable a Windows optional feature.
Enable-WindowsOptionalFeature -Online -FeatureName IIS-WebServerRole | Export-Csv -Path .\command-results.csv -NoTypeInformation
Measure how long the command takes to complete. Base task: Enable a Windows optional feature.
Measure-Command { Enable-WindowsOptionalFeature -Online -FeatureName IIS-WebServerRole }
Run the command with terminating error handling. Base task: Enable a Windows optional feature.
try { Enable-WindowsOptionalFeature -Online -FeatureName IIS-WebServerRole -ErrorAction Stop } catch { Write-Error $_.Exception.Message }
Capture the command and console output in a transcript log. Base task: Enable a Windows optional feature.
Start-Transcript -Path .\command-session.log; Enable-WindowsOptionalFeature -Online -FeatureName IIS-WebServerRole; Stop-Transcript
Return all available object properties for inspection. Base task: Enable a Windows optional feature.
Enable-WindowsOptionalFeature -Online -FeatureName IIS-WebServerRole | Select-Object *
Convert returned objects into JSON for APIs or automation. Base task: Enable a Windows optional feature.
Enable-WindowsOptionalFeature -Online -FeatureName IIS-WebServerRole | ConvertTo-Json -Depth 6
Save formatted output to a UTF-8 text file. Base task: Enable a Windows optional feature.
Enable-WindowsOptionalFeature -Online -FeatureName IIS-WebServerRole | Out-File -FilePath .\command-results.txt -Encoding utf8
Display all returned properties in a readable list. Base task: List storage volumes.
Get-Volume | Format-List *
Export returned objects to a CSV file for reporting. Base task: List storage volumes.
Get-Volume | Export-Csv -Path .\command-results.csv -NoTypeInformation
Measure how long the command takes to complete. Base task: List storage volumes.
Measure-Command { Get-Volume }
Run the command with terminating error handling. Base task: List storage volumes.
try { Get-Volume -ErrorAction Stop } catch { Write-Error $_.Exception.Message }
Capture the command and console output in a transcript log. Base task: List storage volumes.
Start-Transcript -Path .\command-session.log; Get-Volume; Stop-Transcript
Return all available object properties for inspection. Base task: List storage volumes.
Get-Volume | Select-Object *
Convert returned objects into JSON for APIs or automation. Base task: List storage volumes.
Get-Volume | ConvertTo-Json -Depth 6
Save formatted output to a UTF-8 text file. Base task: List storage volumes.
Get-Volume | Out-File -FilePath .\command-results.txt -Encoding utf8
Display all returned properties in a readable list. Base task: List physical disks.
Get-Disk | Format-List *
Export returned objects to a CSV file for reporting. Base task: List physical disks.
Get-Disk | Export-Csv -Path .\command-results.csv -NoTypeInformation
Measure how long the command takes to complete. Base task: List physical disks.
Measure-Command { Get-Disk }
Run the command with terminating error handling. Base task: List physical disks.
try { Get-Disk -ErrorAction Stop } catch { Write-Error $_.Exception.Message }
Capture the command and console output in a transcript log. Base task: List physical disks.
Start-Transcript -Path .\command-session.log; Get-Disk; Stop-Transcript
Return all available object properties for inspection. Base task: List physical disks.
Get-Disk | Select-Object *
Convert returned objects into JSON for APIs or automation. Base task: List physical disks.
Get-Disk | ConvertTo-Json -Depth 6
Save formatted output to a UTF-8 text file. Base task: List physical disks.
Get-Disk | Out-File -FilePath .\command-results.txt -Encoding utf8
Display all returned properties in a readable list. Base task: List disk partitions.
Get-Partition | Format-List *
Export returned objects to a CSV file for reporting. Base task: List disk partitions.
Get-Partition | Export-Csv -Path .\command-results.csv -NoTypeInformation
Measure how long the command takes to complete. Base task: List disk partitions.
Measure-Command { Get-Partition }
Run the command with terminating error handling. Base task: List disk partitions.
try { Get-Partition -ErrorAction Stop } catch { Write-Error $_.Exception.Message }
Capture the command and console output in a transcript log. Base task: List disk partitions.
Start-Transcript -Path .\command-session.log; Get-Partition; Stop-Transcript
Return all available object properties for inspection. Base task: List disk partitions.
Get-Partition | Select-Object *
Convert returned objects into JSON for APIs or automation. Base task: List disk partitions.
Get-Partition | ConvertTo-Json -Depth 6
Save formatted output to a UTF-8 text file. Base task: List disk partitions.
Get-Partition | Out-File -FilePath .\command-results.txt -Encoding utf8
Display all returned properties in a readable list. Base task: List SMB shares.
Get-SmbShare | Format-List *
Export returned objects to a CSV file for reporting. Base task: List SMB shares.
Get-SmbShare | Export-Csv -Path .\command-results.csv -NoTypeInformation
Measure how long the command takes to complete. Base task: List SMB shares.
Measure-Command { Get-SmbShare }
Run the command with terminating error handling. Base task: List SMB shares.
try { Get-SmbShare -ErrorAction Stop } catch { Write-Error $_.Exception.Message }
Capture the command and console output in a transcript log. Base task: List SMB shares.
Start-Transcript -Path .\command-session.log; Get-SmbShare; Stop-Transcript
Return all available object properties for inspection. Base task: List SMB shares.
Get-SmbShare | Select-Object *
Convert returned objects into JSON for APIs or automation. Base task: List SMB shares.
Get-SmbShare | ConvertTo-Json -Depth 6
Save formatted output to a UTF-8 text file. Base task: List SMB shares.
Get-SmbShare | Out-File -FilePath .\command-results.txt -Encoding utf8
Display all returned properties in a readable list. Base task: Create an SMB share.
New-SmbShare -Name Data -Path D:\Data -FullAccess Administrators | Format-List *
Export returned objects to a CSV file for reporting. Base task: Create an SMB share.
New-SmbShare -Name Data -Path D:\Data -FullAccess Administrators | Export-Csv -Path .\command-results.csv -NoTypeInformation
Measure how long the command takes to complete. Base task: Create an SMB share.
Measure-Command { New-SmbShare -Name Data -Path D:\Data -FullAccess Administrators }
Run the command with terminating error handling. Base task: Create an SMB share.
try { New-SmbShare -Name Data -Path D:\Data -FullAccess Administrators -ErrorAction Stop } catch { Write-Error $_.Exception.Message }
Capture the command and console output in a transcript log. Base task: Create an SMB share.
Start-Transcript -Path .\command-session.log; New-SmbShare -Name Data -Path D:\Data -FullAccess Administrators; Stop-Transcript
Return all available object properties for inspection. Base task: Create an SMB share.
New-SmbShare -Name Data -Path D:\Data -FullAccess Administrators | Select-Object *
Convert returned objects into JSON for APIs or automation. Base task: Create an SMB share.
New-SmbShare -Name Data -Path D:\Data -FullAccess Administrators | ConvertTo-Json -Depth 6
Save formatted output to a UTF-8 text file. Base task: Create an SMB share.
New-SmbShare -Name Data -Path D:\Data -FullAccess Administrators | Out-File -FilePath .\command-results.txt -Encoding utf8
Display all returned properties in a readable list. Base task: Calculate a file hash.
Get-FileHash .\installer.exe -Algorithm SHA256 | Format-List *
Export returned objects to a CSV file for reporting. Base task: Calculate a file hash.
Get-FileHash .\installer.exe -Algorithm SHA256 | Export-Csv -Path .\command-results.csv -NoTypeInformation
Measure how long the command takes to complete. Base task: Calculate a file hash.
Measure-Command { Get-FileHash .\installer.exe -Algorithm SHA256 }
Run the command with terminating error handling. Base task: Calculate a file hash.
try { Get-FileHash .\installer.exe -Algorithm SHA256 -ErrorAction Stop } catch { Write-Error $_.Exception.Message }
Capture the command and console output in a transcript log. Base task: Calculate a file hash.
Start-Transcript -Path .\command-session.log; Get-FileHash .\installer.exe -Algorithm SHA256; Stop-Transcript
Return all available object properties for inspection. Base task: Calculate a file hash.
Get-FileHash .\installer.exe -Algorithm SHA256 | Select-Object *
Convert returned objects into JSON for APIs or automation. Base task: Calculate a file hash.
Get-FileHash .\installer.exe -Algorithm SHA256 | ConvertTo-Json -Depth 6
Save formatted output to a UTF-8 text file. Base task: Calculate a file hash.
Get-FileHash .\installer.exe -Algorithm SHA256 | Out-File -FilePath .\command-results.txt -Encoding utf8
Display all returned properties in a readable list. Base task: Count objects or calculate totals.
Get-ChildItem C:\Logs | Measure-Object -Property Length -Sum | Format-List *
Export returned objects to a CSV file for reporting. Base task: Count objects or calculate totals.
Get-ChildItem C:\Logs | Measure-Object -Property Length -Sum | Export-Csv -Path .\command-results.csv -NoTypeInformation
Measure how long the command takes to complete. Base task: Count objects or calculate totals.
Measure-Command { Get-ChildItem C:\Logs | Measure-Object -Property Length -Sum }
Run the command with terminating error handling. Base task: Count objects or calculate totals.
try { Get-ChildItem C:\Logs | Measure-Object -Property Length -Sum -ErrorAction Stop } catch { Write-Error $_.Exception.Message }
Capture the command and console output in a transcript log. Base task: Count objects or calculate totals.
Start-Transcript -Path .\command-session.log; Get-ChildItem C:\Logs | Measure-Object -Property Length -Sum; Stop-Transcript
Return all available object properties for inspection. Base task: Count objects or calculate totals.
Get-ChildItem C:\Logs | Measure-Object -Property Length -Sum | Select-Object *
Convert returned objects into JSON for APIs or automation. Base task: Count objects or calculate totals.
Get-ChildItem C:\Logs | Measure-Object -Property Length -Sum | ConvertTo-Json -Depth 6
Save formatted output to a UTF-8 text file. Base task: Count objects or calculate totals.
Get-ChildItem C:\Logs | Measure-Object -Property Length -Sum | Out-File -FilePath .\command-results.txt -Encoding utf8
Display all returned properties in a readable list. Base task: Filter pipeline objects.
Get-Service | Where-Object Status -eq Running | Format-List *
Export returned objects to a CSV file for reporting. Base task: Filter pipeline objects.
Get-Service | Where-Object Status -eq Running | Export-Csv -Path .\command-results.csv -NoTypeInformation
Measure how long the command takes to complete. Base task: Filter pipeline objects.
Measure-Command { Get-Service | Where-Object Status -eq Running }
Run the command with terminating error handling. Base task: Filter pipeline objects.
try { Get-Service | Where-Object Status -eq Running -ErrorAction Stop } catch { Write-Error $_.Exception.Message }
Capture the command and console output in a transcript log. Base task: Filter pipeline objects.
Start-Transcript -Path .\command-session.log; Get-Service | Where-Object Status -eq Running; Stop-Transcript
Return all available object properties for inspection. Base task: Filter pipeline objects.
Get-Service | Where-Object Status -eq Running | Select-Object *
Convert returned objects into JSON for APIs or automation. Base task: Filter pipeline objects.
Get-Service | Where-Object Status -eq Running | ConvertTo-Json -Depth 6
Save formatted output to a UTF-8 text file. Base task: Filter pipeline objects.
Get-Service | Where-Object Status -eq Running | Out-File -FilePath .\command-results.txt -Encoding utf8
Display all returned properties in a readable list. Base task: Sort objects by a property.
Get-Process | Sort-Object CPU -Descending | Format-List *
Export returned objects to a CSV file for reporting. Base task: Sort objects by a property.
Get-Process | Sort-Object CPU -Descending | Export-Csv -Path .\command-results.csv -NoTypeInformation
Measure how long the command takes to complete. Base task: Sort objects by a property.
Measure-Command { Get-Process | Sort-Object CPU -Descending }
Run the command with terminating error handling. Base task: Sort objects by a property.
try { Get-Process | Sort-Object CPU -Descending -ErrorAction Stop } catch { Write-Error $_.Exception.Message }
Capture the command and console output in a transcript log. Base task: Sort objects by a property.
Start-Transcript -Path .\command-session.log; Get-Process | Sort-Object CPU -Descending; Stop-Transcript
Return all available object properties for inspection. Base task: Sort objects by a property.
Get-Process | Sort-Object CPU -Descending | Select-Object *
Convert returned objects into JSON for APIs or automation. Base task: Sort objects by a property.
Get-Process | Sort-Object CPU -Descending | ConvertTo-Json -Depth 6
Save formatted output to a UTF-8 text file. Base task: Sort objects by a property.
Get-Process | Sort-Object CPU -Descending | Out-File -FilePath .\command-results.txt -Encoding utf8
Display all returned properties in a readable list. Base task: Choose properties from objects.
Get-Process | Select-Object Name,Id,CPU | Format-List *
Export returned objects to a CSV file for reporting. Base task: Choose properties from objects.
Get-Process | Select-Object Name,Id,CPU | Export-Csv -Path .\command-results.csv -NoTypeInformation
Measure how long the command takes to complete. Base task: Choose properties from objects.
Measure-Command { Get-Process | Select-Object Name,Id,CPU }
Run the command with terminating error handling. Base task: Choose properties from objects.
try { Get-Process | Select-Object Name,Id,CPU -ErrorAction Stop } catch { Write-Error $_.Exception.Message }
Capture the command and console output in a transcript log. Base task: Choose properties from objects.
Start-Transcript -Path .\command-session.log; Get-Process | Select-Object Name,Id,CPU; Stop-Transcript
Return all available object properties for inspection. Base task: Choose properties from objects.
Get-Process | Select-Object Name,Id,CPU | Select-Object *
Convert returned objects into JSON for APIs or automation. Base task: Choose properties from objects.
Get-Process | Select-Object Name,Id,CPU | ConvertTo-Json -Depth 6
Save formatted output to a UTF-8 text file. Base task: Choose properties from objects.
Get-Process | Select-Object Name,Id,CPU | Out-File -FilePath .\command-results.txt -Encoding utf8
Display all returned properties in a readable list. Base task: Run an action for each pipeline object.
Get-Service | ForEach-Object { $_.Name } | Format-List *
Export returned objects to a CSV file for reporting. Base task: Run an action for each pipeline object.
Get-Service | ForEach-Object { $_.Name } | Export-Csv -Path .\command-results.csv -NoTypeInformation
Measure how long the command takes to complete. Base task: Run an action for each pipeline object.
Measure-Command { Get-Service | ForEach-Object { $_.Name } }
Run the command with terminating error handling. Base task: Run an action for each pipeline object.
try { Get-Service | ForEach-Object { $_.Name } -ErrorAction Stop } catch { Write-Error $_.Exception.Message }
Capture the command and console output in a transcript log. Base task: Run an action for each pipeline object.
Start-Transcript -Path .\command-session.log; Get-Service | ForEach-Object { $_.Name }; Stop-Transcript
Return all available object properties for inspection. Base task: Run an action for each pipeline object.
Get-Service | ForEach-Object { $_.Name } | Select-Object *
Convert returned objects into JSON for APIs or automation. Base task: Run an action for each pipeline object.
Get-Service | ForEach-Object { $_.Name } | ConvertTo-Json -Depth 6
Save formatted output to a UTF-8 text file. Base task: Run an action for each pipeline object.
Get-Service | ForEach-Object { $_.Name } | Out-File -FilePath .\command-results.txt -Encoding utf8
Display all returned properties in a readable list. Base task: Record a PowerShell session to a text file.
Start-Transcript -Path C:\Logs\session.txt | Format-List *
Export returned objects to a CSV file for reporting. Base task: Record a PowerShell session to a text file.
Start-Transcript -Path C:\Logs\session.txt | Export-Csv -Path .\command-results.csv -NoTypeInformation
Measure how long the command takes to complete. Base task: Record a PowerShell session to a text file.
Measure-Command { Start-Transcript -Path C:\Logs\session.txt }
Run the command with terminating error handling. Base task: Record a PowerShell session to a text file.
try { Start-Transcript -Path C:\Logs\session.txt -ErrorAction Stop } catch { Write-Error $_.Exception.Message }
Capture the command and console output in a transcript log. Base task: Record a PowerShell session to a text file.
Start-Transcript -Path .\command-session.log; Start-Transcript -Path C:\Logs\session.txt; Stop-Transcript
Return all available object properties for inspection. Base task: Record a PowerShell session to a text file.
Start-Transcript -Path C:\Logs\session.txt | Select-Object *
Convert returned objects into JSON for APIs or automation. Base task: Record a PowerShell session to a text file.
Start-Transcript -Path C:\Logs\session.txt | ConvertTo-Json -Depth 6
Save formatted output to a UTF-8 text file. Base task: Record a PowerShell session to a text file.
Start-Transcript -Path C:\Logs\session.txt | Out-File -FilePath .\command-results.txt -Encoding utf8
Display all returned properties in a readable list. Base task: Display PowerShell execution policies.
Get-ExecutionPolicy -List | Format-List *
Export returned objects to a CSV file for reporting. Base task: Display PowerShell execution policies.
Get-ExecutionPolicy -List | Export-Csv -Path .\command-results.csv -NoTypeInformation
Measure how long the command takes to complete. Base task: Display PowerShell execution policies.
Measure-Command { Get-ExecutionPolicy -List }
Run the command with terminating error handling. Base task: Display PowerShell execution policies.
try { Get-ExecutionPolicy -List -ErrorAction Stop } catch { Write-Error $_.Exception.Message }
Capture the command and console output in a transcript log. Base task: Display PowerShell execution policies.
Start-Transcript -Path .\command-session.log; Get-ExecutionPolicy -List; Stop-Transcript
Return all available object properties for inspection. Base task: Display PowerShell execution policies.
Get-ExecutionPolicy -List | Select-Object *
Convert returned objects into JSON for APIs or automation. Base task: Display PowerShell execution policies.
Get-ExecutionPolicy -List | ConvertTo-Json -Depth 6
Save formatted output to a UTF-8 text file. Base task: Display PowerShell execution policies.
Get-ExecutionPolicy -List | Out-File -FilePath .\command-results.txt -Encoding utf8
Display all returned properties in a readable list. Base task: Set the PowerShell execution policy for a scope.
Set-ExecutionPolicy RemoteSigned -Scope CurrentUser | Format-List *
Export returned objects to a CSV file for reporting. Base task: Set the PowerShell execution policy for a scope.
Set-ExecutionPolicy RemoteSigned -Scope CurrentUser | Export-Csv -Path .\command-results.csv -NoTypeInformation
Measure how long the command takes to complete. Base task: Set the PowerShell execution policy for a scope.
Measure-Command { Set-ExecutionPolicy RemoteSigned -Scope CurrentUser }
Run the command with terminating error handling. Base task: Set the PowerShell execution policy for a scope.
try { Set-ExecutionPolicy RemoteSigned -Scope CurrentUser -ErrorAction Stop } catch { Write-Error $_.Exception.Message }
Capture the command and console output in a transcript log. Base task: Set the PowerShell execution policy for a scope.
Start-Transcript -Path .\command-session.log; Set-ExecutionPolicy RemoteSigned -Scope CurrentUser; Stop-Transcript
Return all available object properties for inspection. Base task: Set the PowerShell execution policy for a scope.
Set-ExecutionPolicy RemoteSigned -Scope CurrentUser | Select-Object *
Convert returned objects into JSON for APIs or automation. Base task: Set the PowerShell execution policy for a scope.
Set-ExecutionPolicy RemoteSigned -Scope CurrentUser | ConvertTo-Json -Depth 6
Save formatted output to a UTF-8 text file. Base task: Set the PowerShell execution policy for a scope.
Set-ExecutionPolicy RemoteSigned -Scope CurrentUser | Out-File -FilePath .\command-results.txt -Encoding utf8
Display all returned properties in a readable list. Base task: List installed PowerShell modules.
Get-Module -ListAvailable | Format-List *
Export returned objects to a CSV file for reporting. Base task: List installed PowerShell modules.
Get-Module -ListAvailable | Export-Csv -Path .\command-results.csv -NoTypeInformation
Measure how long the command takes to complete. Base task: List installed PowerShell modules.
Measure-Command { Get-Module -ListAvailable }
Run the command with terminating error handling. Base task: List installed PowerShell modules.
try { Get-Module -ListAvailable -ErrorAction Stop } catch { Write-Error $_.Exception.Message }
Capture the command and console output in a transcript log. Base task: List installed PowerShell modules.
Start-Transcript -Path .\command-session.log; Get-Module -ListAvailable; Stop-Transcript
Return all available object properties for inspection. Base task: List installed PowerShell modules.
Get-Module -ListAvailable | Select-Object *
Convert returned objects into JSON for APIs or automation. Base task: List installed PowerShell modules.
Get-Module -ListAvailable | ConvertTo-Json -Depth 6
Save formatted output to a UTF-8 text file. Base task: List installed PowerShell modules.
Get-Module -ListAvailable | Out-File -FilePath .\command-results.txt -Encoding utf8
Display all returned properties in a readable list. Base task: Install a module from PowerShell Gallery.
Install-Module Microsoft.Graph -Scope CurrentUser | Format-List *
Export returned objects to a CSV file for reporting. Base task: Install a module from PowerShell Gallery.
Install-Module Microsoft.Graph -Scope CurrentUser | Export-Csv -Path .\command-results.csv -NoTypeInformation
Measure how long the command takes to complete. Base task: Install a module from PowerShell Gallery.
Measure-Command { Install-Module Microsoft.Graph -Scope CurrentUser }
Run the command with terminating error handling. Base task: Install a module from PowerShell Gallery.
try { Install-Module Microsoft.Graph -Scope CurrentUser -ErrorAction Stop } catch { Write-Error $_.Exception.Message }
Capture the command and console output in a transcript log. Base task: Install a module from PowerShell Gallery.
Start-Transcript -Path .\command-session.log; Install-Module Microsoft.Graph -Scope CurrentUser; Stop-Transcript
Return all available object properties for inspection. Base task: Install a module from PowerShell Gallery.
Install-Module Microsoft.Graph -Scope CurrentUser | Select-Object *
Convert returned objects into JSON for APIs or automation. Base task: Install a module from PowerShell Gallery.
Install-Module Microsoft.Graph -Scope CurrentUser | ConvertTo-Json -Depth 6
Save formatted output to a UTF-8 text file. Base task: Install a module from PowerShell Gallery.
Install-Module Microsoft.Graph -Scope CurrentUser | Out-File -FilePath .\command-results.txt -Encoding utf8
Display all returned properties in a readable list. Base task: Update an installed PowerShell module.
Update-Module Microsoft.Graph | Format-List *
Export returned objects to a CSV file for reporting. Base task: Update an installed PowerShell module.
Update-Module Microsoft.Graph | Export-Csv -Path .\command-results.csv -NoTypeInformation
Measure how long the command takes to complete. Base task: Update an installed PowerShell module.
Measure-Command { Update-Module Microsoft.Graph }
Run the command with terminating error handling. Base task: Update an installed PowerShell module.
try { Update-Module Microsoft.Graph -ErrorAction Stop } catch { Write-Error $_.Exception.Message }
Capture the command and console output in a transcript log. Base task: Update an installed PowerShell module.
Start-Transcript -Path .\command-session.log; Update-Module Microsoft.Graph; Stop-Transcript
Return all available object properties for inspection. Base task: Update an installed PowerShell module.
Update-Module Microsoft.Graph | Select-Object *
Convert returned objects into JSON for APIs or automation. Base task: Update an installed PowerShell module.
Update-Module Microsoft.Graph | ConvertTo-Json -Depth 6
Save formatted output to a UTF-8 text file. Base task: Update an installed PowerShell module.
Update-Module Microsoft.Graph | Out-File -FilePath .\command-results.txt -Encoding utf8
Display all returned properties in a readable list. Base task: Display command help and examples.
Get-Help Get-Service -Examples | Format-List *
Export returned objects to a CSV file for reporting. Base task: Display command help and examples.
Get-Help Get-Service -Examples | Export-Csv -Path .\command-results.csv -NoTypeInformation
Measure how long the command takes to complete. Base task: Display command help and examples.
Measure-Command { Get-Help Get-Service -Examples }
Run the command with terminating error handling. Base task: Display command help and examples.
try { Get-Help Get-Service -Examples -ErrorAction Stop } catch { Write-Error $_.Exception.Message }
Capture the command and console output in a transcript log. Base task: Display command help and examples.
Start-Transcript -Path .\command-session.log; Get-Help Get-Service -Examples; Stop-Transcript
Return all available object properties for inspection. Base task: Display command help and examples.
Get-Help Get-Service -Examples | Select-Object *
Convert returned objects into JSON for APIs or automation. Base task: Display command help and examples.
Get-Help Get-Service -Examples | ConvertTo-Json -Depth 6
Save formatted output to a UTF-8 text file. Base task: Display command help and examples.
Get-Help Get-Service -Examples | Out-File -FilePath .\command-results.txt -Encoding utf8
Display all returned properties in a readable list. Base task: Export the output of Get-Service for documentation or review.
Get-Service | Export-Csv .\output.csv -NoTypeInformation | Format-List *
Export returned objects to a CSV file for reporting. Base task: Export the output of Get-Service for documentation or review.
Get-Service | Export-Csv .\output.csv -NoTypeInformation | Export-Csv -Path .\command-results.csv -NoTypeInformation
Measure how long the command takes to complete. Base task: Export the output of Get-Service for documentation or review.
Measure-Command { Get-Service | Export-Csv .\output.csv -NoTypeInformation }
Run the command with terminating error handling. Base task: Export the output of Get-Service for documentation or review.
try { Get-Service | Export-Csv .\output.csv -NoTypeInformation -ErrorAction Stop } catch { Write-Error $_.Exception.Message }
Capture the command and console output in a transcript log. Base task: Export the output of Get-Service for documentation or review.
Start-Transcript -Path .\command-session.log; Get-Service | Export-Csv .\output.csv -NoTypeInformation; Stop-Transcript
Return all available object properties for inspection. Base task: Export the output of Get-Service for documentation or review.
Get-Service | Export-Csv .\output.csv -NoTypeInformation | Select-Object *
Convert returned objects into JSON for APIs or automation. Base task: Export the output of Get-Service for documentation or review.
Get-Service | Export-Csv .\output.csv -NoTypeInformation | ConvertTo-Json -Depth 6
Save formatted output to a UTF-8 text file. Base task: Export the output of Get-Service for documentation or review.
Get-Service | Export-Csv .\output.csv -NoTypeInformation | Out-File -FilePath .\command-results.txt -Encoding utf8
Display all returned properties in a readable list. Base task: Export the output of Start-Service for documentation or review.
Start-Service -Name Spooler | Export-Csv .\output.csv -NoTypeInformation | Format-List *
Export returned objects to a CSV file for reporting. Base task: Export the output of Start-Service for documentation or review.
Start-Service -Name Spooler | Export-Csv .\output.csv -NoTypeInformation | Export-Csv -Path .\command-results.csv -NoTypeInformation
Measure how long the command takes to complete. Base task: Export the output of Start-Service for documentation or review.
Measure-Command { Start-Service -Name Spooler | Export-Csv .\output.csv -NoTypeInformation }
Run the command with terminating error handling. Base task: Export the output of Start-Service for documentation or review.
try { Start-Service -Name Spooler | Export-Csv .\output.csv -NoTypeInformation -ErrorAction Stop } catch { Write-Error $_.Exception.Message }
Capture the command and console output in a transcript log. Base task: Export the output of Start-Service for documentation or review.
Start-Transcript -Path .\command-session.log; Start-Service -Name Spooler | Export-Csv .\output.csv -NoTypeInformation; Stop-Transcript
Return all available object properties for inspection. Base task: Export the output of Start-Service for documentation or review.
Start-Service -Name Spooler | Export-Csv .\output.csv -NoTypeInformation | Select-Object *
Convert returned objects into JSON for APIs or automation. Base task: Export the output of Start-Service for documentation or review.
Start-Service -Name Spooler | Export-Csv .\output.csv -NoTypeInformation | ConvertTo-Json -Depth 6
Save formatted output to a UTF-8 text file. Base task: Export the output of Start-Service for documentation or review.
Start-Service -Name Spooler | Export-Csv .\output.csv -NoTypeInformation | Out-File -FilePath .\command-results.txt -Encoding utf8
Display all returned properties in a readable list. Base task: Export the output of Stop-Service for documentation or review.
Stop-Service -Name Spooler | Export-Csv .\output.csv -NoTypeInformation | Format-List *
Export returned objects to a CSV file for reporting. Base task: Export the output of Stop-Service for documentation or review.
Stop-Service -Name Spooler | Export-Csv .\output.csv -NoTypeInformation | Export-Csv -Path .\command-results.csv -NoTypeInformation
Measure how long the command takes to complete. Base task: Export the output of Stop-Service for documentation or review.
Measure-Command { Stop-Service -Name Spooler | Export-Csv .\output.csv -NoTypeInformation }
Run the command with terminating error handling. Base task: Export the output of Stop-Service for documentation or review.
try { Stop-Service -Name Spooler | Export-Csv .\output.csv -NoTypeInformation -ErrorAction Stop } catch { Write-Error $_.Exception.Message }
Capture the command and console output in a transcript log. Base task: Export the output of Stop-Service for documentation or review.
Start-Transcript -Path .\command-session.log; Stop-Service -Name Spooler | Export-Csv .\output.csv -NoTypeInformation; Stop-Transcript
Return all available object properties for inspection. Base task: Export the output of Stop-Service for documentation or review.
Stop-Service -Name Spooler | Export-Csv .\output.csv -NoTypeInformation | Select-Object *
Convert returned objects into JSON for APIs or automation. Base task: Export the output of Stop-Service for documentation or review.
Stop-Service -Name Spooler | Export-Csv .\output.csv -NoTypeInformation | ConvertTo-Json -Depth 6
Save formatted output to a UTF-8 text file. Base task: Export the output of Stop-Service for documentation or review.
Stop-Service -Name Spooler | Export-Csv .\output.csv -NoTypeInformation | Out-File -FilePath .\command-results.txt -Encoding utf8
Display all returned properties in a readable list. Base task: Export the output of Restart-Service for documentation or review.
Restart-Service -Name Spooler | Export-Csv .\output.csv -NoTypeInformation | Format-List *
Export returned objects to a CSV file for reporting. Base task: Export the output of Restart-Service for documentation or review.
Restart-Service -Name Spooler | Export-Csv .\output.csv -NoTypeInformation | Export-Csv -Path .\command-results.csv -NoTypeInformation
Measure how long the command takes to complete. Base task: Export the output of Restart-Service for documentation or review.
Measure-Command { Restart-Service -Name Spooler | Export-Csv .\output.csv -NoTypeInformation }
Run the command with terminating error handling. Base task: Export the output of Restart-Service for documentation or review.
try { Restart-Service -Name Spooler | Export-Csv .\output.csv -NoTypeInformation -ErrorAction Stop } catch { Write-Error $_.Exception.Message }
Capture the command and console output in a transcript log. Base task: Export the output of Restart-Service for documentation or review.
Start-Transcript -Path .\command-session.log; Restart-Service -Name Spooler | Export-Csv .\output.csv -NoTypeInformation; Stop-Transcript
Return all available object properties for inspection. Base task: Export the output of Restart-Service for documentation or review.
Restart-Service -Name Spooler | Export-Csv .\output.csv -NoTypeInformation | Select-Object *
Convert returned objects into JSON for APIs or automation. Base task: Export the output of Restart-Service for documentation or review.
Restart-Service -Name Spooler | Export-Csv .\output.csv -NoTypeInformation | ConvertTo-Json -Depth 6
Save formatted output to a UTF-8 text file. Base task: Export the output of Restart-Service for documentation or review.
Restart-Service -Name Spooler | Export-Csv .\output.csv -NoTypeInformation | Out-File -FilePath .\command-results.txt -Encoding utf8
Display all returned properties in a readable list. Base task: Export the output of Get-Process for documentation or review.
Get-Process | Export-Csv .\output.csv -NoTypeInformation | Format-List *
Export returned objects to a CSV file for reporting. Base task: Export the output of Get-Process for documentation or review.
Get-Process | Export-Csv .\output.csv -NoTypeInformation | Export-Csv -Path .\command-results.csv -NoTypeInformation
Measure how long the command takes to complete. Base task: Export the output of Get-Process for documentation or review.
Measure-Command { Get-Process | Export-Csv .\output.csv -NoTypeInformation }
Run the command with terminating error handling. Base task: Export the output of Get-Process for documentation or review.
try { Get-Process | Export-Csv .\output.csv -NoTypeInformation -ErrorAction Stop } catch { Write-Error $_.Exception.Message }
Capture the command and console output in a transcript log. Base task: Export the output of Get-Process for documentation or review.
Start-Transcript -Path .\command-session.log; Get-Process | Export-Csv .\output.csv -NoTypeInformation; Stop-Transcript
Return all available object properties for inspection. Base task: Export the output of Get-Process for documentation or review.
Get-Process | Export-Csv .\output.csv -NoTypeInformation | Select-Object *
Convert returned objects into JSON for APIs or automation. Base task: Export the output of Get-Process for documentation or review.
Get-Process | Export-Csv .\output.csv -NoTypeInformation | ConvertTo-Json -Depth 6
Save formatted output to a UTF-8 text file. Base task: Export the output of Get-Process for documentation or review.
Get-Process | Export-Csv .\output.csv -NoTypeInformation | Out-File -FilePath .\command-results.txt -Encoding utf8
Display all returned properties in a readable list. Base task: Export the output of Stop-Process for documentation or review.
Stop-Process -Name notepad | Export-Csv .\output.csv -NoTypeInformation | Format-List *
Export returned objects to a CSV file for reporting. Base task: Export the output of Stop-Process for documentation or review.
Stop-Process -Name notepad | Export-Csv .\output.csv -NoTypeInformation | Export-Csv -Path .\command-results.csv -NoTypeInformation
Measure how long the command takes to complete. Base task: Export the output of Stop-Process for documentation or review.
Measure-Command { Stop-Process -Name notepad | Export-Csv .\output.csv -NoTypeInformation }
Run the command with terminating error handling. Base task: Export the output of Stop-Process for documentation or review.
try { Stop-Process -Name notepad | Export-Csv .\output.csv -NoTypeInformation -ErrorAction Stop } catch { Write-Error $_.Exception.Message }
Capture the command and console output in a transcript log. Base task: Export the output of Stop-Process for documentation or review.
Start-Transcript -Path .\command-session.log; Stop-Process -Name notepad | Export-Csv .\output.csv -NoTypeInformation; Stop-Transcript
Return all available object properties for inspection. Base task: Export the output of Stop-Process for documentation or review.
Stop-Process -Name notepad | Export-Csv .\output.csv -NoTypeInformation | Select-Object *
Convert returned objects into JSON for APIs or automation. Base task: Export the output of Stop-Process for documentation or review.
Stop-Process -Name notepad | Export-Csv .\output.csv -NoTypeInformation | ConvertTo-Json -Depth 6
Save formatted output to a UTF-8 text file. Base task: Export the output of Stop-Process for documentation or review.
Stop-Process -Name notepad | Export-Csv .\output.csv -NoTypeInformation | Out-File -FilePath .\command-results.txt -Encoding utf8
Display all returned properties in a readable list. Base task: Export the output of Get-EventLog for documentation or review.
Get-EventLog -LogName System -Newest 50 | Export-Csv .\output.csv -NoTypeInformation | Format-List *
Export returned objects to a CSV file for reporting. Base task: Export the output of Get-EventLog for documentation or review.
Get-EventLog -LogName System -Newest 50 | Export-Csv .\output.csv -NoTypeInformation | Export-Csv -Path .\command-results.csv -NoTypeInformation
Measure how long the command takes to complete. Base task: Export the output of Get-EventLog for documentation or review.
Measure-Command { Get-EventLog -LogName System -Newest 50 | Export-Csv .\output.csv -NoTypeInformation }
Run the command with terminating error handling. Base task: Export the output of Get-EventLog for documentation or review.
try { Get-EventLog -LogName System -Newest 50 | Export-Csv .\output.csv -NoTypeInformation -ErrorAction Stop } catch { Write-Error $_.Exception.Message }
Capture the command and console output in a transcript log. Base task: Export the output of Get-EventLog for documentation or review.
Start-Transcript -Path .\command-session.log; Get-EventLog -LogName System -Newest 50 | Export-Csv .\output.csv -NoTypeInformation; Stop-Transcript
Return all available object properties for inspection. Base task: Export the output of Get-EventLog for documentation or review.
Get-EventLog -LogName System -Newest 50 | Export-Csv .\output.csv -NoTypeInformation | Select-Object *
Convert returned objects into JSON for APIs or automation. Base task: Export the output of Get-EventLog for documentation or review.
Get-EventLog -LogName System -Newest 50 | Export-Csv .\output.csv -NoTypeInformation | ConvertTo-Json -Depth 6
Save formatted output to a UTF-8 text file. Base task: Export the output of Get-EventLog for documentation or review.
Get-EventLog -LogName System -Newest 50 | Export-Csv .\output.csv -NoTypeInformation | Out-File -FilePath .\command-results.txt -Encoding utf8
Display all returned properties in a readable list. Base task: Export the output of Get-WinEvent for documentation or review.
Get-WinEvent -LogName System -MaxEvents 50 | Export-Csv .\output.csv -NoTypeInformation | Format-List *
Export returned objects to a CSV file for reporting. Base task: Export the output of Get-WinEvent for documentation or review.
Get-WinEvent -LogName System -MaxEvents 50 | Export-Csv .\output.csv -NoTypeInformation | Export-Csv -Path .\command-results.csv -NoTypeInformation
Measure how long the command takes to complete. Base task: Export the output of Get-WinEvent for documentation or review.
Measure-Command { Get-WinEvent -LogName System -MaxEvents 50 | Export-Csv .\output.csv -NoTypeInformation }
Run the command with terminating error handling. Base task: Export the output of Get-WinEvent for documentation or review.
try { Get-WinEvent -LogName System -MaxEvents 50 | Export-Csv .\output.csv -NoTypeInformation -ErrorAction Stop } catch { Write-Error $_.Exception.Message }
Capture the command and console output in a transcript log. Base task: Export the output of Get-WinEvent for documentation or review.
Start-Transcript -Path .\command-session.log; Get-WinEvent -LogName System -MaxEvents 50 | Export-Csv .\output.csv -NoTypeInformation; Stop-Transcript
Return all available object properties for inspection. Base task: Export the output of Get-WinEvent for documentation or review.
Get-WinEvent -LogName System -MaxEvents 50 | Export-Csv .\output.csv -NoTypeInformation | Select-Object *
Convert returned objects into JSON for APIs or automation. Base task: Export the output of Get-WinEvent for documentation or review.
Get-WinEvent -LogName System -MaxEvents 50 | Export-Csv .\output.csv -NoTypeInformation | ConvertTo-Json -Depth 6
Save formatted output to a UTF-8 text file. Base task: Export the output of Get-WinEvent for documentation or review.
Get-WinEvent -LogName System -MaxEvents 50 | Export-Csv .\output.csv -NoTypeInformation | Out-File -FilePath .\command-results.txt -Encoding utf8
Display all returned properties in a readable list. Base task: Export the output of Get-ComputerInfo for documentation or review.
Get-ComputerInfo | Export-Csv .\output.csv -NoTypeInformation | Format-List *
Export returned objects to a CSV file for reporting. Base task: Export the output of Get-ComputerInfo for documentation or review.
Get-ComputerInfo | Export-Csv .\output.csv -NoTypeInformation | Export-Csv -Path .\command-results.csv -NoTypeInformation
Measure how long the command takes to complete. Base task: Export the output of Get-ComputerInfo for documentation or review.
Measure-Command { Get-ComputerInfo | Export-Csv .\output.csv -NoTypeInformation }
Run the command with terminating error handling. Base task: Export the output of Get-ComputerInfo for documentation or review.
try { Get-ComputerInfo | Export-Csv .\output.csv -NoTypeInformation -ErrorAction Stop } catch { Write-Error $_.Exception.Message }
Capture the command and console output in a transcript log. Base task: Export the output of Get-ComputerInfo for documentation or review.
Start-Transcript -Path .\command-session.log; Get-ComputerInfo | Export-Csv .\output.csv -NoTypeInformation; Stop-Transcript
Return all available object properties for inspection. Base task: Export the output of Get-ComputerInfo for documentation or review.
Get-ComputerInfo | Export-Csv .\output.csv -NoTypeInformation | Select-Object *
Convert returned objects into JSON for APIs or automation. Base task: Export the output of Get-ComputerInfo for documentation or review.
Get-ComputerInfo | Export-Csv .\output.csv -NoTypeInformation | ConvertTo-Json -Depth 6
Save formatted output to a UTF-8 text file. Base task: Export the output of Get-ComputerInfo for documentation or review.
Get-ComputerInfo | Export-Csv .\output.csv -NoTypeInformation | Out-File -FilePath .\command-results.txt -Encoding utf8
Display all returned properties in a readable list. Base task: Export the output of Get-CimInstance for documentation or review.
Get-CimInstance Win32_OperatingSystem | Export-Csv .\output.csv -NoTypeInformation | Format-List *
Export returned objects to a CSV file for reporting. Base task: Export the output of Get-CimInstance for documentation or review.
Get-CimInstance Win32_OperatingSystem | Export-Csv .\output.csv -NoTypeInformation | Export-Csv -Path .\command-results.csv -NoTypeInformation
Measure how long the command takes to complete. Base task: Export the output of Get-CimInstance for documentation or review.
Measure-Command { Get-CimInstance Win32_OperatingSystem | Export-Csv .\output.csv -NoTypeInformation }
Run the command with terminating error handling. Base task: Export the output of Get-CimInstance for documentation or review.
try { Get-CimInstance Win32_OperatingSystem | Export-Csv .\output.csv -NoTypeInformation -ErrorAction Stop } catch { Write-Error $_.Exception.Message }
Capture the command and console output in a transcript log. Base task: Export the output of Get-CimInstance for documentation or review.
Start-Transcript -Path .\command-session.log; Get-CimInstance Win32_OperatingSystem | Export-Csv .\output.csv -NoTypeInformation; Stop-Transcript
Return all available object properties for inspection. Base task: Export the output of Get-CimInstance for documentation or review.
Get-CimInstance Win32_OperatingSystem | Export-Csv .\output.csv -NoTypeInformation | Select-Object *
Convert returned objects into JSON for APIs or automation. Base task: Export the output of Get-CimInstance for documentation or review.
Get-CimInstance Win32_OperatingSystem | Export-Csv .\output.csv -NoTypeInformation | ConvertTo-Json -Depth 6
Save formatted output to a UTF-8 text file. Base task: Export the output of Get-CimInstance for documentation or review.
Get-CimInstance Win32_OperatingSystem | Export-Csv .\output.csv -NoTypeInformation | Out-File -FilePath .\command-results.txt -Encoding utf8
Display all returned properties in a readable list. Base task: Export the output of Test-Connection for documentation or review.
Test-Connection server01 -Count 4 | Export-Csv .\output.csv -NoTypeInformation | Format-List *
Export returned objects to a CSV file for reporting. Base task: Export the output of Test-Connection for documentation or review.
Test-Connection server01 -Count 4 | Export-Csv .\output.csv -NoTypeInformation | Export-Csv -Path .\command-results.csv -NoTypeInformation
Measure how long the command takes to complete. Base task: Export the output of Test-Connection for documentation or review.
Measure-Command { Test-Connection server01 -Count 4 | Export-Csv .\output.csv -NoTypeInformation }
Run the command with terminating error handling. Base task: Export the output of Test-Connection for documentation or review.
try { Test-Connection server01 -Count 4 | Export-Csv .\output.csv -NoTypeInformation -ErrorAction Stop } catch { Write-Error $_.Exception.Message }
Capture the command and console output in a transcript log. Base task: Export the output of Test-Connection for documentation or review.
Start-Transcript -Path .\command-session.log; Test-Connection server01 -Count 4 | Export-Csv .\output.csv -NoTypeInformation; Stop-Transcript
Return all available object properties for inspection. Base task: Export the output of Test-Connection for documentation or review.
Test-Connection server01 -Count 4 | Export-Csv .\output.csv -NoTypeInformation | Select-Object *
Convert returned objects into JSON for APIs or automation. Base task: Export the output of Test-Connection for documentation or review.
Test-Connection server01 -Count 4 | Export-Csv .\output.csv -NoTypeInformation | ConvertTo-Json -Depth 6
Save formatted output to a UTF-8 text file. Base task: Export the output of Test-Connection for documentation or review.
Test-Connection server01 -Count 4 | Export-Csv .\output.csv -NoTypeInformation | Out-File -FilePath .\command-results.txt -Encoding utf8
Display all returned properties in a readable list. Base task: Export the output of Test-NetConnection for documentation or review.
Test-NetConnection server01 -Port 443 | Export-Csv .\output.csv -NoTypeInformation | Format-List *
Export returned objects to a CSV file for reporting. Base task: Export the output of Test-NetConnection for documentation or review.
Test-NetConnection server01 -Port 443 | Export-Csv .\output.csv -NoTypeInformation | Export-Csv -Path .\command-results.csv -NoTypeInformation
Measure how long the command takes to complete. Base task: Export the output of Test-NetConnection for documentation or review.
Measure-Command { Test-NetConnection server01 -Port 443 | Export-Csv .\output.csv -NoTypeInformation }
Run the command with terminating error handling. Base task: Export the output of Test-NetConnection for documentation or review.
try { Test-NetConnection server01 -Port 443 | Export-Csv .\output.csv -NoTypeInformation -ErrorAction Stop } catch { Write-Error $_.Exception.Message }
Capture the command and console output in a transcript log. Base task: Export the output of Test-NetConnection for documentation or review.
Start-Transcript -Path .\command-session.log; Test-NetConnection server01 -Port 443 | Export-Csv .\output.csv -NoTypeInformation; Stop-Transcript
Return all available object properties for inspection. Base task: Export the output of Test-NetConnection for documentation or review.
Test-NetConnection server01 -Port 443 | Export-Csv .\output.csv -NoTypeInformation | Select-Object *
Convert returned objects into JSON for APIs or automation. Base task: Export the output of Test-NetConnection for documentation or review.
Test-NetConnection server01 -Port 443 | Export-Csv .\output.csv -NoTypeInformation | ConvertTo-Json -Depth 6
Save formatted output to a UTF-8 text file. Base task: Export the output of Test-NetConnection for documentation or review.
Test-NetConnection server01 -Port 443 | Export-Csv .\output.csv -NoTypeInformation | Out-File -FilePath .\command-results.txt -Encoding utf8
Display all returned properties in a readable list. Base task: Export the output of Resolve-DnsName for documentation or review.
Resolve-DnsName example.com | Export-Csv .\output.csv -NoTypeInformation | Format-List *
Export returned objects to a CSV file for reporting. Base task: Export the output of Resolve-DnsName for documentation or review.
Resolve-DnsName example.com | Export-Csv .\output.csv -NoTypeInformation | Export-Csv -Path .\command-results.csv -NoTypeInformation
Measure how long the command takes to complete. Base task: Export the output of Resolve-DnsName for documentation or review.
Measure-Command { Resolve-DnsName example.com | Export-Csv .\output.csv -NoTypeInformation }
Run the command with terminating error handling. Base task: Export the output of Resolve-DnsName for documentation or review.
try { Resolve-DnsName example.com | Export-Csv .\output.csv -NoTypeInformation -ErrorAction Stop } catch { Write-Error $_.Exception.Message }
Capture the command and console output in a transcript log. Base task: Export the output of Resolve-DnsName for documentation or review.
Start-Transcript -Path .\command-session.log; Resolve-DnsName example.com | Export-Csv .\output.csv -NoTypeInformation; Stop-Transcript
Return all available object properties for inspection. Base task: Export the output of Resolve-DnsName for documentation or review.
Resolve-DnsName example.com | Export-Csv .\output.csv -NoTypeInformation | Select-Object *
Convert returned objects into JSON for APIs or automation. Base task: Export the output of Resolve-DnsName for documentation or review.
Resolve-DnsName example.com | Export-Csv .\output.csv -NoTypeInformation | ConvertTo-Json -Depth 6
Save formatted output to a UTF-8 text file. Base task: Export the output of Resolve-DnsName for documentation or review.
Resolve-DnsName example.com | Export-Csv .\output.csv -NoTypeInformation | Out-File -FilePath .\command-results.txt -Encoding utf8
Display all returned properties in a readable list. Base task: Export the output of Get-NetIPAddress for documentation or review.
Get-NetIPAddress | Export-Csv .\output.csv -NoTypeInformation | Format-List *
Export returned objects to a CSV file for reporting. Base task: Export the output of Get-NetIPAddress for documentation or review.
Get-NetIPAddress | Export-Csv .\output.csv -NoTypeInformation | Export-Csv -Path .\command-results.csv -NoTypeInformation
Measure how long the command takes to complete. Base task: Export the output of Get-NetIPAddress for documentation or review.
Measure-Command { Get-NetIPAddress | Export-Csv .\output.csv -NoTypeInformation }
Run the command with terminating error handling. Base task: Export the output of Get-NetIPAddress for documentation or review.
try { Get-NetIPAddress | Export-Csv .\output.csv -NoTypeInformation -ErrorAction Stop } catch { Write-Error $_.Exception.Message }
Capture the command and console output in a transcript log. Base task: Export the output of Get-NetIPAddress for documentation or review.
Start-Transcript -Path .\command-session.log; Get-NetIPAddress | Export-Csv .\output.csv -NoTypeInformation; Stop-Transcript
Return all available object properties for inspection. Base task: Export the output of Get-NetIPAddress for documentation or review.
Get-NetIPAddress | Export-Csv .\output.csv -NoTypeInformation | Select-Object *
Convert returned objects into JSON for APIs or automation. Base task: Export the output of Get-NetIPAddress for documentation or review.
Get-NetIPAddress | Export-Csv .\output.csv -NoTypeInformation | ConvertTo-Json -Depth 6
Save formatted output to a UTF-8 text file. Base task: Export the output of Get-NetIPAddress for documentation or review.
Get-NetIPAddress | Export-Csv .\output.csv -NoTypeInformation | Out-File -FilePath .\command-results.txt -Encoding utf8
Display all returned properties in a readable list. Base task: Export the output of Get-NetIPConfiguration for documentation or review.
Get-NetIPConfiguration | Export-Csv .\output.csv -NoTypeInformation | Format-List *
Export returned objects to a CSV file for reporting. Base task: Export the output of Get-NetIPConfiguration for documentation or review.
Get-NetIPConfiguration | Export-Csv .\output.csv -NoTypeInformation | Export-Csv -Path .\command-results.csv -NoTypeInformation
Measure how long the command takes to complete. Base task: Export the output of Get-NetIPConfiguration for documentation or review.
Measure-Command { Get-NetIPConfiguration | Export-Csv .\output.csv -NoTypeInformation }
Run the command with terminating error handling. Base task: Export the output of Get-NetIPConfiguration for documentation or review.
try { Get-NetIPConfiguration | Export-Csv .\output.csv -NoTypeInformation -ErrorAction Stop } catch { Write-Error $_.Exception.Message }
Capture the command and console output in a transcript log. Base task: Export the output of Get-NetIPConfiguration for documentation or review.
Start-Transcript -Path .\command-session.log; Get-NetIPConfiguration | Export-Csv .\output.csv -NoTypeInformation; Stop-Transcript
Return all available object properties for inspection. Base task: Export the output of Get-NetIPConfiguration for documentation or review.
Get-NetIPConfiguration | Export-Csv .\output.csv -NoTypeInformation | Select-Object *
Convert returned objects into JSON for APIs or automation. Base task: Export the output of Get-NetIPConfiguration for documentation or review.
Get-NetIPConfiguration | Export-Csv .\output.csv -NoTypeInformation | ConvertTo-Json -Depth 6
Save formatted output to a UTF-8 text file. Base task: Export the output of Get-NetIPConfiguration for documentation or review.
Get-NetIPConfiguration | Export-Csv .\output.csv -NoTypeInformation | Out-File -FilePath .\command-results.txt -Encoding utf8
Display all returned properties in a readable list. Base task: Export the output of Get-NetAdapter for documentation or review.
Get-NetAdapter | Export-Csv .\output.csv -NoTypeInformation | Format-List *
Export returned objects to a CSV file for reporting. Base task: Export the output of Get-NetAdapter for documentation or review.
Get-NetAdapter | Export-Csv .\output.csv -NoTypeInformation | Export-Csv -Path .\command-results.csv -NoTypeInformation
Measure how long the command takes to complete. Base task: Export the output of Get-NetAdapter for documentation or review.
Measure-Command { Get-NetAdapter | Export-Csv .\output.csv -NoTypeInformation }
Run the command with terminating error handling. Base task: Export the output of Get-NetAdapter for documentation or review.
try { Get-NetAdapter | Export-Csv .\output.csv -NoTypeInformation -ErrorAction Stop } catch { Write-Error $_.Exception.Message }
Capture the command and console output in a transcript log. Base task: Export the output of Get-NetAdapter for documentation or review.
Start-Transcript -Path .\command-session.log; Get-NetAdapter | Export-Csv .\output.csv -NoTypeInformation; Stop-Transcript
Return all available object properties for inspection. Base task: Export the output of Get-NetAdapter for documentation or review.
Get-NetAdapter | Export-Csv .\output.csv -NoTypeInformation | Select-Object *
Convert returned objects into JSON for APIs or automation. Base task: Export the output of Get-NetAdapter for documentation or review.
Get-NetAdapter | Export-Csv .\output.csv -NoTypeInformation | ConvertTo-Json -Depth 6
Save formatted output to a UTF-8 text file. Base task: Export the output of Get-NetAdapter for documentation or review.
Get-NetAdapter | Export-Csv .\output.csv -NoTypeInformation | Out-File -FilePath .\command-results.txt -Encoding utf8
Display all returned properties in a readable list. Base task: Export the output of Restart-NetAdapter for documentation or review.
Restart-NetAdapter -Name Ethernet | Export-Csv .\output.csv -NoTypeInformation | Format-List *
Export returned objects to a CSV file for reporting. Base task: Export the output of Restart-NetAdapter for documentation or review.
Restart-NetAdapter -Name Ethernet | Export-Csv .\output.csv -NoTypeInformation | Export-Csv -Path .\command-results.csv -NoTypeInformation
Measure how long the command takes to complete. Base task: Export the output of Restart-NetAdapter for documentation or review.
Measure-Command { Restart-NetAdapter -Name Ethernet | Export-Csv .\output.csv -NoTypeInformation }
Run the command with terminating error handling. Base task: Export the output of Restart-NetAdapter for documentation or review.
try { Restart-NetAdapter -Name Ethernet | Export-Csv .\output.csv -NoTypeInformation -ErrorAction Stop } catch { Write-Error $_.Exception.Message }
Capture the command and console output in a transcript log. Base task: Export the output of Restart-NetAdapter for documentation or review.
Start-Transcript -Path .\command-session.log; Restart-NetAdapter -Name Ethernet | Export-Csv .\output.csv -NoTypeInformation; Stop-Transcript
Return all available object properties for inspection. Base task: Export the output of Restart-NetAdapter for documentation or review.
Restart-NetAdapter -Name Ethernet | Export-Csv .\output.csv -NoTypeInformation | Select-Object *
Convert returned objects into JSON for APIs or automation. Base task: Export the output of Restart-NetAdapter for documentation or review.
Restart-NetAdapter -Name Ethernet | Export-Csv .\output.csv -NoTypeInformation | ConvertTo-Json -Depth 6
Save formatted output to a UTF-8 text file. Base task: Export the output of Restart-NetAdapter for documentation or review.
Restart-NetAdapter -Name Ethernet | Export-Csv .\output.csv -NoTypeInformation | Out-File -FilePath .\command-results.txt -Encoding utf8
Display all returned properties in a readable list. Base task: Export the output of Get-NetRoute for documentation or review.
Get-NetRoute | Export-Csv .\output.csv -NoTypeInformation | Format-List *
Export returned objects to a CSV file for reporting. Base task: Export the output of Get-NetRoute for documentation or review.
Get-NetRoute | Export-Csv .\output.csv -NoTypeInformation | Export-Csv -Path .\command-results.csv -NoTypeInformation
Measure how long the command takes to complete. Base task: Export the output of Get-NetRoute for documentation or review.
Measure-Command { Get-NetRoute | Export-Csv .\output.csv -NoTypeInformation }
Run the command with terminating error handling. Base task: Export the output of Get-NetRoute for documentation or review.
try { Get-NetRoute | Export-Csv .\output.csv -NoTypeInformation -ErrorAction Stop } catch { Write-Error $_.Exception.Message }
Capture the command and console output in a transcript log. Base task: Export the output of Get-NetRoute for documentation or review.
Start-Transcript -Path .\command-session.log; Get-NetRoute | Export-Csv .\output.csv -NoTypeInformation; Stop-Transcript
Return all available object properties for inspection. Base task: Export the output of Get-NetRoute for documentation or review.
Get-NetRoute | Export-Csv .\output.csv -NoTypeInformation | Select-Object *
Convert returned objects into JSON for APIs or automation. Base task: Export the output of Get-NetRoute for documentation or review.
Get-NetRoute | Export-Csv .\output.csv -NoTypeInformation | ConvertTo-Json -Depth 6
Save formatted output to a UTF-8 text file. Base task: Export the output of Get-NetRoute for documentation or review.
Get-NetRoute | Export-Csv .\output.csv -NoTypeInformation | Out-File -FilePath .\command-results.txt -Encoding utf8
Display all returned properties in a readable list. Base task: Export the output of Get-NetTCPConnection for documentation or review.
Get-NetTCPConnection -State Listen | Export-Csv .\output.csv -NoTypeInformation | Format-List *
Export returned objects to a CSV file for reporting. Base task: Export the output of Get-NetTCPConnection for documentation or review.
Get-NetTCPConnection -State Listen | Export-Csv .\output.csv -NoTypeInformation | Export-Csv -Path .\command-results.csv -NoTypeInformation
Measure how long the command takes to complete. Base task: Export the output of Get-NetTCPConnection for documentation or review.
Measure-Command { Get-NetTCPConnection -State Listen | Export-Csv .\output.csv -NoTypeInformation }
Run the command with terminating error handling. Base task: Export the output of Get-NetTCPConnection for documentation or review.
try { Get-NetTCPConnection -State Listen | Export-Csv .\output.csv -NoTypeInformation -ErrorAction Stop } catch { Write-Error $_.Exception.Message }
Capture the command and console output in a transcript log. Base task: Export the output of Get-NetTCPConnection for documentation or review.
Start-Transcript -Path .\command-session.log; Get-NetTCPConnection -State Listen | Export-Csv .\output.csv -NoTypeInformation; Stop-Transcript
Return all available object properties for inspection. Base task: Export the output of Get-NetTCPConnection for documentation or review.
Get-NetTCPConnection -State Listen | Export-Csv .\output.csv -NoTypeInformation | Select-Object *
Convert returned objects into JSON for APIs or automation. Base task: Export the output of Get-NetTCPConnection for documentation or review.
Get-NetTCPConnection -State Listen | Export-Csv .\output.csv -NoTypeInformation | ConvertTo-Json -Depth 6
Save formatted output to a UTF-8 text file. Base task: Export the output of Get-NetTCPConnection for documentation or review.
Get-NetTCPConnection -State Listen | Export-Csv .\output.csv -NoTypeInformation | Out-File -FilePath .\command-results.txt -Encoding utf8
Display all returned properties in a readable list. Base task: Export the output of Get-DnsClientCache for documentation or review.
Get-DnsClientCache | Export-Csv .\output.csv -NoTypeInformation | Format-List *
Export returned objects to a CSV file for reporting. Base task: Export the output of Get-DnsClientCache for documentation or review.
Get-DnsClientCache | Export-Csv .\output.csv -NoTypeInformation | Export-Csv -Path .\command-results.csv -NoTypeInformation
Measure how long the command takes to complete. Base task: Export the output of Get-DnsClientCache for documentation or review.
Measure-Command { Get-DnsClientCache | Export-Csv .\output.csv -NoTypeInformation }
Run the command with terminating error handling. Base task: Export the output of Get-DnsClientCache for documentation or review.
try { Get-DnsClientCache | Export-Csv .\output.csv -NoTypeInformation -ErrorAction Stop } catch { Write-Error $_.Exception.Message }
Capture the command and console output in a transcript log. Base task: Export the output of Get-DnsClientCache for documentation or review.
Start-Transcript -Path .\command-session.log; Get-DnsClientCache | Export-Csv .\output.csv -NoTypeInformation; Stop-Transcript
Return all available object properties for inspection. Base task: Export the output of Get-DnsClientCache for documentation or review.
Get-DnsClientCache | Export-Csv .\output.csv -NoTypeInformation | Select-Object *
Convert returned objects into JSON for APIs or automation. Base task: Export the output of Get-DnsClientCache for documentation or review.
Get-DnsClientCache | Export-Csv .\output.csv -NoTypeInformation | ConvertTo-Json -Depth 6
Save formatted output to a UTF-8 text file. Base task: Export the output of Get-DnsClientCache for documentation or review.
Get-DnsClientCache | Export-Csv .\output.csv -NoTypeInformation | Out-File -FilePath .\command-results.txt -Encoding utf8
Display all returned properties in a readable list. Base task: Export the output of Clear-DnsClientCache for documentation or review.
Clear-DnsClientCache | Export-Csv .\output.csv -NoTypeInformation | Format-List *
Export returned objects to a CSV file for reporting. Base task: Export the output of Clear-DnsClientCache for documentation or review.
Clear-DnsClientCache | Export-Csv .\output.csv -NoTypeInformation | Export-Csv -Path .\command-results.csv -NoTypeInformation
Measure how long the command takes to complete. Base task: Export the output of Clear-DnsClientCache for documentation or review.
Measure-Command { Clear-DnsClientCache | Export-Csv .\output.csv -NoTypeInformation }
Run the command with terminating error handling. Base task: Export the output of Clear-DnsClientCache for documentation or review.
try { Clear-DnsClientCache | Export-Csv .\output.csv -NoTypeInformation -ErrorAction Stop } catch { Write-Error $_.Exception.Message }
Capture the command and console output in a transcript log. Base task: Export the output of Clear-DnsClientCache for documentation or review.
Start-Transcript -Path .\command-session.log; Clear-DnsClientCache | Export-Csv .\output.csv -NoTypeInformation; Stop-Transcript
Return all available object properties for inspection. Base task: Export the output of Clear-DnsClientCache for documentation or review.
Clear-DnsClientCache | Export-Csv .\output.csv -NoTypeInformation | Select-Object *
Convert returned objects into JSON for APIs or automation. Base task: Export the output of Clear-DnsClientCache for documentation or review.
Clear-DnsClientCache | Export-Csv .\output.csv -NoTypeInformation | ConvertTo-Json -Depth 6
Save formatted output to a UTF-8 text file. Base task: Export the output of Clear-DnsClientCache for documentation or review.
Clear-DnsClientCache | Export-Csv .\output.csv -NoTypeInformation | Out-File -FilePath .\command-results.txt -Encoding utf8
Display all returned properties in a readable list. Base task: Export the output of Get-ChildItem for documentation or review.
Get-ChildItem C:\Logs -Recurse | Export-Csv .\output.csv -NoTypeInformation | Format-List *
Export returned objects to a CSV file for reporting. Base task: Export the output of Get-ChildItem for documentation or review.
Get-ChildItem C:\Logs -Recurse | Export-Csv .\output.csv -NoTypeInformation | Export-Csv -Path .\command-results.csv -NoTypeInformation
Measure how long the command takes to complete. Base task: Export the output of Get-ChildItem for documentation or review.
Measure-Command { Get-ChildItem C:\Logs -Recurse | Export-Csv .\output.csv -NoTypeInformation }
Run the command with terminating error handling. Base task: Export the output of Get-ChildItem for documentation or review.
try { Get-ChildItem C:\Logs -Recurse | Export-Csv .\output.csv -NoTypeInformation -ErrorAction Stop } catch { Write-Error $_.Exception.Message }
Capture the command and console output in a transcript log. Base task: Export the output of Get-ChildItem for documentation or review.
Start-Transcript -Path .\command-session.log; Get-ChildItem C:\Logs -Recurse | Export-Csv .\output.csv -NoTypeInformation; Stop-Transcript
Return all available object properties for inspection. Base task: Export the output of Get-ChildItem for documentation or review.
Get-ChildItem C:\Logs -Recurse | Export-Csv .\output.csv -NoTypeInformation | Select-Object *
Convert returned objects into JSON for APIs or automation. Base task: Export the output of Get-ChildItem for documentation or review.
Get-ChildItem C:\Logs -Recurse | Export-Csv .\output.csv -NoTypeInformation | ConvertTo-Json -Depth 6
Save formatted output to a UTF-8 text file. Base task: Export the output of Get-ChildItem for documentation or review.
Get-ChildItem C:\Logs -Recurse | Export-Csv .\output.csv -NoTypeInformation | Out-File -FilePath .\command-results.txt -Encoding utf8
Display all returned properties in a readable list. Base task: Export the output of Copy-Item for documentation or review.
Copy-Item C:\Source C:\Backup -Recurse | Export-Csv .\output.csv -NoTypeInformation | Format-List *
Export returned objects to a CSV file for reporting. Base task: Export the output of Copy-Item for documentation or review.
Copy-Item C:\Source C:\Backup -Recurse | Export-Csv .\output.csv -NoTypeInformation | Export-Csv -Path .\command-results.csv -NoTypeInformation
Measure how long the command takes to complete. Base task: Export the output of Copy-Item for documentation or review.
Measure-Command { Copy-Item C:\Source C:\Backup -Recurse | Export-Csv .\output.csv -NoTypeInformation }
Run the command with terminating error handling. Base task: Export the output of Copy-Item for documentation or review.
try { Copy-Item C:\Source C:\Backup -Recurse | Export-Csv .\output.csv -NoTypeInformation -ErrorAction Stop } catch { Write-Error $_.Exception.Message }
Capture the command and console output in a transcript log. Base task: Export the output of Copy-Item for documentation or review.
Start-Transcript -Path .\command-session.log; Copy-Item C:\Source C:\Backup -Recurse | Export-Csv .\output.csv -NoTypeInformation; Stop-Transcript
Return all available object properties for inspection. Base task: Export the output of Copy-Item for documentation or review.
Copy-Item C:\Source C:\Backup -Recurse | Export-Csv .\output.csv -NoTypeInformation | Select-Object *
Convert returned objects into JSON for APIs or automation. Base task: Export the output of Copy-Item for documentation or review.
Copy-Item C:\Source C:\Backup -Recurse | Export-Csv .\output.csv -NoTypeInformation | ConvertTo-Json -Depth 6
Save formatted output to a UTF-8 text file. Base task: Export the output of Copy-Item for documentation or review.
Copy-Item C:\Source C:\Backup -Recurse | Export-Csv .\output.csv -NoTypeInformation | Out-File -FilePath .\command-results.txt -Encoding utf8
Display all returned properties in a readable list. Base task: Export the output of Move-Item for documentation or review.
Move-Item C:\Old C:\New | Export-Csv .\output.csv -NoTypeInformation | Format-List *
Export returned objects to a CSV file for reporting. Base task: Export the output of Move-Item for documentation or review.
Move-Item C:\Old C:\New | Export-Csv .\output.csv -NoTypeInformation | Export-Csv -Path .\command-results.csv -NoTypeInformation
Measure how long the command takes to complete. Base task: Export the output of Move-Item for documentation or review.
Measure-Command { Move-Item C:\Old C:\New | Export-Csv .\output.csv -NoTypeInformation }
Run the command with terminating error handling. Base task: Export the output of Move-Item for documentation or review.
try { Move-Item C:\Old C:\New | Export-Csv .\output.csv -NoTypeInformation -ErrorAction Stop } catch { Write-Error $_.Exception.Message }
Capture the command and console output in a transcript log. Base task: Export the output of Move-Item for documentation or review.
Start-Transcript -Path .\command-session.log; Move-Item C:\Old C:\New | Export-Csv .\output.csv -NoTypeInformation; Stop-Transcript
Return all available object properties for inspection. Base task: Export the output of Move-Item for documentation or review.
Move-Item C:\Old C:\New | Export-Csv .\output.csv -NoTypeInformation | Select-Object *
Convert returned objects into JSON for APIs or automation. Base task: Export the output of Move-Item for documentation or review.
Move-Item C:\Old C:\New | Export-Csv .\output.csv -NoTypeInformation | ConvertTo-Json -Depth 6
Save formatted output to a UTF-8 text file. Base task: Export the output of Move-Item for documentation or review.
Move-Item C:\Old C:\New | Export-Csv .\output.csv -NoTypeInformation | Out-File -FilePath .\command-results.txt -Encoding utf8
Display all returned properties in a readable list. Base task: Export the output of Remove-Item for documentation or review.
Remove-Item C:\Temp\old.log -Force | Export-Csv .\output.csv -NoTypeInformation | Format-List *
Export returned objects to a CSV file for reporting. Base task: Export the output of Remove-Item for documentation or review.
Remove-Item C:\Temp\old.log -Force | Export-Csv .\output.csv -NoTypeInformation | Export-Csv -Path .\command-results.csv -NoTypeInformation
Measure how long the command takes to complete. Base task: Export the output of Remove-Item for documentation or review.
Measure-Command { Remove-Item C:\Temp\old.log -Force | Export-Csv .\output.csv -NoTypeInformation }
Run the command with terminating error handling. Base task: Export the output of Remove-Item for documentation or review.
try { Remove-Item C:\Temp\old.log -Force | Export-Csv .\output.csv -NoTypeInformation -ErrorAction Stop } catch { Write-Error $_.Exception.Message }
Capture the command and console output in a transcript log. Base task: Export the output of Remove-Item for documentation or review.
Start-Transcript -Path .\command-session.log; Remove-Item C:\Temp\old.log -Force | Export-Csv .\output.csv -NoTypeInformation; Stop-Transcript
Return all available object properties for inspection. Base task: Export the output of Remove-Item for documentation or review.
Remove-Item C:\Temp\old.log -Force | Export-Csv .\output.csv -NoTypeInformation | Select-Object *
Convert returned objects into JSON for APIs or automation. Base task: Export the output of Remove-Item for documentation or review.
Remove-Item C:\Temp\old.log -Force | Export-Csv .\output.csv -NoTypeInformation | ConvertTo-Json -Depth 6
Save formatted output to a UTF-8 text file. Base task: Export the output of Remove-Item for documentation or review.
Remove-Item C:\Temp\old.log -Force | Export-Csv .\output.csv -NoTypeInformation | Out-File -FilePath .\command-results.txt -Encoding utf8
Display all returned properties in a readable list. Base task: Export the output of New-Item for documentation or review.
New-Item -ItemType Directory -Path C:\Reports | Export-Csv .\output.csv -NoTypeInformation | Format-List *
Export returned objects to a CSV file for reporting. Base task: Export the output of New-Item for documentation or review.
New-Item -ItemType Directory -Path C:\Reports | Export-Csv .\output.csv -NoTypeInformation | Export-Csv -Path .\command-results.csv -NoTypeInformation
Measure how long the command takes to complete. Base task: Export the output of New-Item for documentation or review.
Measure-Command { New-Item -ItemType Directory -Path C:\Reports | Export-Csv .\output.csv -NoTypeInformation }
Run the command with terminating error handling. Base task: Export the output of New-Item for documentation or review.
try { New-Item -ItemType Directory -Path C:\Reports | Export-Csv .\output.csv -NoTypeInformation -ErrorAction Stop } catch { Write-Error $_.Exception.Message }
Capture the command and console output in a transcript log. Base task: Export the output of New-Item for documentation or review.
Start-Transcript -Path .\command-session.log; New-Item -ItemType Directory -Path C:\Reports | Export-Csv .\output.csv -NoTypeInformation; Stop-Transcript
Return all available object properties for inspection. Base task: Export the output of New-Item for documentation or review.
New-Item -ItemType Directory -Path C:\Reports | Export-Csv .\output.csv -NoTypeInformation | Select-Object *
Convert returned objects into JSON for APIs or automation. Base task: Export the output of New-Item for documentation or review.
New-Item -ItemType Directory -Path C:\Reports | Export-Csv .\output.csv -NoTypeInformation | ConvertTo-Json -Depth 6
Save formatted output to a UTF-8 text file. Base task: Export the output of New-Item for documentation or review.
New-Item -ItemType Directory -Path C:\Reports | Export-Csv .\output.csv -NoTypeInformation | Out-File -FilePath .\command-results.txt -Encoding utf8
Display all returned properties in a readable list. Base task: Export the output of Get-Content for documentation or review.
Get-Content C:\Logs\app.log -Tail 100 | Export-Csv .\output.csv -NoTypeInformation | Format-List *
Export returned objects to a CSV file for reporting. Base task: Export the output of Get-Content for documentation or review.
Get-Content C:\Logs\app.log -Tail 100 | Export-Csv .\output.csv -NoTypeInformation | Export-Csv -Path .\command-results.csv -NoTypeInformation
Measure how long the command takes to complete. Base task: Export the output of Get-Content for documentation or review.
Measure-Command { Get-Content C:\Logs\app.log -Tail 100 | Export-Csv .\output.csv -NoTypeInformation }
Run the command with terminating error handling. Base task: Export the output of Get-Content for documentation or review.
try { Get-Content C:\Logs\app.log -Tail 100 | Export-Csv .\output.csv -NoTypeInformation -ErrorAction Stop } catch { Write-Error $_.Exception.Message }
Capture the command and console output in a transcript log. Base task: Export the output of Get-Content for documentation or review.
Start-Transcript -Path .\command-session.log; Get-Content C:\Logs\app.log -Tail 100 | Export-Csv .\output.csv -NoTypeInformation; Stop-Transcript
Return all available object properties for inspection. Base task: Export the output of Get-Content for documentation or review.
Get-Content C:\Logs\app.log -Tail 100 | Export-Csv .\output.csv -NoTypeInformation | Select-Object *
Convert returned objects into JSON for APIs or automation. Base task: Export the output of Get-Content for documentation or review.
Get-Content C:\Logs\app.log -Tail 100 | Export-Csv .\output.csv -NoTypeInformation | ConvertTo-Json -Depth 6
Save formatted output to a UTF-8 text file. Base task: Export the output of Get-Content for documentation or review.
Get-Content C:\Logs\app.log -Tail 100 | Export-Csv .\output.csv -NoTypeInformation | Out-File -FilePath .\command-results.txt -Encoding utf8
Display all returned properties in a readable list. Base task: Export the output of Set-Content for documentation or review.
Set-Content C:\Temp\status.txt "OK" | Export-Csv .\output.csv -NoTypeInformation | Format-List *
Export returned objects to a CSV file for reporting. Base task: Export the output of Set-Content for documentation or review.
Set-Content C:\Temp\status.txt "OK" | Export-Csv .\output.csv -NoTypeInformation | Export-Csv -Path .\command-results.csv -NoTypeInformation
Measure how long the command takes to complete. Base task: Export the output of Set-Content for documentation or review.
Measure-Command { Set-Content C:\Temp\status.txt "OK" | Export-Csv .\output.csv -NoTypeInformation }
Run the command with terminating error handling. Base task: Export the output of Set-Content for documentation or review.
try { Set-Content C:\Temp\status.txt "OK" | Export-Csv .\output.csv -NoTypeInformation -ErrorAction Stop } catch { Write-Error $_.Exception.Message }
Capture the command and console output in a transcript log. Base task: Export the output of Set-Content for documentation or review.
Start-Transcript -Path .\command-session.log; Set-Content C:\Temp\status.txt "OK" | Export-Csv .\output.csv -NoTypeInformation; Stop-Transcript
Return all available object properties for inspection. Base task: Export the output of Set-Content for documentation or review.
Set-Content C:\Temp\status.txt "OK" | Export-Csv .\output.csv -NoTypeInformation | Select-Object *
Convert returned objects into JSON for APIs or automation. Base task: Export the output of Set-Content for documentation or review.
Set-Content C:\Temp\status.txt "OK" | Export-Csv .\output.csv -NoTypeInformation | ConvertTo-Json -Depth 6
Save formatted output to a UTF-8 text file. Base task: Export the output of Set-Content for documentation or review.
Set-Content C:\Temp\status.txt "OK" | Export-Csv .\output.csv -NoTypeInformation | Out-File -FilePath .\command-results.txt -Encoding utf8
Display all returned properties in a readable list. Base task: Export the output of Add-Content for documentation or review.
Add-Content C:\Temp\status.txt "Completed" | Export-Csv .\output.csv -NoTypeInformation | Format-List *
Export returned objects to a CSV file for reporting. Base task: Export the output of Add-Content for documentation or review.
Add-Content C:\Temp\status.txt "Completed" | Export-Csv .\output.csv -NoTypeInformation | Export-Csv -Path .\command-results.csv -NoTypeInformation
Measure how long the command takes to complete. Base task: Export the output of Add-Content for documentation or review.
Measure-Command { Add-Content C:\Temp\status.txt "Completed" | Export-Csv .\output.csv -NoTypeInformation }
Run the command with terminating error handling. Base task: Export the output of Add-Content for documentation or review.
try { Add-Content C:\Temp\status.txt "Completed" | Export-Csv .\output.csv -NoTypeInformation -ErrorAction Stop } catch { Write-Error $_.Exception.Message }
Capture the command and console output in a transcript log. Base task: Export the output of Add-Content for documentation or review.
Start-Transcript -Path .\command-session.log; Add-Content C:\Temp\status.txt "Completed" | Export-Csv .\output.csv -NoTypeInformation; Stop-Transcript
Return all available object properties for inspection. Base task: Export the output of Add-Content for documentation or review.
Add-Content C:\Temp\status.txt "Completed" | Export-Csv .\output.csv -NoTypeInformation | Select-Object *
Convert returned objects into JSON for APIs or automation. Base task: Export the output of Add-Content for documentation or review.
Add-Content C:\Temp\status.txt "Completed" | Export-Csv .\output.csv -NoTypeInformation | ConvertTo-Json -Depth 6
Save formatted output to a UTF-8 text file. Base task: Export the output of Add-Content for documentation or review.
Add-Content C:\Temp\status.txt "Completed" | Export-Csv .\output.csv -NoTypeInformation | Out-File -FilePath .\command-results.txt -Encoding utf8
Display all returned properties in a readable list. Base task: Export the output of Select-String for documentation or review.
Select-String -Path C:\Logs\*.log -Pattern "error" | Export-Csv .\output.csv -NoTypeInformation | Format-List *
Export returned objects to a CSV file for reporting. Base task: Export the output of Select-String for documentation or review.
Select-String -Path C:\Logs\*.log -Pattern "error" | Export-Csv .\output.csv -NoTypeInformation | Export-Csv -Path .\command-results.csv -NoTypeInformation
Measure how long the command takes to complete. Base task: Export the output of Select-String for documentation or review.
Measure-Command { Select-String -Path C:\Logs\*.log -Pattern "error" | Export-Csv .\output.csv -NoTypeInformation }
Run the command with terminating error handling. Base task: Export the output of Select-String for documentation or review.
try { Select-String -Path C:\Logs\*.log -Pattern "error" | Export-Csv .\output.csv -NoTypeInformation -ErrorAction Stop } catch { Write-Error $_.Exception.Message }
Capture the command and console output in a transcript log. Base task: Export the output of Select-String for documentation or review.
Start-Transcript -Path .\command-session.log; Select-String -Path C:\Logs\*.log -Pattern "error" | Export-Csv .\output.csv -NoTypeInformation; Stop-Transcript
Return all available object properties for inspection. Base task: Export the output of Select-String for documentation or review.
Select-String -Path C:\Logs\*.log -Pattern "error" | Export-Csv .\output.csv -NoTypeInformation | Select-Object *
Convert returned objects into JSON for APIs or automation. Base task: Export the output of Select-String for documentation or review.
Select-String -Path C:\Logs\*.log -Pattern "error" | Export-Csv .\output.csv -NoTypeInformation | ConvertTo-Json -Depth 6
Save formatted output to a UTF-8 text file. Base task: Export the output of Select-String for documentation or review.
Select-String -Path C:\Logs\*.log -Pattern "error" | Export-Csv .\output.csv -NoTypeInformation | Out-File -FilePath .\command-results.txt -Encoding utf8
Display all returned properties in a readable list. Base task: Export the output of Export-Csv for documentation or review.
Get-Process | Export-Csv processes.csv -NoTypeInformation | Export-Csv .\output.csv -NoTypeInformation | Format-List *
Export returned objects to a CSV file for reporting. Base task: Export the output of Export-Csv for documentation or review.
Get-Process | Export-Csv processes.csv -NoTypeInformation | Export-Csv .\output.csv -NoTypeInformation | Export-Csv -Path .\command-results.csv -NoTypeInformation
Measure how long the command takes to complete. Base task: Export the output of Export-Csv for documentation or review.
Measure-Command { Get-Process | Export-Csv processes.csv -NoTypeInformation | Export-Csv .\output.csv -NoTypeInformation }
Run the command with terminating error handling. Base task: Export the output of Export-Csv for documentation or review.
try { Get-Process | Export-Csv processes.csv -NoTypeInformation | Export-Csv .\output.csv -NoTypeInformation -ErrorAction Stop } catch { Write-Error $_.Exception.Message }
Capture the command and console output in a transcript log. Base task: Export the output of Export-Csv for documentation or review.
Start-Transcript -Path .\command-session.log; Get-Process | Export-Csv processes.csv -NoTypeInformation | Export-Csv .\output.csv -NoTypeInformation; Stop-Transcript
Return all available object properties for inspection. Base task: Export the output of Export-Csv for documentation or review.
Get-Process | Export-Csv processes.csv -NoTypeInformation | Export-Csv .\output.csv -NoTypeInformation | Select-Object *
Convert returned objects into JSON for APIs or automation. Base task: Export the output of Export-Csv for documentation or review.
Get-Process | Export-Csv processes.csv -NoTypeInformation | Export-Csv .\output.csv -NoTypeInformation | ConvertTo-Json -Depth 6
Save formatted output to a UTF-8 text file. Base task: Export the output of Export-Csv for documentation or review.
Get-Process | Export-Csv processes.csv -NoTypeInformation | Export-Csv .\output.csv -NoTypeInformation | Out-File -FilePath .\command-results.txt -Encoding utf8
Display all returned properties in a readable list. Base task: Export the output of Import-Csv for documentation or review.
Import-Csv users.csv | Export-Csv .\output.csv -NoTypeInformation | Format-List *
Export returned objects to a CSV file for reporting. Base task: Export the output of Import-Csv for documentation or review.
Import-Csv users.csv | Export-Csv .\output.csv -NoTypeInformation | Export-Csv -Path .\command-results.csv -NoTypeInformation
Measure how long the command takes to complete. Base task: Export the output of Import-Csv for documentation or review.
Measure-Command { Import-Csv users.csv | Export-Csv .\output.csv -NoTypeInformation }
Run the command with terminating error handling. Base task: Export the output of Import-Csv for documentation or review.
try { Import-Csv users.csv | Export-Csv .\output.csv -NoTypeInformation -ErrorAction Stop } catch { Write-Error $_.Exception.Message }
Capture the command and console output in a transcript log. Base task: Export the output of Import-Csv for documentation or review.
Start-Transcript -Path .\command-session.log; Import-Csv users.csv | Export-Csv .\output.csv -NoTypeInformation; Stop-Transcript
Return all available object properties for inspection. Base task: Export the output of Import-Csv for documentation or review.
Import-Csv users.csv | Export-Csv .\output.csv -NoTypeInformation | Select-Object *
Convert returned objects into JSON for APIs or automation. Base task: Export the output of Import-Csv for documentation or review.
Import-Csv users.csv | Export-Csv .\output.csv -NoTypeInformation | ConvertTo-Json -Depth 6
Save formatted output to a UTF-8 text file. Base task: Export the output of Import-Csv for documentation or review.
Import-Csv users.csv | Export-Csv .\output.csv -NoTypeInformation | Out-File -FilePath .\command-results.txt -Encoding utf8
Display all returned properties in a readable list. Base task: Export the output of ConvertTo-Json for documentation or review.
Get-Service | ConvertTo-Json -Depth 3 | Export-Csv .\output.csv -NoTypeInformation | Format-List *
Export returned objects to a CSV file for reporting. Base task: Export the output of ConvertTo-Json for documentation or review.
Get-Service | ConvertTo-Json -Depth 3 | Export-Csv .\output.csv -NoTypeInformation | Export-Csv -Path .\command-results.csv -NoTypeInformation
Measure how long the command takes to complete. Base task: Export the output of ConvertTo-Json for documentation or review.
Measure-Command { Get-Service | ConvertTo-Json -Depth 3 | Export-Csv .\output.csv -NoTypeInformation }
Run the command with terminating error handling. Base task: Export the output of ConvertTo-Json for documentation or review.
try { Get-Service | ConvertTo-Json -Depth 3 | Export-Csv .\output.csv -NoTypeInformation -ErrorAction Stop } catch { Write-Error $_.Exception.Message }
Capture the command and console output in a transcript log. Base task: Export the output of ConvertTo-Json for documentation or review.
Start-Transcript -Path .\command-session.log; Get-Service | ConvertTo-Json -Depth 3 | Export-Csv .\output.csv -NoTypeInformation; Stop-Transcript
Return all available object properties for inspection. Base task: Export the output of ConvertTo-Json for documentation or review.
Get-Service | ConvertTo-Json -Depth 3 | Export-Csv .\output.csv -NoTypeInformation | Select-Object *
Convert returned objects into JSON for APIs or automation. Base task: Export the output of ConvertTo-Json for documentation or review.
Get-Service | ConvertTo-Json -Depth 3 | Export-Csv .\output.csv -NoTypeInformation | ConvertTo-Json -Depth 6
Save formatted output to a UTF-8 text file. Base task: Export the output of ConvertTo-Json for documentation or review.
Get-Service | ConvertTo-Json -Depth 3 | Export-Csv .\output.csv -NoTypeInformation | Out-File -FilePath .\command-results.txt -Encoding utf8
Display all returned properties in a readable list. Base task: Export the output of Invoke-RestMethod for documentation or review.
Invoke-RestMethod https://api.example.com/status | Export-Csv .\output.csv -NoTypeInformation | Format-List *
Export returned objects to a CSV file for reporting. Base task: Export the output of Invoke-RestMethod for documentation or review.
Invoke-RestMethod https://api.example.com/status | Export-Csv .\output.csv -NoTypeInformation | Export-Csv -Path .\command-results.csv -NoTypeInformation
Measure how long the command takes to complete. Base task: Export the output of Invoke-RestMethod for documentation or review.
Measure-Command { Invoke-RestMethod https://api.example.com/status | Export-Csv .\output.csv -NoTypeInformation }
Run the command with terminating error handling. Base task: Export the output of Invoke-RestMethod for documentation or review.
try { Invoke-RestMethod https://api.example.com/status | Export-Csv .\output.csv -NoTypeInformation -ErrorAction Stop } catch { Write-Error $_.Exception.Message }
Capture the command and console output in a transcript log. Base task: Export the output of Invoke-RestMethod for documentation or review.
Start-Transcript -Path .\command-session.log; Invoke-RestMethod https://api.example.com/status | Export-Csv .\output.csv -NoTypeInformation; Stop-Transcript
Return all available object properties for inspection. Base task: Export the output of Invoke-RestMethod for documentation or review.
Invoke-RestMethod https://api.example.com/status | Export-Csv .\output.csv -NoTypeInformation | Select-Object *
Convert returned objects into JSON for APIs or automation. Base task: Export the output of Invoke-RestMethod for documentation or review.
Invoke-RestMethod https://api.example.com/status | Export-Csv .\output.csv -NoTypeInformation | ConvertTo-Json -Depth 6
Save formatted output to a UTF-8 text file. Base task: Export the output of Invoke-RestMethod for documentation or review.
Invoke-RestMethod https://api.example.com/status | Export-Csv .\output.csv -NoTypeInformation | Out-File -FilePath .\command-results.txt -Encoding utf8
Display all returned properties in a readable list. Base task: Export the output of Invoke-WebRequest for documentation or review.
Invoke-WebRequest https://example.com | Export-Csv .\output.csv -NoTypeInformation | Format-List *
Export returned objects to a CSV file for reporting. Base task: Export the output of Invoke-WebRequest for documentation or review.
Invoke-WebRequest https://example.com | Export-Csv .\output.csv -NoTypeInformation | Export-Csv -Path .\command-results.csv -NoTypeInformation
Measure how long the command takes to complete. Base task: Export the output of Invoke-WebRequest for documentation or review.
Measure-Command { Invoke-WebRequest https://example.com | Export-Csv .\output.csv -NoTypeInformation }
Run the command with terminating error handling. Base task: Export the output of Invoke-WebRequest for documentation or review.
try { Invoke-WebRequest https://example.com | Export-Csv .\output.csv -NoTypeInformation -ErrorAction Stop } catch { Write-Error $_.Exception.Message }
Capture the command and console output in a transcript log. Base task: Export the output of Invoke-WebRequest for documentation or review.
Start-Transcript -Path .\command-session.log; Invoke-WebRequest https://example.com | Export-Csv .\output.csv -NoTypeInformation; Stop-Transcript
Return all available object properties for inspection. Base task: Export the output of Invoke-WebRequest for documentation or review.
Invoke-WebRequest https://example.com | Export-Csv .\output.csv -NoTypeInformation | Select-Object *
Convert returned objects into JSON for APIs or automation. Base task: Export the output of Invoke-WebRequest for documentation or review.
Invoke-WebRequest https://example.com | Export-Csv .\output.csv -NoTypeInformation | ConvertTo-Json -Depth 6
Save formatted output to a UTF-8 text file. Base task: Export the output of Invoke-WebRequest for documentation or review.
Invoke-WebRequest https://example.com | Export-Csv .\output.csv -NoTypeInformation | Out-File -FilePath .\command-results.txt -Encoding utf8
Display all returned properties in a readable list. Base task: Export the output of Get-ScheduledTask for documentation or review.
Get-ScheduledTask | Export-Csv .\output.csv -NoTypeInformation | Format-List *
Export returned objects to a CSV file for reporting. Base task: Export the output of Get-ScheduledTask for documentation or review.
Get-ScheduledTask | Export-Csv .\output.csv -NoTypeInformation | Export-Csv -Path .\command-results.csv -NoTypeInformation
Measure how long the command takes to complete. Base task: Export the output of Get-ScheduledTask for documentation or review.
Measure-Command { Get-ScheduledTask | Export-Csv .\output.csv -NoTypeInformation }
Run the command with terminating error handling. Base task: Export the output of Get-ScheduledTask for documentation or review.
try { Get-ScheduledTask | Export-Csv .\output.csv -NoTypeInformation -ErrorAction Stop } catch { Write-Error $_.Exception.Message }
Capture the command and console output in a transcript log. Base task: Export the output of Get-ScheduledTask for documentation or review.
Start-Transcript -Path .\command-session.log; Get-ScheduledTask | Export-Csv .\output.csv -NoTypeInformation; Stop-Transcript
Return all available object properties for inspection. Base task: Export the output of Get-ScheduledTask for documentation or review.
Get-ScheduledTask | Export-Csv .\output.csv -NoTypeInformation | Select-Object *
Convert returned objects into JSON for APIs or automation. Base task: Export the output of Get-ScheduledTask for documentation or review.
Get-ScheduledTask | Export-Csv .\output.csv -NoTypeInformation | ConvertTo-Json -Depth 6
Save formatted output to a UTF-8 text file. Base task: Export the output of Get-ScheduledTask for documentation or review.
Get-ScheduledTask | Export-Csv .\output.csv -NoTypeInformation | Out-File -FilePath .\command-results.txt -Encoding utf8
Display all returned properties in a readable list. Base task: Export the output of Start-ScheduledTask for documentation or review.
Start-ScheduledTask -TaskName "Daily Backup" | Export-Csv .\output.csv -NoTypeInformation | Format-List *
Export returned objects to a CSV file for reporting. Base task: Export the output of Start-ScheduledTask for documentation or review.
Start-ScheduledTask -TaskName "Daily Backup" | Export-Csv .\output.csv -NoTypeInformation | Export-Csv -Path .\command-results.csv -NoTypeInformation
Measure how long the command takes to complete. Base task: Export the output of Start-ScheduledTask for documentation or review.
Measure-Command { Start-ScheduledTask -TaskName "Daily Backup" | Export-Csv .\output.csv -NoTypeInformation }
Run the command with terminating error handling. Base task: Export the output of Start-ScheduledTask for documentation or review.
try { Start-ScheduledTask -TaskName "Daily Backup" | Export-Csv .\output.csv -NoTypeInformation -ErrorAction Stop } catch { Write-Error $_.Exception.Message }
Capture the command and console output in a transcript log. Base task: Export the output of Start-ScheduledTask for documentation or review.
Start-Transcript -Path .\command-session.log; Start-ScheduledTask -TaskName "Daily Backup" | Export-Csv .\output.csv -NoTypeInformation; Stop-Transcript
Return all available object properties for inspection. Base task: Export the output of Start-ScheduledTask for documentation or review.
Start-ScheduledTask -TaskName "Daily Backup" | Export-Csv .\output.csv -NoTypeInformation | Select-Object *
Convert returned objects into JSON for APIs or automation. Base task: Export the output of Start-ScheduledTask for documentation or review.
Start-ScheduledTask -TaskName "Daily Backup" | Export-Csv .\output.csv -NoTypeInformation | ConvertTo-Json -Depth 6
Save formatted output to a UTF-8 text file. Base task: Export the output of Start-ScheduledTask for documentation or review.
Start-ScheduledTask -TaskName "Daily Backup" | Export-Csv .\output.csv -NoTypeInformation | Out-File -FilePath .\command-results.txt -Encoding utf8
Display all returned properties in a readable list. Base task: Export the output of Get-LocalUser for documentation or review.
Get-LocalUser | Export-Csv .\output.csv -NoTypeInformation | Format-List *
Export returned objects to a CSV file for reporting. Base task: Export the output of Get-LocalUser for documentation or review.
Get-LocalUser | Export-Csv .\output.csv -NoTypeInformation | Export-Csv -Path .\command-results.csv -NoTypeInformation
Measure how long the command takes to complete. Base task: Export the output of Get-LocalUser for documentation or review.
Measure-Command { Get-LocalUser | Export-Csv .\output.csv -NoTypeInformation }
Run the command with terminating error handling. Base task: Export the output of Get-LocalUser for documentation or review.
try { Get-LocalUser | Export-Csv .\output.csv -NoTypeInformation -ErrorAction Stop } catch { Write-Error $_.Exception.Message }
Capture the command and console output in a transcript log. Base task: Export the output of Get-LocalUser for documentation or review.
Start-Transcript -Path .\command-session.log; Get-LocalUser | Export-Csv .\output.csv -NoTypeInformation; Stop-Transcript
Return all available object properties for inspection. Base task: Export the output of Get-LocalUser for documentation or review.
Get-LocalUser | Export-Csv .\output.csv -NoTypeInformation | Select-Object *
Convert returned objects into JSON for APIs or automation. Base task: Export the output of Get-LocalUser for documentation or review.
Get-LocalUser | Export-Csv .\output.csv -NoTypeInformation | ConvertTo-Json -Depth 6
Save formatted output to a UTF-8 text file. Base task: Export the output of Get-LocalUser for documentation or review.
Get-LocalUser | Export-Csv .\output.csv -NoTypeInformation | Out-File -FilePath .\command-results.txt -Encoding utf8
Display all returned properties in a readable list. Base task: Export the output of New-LocalUser for documentation or review.
New-LocalUser -Name helpdesk -Password (Read-Host -AsSecureString) | Export-Csv .\output.csv -NoTypeInformation | Format-List *
Export returned objects to a CSV file for reporting. Base task: Export the output of New-LocalUser for documentation or review.
New-LocalUser -Name helpdesk -Password (Read-Host -AsSecureString) | Export-Csv .\output.csv -NoTypeInformation | Export-Csv -Path .\command-results.csv -NoTypeInformation
Measure how long the command takes to complete. Base task: Export the output of New-LocalUser for documentation or review.
Measure-Command { New-LocalUser -Name helpdesk -Password (Read-Host -AsSecureString) | Export-Csv .\output.csv -NoTypeInformation }
Run the command with terminating error handling. Base task: Export the output of New-LocalUser for documentation or review.
try { New-LocalUser -Name helpdesk -Password (Read-Host -AsSecureString) | Export-Csv .\output.csv -NoTypeInformation -ErrorAction Stop } catch { Write-Error $_.Exception.Message }
Capture the command and console output in a transcript log. Base task: Export the output of New-LocalUser for documentation or review.
Start-Transcript -Path .\command-session.log; New-LocalUser -Name helpdesk -Password (Read-Host -AsSecureString) | Export-Csv .\output.csv -NoTypeInformation; Stop-Transcript
Return all available object properties for inspection. Base task: Export the output of New-LocalUser for documentation or review.
New-LocalUser -Name helpdesk -Password (Read-Host -AsSecureString) | Export-Csv .\output.csv -NoTypeInformation | Select-Object *
Convert returned objects into JSON for APIs or automation. Base task: Export the output of New-LocalUser for documentation or review.
New-LocalUser -Name helpdesk -Password (Read-Host -AsSecureString) | Export-Csv .\output.csv -NoTypeInformation | ConvertTo-Json -Depth 6
Save formatted output to a UTF-8 text file. Base task: Export the output of New-LocalUser for documentation or review.
New-LocalUser -Name helpdesk -Password (Read-Host -AsSecureString) | Export-Csv .\output.csv -NoTypeInformation | Out-File -FilePath .\command-results.txt -Encoding utf8
Display all returned properties in a readable list. Base task: Export the output of Get-LocalGroupMember for documentation or review.
Get-LocalGroupMember Administrators | Export-Csv .\output.csv -NoTypeInformation | Format-List *
Export returned objects to a CSV file for reporting. Base task: Export the output of Get-LocalGroupMember for documentation or review.
Get-LocalGroupMember Administrators | Export-Csv .\output.csv -NoTypeInformation | Export-Csv -Path .\command-results.csv -NoTypeInformation
Measure how long the command takes to complete. Base task: Export the output of Get-LocalGroupMember for documentation or review.
Measure-Command { Get-LocalGroupMember Administrators | Export-Csv .\output.csv -NoTypeInformation }
Run the command with terminating error handling. Base task: Export the output of Get-LocalGroupMember for documentation or review.
try { Get-LocalGroupMember Administrators | Export-Csv .\output.csv -NoTypeInformation -ErrorAction Stop } catch { Write-Error $_.Exception.Message }
Capture the command and console output in a transcript log. Base task: Export the output of Get-LocalGroupMember for documentation or review.
Start-Transcript -Path .\command-session.log; Get-LocalGroupMember Administrators | Export-Csv .\output.csv -NoTypeInformation; Stop-Transcript
Return all available object properties for inspection. Base task: Export the output of Get-LocalGroupMember for documentation or review.
Get-LocalGroupMember Administrators | Export-Csv .\output.csv -NoTypeInformation | Select-Object *
Convert returned objects into JSON for APIs or automation. Base task: Export the output of Get-LocalGroupMember for documentation or review.
Get-LocalGroupMember Administrators | Export-Csv .\output.csv -NoTypeInformation | ConvertTo-Json -Depth 6
Save formatted output to a UTF-8 text file. Base task: Export the output of Get-LocalGroupMember for documentation or review.
Get-LocalGroupMember Administrators | Export-Csv .\output.csv -NoTypeInformation | Out-File -FilePath .\command-results.txt -Encoding utf8
Display all returned properties in a readable list. Base task: Export the output of Add-LocalGroupMember for documentation or review.
Add-LocalGroupMember -Group Administrators -Member helpdesk | Export-Csv .\output.csv -NoTypeInformation | Format-List *
Export returned objects to a CSV file for reporting. Base task: Export the output of Add-LocalGroupMember for documentation or review.
Add-LocalGroupMember -Group Administrators -Member helpdesk | Export-Csv .\output.csv -NoTypeInformation | Export-Csv -Path .\command-results.csv -NoTypeInformation
Measure how long the command takes to complete. Base task: Export the output of Add-LocalGroupMember for documentation or review.
Measure-Command { Add-LocalGroupMember -Group Administrators -Member helpdesk | Export-Csv .\output.csv -NoTypeInformation }
Run the command with terminating error handling. Base task: Export the output of Add-LocalGroupMember for documentation or review.
try { Add-LocalGroupMember -Group Administrators -Member helpdesk | Export-Csv .\output.csv -NoTypeInformation -ErrorAction Stop } catch { Write-Error $_.Exception.Message }
Capture the command and console output in a transcript log. Base task: Export the output of Add-LocalGroupMember for documentation or review.
Start-Transcript -Path .\command-session.log; Add-LocalGroupMember -Group Administrators -Member helpdesk | Export-Csv .\output.csv -NoTypeInformation; Stop-Transcript
Return all available object properties for inspection. Base task: Export the output of Add-LocalGroupMember for documentation or review.
Add-LocalGroupMember -Group Administrators -Member helpdesk | Export-Csv .\output.csv -NoTypeInformation | Select-Object *
Convert returned objects into JSON for APIs or automation. Base task: Export the output of Add-LocalGroupMember for documentation or review.
Add-LocalGroupMember -Group Administrators -Member helpdesk | Export-Csv .\output.csv -NoTypeInformation | ConvertTo-Json -Depth 6
Save formatted output to a UTF-8 text file. Base task: Export the output of Add-LocalGroupMember for documentation or review.
Add-LocalGroupMember -Group Administrators -Member helpdesk | Export-Csv .\output.csv -NoTypeInformation | Out-File -FilePath .\command-results.txt -Encoding utf8
Display all returned properties in a readable list. Base task: Export the output of Get-HotFix for documentation or review.
Get-HotFix | Export-Csv .\output.csv -NoTypeInformation | Format-List *
Export returned objects to a CSV file for reporting. Base task: Export the output of Get-HotFix for documentation or review.
Get-HotFix | Export-Csv .\output.csv -NoTypeInformation | Export-Csv -Path .\command-results.csv -NoTypeInformation
Measure how long the command takes to complete. Base task: Export the output of Get-HotFix for documentation or review.
Measure-Command { Get-HotFix | Export-Csv .\output.csv -NoTypeInformation }
Run the command with terminating error handling. Base task: Export the output of Get-HotFix for documentation or review.
try { Get-HotFix | Export-Csv .\output.csv -NoTypeInformation -ErrorAction Stop } catch { Write-Error $_.Exception.Message }
Capture the command and console output in a transcript log. Base task: Export the output of Get-HotFix for documentation or review.
Start-Transcript -Path .\command-session.log; Get-HotFix | Export-Csv .\output.csv -NoTypeInformation; Stop-Transcript
Return all available object properties for inspection. Base task: Export the output of Get-HotFix for documentation or review.
Get-HotFix | Export-Csv .\output.csv -NoTypeInformation | Select-Object *
Convert returned objects into JSON for APIs or automation. Base task: Export the output of Get-HotFix for documentation or review.
Get-HotFix | Export-Csv .\output.csv -NoTypeInformation | ConvertTo-Json -Depth 6
Save formatted output to a UTF-8 text file. Base task: Export the output of Get-HotFix for documentation or review.
Get-HotFix | Export-Csv .\output.csv -NoTypeInformation | Out-File -FilePath .\command-results.txt -Encoding utf8
Display all returned properties in a readable list. Base task: Export the output of Get-WindowsOptionalFeature for documentation or review.
Get-WindowsOptionalFeature -Online | Export-Csv .\output.csv -NoTypeInformation | Format-List *
Export returned objects to a CSV file for reporting. Base task: Export the output of Get-WindowsOptionalFeature for documentation or review.
Get-WindowsOptionalFeature -Online | Export-Csv .\output.csv -NoTypeInformation | Export-Csv -Path .\command-results.csv -NoTypeInformation
Measure how long the command takes to complete. Base task: Export the output of Get-WindowsOptionalFeature for documentation or review.
Measure-Command { Get-WindowsOptionalFeature -Online | Export-Csv .\output.csv -NoTypeInformation }
Run the command with terminating error handling. Base task: Export the output of Get-WindowsOptionalFeature for documentation or review.
try { Get-WindowsOptionalFeature -Online | Export-Csv .\output.csv -NoTypeInformation -ErrorAction Stop } catch { Write-Error $_.Exception.Message }
Capture the command and console output in a transcript log. Base task: Export the output of Get-WindowsOptionalFeature for documentation or review.
Start-Transcript -Path .\command-session.log; Get-WindowsOptionalFeature -Online | Export-Csv .\output.csv -NoTypeInformation; Stop-Transcript
Return all available object properties for inspection. Base task: Export the output of Get-WindowsOptionalFeature for documentation or review.
Get-WindowsOptionalFeature -Online | Export-Csv .\output.csv -NoTypeInformation | Select-Object *
Convert returned objects into JSON for APIs or automation. Base task: Export the output of Get-WindowsOptionalFeature for documentation or review.
Get-WindowsOptionalFeature -Online | Export-Csv .\output.csv -NoTypeInformation | ConvertTo-Json -Depth 6
Save formatted output to a UTF-8 text file. Base task: Export the output of Get-WindowsOptionalFeature for documentation or review.
Get-WindowsOptionalFeature -Online | Export-Csv .\output.csv -NoTypeInformation | Out-File -FilePath .\command-results.txt -Encoding utf8
Display all returned properties in a readable list. Base task: Export the output of Enable-WindowsOptionalFeature for documentation or review.
Enable-WindowsOptionalFeature -Online -FeatureName IIS-WebServerRole | Export-Csv .\output.csv -NoTypeInformation | Format-List *
Export returned objects to a CSV file for reporting. Base task: Export the output of Enable-WindowsOptionalFeature for documentation or review.
Enable-WindowsOptionalFeature -Online -FeatureName IIS-WebServerRole | Export-Csv .\output.csv -NoTypeInformation | Export-Csv -Path .\command-results.csv -NoTypeInformation
Measure how long the command takes to complete. Base task: Export the output of Enable-WindowsOptionalFeature for documentation or review.
Measure-Command { Enable-WindowsOptionalFeature -Online -FeatureName IIS-WebServerRole | Export-Csv .\output.csv -NoTypeInformation }
Run the command with terminating error handling. Base task: Export the output of Enable-WindowsOptionalFeature for documentation or review.
try { Enable-WindowsOptionalFeature -Online -FeatureName IIS-WebServerRole | Export-Csv .\output.csv -NoTypeInformation -ErrorAction Stop } catch { Write-Error $_.Exception.Message }
Capture the command and console output in a transcript log. Base task: Export the output of Enable-WindowsOptionalFeature for documentation or review.
Start-Transcript -Path .\command-session.log; Enable-WindowsOptionalFeature -Online -FeatureName IIS-WebServerRole | Export-Csv .\output.csv -NoTypeInformation; Stop-Transcript
Return all available object properties for inspection. Base task: Export the output of Enable-WindowsOptionalFeature for documentation or review.
Enable-WindowsOptionalFeature -Online -FeatureName IIS-WebServerRole | Export-Csv .\output.csv -NoTypeInformation | Select-Object *
Convert returned objects into JSON for APIs or automation. Base task: Export the output of Enable-WindowsOptionalFeature for documentation or review.
Enable-WindowsOptionalFeature -Online -FeatureName IIS-WebServerRole | Export-Csv .\output.csv -NoTypeInformation | ConvertTo-Json -Depth 6
Save formatted output to a UTF-8 text file. Base task: Export the output of Enable-WindowsOptionalFeature for documentation or review.
Enable-WindowsOptionalFeature -Online -FeatureName IIS-WebServerRole | Export-Csv .\output.csv -NoTypeInformation | Out-File -FilePath .\command-results.txt -Encoding utf8
Display all returned properties in a readable list. Base task: Export the output of Get-Volume for documentation or review.
Get-Volume | Export-Csv .\output.csv -NoTypeInformation | Format-List *
Export returned objects to a CSV file for reporting. Base task: Export the output of Get-Volume for documentation or review.
Get-Volume | Export-Csv .\output.csv -NoTypeInformation | Export-Csv -Path .\command-results.csv -NoTypeInformation
Measure how long the command takes to complete. Base task: Export the output of Get-Volume for documentation or review.
Measure-Command { Get-Volume | Export-Csv .\output.csv -NoTypeInformation }
Run the command with terminating error handling. Base task: Export the output of Get-Volume for documentation or review.
try { Get-Volume | Export-Csv .\output.csv -NoTypeInformation -ErrorAction Stop } catch { Write-Error $_.Exception.Message }
Capture the command and console output in a transcript log. Base task: Export the output of Get-Volume for documentation or review.
Start-Transcript -Path .\command-session.log; Get-Volume | Export-Csv .\output.csv -NoTypeInformation; Stop-Transcript
Return all available object properties for inspection. Base task: Export the output of Get-Volume for documentation or review.
Get-Volume | Export-Csv .\output.csv -NoTypeInformation | Select-Object *
Convert returned objects into JSON for APIs or automation. Base task: Export the output of Get-Volume for documentation or review.
Get-Volume | Export-Csv .\output.csv -NoTypeInformation | ConvertTo-Json -Depth 6
Save formatted output to a UTF-8 text file. Base task: Export the output of Get-Volume for documentation or review.
Get-Volume | Export-Csv .\output.csv -NoTypeInformation | Out-File -FilePath .\command-results.txt -Encoding utf8
Display all returned properties in a readable list. Base task: Export the output of Get-Disk for documentation or review.
Get-Disk | Export-Csv .\output.csv -NoTypeInformation | Format-List *
Export returned objects to a CSV file for reporting. Base task: Export the output of Get-Disk for documentation or review.
Get-Disk | Export-Csv .\output.csv -NoTypeInformation | Export-Csv -Path .\command-results.csv -NoTypeInformation
Measure how long the command takes to complete. Base task: Export the output of Get-Disk for documentation or review.
Measure-Command { Get-Disk | Export-Csv .\output.csv -NoTypeInformation }
Run the command with terminating error handling. Base task: Export the output of Get-Disk for documentation or review.
try { Get-Disk | Export-Csv .\output.csv -NoTypeInformation -ErrorAction Stop } catch { Write-Error $_.Exception.Message }
Capture the command and console output in a transcript log. Base task: Export the output of Get-Disk for documentation or review.
Start-Transcript -Path .\command-session.log; Get-Disk | Export-Csv .\output.csv -NoTypeInformation; Stop-Transcript
Return all available object properties for inspection. Base task: Export the output of Get-Disk for documentation or review.
Get-Disk | Export-Csv .\output.csv -NoTypeInformation | Select-Object *
Convert returned objects into JSON for APIs or automation. Base task: Export the output of Get-Disk for documentation or review.
Get-Disk | Export-Csv .\output.csv -NoTypeInformation | ConvertTo-Json -Depth 6
Save formatted output to a UTF-8 text file. Base task: Export the output of Get-Disk for documentation or review.
Get-Disk | Export-Csv .\output.csv -NoTypeInformation | Out-File -FilePath .\command-results.txt -Encoding utf8
Display all returned properties in a readable list. Base task: Export the output of Get-Partition for documentation or review.
Get-Partition | Export-Csv .\output.csv -NoTypeInformation | Format-List *
Export returned objects to a CSV file for reporting. Base task: Export the output of Get-Partition for documentation or review.
Get-Partition | Export-Csv .\output.csv -NoTypeInformation | Export-Csv -Path .\command-results.csv -NoTypeInformation
Measure how long the command takes to complete. Base task: Export the output of Get-Partition for documentation or review.
Measure-Command { Get-Partition | Export-Csv .\output.csv -NoTypeInformation }
Run the command with terminating error handling. Base task: Export the output of Get-Partition for documentation or review.
try { Get-Partition | Export-Csv .\output.csv -NoTypeInformation -ErrorAction Stop } catch { Write-Error $_.Exception.Message }
Capture the command and console output in a transcript log. Base task: Export the output of Get-Partition for documentation or review.
Start-Transcript -Path .\command-session.log; Get-Partition | Export-Csv .\output.csv -NoTypeInformation; Stop-Transcript
Return all available object properties for inspection. Base task: Export the output of Get-Partition for documentation or review.
Get-Partition | Export-Csv .\output.csv -NoTypeInformation | Select-Object *
Convert returned objects into JSON for APIs or automation. Base task: Export the output of Get-Partition for documentation or review.
Get-Partition | Export-Csv .\output.csv -NoTypeInformation | ConvertTo-Json -Depth 6
Save formatted output to a UTF-8 text file. Base task: Export the output of Get-Partition for documentation or review.
Get-Partition | Export-Csv .\output.csv -NoTypeInformation | Out-File -FilePath .\command-results.txt -Encoding utf8
Display all returned properties in a readable list. Base task: Export the output of Get-SmbShare for documentation or review.
Get-SmbShare | Export-Csv .\output.csv -NoTypeInformation | Format-List *
Export returned objects to a CSV file for reporting. Base task: Export the output of Get-SmbShare for documentation or review.
Get-SmbShare | Export-Csv .\output.csv -NoTypeInformation | Export-Csv -Path .\command-results.csv -NoTypeInformation
Measure how long the command takes to complete. Base task: Export the output of Get-SmbShare for documentation or review.
Measure-Command { Get-SmbShare | Export-Csv .\output.csv -NoTypeInformation }
Run the command with terminating error handling. Base task: Export the output of Get-SmbShare for documentation or review.
try { Get-SmbShare | Export-Csv .\output.csv -NoTypeInformation -ErrorAction Stop } catch { Write-Error $_.Exception.Message }
Capture the command and console output in a transcript log. Base task: Export the output of Get-SmbShare for documentation or review.
Start-Transcript -Path .\command-session.log; Get-SmbShare | Export-Csv .\output.csv -NoTypeInformation; Stop-Transcript
Return all available object properties for inspection. Base task: Export the output of Get-SmbShare for documentation or review.
Get-SmbShare | Export-Csv .\output.csv -NoTypeInformation | Select-Object *
Convert returned objects into JSON for APIs or automation. Base task: Export the output of Get-SmbShare for documentation or review.
Get-SmbShare | Export-Csv .\output.csv -NoTypeInformation | ConvertTo-Json -Depth 6
Save formatted output to a UTF-8 text file. Base task: Export the output of Get-SmbShare for documentation or review.
Get-SmbShare | Export-Csv .\output.csv -NoTypeInformation | Out-File -FilePath .\command-results.txt -Encoding utf8
Display all returned properties in a readable list. Base task: Export the output of New-SmbShare for documentation or review.
New-SmbShare -Name Data -Path D:\Data -FullAccess Administrators | Export-Csv .\output.csv -NoTypeInformation | Format-List *
Export returned objects to a CSV file for reporting. Base task: Export the output of New-SmbShare for documentation or review.
New-SmbShare -Name Data -Path D:\Data -FullAccess Administrators | Export-Csv .\output.csv -NoTypeInformation | Export-Csv -Path .\command-results.csv -NoTypeInformation
Measure how long the command takes to complete. Base task: Export the output of New-SmbShare for documentation or review.
Measure-Command { New-SmbShare -Name Data -Path D:\Data -FullAccess Administrators | Export-Csv .\output.csv -NoTypeInformation }
Run the command with terminating error handling. Base task: Export the output of New-SmbShare for documentation or review.
try { New-SmbShare -Name Data -Path D:\Data -FullAccess Administrators | Export-Csv .\output.csv -NoTypeInformation -ErrorAction Stop } catch { Write-Error $_.Exception.Message }
Capture the command and console output in a transcript log. Base task: Export the output of New-SmbShare for documentation or review.
Start-Transcript -Path .\command-session.log; New-SmbShare -Name Data -Path D:\Data -FullAccess Administrators | Export-Csv .\output.csv -NoTypeInformation; Stop-Transcript
Return all available object properties for inspection. Base task: Export the output of New-SmbShare for documentation or review.
New-SmbShare -Name Data -Path D:\Data -FullAccess Administrators | Export-Csv .\output.csv -NoTypeInformation | Select-Object *
Convert returned objects into JSON for APIs or automation. Base task: Export the output of New-SmbShare for documentation or review.
New-SmbShare -Name Data -Path D:\Data -FullAccess Administrators | Export-Csv .\output.csv -NoTypeInformation | ConvertTo-Json -Depth 6
Save formatted output to a UTF-8 text file. Base task: Export the output of New-SmbShare for documentation or review.
New-SmbShare -Name Data -Path D:\Data -FullAccess Administrators | Export-Csv .\output.csv -NoTypeInformation | Out-File -FilePath .\command-results.txt -Encoding utf8
Display all returned properties in a readable list. Base task: Export the output of Get-FileHash for documentation or review.
Get-FileHash .\installer.exe -Algorithm SHA256 | Export-Csv .\output.csv -NoTypeInformation | Format-List *
Export returned objects to a CSV file for reporting. Base task: Export the output of Get-FileHash for documentation or review.
Get-FileHash .\installer.exe -Algorithm SHA256 | Export-Csv .\output.csv -NoTypeInformation | Export-Csv -Path .\command-results.csv -NoTypeInformation
Measure how long the command takes to complete. Base task: Export the output of Get-FileHash for documentation or review.
Measure-Command { Get-FileHash .\installer.exe -Algorithm SHA256 | Export-Csv .\output.csv -NoTypeInformation }
Run the command with terminating error handling. Base task: Export the output of Get-FileHash for documentation or review.
try { Get-FileHash .\installer.exe -Algorithm SHA256 | Export-Csv .\output.csv -NoTypeInformation -ErrorAction Stop } catch { Write-Error $_.Exception.Message }
Capture the command and console output in a transcript log. Base task: Export the output of Get-FileHash for documentation or review.
Start-Transcript -Path .\command-session.log; Get-FileHash .\installer.exe -Algorithm SHA256 | Export-Csv .\output.csv -NoTypeInformation; Stop-Transcript
Return all available object properties for inspection. Base task: Export the output of Get-FileHash for documentation or review.
Get-FileHash .\installer.exe -Algorithm SHA256 | Export-Csv .\output.csv -NoTypeInformation | Select-Object *
Convert returned objects into JSON for APIs or automation. Base task: Export the output of Get-FileHash for documentation or review.
Get-FileHash .\installer.exe -Algorithm SHA256 | Export-Csv .\output.csv -NoTypeInformation | ConvertTo-Json -Depth 6
Save formatted output to a UTF-8 text file. Base task: Export the output of Get-FileHash for documentation or review.
Get-FileHash .\installer.exe -Algorithm SHA256 | Export-Csv .\output.csv -NoTypeInformation | Out-File -FilePath .\command-results.txt -Encoding utf8
Display all returned properties in a readable list. Base task: Export the output of Measure-Object for documentation or review.
Get-ChildItem C:\Logs | Measure-Object -Property Length -Sum | Export-Csv .\output.csv -NoTypeInformation | Format-List *
Export returned objects to a CSV file for reporting. Base task: Export the output of Measure-Object for documentation or review.
Get-ChildItem C:\Logs | Measure-Object -Property Length -Sum | Export-Csv .\output.csv -NoTypeInformation | Export-Csv -Path .\command-results.csv -NoTypeInformation
Measure how long the command takes to complete. Base task: Export the output of Measure-Object for documentation or review.
Measure-Command { Get-ChildItem C:\Logs | Measure-Object -Property Length -Sum | Export-Csv .\output.csv -NoTypeInformation }
Run the command with terminating error handling. Base task: Export the output of Measure-Object for documentation or review.
try { Get-ChildItem C:\Logs | Measure-Object -Property Length -Sum | Export-Csv .\output.csv -NoTypeInformation -ErrorAction Stop } catch { Write-Error $_.Exception.Message }
Capture the command and console output in a transcript log. Base task: Export the output of Measure-Object for documentation or review.
Start-Transcript -Path .\command-session.log; Get-ChildItem C:\Logs | Measure-Object -Property Length -Sum | Export-Csv .\output.csv -NoTypeInformation; Stop-Transcript
Return all available object properties for inspection. Base task: Export the output of Measure-Object for documentation or review.
Get-ChildItem C:\Logs | Measure-Object -Property Length -Sum | Export-Csv .\output.csv -NoTypeInformation | Select-Object *
Convert returned objects into JSON for APIs or automation. Base task: Export the output of Measure-Object for documentation or review.
Get-ChildItem C:\Logs | Measure-Object -Property Length -Sum | Export-Csv .\output.csv -NoTypeInformation | ConvertTo-Json -Depth 6
Save formatted output to a UTF-8 text file. Base task: Export the output of Measure-Object for documentation or review.
Get-ChildItem C:\Logs | Measure-Object -Property Length -Sum | Export-Csv .\output.csv -NoTypeInformation | Out-File -FilePath .\command-results.txt -Encoding utf8
Display all returned properties in a readable list. Base task: Export the output of Where-Object for documentation or review.
Get-Service | Where-Object Status -eq Running | Export-Csv .\output.csv -NoTypeInformation | Format-List *
Export returned objects to a CSV file for reporting. Base task: Export the output of Where-Object for documentation or review.
Get-Service | Where-Object Status -eq Running | Export-Csv .\output.csv -NoTypeInformation | Export-Csv -Path .\command-results.csv -NoTypeInformation
Measure how long the command takes to complete. Base task: Export the output of Where-Object for documentation or review.
Measure-Command { Get-Service | Where-Object Status -eq Running | Export-Csv .\output.csv -NoTypeInformation }
Run the command with terminating error handling. Base task: Export the output of Where-Object for documentation or review.
try { Get-Service | Where-Object Status -eq Running | Export-Csv .\output.csv -NoTypeInformation -ErrorAction Stop } catch { Write-Error $_.Exception.Message }
Capture the command and console output in a transcript log. Base task: Export the output of Where-Object for documentation or review.
Start-Transcript -Path .\command-session.log; Get-Service | Where-Object Status -eq Running | Export-Csv .\output.csv -NoTypeInformation; Stop-Transcript
Return all available object properties for inspection. Base task: Export the output of Where-Object for documentation or review.
Get-Service | Where-Object Status -eq Running | Export-Csv .\output.csv -NoTypeInformation | Select-Object *
Convert returned objects into JSON for APIs or automation. Base task: Export the output of Where-Object for documentation or review.
Get-Service | Where-Object Status -eq Running | Export-Csv .\output.csv -NoTypeInformation | ConvertTo-Json -Depth 6
Save formatted output to a UTF-8 text file. Base task: Export the output of Where-Object for documentation or review.
Get-Service | Where-Object Status -eq Running | Export-Csv .\output.csv -NoTypeInformation | Out-File -FilePath .\command-results.txt -Encoding utf8
Display all returned properties in a readable list. Base task: Export the output of Sort-Object for documentation or review.
Get-Process | Sort-Object CPU -Descending | Export-Csv .\output.csv -NoTypeInformation | Format-List *
Export returned objects to a CSV file for reporting. Base task: Export the output of Sort-Object for documentation or review.
Get-Process | Sort-Object CPU -Descending | Export-Csv .\output.csv -NoTypeInformation | Export-Csv -Path .\command-results.csv -NoTypeInformation
Measure how long the command takes to complete. Base task: Export the output of Sort-Object for documentation or review.
Measure-Command { Get-Process | Sort-Object CPU -Descending | Export-Csv .\output.csv -NoTypeInformation }
Run the command with terminating error handling. Base task: Export the output of Sort-Object for documentation or review.
try { Get-Process | Sort-Object CPU -Descending | Export-Csv .\output.csv -NoTypeInformation -ErrorAction Stop } catch { Write-Error $_.Exception.Message }
Capture the command and console output in a transcript log. Base task: Export the output of Sort-Object for documentation or review.
Start-Transcript -Path .\command-session.log; Get-Process | Sort-Object CPU -Descending | Export-Csv .\output.csv -NoTypeInformation; Stop-Transcript
Return all available object properties for inspection. Base task: Export the output of Sort-Object for documentation or review.
Get-Process | Sort-Object CPU -Descending | Export-Csv .\output.csv -NoTypeInformation | Select-Object *
Convert returned objects into JSON for APIs or automation. Base task: Export the output of Sort-Object for documentation or review.
Get-Process | Sort-Object CPU -Descending | Export-Csv .\output.csv -NoTypeInformation | ConvertTo-Json -Depth 6
Save formatted output to a UTF-8 text file. Base task: Export the output of Sort-Object for documentation or review.
Get-Process | Sort-Object CPU -Descending | Export-Csv .\output.csv -NoTypeInformation | Out-File -FilePath .\command-results.txt -Encoding utf8
Display all returned properties in a readable list. Base task: Export the output of Select-Object for documentation or review.
Get-Process | Select-Object Name,Id,CPU | Export-Csv .\output.csv -NoTypeInformation | Format-List *
Export returned objects to a CSV file for reporting. Base task: Export the output of Select-Object for documentation or review.
Get-Process | Select-Object Name,Id,CPU | Export-Csv .\output.csv -NoTypeInformation | Export-Csv -Path .\command-results.csv -NoTypeInformation
Measure how long the command takes to complete. Base task: Export the output of Select-Object for documentation or review.
Measure-Command { Get-Process | Select-Object Name,Id,CPU | Export-Csv .\output.csv -NoTypeInformation }
Run the command with terminating error handling. Base task: Export the output of Select-Object for documentation or review.
try { Get-Process | Select-Object Name,Id,CPU | Export-Csv .\output.csv -NoTypeInformation -ErrorAction Stop } catch { Write-Error $_.Exception.Message }
Capture the command and console output in a transcript log. Base task: Export the output of Select-Object for documentation or review.
Start-Transcript -Path .\command-session.log; Get-Process | Select-Object Name,Id,CPU | Export-Csv .\output.csv -NoTypeInformation; Stop-Transcript
Return all available object properties for inspection. Base task: Export the output of Select-Object for documentation or review.
Get-Process | Select-Object Name,Id,CPU | Export-Csv .\output.csv -NoTypeInformation | Select-Object *
Convert returned objects into JSON for APIs or automation. Base task: Export the output of Select-Object for documentation or review.
Get-Process | Select-Object Name,Id,CPU | Export-Csv .\output.csv -NoTypeInformation | ConvertTo-Json -Depth 6
Save formatted output to a UTF-8 text file. Base task: Export the output of Select-Object for documentation or review.
Get-Process | Select-Object Name,Id,CPU | Export-Csv .\output.csv -NoTypeInformation | Out-File -FilePath .\command-results.txt -Encoding utf8
Display all returned properties in a readable list. Base task: Export the output of ForEach-Object for documentation or review.
Get-Service | ForEach-Object { $_.Name } | Export-Csv .\output.csv -NoTypeInformation | Format-List *
Export returned objects to a CSV file for reporting. Base task: Export the output of ForEach-Object for documentation or review.
Get-Service | ForEach-Object { $_.Name } | Export-Csv .\output.csv -NoTypeInformation | Export-Csv -Path .\command-results.csv -NoTypeInformation
Measure how long the command takes to complete. Base task: Export the output of ForEach-Object for documentation or review.
Measure-Command { Get-Service | ForEach-Object { $_.Name } | Export-Csv .\output.csv -NoTypeInformation }
Run the command with terminating error handling. Base task: Export the output of ForEach-Object for documentation or review.
try { Get-Service | ForEach-Object { $_.Name } | Export-Csv .\output.csv -NoTypeInformation -ErrorAction Stop } catch { Write-Error $_.Exception.Message }
Capture the command and console output in a transcript log. Base task: Export the output of ForEach-Object for documentation or review.
Start-Transcript -Path .\command-session.log; Get-Service | ForEach-Object { $_.Name } | Export-Csv .\output.csv -NoTypeInformation; Stop-Transcript
Return all available object properties for inspection. Base task: Export the output of ForEach-Object for documentation or review.
Get-Service | ForEach-Object { $_.Name } | Export-Csv .\output.csv -NoTypeInformation | Select-Object *
Convert returned objects into JSON for APIs or automation. Base task: Export the output of ForEach-Object for documentation or review.
Get-Service | ForEach-Object { $_.Name } | Export-Csv .\output.csv -NoTypeInformation | ConvertTo-Json -Depth 6
Save formatted output to a UTF-8 text file. Base task: Export the output of ForEach-Object for documentation or review.
Get-Service | ForEach-Object { $_.Name } | Export-Csv .\output.csv -NoTypeInformation | Out-File -FilePath .\command-results.txt -Encoding utf8
Display all returned properties in a readable list. Base task: Export the output of Start-Transcript for documentation or review.
Start-Transcript -Path C:\Logs\session.txt | Export-Csv .\output.csv -NoTypeInformation | Format-List *
Export returned objects to a CSV file for reporting. Base task: Export the output of Start-Transcript for documentation or review.
Start-Transcript -Path C:\Logs\session.txt | Export-Csv .\output.csv -NoTypeInformation | Export-Csv -Path .\command-results.csv -NoTypeInformation
Measure how long the command takes to complete. Base task: Export the output of Start-Transcript for documentation or review.
Measure-Command { Start-Transcript -Path C:\Logs\session.txt | Export-Csv .\output.csv -NoTypeInformation }
Run the command with terminating error handling. Base task: Export the output of Start-Transcript for documentation or review.
try { Start-Transcript -Path C:\Logs\session.txt | Export-Csv .\output.csv -NoTypeInformation -ErrorAction Stop } catch { Write-Error $_.Exception.Message }
Capture the command and console output in a transcript log. Base task: Export the output of Start-Transcript for documentation or review.
Start-Transcript -Path .\command-session.log; Start-Transcript -Path C:\Logs\session.txt | Export-Csv .\output.csv -NoTypeInformation; Stop-Transcript
Return all available object properties for inspection. Base task: Export the output of Start-Transcript for documentation or review.
Start-Transcript -Path C:\Logs\session.txt | Export-Csv .\output.csv -NoTypeInformation | Select-Object *
Convert returned objects into JSON for APIs or automation. Base task: Export the output of Start-Transcript for documentation or review.
Start-Transcript -Path C:\Logs\session.txt | Export-Csv .\output.csv -NoTypeInformation | ConvertTo-Json -Depth 6
Save formatted output to a UTF-8 text file. Base task: Export the output of Start-Transcript for documentation or review.
Start-Transcript -Path C:\Logs\session.txt | Export-Csv .\output.csv -NoTypeInformation | Out-File -FilePath .\command-results.txt -Encoding utf8
Display all returned properties in a readable list. Base task: Export the output of Get-ExecutionPolicy for documentation or review.
Get-ExecutionPolicy -List | Export-Csv .\output.csv -NoTypeInformation | Format-List *
Export returned objects to a CSV file for reporting. Base task: Export the output of Get-ExecutionPolicy for documentation or review.
Get-ExecutionPolicy -List | Export-Csv .\output.csv -NoTypeInformation | Export-Csv -Path .\command-results.csv -NoTypeInformation
Measure how long the command takes to complete. Base task: Export the output of Get-ExecutionPolicy for documentation or review.
Measure-Command { Get-ExecutionPolicy -List | Export-Csv .\output.csv -NoTypeInformation }
Run the command with terminating error handling. Base task: Export the output of Get-ExecutionPolicy for documentation or review.
try { Get-ExecutionPolicy -List | Export-Csv .\output.csv -NoTypeInformation -ErrorAction Stop } catch { Write-Error $_.Exception.Message }
Capture the command and console output in a transcript log. Base task: Export the output of Get-ExecutionPolicy for documentation or review.
Start-Transcript -Path .\command-session.log; Get-ExecutionPolicy -List | Export-Csv .\output.csv -NoTypeInformation; Stop-Transcript
Return all available object properties for inspection. Base task: Export the output of Get-ExecutionPolicy for documentation or review.
Get-ExecutionPolicy -List | Export-Csv .\output.csv -NoTypeInformation | Select-Object *
Convert returned objects into JSON for APIs or automation. Base task: Export the output of Get-ExecutionPolicy for documentation or review.
Get-ExecutionPolicy -List | Export-Csv .\output.csv -NoTypeInformation | ConvertTo-Json -Depth 6
Save formatted output to a UTF-8 text file. Base task: Export the output of Get-ExecutionPolicy for documentation or review.
Get-ExecutionPolicy -List | Export-Csv .\output.csv -NoTypeInformation | Out-File -FilePath .\command-results.txt -Encoding utf8
Display all returned properties in a readable list. Base task: Export the output of Set-ExecutionPolicy for documentation or review.
Set-ExecutionPolicy RemoteSigned -Scope CurrentUser | Export-Csv .\output.csv -NoTypeInformation | Format-List *
Export returned objects to a CSV file for reporting. Base task: Export the output of Set-ExecutionPolicy for documentation or review.
Set-ExecutionPolicy RemoteSigned -Scope CurrentUser | Export-Csv .\output.csv -NoTypeInformation | Export-Csv -Path .\command-results.csv -NoTypeInformation
Measure how long the command takes to complete. Base task: Export the output of Set-ExecutionPolicy for documentation or review.
Measure-Command { Set-ExecutionPolicy RemoteSigned -Scope CurrentUser | Export-Csv .\output.csv -NoTypeInformation }
Run the command with terminating error handling. Base task: Export the output of Set-ExecutionPolicy for documentation or review.
try { Set-ExecutionPolicy RemoteSigned -Scope CurrentUser | Export-Csv .\output.csv -NoTypeInformation -ErrorAction Stop } catch { Write-Error $_.Exception.Message }
Capture the command and console output in a transcript log. Base task: Export the output of Set-ExecutionPolicy for documentation or review.
Start-Transcript -Path .\command-session.log; Set-ExecutionPolicy RemoteSigned -Scope CurrentUser | Export-Csv .\output.csv -NoTypeInformation; Stop-Transcript
Return all available object properties for inspection. Base task: Export the output of Set-ExecutionPolicy for documentation or review.
Set-ExecutionPolicy RemoteSigned -Scope CurrentUser | Export-Csv .\output.csv -NoTypeInformation | Select-Object *
Convert returned objects into JSON for APIs or automation. Base task: Export the output of Set-ExecutionPolicy for documentation or review.
Set-ExecutionPolicy RemoteSigned -Scope CurrentUser | Export-Csv .\output.csv -NoTypeInformation | ConvertTo-Json -Depth 6
Save formatted output to a UTF-8 text file. Base task: Export the output of Set-ExecutionPolicy for documentation or review.
Set-ExecutionPolicy RemoteSigned -Scope CurrentUser | Export-Csv .\output.csv -NoTypeInformation | Out-File -FilePath .\command-results.txt -Encoding utf8
Display all returned properties in a readable list. Base task: Export the output of Get-Module for documentation or review.
Get-Module -ListAvailable | Export-Csv .\output.csv -NoTypeInformation | Format-List *
Export returned objects to a CSV file for reporting. Base task: Export the output of Get-Module for documentation or review.
Get-Module -ListAvailable | Export-Csv .\output.csv -NoTypeInformation | Export-Csv -Path .\command-results.csv -NoTypeInformation
Measure how long the command takes to complete. Base task: Export the output of Get-Module for documentation or review.
Measure-Command { Get-Module -ListAvailable | Export-Csv .\output.csv -NoTypeInformation }
Run the command with terminating error handling. Base task: Export the output of Get-Module for documentation or review.
try { Get-Module -ListAvailable | Export-Csv .\output.csv -NoTypeInformation -ErrorAction Stop } catch { Write-Error $_.Exception.Message }
Capture the command and console output in a transcript log. Base task: Export the output of Get-Module for documentation or review.
Start-Transcript -Path .\command-session.log; Get-Module -ListAvailable | Export-Csv .\output.csv -NoTypeInformation; Stop-Transcript
Return all available object properties for inspection. Base task: Export the output of Get-Module for documentation or review.
Get-Module -ListAvailable | Export-Csv .\output.csv -NoTypeInformation | Select-Object *
Convert returned objects into JSON for APIs or automation. Base task: Export the output of Get-Module for documentation or review.
Get-Module -ListAvailable | Export-Csv .\output.csv -NoTypeInformation | ConvertTo-Json -Depth 6
Save formatted output to a UTF-8 text file. Base task: Export the output of Get-Module for documentation or review.
Get-Module -ListAvailable | Export-Csv .\output.csv -NoTypeInformation | Out-File -FilePath .\command-results.txt -Encoding utf8
Display all returned properties in a readable list. Base task: Export the output of Install-Module for documentation or review.
Install-Module Microsoft.Graph -Scope CurrentUser | Export-Csv .\output.csv -NoTypeInformation | Format-List *
Export returned objects to a CSV file for reporting. Base task: Export the output of Install-Module for documentation or review.
Install-Module Microsoft.Graph -Scope CurrentUser | Export-Csv .\output.csv -NoTypeInformation | Export-Csv -Path .\command-results.csv -NoTypeInformation
Measure how long the command takes to complete. Base task: Export the output of Install-Module for documentation or review.
Measure-Command { Install-Module Microsoft.Graph -Scope CurrentUser | Export-Csv .\output.csv -NoTypeInformation }
Run the command with terminating error handling. Base task: Export the output of Install-Module for documentation or review.
try { Install-Module Microsoft.Graph -Scope CurrentUser | Export-Csv .\output.csv -NoTypeInformation -ErrorAction Stop } catch { Write-Error $_.Exception.Message }
Capture the command and console output in a transcript log. Base task: Export the output of Install-Module for documentation or review.
Start-Transcript -Path .\command-session.log; Install-Module Microsoft.Graph -Scope CurrentUser | Export-Csv .\output.csv -NoTypeInformation; Stop-Transcript
Return all available object properties for inspection. Base task: Export the output of Install-Module for documentation or review.
Install-Module Microsoft.Graph -Scope CurrentUser | Export-Csv .\output.csv -NoTypeInformation | Select-Object *
Convert returned objects into JSON for APIs or automation. Base task: Export the output of Install-Module for documentation or review.
Install-Module Microsoft.Graph -Scope CurrentUser | Export-Csv .\output.csv -NoTypeInformation | ConvertTo-Json -Depth 6
Save formatted output to a UTF-8 text file. Base task: Export the output of Install-Module for documentation or review.
Install-Module Microsoft.Graph -Scope CurrentUser | Export-Csv .\output.csv -NoTypeInformation | Out-File -FilePath .\command-results.txt -Encoding utf8
Display all returned properties in a readable list. Base task: Export the output of Update-Module for documentation or review.
Update-Module Microsoft.Graph | Export-Csv .\output.csv -NoTypeInformation | Format-List *
Export returned objects to a CSV file for reporting. Base task: Export the output of Update-Module for documentation or review.
Update-Module Microsoft.Graph | Export-Csv .\output.csv -NoTypeInformation | Export-Csv -Path .\command-results.csv -NoTypeInformation
Measure how long the command takes to complete. Base task: Export the output of Update-Module for documentation or review.
Measure-Command { Update-Module Microsoft.Graph | Export-Csv .\output.csv -NoTypeInformation }
Run the command with terminating error handling. Base task: Export the output of Update-Module for documentation or review.
try { Update-Module Microsoft.Graph | Export-Csv .\output.csv -NoTypeInformation -ErrorAction Stop } catch { Write-Error $_.Exception.Message }
Capture the command and console output in a transcript log. Base task: Export the output of Update-Module for documentation or review.
Start-Transcript -Path .\command-session.log; Update-Module Microsoft.Graph | Export-Csv .\output.csv -NoTypeInformation; Stop-Transcript
Return all available object properties for inspection. Base task: Export the output of Update-Module for documentation or review.
Update-Module Microsoft.Graph | Export-Csv .\output.csv -NoTypeInformation | Select-Object *
Convert returned objects into JSON for APIs or automation. Base task: Export the output of Update-Module for documentation or review.
Update-Module Microsoft.Graph | Export-Csv .\output.csv -NoTypeInformation | ConvertTo-Json -Depth 6
Save formatted output to a UTF-8 text file. Base task: Export the output of Update-Module for documentation or review.
Update-Module Microsoft.Graph | Export-Csv .\output.csv -NoTypeInformation | Out-File -FilePath .\command-results.txt -Encoding utf8
Display all returned properties in a readable list. Base task: Export the output of Get-Help for documentation or review.
Get-Help Get-Service -Examples | Export-Csv .\output.csv -NoTypeInformation | Format-List *
Export returned objects to a CSV file for reporting. Base task: Export the output of Get-Help for documentation or review.
Get-Help Get-Service -Examples | Export-Csv .\output.csv -NoTypeInformation | Export-Csv -Path .\command-results.csv -NoTypeInformation
Measure how long the command takes to complete. Base task: Export the output of Get-Help for documentation or review.
Measure-Command { Get-Help Get-Service -Examples | Export-Csv .\output.csv -NoTypeInformation }
Run the command with terminating error handling. Base task: Export the output of Get-Help for documentation or review.
try { Get-Help Get-Service -Examples | Export-Csv .\output.csv -NoTypeInformation -ErrorAction Stop } catch { Write-Error $_.Exception.Message }
Capture the command and console output in a transcript log. Base task: Export the output of Get-Help for documentation or review.
Start-Transcript -Path .\command-session.log; Get-Help Get-Service -Examples | Export-Csv .\output.csv -NoTypeInformation; Stop-Transcript
Return all available object properties for inspection. Base task: Export the output of Get-Help for documentation or review.
Get-Help Get-Service -Examples | Export-Csv .\output.csv -NoTypeInformation | Select-Object *
Convert returned objects into JSON for APIs or automation. Base task: Export the output of Get-Help for documentation or review.
Get-Help Get-Service -Examples | Export-Csv .\output.csv -NoTypeInformation | ConvertTo-Json -Depth 6
Save formatted output to a UTF-8 text file. Base task: Export the output of Get-Help for documentation or review.
Get-Help Get-Service -Examples | Export-Csv .\output.csv -NoTypeInformation | Out-File -FilePath .\command-results.txt -Encoding utf8
Display all returned properties in a readable list. Base task: Display complete syntax, parameter details, and examples for Get-Service.
Get-Help Get-Service -Full | Format-List *
Export returned objects to a CSV file for reporting. Base task: Display complete syntax, parameter details, and examples for Get-Service.
Get-Help Get-Service -Full | Export-Csv -Path .\command-results.csv -NoTypeInformation
Measure how long the command takes to complete. Base task: Display complete syntax, parameter details, and examples for Get-Service.
Measure-Command { Get-Help Get-Service -Full }
Run the command with terminating error handling. Base task: Display complete syntax, parameter details, and examples for Get-Service.
try { Get-Help Get-Service -Full -ErrorAction Stop } catch { Write-Error $_.Exception.Message }
Capture the command and console output in a transcript log. Base task: Display complete syntax, parameter details, and examples for Get-Service.
Start-Transcript -Path .\command-session.log; Get-Help Get-Service -Full; Stop-Transcript
Return all available object properties for inspection. Base task: Display complete syntax, parameter details, and examples for Get-Service.
Get-Help Get-Service -Full | Select-Object *
Convert returned objects into JSON for APIs or automation. Base task: Display complete syntax, parameter details, and examples for Get-Service.
Get-Help Get-Service -Full | ConvertTo-Json -Depth 6
Save formatted output to a UTF-8 text file. Base task: Display complete syntax, parameter details, and examples for Get-Service.
Get-Help Get-Service -Full | Out-File -FilePath .\command-results.txt -Encoding utf8
Display all returned properties in a readable list. Base task: Display complete syntax, parameter details, and examples for Start-Service.
Get-Help Start-Service -Full | Format-List *
Export returned objects to a CSV file for reporting. Base task: Display complete syntax, parameter details, and examples for Start-Service.
Get-Help Start-Service -Full | Export-Csv -Path .\command-results.csv -NoTypeInformation
Measure how long the command takes to complete. Base task: Display complete syntax, parameter details, and examples for Start-Service.
Measure-Command { Get-Help Start-Service -Full }
Run the command with terminating error handling. Base task: Display complete syntax, parameter details, and examples for Start-Service.
try { Get-Help Start-Service -Full -ErrorAction Stop } catch { Write-Error $_.Exception.Message }
Capture the command and console output in a transcript log. Base task: Display complete syntax, parameter details, and examples for Start-Service.
Start-Transcript -Path .\command-session.log; Get-Help Start-Service -Full; Stop-Transcript
Return all available object properties for inspection. Base task: Display complete syntax, parameter details, and examples for Start-Service.
Get-Help Start-Service -Full | Select-Object *
Convert returned objects into JSON for APIs or automation. Base task: Display complete syntax, parameter details, and examples for Start-Service.
Get-Help Start-Service -Full | ConvertTo-Json -Depth 6
Save formatted output to a UTF-8 text file. Base task: Display complete syntax, parameter details, and examples for Start-Service.
Get-Help Start-Service -Full | Out-File -FilePath .\command-results.txt -Encoding utf8
Display all returned properties in a readable list. Base task: Display complete syntax, parameter details, and examples for Stop-Service.
Get-Help Stop-Service -Full | Format-List *
Export returned objects to a CSV file for reporting. Base task: Display complete syntax, parameter details, and examples for Stop-Service.
Get-Help Stop-Service -Full | Export-Csv -Path .\command-results.csv -NoTypeInformation
Measure how long the command takes to complete. Base task: Display complete syntax, parameter details, and examples for Stop-Service.
Measure-Command { Get-Help Stop-Service -Full }
Run the command with terminating error handling. Base task: Display complete syntax, parameter details, and examples for Stop-Service.
try { Get-Help Stop-Service -Full -ErrorAction Stop } catch { Write-Error $_.Exception.Message }
Capture the command and console output in a transcript log. Base task: Display complete syntax, parameter details, and examples for Stop-Service.
Start-Transcript -Path .\command-session.log; Get-Help Stop-Service -Full; Stop-Transcript
Return all available object properties for inspection. Base task: Display complete syntax, parameter details, and examples for Stop-Service.
Get-Help Stop-Service -Full | Select-Object *
Convert returned objects into JSON for APIs or automation. Base task: Display complete syntax, parameter details, and examples for Stop-Service.
Get-Help Stop-Service -Full | ConvertTo-Json -Depth 6
Save formatted output to a UTF-8 text file. Base task: Display complete syntax, parameter details, and examples for Stop-Service.
Get-Help Stop-Service -Full | Out-File -FilePath .\command-results.txt -Encoding utf8
Display all returned properties in a readable list. Base task: Display complete syntax, parameter details, and examples for Restart-Service.
Get-Help Restart-Service -Full | Format-List *
Export returned objects to a CSV file for reporting. Base task: Display complete syntax, parameter details, and examples for Restart-Service.
Get-Help Restart-Service -Full | Export-Csv -Path .\command-results.csv -NoTypeInformation
Measure how long the command takes to complete. Base task: Display complete syntax, parameter details, and examples for Restart-Service.
Measure-Command { Get-Help Restart-Service -Full }
Run the command with terminating error handling. Base task: Display complete syntax, parameter details, and examples for Restart-Service.
try { Get-Help Restart-Service -Full -ErrorAction Stop } catch { Write-Error $_.Exception.Message }
Capture the command and console output in a transcript log. Base task: Display complete syntax, parameter details, and examples for Restart-Service.
Start-Transcript -Path .\command-session.log; Get-Help Restart-Service -Full; Stop-Transcript
Return all available object properties for inspection. Base task: Display complete syntax, parameter details, and examples for Restart-Service.
Get-Help Restart-Service -Full | Select-Object *
Convert returned objects into JSON for APIs or automation. Base task: Display complete syntax, parameter details, and examples for Restart-Service.
Get-Help Restart-Service -Full | ConvertTo-Json -Depth 6
Save formatted output to a UTF-8 text file. Base task: Display complete syntax, parameter details, and examples for Restart-Service.
Get-Help Restart-Service -Full | Out-File -FilePath .\command-results.txt -Encoding utf8
Display all returned properties in a readable list. Base task: Display complete syntax, parameter details, and examples for Get-Process.
Get-Help Get-Process -Full | Format-List *
Export returned objects to a CSV file for reporting. Base task: Display complete syntax, parameter details, and examples for Get-Process.
Get-Help Get-Process -Full | Export-Csv -Path .\command-results.csv -NoTypeInformation
Measure how long the command takes to complete. Base task: Display complete syntax, parameter details, and examples for Get-Process.
Measure-Command { Get-Help Get-Process -Full }
Run the command with terminating error handling. Base task: Display complete syntax, parameter details, and examples for Get-Process.
try { Get-Help Get-Process -Full -ErrorAction Stop } catch { Write-Error $_.Exception.Message }
Capture the command and console output in a transcript log. Base task: Display complete syntax, parameter details, and examples for Get-Process.
Start-Transcript -Path .\command-session.log; Get-Help Get-Process -Full; Stop-Transcript
Return all available object properties for inspection. Base task: Display complete syntax, parameter details, and examples for Get-Process.
Get-Help Get-Process -Full | Select-Object *
Convert returned objects into JSON for APIs or automation. Base task: Display complete syntax, parameter details, and examples for Get-Process.
Get-Help Get-Process -Full | ConvertTo-Json -Depth 6
Save formatted output to a UTF-8 text file. Base task: Display complete syntax, parameter details, and examples for Get-Process.
Get-Help Get-Process -Full | Out-File -FilePath .\command-results.txt -Encoding utf8
Display all returned properties in a readable list. Base task: Display complete syntax, parameter details, and examples for Stop-Process.
Get-Help Stop-Process -Full | Format-List *
Export returned objects to a CSV file for reporting. Base task: Display complete syntax, parameter details, and examples for Stop-Process.
Get-Help Stop-Process -Full | Export-Csv -Path .\command-results.csv -NoTypeInformation
Measure how long the command takes to complete. Base task: Display complete syntax, parameter details, and examples for Stop-Process.
Measure-Command { Get-Help Stop-Process -Full }
Run the command with terminating error handling. Base task: Display complete syntax, parameter details, and examples for Stop-Process.
try { Get-Help Stop-Process -Full -ErrorAction Stop } catch { Write-Error $_.Exception.Message }
Capture the command and console output in a transcript log. Base task: Display complete syntax, parameter details, and examples for Stop-Process.
Start-Transcript -Path .\command-session.log; Get-Help Stop-Process -Full; Stop-Transcript
Return all available object properties for inspection. Base task: Display complete syntax, parameter details, and examples for Stop-Process.
Get-Help Stop-Process -Full | Select-Object *
Convert returned objects into JSON for APIs or automation. Base task: Display complete syntax, parameter details, and examples for Stop-Process.
Get-Help Stop-Process -Full | ConvertTo-Json -Depth 6
Save formatted output to a UTF-8 text file. Base task: Display complete syntax, parameter details, and examples for Stop-Process.
Get-Help Stop-Process -Full | Out-File -FilePath .\command-results.txt -Encoding utf8
Display all returned properties in a readable list. Base task: Display complete syntax, parameter details, and examples for Get-EventLog.
Get-Help Get-EventLog -Full | Format-List *
Export returned objects to a CSV file for reporting. Base task: Display complete syntax, parameter details, and examples for Get-EventLog.
Get-Help Get-EventLog -Full | Export-Csv -Path .\command-results.csv -NoTypeInformation
Measure how long the command takes to complete. Base task: Display complete syntax, parameter details, and examples for Get-EventLog.
Measure-Command { Get-Help Get-EventLog -Full }
Run the command with terminating error handling. Base task: Display complete syntax, parameter details, and examples for Get-EventLog.
try { Get-Help Get-EventLog -Full -ErrorAction Stop } catch { Write-Error $_.Exception.Message }
Capture the command and console output in a transcript log. Base task: Display complete syntax, parameter details, and examples for Get-EventLog.
Start-Transcript -Path .\command-session.log; Get-Help Get-EventLog -Full; Stop-Transcript
Return all available object properties for inspection. Base task: Display complete syntax, parameter details, and examples for Get-EventLog.
Get-Help Get-EventLog -Full | Select-Object *
Convert returned objects into JSON for APIs or automation. Base task: Display complete syntax, parameter details, and examples for Get-EventLog.
Get-Help Get-EventLog -Full | ConvertTo-Json -Depth 6
Save formatted output to a UTF-8 text file. Base task: Display complete syntax, parameter details, and examples for Get-EventLog.
Get-Help Get-EventLog -Full | Out-File -FilePath .\command-results.txt -Encoding utf8
Display all returned properties in a readable list. Base task: Display complete syntax, parameter details, and examples for Get-WinEvent.
Get-Help Get-WinEvent -Full | Format-List *
Export returned objects to a CSV file for reporting. Base task: Display complete syntax, parameter details, and examples for Get-WinEvent.
Get-Help Get-WinEvent -Full | Export-Csv -Path .\command-results.csv -NoTypeInformation
Measure how long the command takes to complete. Base task: Display complete syntax, parameter details, and examples for Get-WinEvent.
Measure-Command { Get-Help Get-WinEvent -Full }
Run the command with terminating error handling. Base task: Display complete syntax, parameter details, and examples for Get-WinEvent.
try { Get-Help Get-WinEvent -Full -ErrorAction Stop } catch { Write-Error $_.Exception.Message }
Capture the command and console output in a transcript log. Base task: Display complete syntax, parameter details, and examples for Get-WinEvent.
Start-Transcript -Path .\command-session.log; Get-Help Get-WinEvent -Full; Stop-Transcript
Return all available object properties for inspection. Base task: Display complete syntax, parameter details, and examples for Get-WinEvent.
Get-Help Get-WinEvent -Full | Select-Object *
Convert returned objects into JSON for APIs or automation. Base task: Display complete syntax, parameter details, and examples for Get-WinEvent.
Get-Help Get-WinEvent -Full | ConvertTo-Json -Depth 6
Save formatted output to a UTF-8 text file. Base task: Display complete syntax, parameter details, and examples for Get-WinEvent.
Get-Help Get-WinEvent -Full | Out-File -FilePath .\command-results.txt -Encoding utf8
Display all returned properties in a readable list. Base task: Display complete syntax, parameter details, and examples for Get-ComputerInfo.
Get-Help Get-ComputerInfo -Full | Format-List *
Export returned objects to a CSV file for reporting. Base task: Display complete syntax, parameter details, and examples for Get-ComputerInfo.
Get-Help Get-ComputerInfo -Full | Export-Csv -Path .\command-results.csv -NoTypeInformation
Measure how long the command takes to complete. Base task: Display complete syntax, parameter details, and examples for Get-ComputerInfo.
Measure-Command { Get-Help Get-ComputerInfo -Full }
Run the command with terminating error handling. Base task: Display complete syntax, parameter details, and examples for Get-ComputerInfo.
try { Get-Help Get-ComputerInfo -Full -ErrorAction Stop } catch { Write-Error $_.Exception.Message }
Capture the command and console output in a transcript log. Base task: Display complete syntax, parameter details, and examples for Get-ComputerInfo.
Start-Transcript -Path .\command-session.log; Get-Help Get-ComputerInfo -Full; Stop-Transcript
Return all available object properties for inspection. Base task: Display complete syntax, parameter details, and examples for Get-ComputerInfo.
Get-Help Get-ComputerInfo -Full | Select-Object *
Convert returned objects into JSON for APIs or automation. Base task: Display complete syntax, parameter details, and examples for Get-ComputerInfo.
Get-Help Get-ComputerInfo -Full | ConvertTo-Json -Depth 6
Save formatted output to a UTF-8 text file. Base task: Display complete syntax, parameter details, and examples for Get-ComputerInfo.
Get-Help Get-ComputerInfo -Full | Out-File -FilePath .\command-results.txt -Encoding utf8
Display all returned properties in a readable list. Base task: Display complete syntax, parameter details, and examples for Get-CimInstance.
Get-Help Get-CimInstance -Full | Format-List *
Export returned objects to a CSV file for reporting. Base task: Display complete syntax, parameter details, and examples for Get-CimInstance.
Get-Help Get-CimInstance -Full | Export-Csv -Path .\command-results.csv -NoTypeInformation
Measure how long the command takes to complete. Base task: Display complete syntax, parameter details, and examples for Get-CimInstance.
Measure-Command { Get-Help Get-CimInstance -Full }
Run the command with terminating error handling. Base task: Display complete syntax, parameter details, and examples for Get-CimInstance.
try { Get-Help Get-CimInstance -Full -ErrorAction Stop } catch { Write-Error $_.Exception.Message }
Capture the command and console output in a transcript log. Base task: Display complete syntax, parameter details, and examples for Get-CimInstance.
Start-Transcript -Path .\command-session.log; Get-Help Get-CimInstance -Full; Stop-Transcript
Return all available object properties for inspection. Base task: Display complete syntax, parameter details, and examples for Get-CimInstance.
Get-Help Get-CimInstance -Full | Select-Object *
Convert returned objects into JSON for APIs or automation. Base task: Display complete syntax, parameter details, and examples for Get-CimInstance.
Get-Help Get-CimInstance -Full | ConvertTo-Json -Depth 6
Save formatted output to a UTF-8 text file. Base task: Display complete syntax, parameter details, and examples for Get-CimInstance.
Get-Help Get-CimInstance -Full | Out-File -FilePath .\command-results.txt -Encoding utf8
Display all returned properties in a readable list. Base task: Display complete syntax, parameter details, and examples for Test-Connection.
Get-Help Test-Connection -Full | Format-List *
Export returned objects to a CSV file for reporting. Base task: Display complete syntax, parameter details, and examples for Test-Connection.
Get-Help Test-Connection -Full | Export-Csv -Path .\command-results.csv -NoTypeInformation
Measure how long the command takes to complete. Base task: Display complete syntax, parameter details, and examples for Test-Connection.
Measure-Command { Get-Help Test-Connection -Full }
Run the command with terminating error handling. Base task: Display complete syntax, parameter details, and examples for Test-Connection.
try { Get-Help Test-Connection -Full -ErrorAction Stop } catch { Write-Error $_.Exception.Message }
Capture the command and console output in a transcript log. Base task: Display complete syntax, parameter details, and examples for Test-Connection.
Start-Transcript -Path .\command-session.log; Get-Help Test-Connection -Full; Stop-Transcript
Return all available object properties for inspection. Base task: Display complete syntax, parameter details, and examples for Test-Connection.
Get-Help Test-Connection -Full | Select-Object *
Convert returned objects into JSON for APIs or automation. Base task: Display complete syntax, parameter details, and examples for Test-Connection.
Get-Help Test-Connection -Full | ConvertTo-Json -Depth 6
Save formatted output to a UTF-8 text file. Base task: Display complete syntax, parameter details, and examples for Test-Connection.
Get-Help Test-Connection -Full | Out-File -FilePath .\command-results.txt -Encoding utf8
Display all returned properties in a readable list. Base task: Display complete syntax, parameter details, and examples for Test-NetConnection.
Get-Help Test-NetConnection -Full | Format-List *
Export returned objects to a CSV file for reporting. Base task: Display complete syntax, parameter details, and examples for Test-NetConnection.
Get-Help Test-NetConnection -Full | Export-Csv -Path .\command-results.csv -NoTypeInformation
Measure how long the command takes to complete. Base task: Display complete syntax, parameter details, and examples for Test-NetConnection.
Measure-Command { Get-Help Test-NetConnection -Full }
Run the command with terminating error handling. Base task: Display complete syntax, parameter details, and examples for Test-NetConnection.
try { Get-Help Test-NetConnection -Full -ErrorAction Stop } catch { Write-Error $_.Exception.Message }
Capture the command and console output in a transcript log. Base task: Display complete syntax, parameter details, and examples for Test-NetConnection.
Start-Transcript -Path .\command-session.log; Get-Help Test-NetConnection -Full; Stop-Transcript
Return all available object properties for inspection. Base task: Display complete syntax, parameter details, and examples for Test-NetConnection.
Get-Help Test-NetConnection -Full | Select-Object *
Convert returned objects into JSON for APIs or automation. Base task: Display complete syntax, parameter details, and examples for Test-NetConnection.
Get-Help Test-NetConnection -Full | ConvertTo-Json -Depth 6
Save formatted output to a UTF-8 text file. Base task: Display complete syntax, parameter details, and examples for Test-NetConnection.
Get-Help Test-NetConnection -Full | Out-File -FilePath .\command-results.txt -Encoding utf8
Display all returned properties in a readable list. Base task: Display complete syntax, parameter details, and examples for Resolve-DnsName.
Get-Help Resolve-DnsName -Full | Format-List *
Export returned objects to a CSV file for reporting. Base task: Display complete syntax, parameter details, and examples for Resolve-DnsName.
Get-Help Resolve-DnsName -Full | Export-Csv -Path .\command-results.csv -NoTypeInformation
Measure how long the command takes to complete. Base task: Display complete syntax, parameter details, and examples for Resolve-DnsName.
Measure-Command { Get-Help Resolve-DnsName -Full }
Run the command with terminating error handling. Base task: Display complete syntax, parameter details, and examples for Resolve-DnsName.
try { Get-Help Resolve-DnsName -Full -ErrorAction Stop } catch { Write-Error $_.Exception.Message }
Capture the command and console output in a transcript log. Base task: Display complete syntax, parameter details, and examples for Resolve-DnsName.
Start-Transcript -Path .\command-session.log; Get-Help Resolve-DnsName -Full; Stop-Transcript
Return all available object properties for inspection. Base task: Display complete syntax, parameter details, and examples for Resolve-DnsName.
Get-Help Resolve-DnsName -Full | Select-Object *
Convert returned objects into JSON for APIs or automation. Base task: Display complete syntax, parameter details, and examples for Resolve-DnsName.
Get-Help Resolve-DnsName -Full | ConvertTo-Json -Depth 6
Save formatted output to a UTF-8 text file. Base task: Display complete syntax, parameter details, and examples for Resolve-DnsName.
Get-Help Resolve-DnsName -Full | Out-File -FilePath .\command-results.txt -Encoding utf8
Display all returned properties in a readable list. Base task: Display complete syntax, parameter details, and examples for Get-NetIPAddress.
Get-Help Get-NetIPAddress -Full | Format-List *
Export returned objects to a CSV file for reporting. Base task: Display complete syntax, parameter details, and examples for Get-NetIPAddress.
Get-Help Get-NetIPAddress -Full | Export-Csv -Path .\command-results.csv -NoTypeInformation
Measure how long the command takes to complete. Base task: Display complete syntax, parameter details, and examples for Get-NetIPAddress.
Measure-Command { Get-Help Get-NetIPAddress -Full }
Run the command with terminating error handling. Base task: Display complete syntax, parameter details, and examples for Get-NetIPAddress.
try { Get-Help Get-NetIPAddress -Full -ErrorAction Stop } catch { Write-Error $_.Exception.Message }
Capture the command and console output in a transcript log. Base task: Display complete syntax, parameter details, and examples for Get-NetIPAddress.
Start-Transcript -Path .\command-session.log; Get-Help Get-NetIPAddress -Full; Stop-Transcript
Return all available object properties for inspection. Base task: Display complete syntax, parameter details, and examples for Get-NetIPAddress.
Get-Help Get-NetIPAddress -Full | Select-Object *
Convert returned objects into JSON for APIs or automation. Base task: Display complete syntax, parameter details, and examples for Get-NetIPAddress.
Get-Help Get-NetIPAddress -Full | ConvertTo-Json -Depth 6
Save formatted output to a UTF-8 text file. Base task: Display complete syntax, parameter details, and examples for Get-NetIPAddress.
Get-Help Get-NetIPAddress -Full | Out-File -FilePath .\command-results.txt -Encoding utf8
Display all returned properties in a readable list. Base task: Display complete syntax, parameter details, and examples for Get-NetIPConfiguration.
Get-Help Get-NetIPConfiguration -Full | Format-List *
Export returned objects to a CSV file for reporting. Base task: Display complete syntax, parameter details, and examples for Get-NetIPConfiguration.
Get-Help Get-NetIPConfiguration -Full | Export-Csv -Path .\command-results.csv -NoTypeInformation
Measure how long the command takes to complete. Base task: Display complete syntax, parameter details, and examples for Get-NetIPConfiguration.
Measure-Command { Get-Help Get-NetIPConfiguration -Full }
Run the command with terminating error handling. Base task: Display complete syntax, parameter details, and examples for Get-NetIPConfiguration.
try { Get-Help Get-NetIPConfiguration -Full -ErrorAction Stop } catch { Write-Error $_.Exception.Message }
Capture the command and console output in a transcript log. Base task: Display complete syntax, parameter details, and examples for Get-NetIPConfiguration.
Start-Transcript -Path .\command-session.log; Get-Help Get-NetIPConfiguration -Full; Stop-Transcript
Return all available object properties for inspection. Base task: Display complete syntax, parameter details, and examples for Get-NetIPConfiguration.
Get-Help Get-NetIPConfiguration -Full | Select-Object *
Convert returned objects into JSON for APIs or automation. Base task: Display complete syntax, parameter details, and examples for Get-NetIPConfiguration.
Get-Help Get-NetIPConfiguration -Full | ConvertTo-Json -Depth 6
Save formatted output to a UTF-8 text file. Base task: Display complete syntax, parameter details, and examples for Get-NetIPConfiguration.
Get-Help Get-NetIPConfiguration -Full | Out-File -FilePath .\command-results.txt -Encoding utf8
Display all returned properties in a readable list. Base task: Display complete syntax, parameter details, and examples for Get-NetAdapter.
Get-Help Get-NetAdapter -Full | Format-List *
Export returned objects to a CSV file for reporting. Base task: Display complete syntax, parameter details, and examples for Get-NetAdapter.
Get-Help Get-NetAdapter -Full | Export-Csv -Path .\command-results.csv -NoTypeInformation
Measure how long the command takes to complete. Base task: Display complete syntax, parameter details, and examples for Get-NetAdapter.
Measure-Command { Get-Help Get-NetAdapter -Full }
Run the command with terminating error handling. Base task: Display complete syntax, parameter details, and examples for Get-NetAdapter.
try { Get-Help Get-NetAdapter -Full -ErrorAction Stop } catch { Write-Error $_.Exception.Message }
Capture the command and console output in a transcript log. Base task: Display complete syntax, parameter details, and examples for Get-NetAdapter.
Start-Transcript -Path .\command-session.log; Get-Help Get-NetAdapter -Full; Stop-Transcript
Return all available object properties for inspection. Base task: Display complete syntax, parameter details, and examples for Get-NetAdapter.
Get-Help Get-NetAdapter -Full | Select-Object *
Convert returned objects into JSON for APIs or automation. Base task: Display complete syntax, parameter details, and examples for Get-NetAdapter.
Get-Help Get-NetAdapter -Full | ConvertTo-Json -Depth 6
Save formatted output to a UTF-8 text file. Base task: Display complete syntax, parameter details, and examples for Get-NetAdapter.
Get-Help Get-NetAdapter -Full | Out-File -FilePath .\command-results.txt -Encoding utf8
Display all returned properties in a readable list. Base task: Display complete syntax, parameter details, and examples for Restart-NetAdapter.
Get-Help Restart-NetAdapter -Full | Format-List *
Export returned objects to a CSV file for reporting. Base task: Display complete syntax, parameter details, and examples for Restart-NetAdapter.
Get-Help Restart-NetAdapter -Full | Export-Csv -Path .\command-results.csv -NoTypeInformation
Measure how long the command takes to complete. Base task: Display complete syntax, parameter details, and examples for Restart-NetAdapter.
Measure-Command { Get-Help Restart-NetAdapter -Full }
Run the command with terminating error handling. Base task: Display complete syntax, parameter details, and examples for Restart-NetAdapter.
try { Get-Help Restart-NetAdapter -Full -ErrorAction Stop } catch { Write-Error $_.Exception.Message }
Capture the command and console output in a transcript log. Base task: Display complete syntax, parameter details, and examples for Restart-NetAdapter.
Start-Transcript -Path .\command-session.log; Get-Help Restart-NetAdapter -Full; Stop-Transcript
Return all available object properties for inspection. Base task: Display complete syntax, parameter details, and examples for Restart-NetAdapter.
Get-Help Restart-NetAdapter -Full | Select-Object *
Convert returned objects into JSON for APIs or automation. Base task: Display complete syntax, parameter details, and examples for Restart-NetAdapter.
Get-Help Restart-NetAdapter -Full | ConvertTo-Json -Depth 6
Save formatted output to a UTF-8 text file. Base task: Display complete syntax, parameter details, and examples for Restart-NetAdapter.
Get-Help Restart-NetAdapter -Full | Out-File -FilePath .\command-results.txt -Encoding utf8
Display all returned properties in a readable list. Base task: Display complete syntax, parameter details, and examples for Get-NetRoute.
Get-Help Get-NetRoute -Full | Format-List *
Export returned objects to a CSV file for reporting. Base task: Display complete syntax, parameter details, and examples for Get-NetRoute.
Get-Help Get-NetRoute -Full | Export-Csv -Path .\command-results.csv -NoTypeInformation
Measure how long the command takes to complete. Base task: Display complete syntax, parameter details, and examples for Get-NetRoute.
Measure-Command { Get-Help Get-NetRoute -Full }
Run the command with terminating error handling. Base task: Display complete syntax, parameter details, and examples for Get-NetRoute.
try { Get-Help Get-NetRoute -Full -ErrorAction Stop } catch { Write-Error $_.Exception.Message }
Capture the command and console output in a transcript log. Base task: Display complete syntax, parameter details, and examples for Get-NetRoute.
Start-Transcript -Path .\command-session.log; Get-Help Get-NetRoute -Full; Stop-Transcript
Return all available object properties for inspection. Base task: Display complete syntax, parameter details, and examples for Get-NetRoute.
Get-Help Get-NetRoute -Full | Select-Object *
Convert returned objects into JSON for APIs or automation. Base task: Display complete syntax, parameter details, and examples for Get-NetRoute.
Get-Help Get-NetRoute -Full | ConvertTo-Json -Depth 6
Save formatted output to a UTF-8 text file. Base task: Display complete syntax, parameter details, and examples for Get-NetRoute.
Get-Help Get-NetRoute -Full | Out-File -FilePath .\command-results.txt -Encoding utf8
Display all returned properties in a readable list. Base task: Display complete syntax, parameter details, and examples for Get-NetTCPConnection.
Get-Help Get-NetTCPConnection -Full | Format-List *
Export returned objects to a CSV file for reporting. Base task: Display complete syntax, parameter details, and examples for Get-NetTCPConnection.
Get-Help Get-NetTCPConnection -Full | Export-Csv -Path .\command-results.csv -NoTypeInformation
Measure how long the command takes to complete. Base task: Display complete syntax, parameter details, and examples for Get-NetTCPConnection.
Measure-Command { Get-Help Get-NetTCPConnection -Full }
Run the command with terminating error handling. Base task: Display complete syntax, parameter details, and examples for Get-NetTCPConnection.
try { Get-Help Get-NetTCPConnection -Full -ErrorAction Stop } catch { Write-Error $_.Exception.Message }
Capture the command and console output in a transcript log. Base task: Display complete syntax, parameter details, and examples for Get-NetTCPConnection.
Start-Transcript -Path .\command-session.log; Get-Help Get-NetTCPConnection -Full; Stop-Transcript
Return all available object properties for inspection. Base task: Display complete syntax, parameter details, and examples for Get-NetTCPConnection.
Get-Help Get-NetTCPConnection -Full | Select-Object *
Convert returned objects into JSON for APIs or automation. Base task: Display complete syntax, parameter details, and examples for Get-NetTCPConnection.
Get-Help Get-NetTCPConnection -Full | ConvertTo-Json -Depth 6
Save formatted output to a UTF-8 text file. Base task: Display complete syntax, parameter details, and examples for Get-NetTCPConnection.
Get-Help Get-NetTCPConnection -Full | Out-File -FilePath .\command-results.txt -Encoding utf8
Display all returned properties in a readable list. Base task: Display complete syntax, parameter details, and examples for Get-DnsClientCache.
Get-Help Get-DnsClientCache -Full | Format-List *
Export returned objects to a CSV file for reporting. Base task: Display complete syntax, parameter details, and examples for Get-DnsClientCache.
Get-Help Get-DnsClientCache -Full | Export-Csv -Path .\command-results.csv -NoTypeInformation
Measure how long the command takes to complete. Base task: Display complete syntax, parameter details, and examples for Get-DnsClientCache.
Measure-Command { Get-Help Get-DnsClientCache -Full }
Run the command with terminating error handling. Base task: Display complete syntax, parameter details, and examples for Get-DnsClientCache.
try { Get-Help Get-DnsClientCache -Full -ErrorAction Stop } catch { Write-Error $_.Exception.Message }
Capture the command and console output in a transcript log. Base task: Display complete syntax, parameter details, and examples for Get-DnsClientCache.
Start-Transcript -Path .\command-session.log; Get-Help Get-DnsClientCache -Full; Stop-Transcript
Return all available object properties for inspection. Base task: Display complete syntax, parameter details, and examples for Get-DnsClientCache.
Get-Help Get-DnsClientCache -Full | Select-Object *
Convert returned objects into JSON for APIs or automation. Base task: Display complete syntax, parameter details, and examples for Get-DnsClientCache.
Get-Help Get-DnsClientCache -Full | ConvertTo-Json -Depth 6
Save formatted output to a UTF-8 text file. Base task: Display complete syntax, parameter details, and examples for Get-DnsClientCache.
Get-Help Get-DnsClientCache -Full | Out-File -FilePath .\command-results.txt -Encoding utf8
Display all returned properties in a readable list. Base task: Display complete syntax, parameter details, and examples for Clear-DnsClientCache.
Get-Help Clear-DnsClientCache -Full | Format-List *
Export returned objects to a CSV file for reporting. Base task: Display complete syntax, parameter details, and examples for Clear-DnsClientCache.
Get-Help Clear-DnsClientCache -Full | Export-Csv -Path .\command-results.csv -NoTypeInformation
Measure how long the command takes to complete. Base task: Display complete syntax, parameter details, and examples for Clear-DnsClientCache.
Measure-Command { Get-Help Clear-DnsClientCache -Full }
Run the command with terminating error handling. Base task: Display complete syntax, parameter details, and examples for Clear-DnsClientCache.
try { Get-Help Clear-DnsClientCache -Full -ErrorAction Stop } catch { Write-Error $_.Exception.Message }
Capture the command and console output in a transcript log. Base task: Display complete syntax, parameter details, and examples for Clear-DnsClientCache.
Start-Transcript -Path .\command-session.log; Get-Help Clear-DnsClientCache -Full; Stop-Transcript
Return all available object properties for inspection. Base task: Display complete syntax, parameter details, and examples for Clear-DnsClientCache.
Get-Help Clear-DnsClientCache -Full | Select-Object *
Convert returned objects into JSON for APIs or automation. Base task: Display complete syntax, parameter details, and examples for Clear-DnsClientCache.
Get-Help Clear-DnsClientCache -Full | ConvertTo-Json -Depth 6
Save formatted output to a UTF-8 text file. Base task: Display complete syntax, parameter details, and examples for Clear-DnsClientCache.
Get-Help Clear-DnsClientCache -Full | Out-File -FilePath .\command-results.txt -Encoding utf8
Display all returned properties in a readable list. Base task: Display complete syntax, parameter details, and examples for Get-ChildItem.
Get-Help Get-ChildItem -Full | Format-List *
Export returned objects to a CSV file for reporting. Base task: Display complete syntax, parameter details, and examples for Get-ChildItem.
Get-Help Get-ChildItem -Full | Export-Csv -Path .\command-results.csv -NoTypeInformation
Measure how long the command takes to complete. Base task: Display complete syntax, parameter details, and examples for Get-ChildItem.
Measure-Command { Get-Help Get-ChildItem -Full }
Run the command with terminating error handling. Base task: Display complete syntax, parameter details, and examples for Get-ChildItem.
try { Get-Help Get-ChildItem -Full -ErrorAction Stop } catch { Write-Error $_.Exception.Message }
Capture the command and console output in a transcript log. Base task: Display complete syntax, parameter details, and examples for Get-ChildItem.
Start-Transcript -Path .\command-session.log; Get-Help Get-ChildItem -Full; Stop-Transcript
Return all available object properties for inspection. Base task: Display complete syntax, parameter details, and examples for Get-ChildItem.
Get-Help Get-ChildItem -Full | Select-Object *
Convert returned objects into JSON for APIs or automation. Base task: Display complete syntax, parameter details, and examples for Get-ChildItem.
Get-Help Get-ChildItem -Full | ConvertTo-Json -Depth 6
Save formatted output to a UTF-8 text file. Base task: Display complete syntax, parameter details, and examples for Get-ChildItem.
Get-Help Get-ChildItem -Full | Out-File -FilePath .\command-results.txt -Encoding utf8
Display all returned properties in a readable list. Base task: Display complete syntax, parameter details, and examples for Copy-Item.
Get-Help Copy-Item -Full | Format-List *
Export returned objects to a CSV file for reporting. Base task: Display complete syntax, parameter details, and examples for Copy-Item.
Get-Help Copy-Item -Full | Export-Csv -Path .\command-results.csv -NoTypeInformation
Measure how long the command takes to complete. Base task: Display complete syntax, parameter details, and examples for Copy-Item.
Measure-Command { Get-Help Copy-Item -Full }
Run the command with terminating error handling. Base task: Display complete syntax, parameter details, and examples for Copy-Item.
try { Get-Help Copy-Item -Full -ErrorAction Stop } catch { Write-Error $_.Exception.Message }
Capture the command and console output in a transcript log. Base task: Display complete syntax, parameter details, and examples for Copy-Item.
Start-Transcript -Path .\command-session.log; Get-Help Copy-Item -Full; Stop-Transcript
Return all available object properties for inspection. Base task: Display complete syntax, parameter details, and examples for Copy-Item.
Get-Help Copy-Item -Full | Select-Object *
Convert returned objects into JSON for APIs or automation. Base task: Display complete syntax, parameter details, and examples for Copy-Item.
Get-Help Copy-Item -Full | ConvertTo-Json -Depth 6
Save formatted output to a UTF-8 text file. Base task: Display complete syntax, parameter details, and examples for Copy-Item.
Get-Help Copy-Item -Full | Out-File -FilePath .\command-results.txt -Encoding utf8
Display all returned properties in a readable list. Base task: Display complete syntax, parameter details, and examples for Move-Item.
Get-Help Move-Item -Full | Format-List *
Export returned objects to a CSV file for reporting. Base task: Display complete syntax, parameter details, and examples for Move-Item.
Get-Help Move-Item -Full | Export-Csv -Path .\command-results.csv -NoTypeInformation
Measure how long the command takes to complete. Base task: Display complete syntax, parameter details, and examples for Move-Item.
Measure-Command { Get-Help Move-Item -Full }
Run the command with terminating error handling. Base task: Display complete syntax, parameter details, and examples for Move-Item.
try { Get-Help Move-Item -Full -ErrorAction Stop } catch { Write-Error $_.Exception.Message }
Capture the command and console output in a transcript log. Base task: Display complete syntax, parameter details, and examples for Move-Item.
Start-Transcript -Path .\command-session.log; Get-Help Move-Item -Full; Stop-Transcript
Return all available object properties for inspection. Base task: Display complete syntax, parameter details, and examples for Move-Item.
Get-Help Move-Item -Full | Select-Object *
Convert returned objects into JSON for APIs or automation. Base task: Display complete syntax, parameter details, and examples for Move-Item.
Get-Help Move-Item -Full | ConvertTo-Json -Depth 6
Save formatted output to a UTF-8 text file. Base task: Display complete syntax, parameter details, and examples for Move-Item.
Get-Help Move-Item -Full | Out-File -FilePath .\command-results.txt -Encoding utf8
Display all returned properties in a readable list. Base task: Display complete syntax, parameter details, and examples for Remove-Item.
Get-Help Remove-Item -Full | Format-List *
Export returned objects to a CSV file for reporting. Base task: Display complete syntax, parameter details, and examples for Remove-Item.
Get-Help Remove-Item -Full | Export-Csv -Path .\command-results.csv -NoTypeInformation
Measure how long the command takes to complete. Base task: Display complete syntax, parameter details, and examples for Remove-Item.
Measure-Command { Get-Help Remove-Item -Full }
Run the command with terminating error handling. Base task: Display complete syntax, parameter details, and examples for Remove-Item.
try { Get-Help Remove-Item -Full -ErrorAction Stop } catch { Write-Error $_.Exception.Message }
Capture the command and console output in a transcript log. Base task: Display complete syntax, parameter details, and examples for Remove-Item.
Start-Transcript -Path .\command-session.log; Get-Help Remove-Item -Full; Stop-Transcript
Return all available object properties for inspection. Base task: Display complete syntax, parameter details, and examples for Remove-Item.
Get-Help Remove-Item -Full | Select-Object *
Convert returned objects into JSON for APIs or automation. Base task: Display complete syntax, parameter details, and examples for Remove-Item.
Get-Help Remove-Item -Full | ConvertTo-Json -Depth 6
Save formatted output to a UTF-8 text file. Base task: Display complete syntax, parameter details, and examples for Remove-Item.
Get-Help Remove-Item -Full | Out-File -FilePath .\command-results.txt -Encoding utf8
Display all returned properties in a readable list. Base task: Display complete syntax, parameter details, and examples for New-Item.
Get-Help New-Item -Full | Format-List *
Export returned objects to a CSV file for reporting. Base task: Display complete syntax, parameter details, and examples for New-Item.
Get-Help New-Item -Full | Export-Csv -Path .\command-results.csv -NoTypeInformation
Measure how long the command takes to complete. Base task: Display complete syntax, parameter details, and examples for New-Item.
Measure-Command { Get-Help New-Item -Full }
Run the command with terminating error handling. Base task: Display complete syntax, parameter details, and examples for New-Item.
try { Get-Help New-Item -Full -ErrorAction Stop } catch { Write-Error $_.Exception.Message }
Capture the command and console output in a transcript log. Base task: Display complete syntax, parameter details, and examples for New-Item.
Start-Transcript -Path .\command-session.log; Get-Help New-Item -Full; Stop-Transcript
Return all available object properties for inspection. Base task: Display complete syntax, parameter details, and examples for New-Item.
Get-Help New-Item -Full | Select-Object *
Convert returned objects into JSON for APIs or automation. Base task: Display complete syntax, parameter details, and examples for New-Item.
Get-Help New-Item -Full | ConvertTo-Json -Depth 6
Save formatted output to a UTF-8 text file. Base task: Display complete syntax, parameter details, and examples for New-Item.
Get-Help New-Item -Full | Out-File -FilePath .\command-results.txt -Encoding utf8
Display all returned properties in a readable list. Base task: Display complete syntax, parameter details, and examples for Get-Content.
Get-Help Get-Content -Full | Format-List *
Export returned objects to a CSV file for reporting. Base task: Display complete syntax, parameter details, and examples for Get-Content.
Get-Help Get-Content -Full | Export-Csv -Path .\command-results.csv -NoTypeInformation
Measure how long the command takes to complete. Base task: Display complete syntax, parameter details, and examples for Get-Content.
Measure-Command { Get-Help Get-Content -Full }
Run the command with terminating error handling. Base task: Display complete syntax, parameter details, and examples for Get-Content.
try { Get-Help Get-Content -Full -ErrorAction Stop } catch { Write-Error $_.Exception.Message }
Capture the command and console output in a transcript log. Base task: Display complete syntax, parameter details, and examples for Get-Content.
Start-Transcript -Path .\command-session.log; Get-Help Get-Content -Full; Stop-Transcript
Return all available object properties for inspection. Base task: Display complete syntax, parameter details, and examples for Get-Content.
Get-Help Get-Content -Full | Select-Object *
Convert returned objects into JSON for APIs or automation. Base task: Display complete syntax, parameter details, and examples for Get-Content.
Get-Help Get-Content -Full | ConvertTo-Json -Depth 6
Save formatted output to a UTF-8 text file. Base task: Display complete syntax, parameter details, and examples for Get-Content.
Get-Help Get-Content -Full | Out-File -FilePath .\command-results.txt -Encoding utf8
Display all returned properties in a readable list. Base task: Display complete syntax, parameter details, and examples for Set-Content.
Get-Help Set-Content -Full | Format-List *
Export returned objects to a CSV file for reporting. Base task: Display complete syntax, parameter details, and examples for Set-Content.
Get-Help Set-Content -Full | Export-Csv -Path .\command-results.csv -NoTypeInformation
Measure how long the command takes to complete. Base task: Display complete syntax, parameter details, and examples for Set-Content.
Measure-Command { Get-Help Set-Content -Full }
Run the command with terminating error handling. Base task: Display complete syntax, parameter details, and examples for Set-Content.
try { Get-Help Set-Content -Full -ErrorAction Stop } catch { Write-Error $_.Exception.Message }
Capture the command and console output in a transcript log. Base task: Display complete syntax, parameter details, and examples for Set-Content.
Start-Transcript -Path .\command-session.log; Get-Help Set-Content -Full; Stop-Transcript
Return all available object properties for inspection. Base task: Display complete syntax, parameter details, and examples for Set-Content.
Get-Help Set-Content -Full | Select-Object *
Convert returned objects into JSON for APIs or automation. Base task: Display complete syntax, parameter details, and examples for Set-Content.
Get-Help Set-Content -Full | ConvertTo-Json -Depth 6
Save formatted output to a UTF-8 text file. Base task: Display complete syntax, parameter details, and examples for Set-Content.
Get-Help Set-Content -Full | Out-File -FilePath .\command-results.txt -Encoding utf8
Display all returned properties in a readable list. Base task: Display complete syntax, parameter details, and examples for Add-Content.
Get-Help Add-Content -Full | Format-List *
Export returned objects to a CSV file for reporting. Base task: Display complete syntax, parameter details, and examples for Add-Content.
Get-Help Add-Content -Full | Export-Csv -Path .\command-results.csv -NoTypeInformation
Measure how long the command takes to complete. Base task: Display complete syntax, parameter details, and examples for Add-Content.
Measure-Command { Get-Help Add-Content -Full }
Run the command with terminating error handling. Base task: Display complete syntax, parameter details, and examples for Add-Content.
try { Get-Help Add-Content -Full -ErrorAction Stop } catch { Write-Error $_.Exception.Message }
Capture the command and console output in a transcript log. Base task: Display complete syntax, parameter details, and examples for Add-Content.
Start-Transcript -Path .\command-session.log; Get-Help Add-Content -Full; Stop-Transcript
Return all available object properties for inspection. Base task: Display complete syntax, parameter details, and examples for Add-Content.
Get-Help Add-Content -Full | Select-Object *
Convert returned objects into JSON for APIs or automation. Base task: Display complete syntax, parameter details, and examples for Add-Content.
Get-Help Add-Content -Full | ConvertTo-Json -Depth 6
Save formatted output to a UTF-8 text file. Base task: Display complete syntax, parameter details, and examples for Add-Content.
Get-Help Add-Content -Full | Out-File -FilePath .\command-results.txt -Encoding utf8
Display all returned properties in a readable list. Base task: Display complete syntax, parameter details, and examples for Select-String.
Get-Help Select-String -Full | Format-List *
Export returned objects to a CSV file for reporting. Base task: Display complete syntax, parameter details, and examples for Select-String.
Get-Help Select-String -Full | Export-Csv -Path .\command-results.csv -NoTypeInformation
Measure how long the command takes to complete. Base task: Display complete syntax, parameter details, and examples for Select-String.
Measure-Command { Get-Help Select-String -Full }
Run the command with terminating error handling. Base task: Display complete syntax, parameter details, and examples for Select-String.
try { Get-Help Select-String -Full -ErrorAction Stop } catch { Write-Error $_.Exception.Message }
Capture the command and console output in a transcript log. Base task: Display complete syntax, parameter details, and examples for Select-String.
Start-Transcript -Path .\command-session.log; Get-Help Select-String -Full; Stop-Transcript
Return all available object properties for inspection. Base task: Display complete syntax, parameter details, and examples for Select-String.
Get-Help Select-String -Full | Select-Object *
Convert returned objects into JSON for APIs or automation. Base task: Display complete syntax, parameter details, and examples for Select-String.
Get-Help Select-String -Full | ConvertTo-Json -Depth 6
Save formatted output to a UTF-8 text file. Base task: Display complete syntax, parameter details, and examples for Select-String.
Get-Help Select-String -Full | Out-File -FilePath .\command-results.txt -Encoding utf8
Display all returned properties in a readable list. Base task: Display complete syntax, parameter details, and examples for Import-Csv.
Get-Help Import-Csv -Full | Format-List *
Export returned objects to a CSV file for reporting. Base task: Display complete syntax, parameter details, and examples for Import-Csv.
Get-Help Import-Csv -Full | Export-Csv -Path .\command-results.csv -NoTypeInformation
Measure how long the command takes to complete. Base task: Display complete syntax, parameter details, and examples for Import-Csv.
Measure-Command { Get-Help Import-Csv -Full }
Run the command with terminating error handling. Base task: Display complete syntax, parameter details, and examples for Import-Csv.
try { Get-Help Import-Csv -Full -ErrorAction Stop } catch { Write-Error $_.Exception.Message }
Capture the command and console output in a transcript log. Base task: Display complete syntax, parameter details, and examples for Import-Csv.
Start-Transcript -Path .\command-session.log; Get-Help Import-Csv -Full; Stop-Transcript
Return all available object properties for inspection. Base task: Display complete syntax, parameter details, and examples for Import-Csv.
Get-Help Import-Csv -Full | Select-Object *
Convert returned objects into JSON for APIs or automation. Base task: Display complete syntax, parameter details, and examples for Import-Csv.
Get-Help Import-Csv -Full | ConvertTo-Json -Depth 6
Save formatted output to a UTF-8 text file. Base task: Display complete syntax, parameter details, and examples for Import-Csv.
Get-Help Import-Csv -Full | Out-File -FilePath .\command-results.txt -Encoding utf8
Display all returned properties in a readable list. Base task: Display complete syntax, parameter details, and examples for Invoke-RestMethod.
Get-Help Invoke-RestMethod -Full | Format-List *
Export returned objects to a CSV file for reporting. Base task: Display complete syntax, parameter details, and examples for Invoke-RestMethod.
Get-Help Invoke-RestMethod -Full | Export-Csv -Path .\command-results.csv -NoTypeInformation
Measure how long the command takes to complete. Base task: Display complete syntax, parameter details, and examples for Invoke-RestMethod.
Measure-Command { Get-Help Invoke-RestMethod -Full }
Run the command with terminating error handling. Base task: Display complete syntax, parameter details, and examples for Invoke-RestMethod.
try { Get-Help Invoke-RestMethod -Full -ErrorAction Stop } catch { Write-Error $_.Exception.Message }
Capture the command and console output in a transcript log. Base task: Display complete syntax, parameter details, and examples for Invoke-RestMethod.
Start-Transcript -Path .\command-session.log; Get-Help Invoke-RestMethod -Full; Stop-Transcript
Return all available object properties for inspection. Base task: Display complete syntax, parameter details, and examples for Invoke-RestMethod.
Get-Help Invoke-RestMethod -Full | Select-Object *
Convert returned objects into JSON for APIs or automation. Base task: Display complete syntax, parameter details, and examples for Invoke-RestMethod.
Get-Help Invoke-RestMethod -Full | ConvertTo-Json -Depth 6
Save formatted output to a UTF-8 text file. Base task: Display complete syntax, parameter details, and examples for Invoke-RestMethod.
Get-Help Invoke-RestMethod -Full | Out-File -FilePath .\command-results.txt -Encoding utf8
Display all returned properties in a readable list. Base task: Display complete syntax, parameter details, and examples for Invoke-WebRequest.
Get-Help Invoke-WebRequest -Full | Format-List *
Export returned objects to a CSV file for reporting. Base task: Display complete syntax, parameter details, and examples for Invoke-WebRequest.
Get-Help Invoke-WebRequest -Full | Export-Csv -Path .\command-results.csv -NoTypeInformation
Measure how long the command takes to complete. Base task: Display complete syntax, parameter details, and examples for Invoke-WebRequest.
Measure-Command { Get-Help Invoke-WebRequest -Full }
Run the command with terminating error handling. Base task: Display complete syntax, parameter details, and examples for Invoke-WebRequest.
try { Get-Help Invoke-WebRequest -Full -ErrorAction Stop } catch { Write-Error $_.Exception.Message }
Capture the command and console output in a transcript log. Base task: Display complete syntax, parameter details, and examples for Invoke-WebRequest.
Start-Transcript -Path .\command-session.log; Get-Help Invoke-WebRequest -Full; Stop-Transcript
Return all available object properties for inspection. Base task: Display complete syntax, parameter details, and examples for Invoke-WebRequest.
Get-Help Invoke-WebRequest -Full | Select-Object *
Convert returned objects into JSON for APIs or automation. Base task: Display complete syntax, parameter details, and examples for Invoke-WebRequest.
Get-Help Invoke-WebRequest -Full | ConvertTo-Json -Depth 6
Save formatted output to a UTF-8 text file. Base task: Display complete syntax, parameter details, and examples for Invoke-WebRequest.
Get-Help Invoke-WebRequest -Full | Out-File -FilePath .\command-results.txt -Encoding utf8
Display all returned properties in a readable list. Base task: Display complete syntax, parameter details, and examples for Get-ScheduledTask.
Get-Help Get-ScheduledTask -Full | Format-List *
Export returned objects to a CSV file for reporting. Base task: Display complete syntax, parameter details, and examples for Get-ScheduledTask.
Get-Help Get-ScheduledTask -Full | Export-Csv -Path .\command-results.csv -NoTypeInformation
Measure how long the command takes to complete. Base task: Display complete syntax, parameter details, and examples for Get-ScheduledTask.
Measure-Command { Get-Help Get-ScheduledTask -Full }
Run the command with terminating error handling. Base task: Display complete syntax, parameter details, and examples for Get-ScheduledTask.
try { Get-Help Get-ScheduledTask -Full -ErrorAction Stop } catch { Write-Error $_.Exception.Message }
Capture the command and console output in a transcript log. Base task: Display complete syntax, parameter details, and examples for Get-ScheduledTask.
Start-Transcript -Path .\command-session.log; Get-Help Get-ScheduledTask -Full; Stop-Transcript
Return all available object properties for inspection. Base task: Display complete syntax, parameter details, and examples for Get-ScheduledTask.
Get-Help Get-ScheduledTask -Full | Select-Object *
Convert returned objects into JSON for APIs or automation. Base task: Display complete syntax, parameter details, and examples for Get-ScheduledTask.
Get-Help Get-ScheduledTask -Full | ConvertTo-Json -Depth 6
Save formatted output to a UTF-8 text file. Base task: Display complete syntax, parameter details, and examples for Get-ScheduledTask.
Get-Help Get-ScheduledTask -Full | Out-File -FilePath .\command-results.txt -Encoding utf8
Display all returned properties in a readable list. Base task: Display complete syntax, parameter details, and examples for Start-ScheduledTask.
Get-Help Start-ScheduledTask -Full | Format-List *
Export returned objects to a CSV file for reporting. Base task: Display complete syntax, parameter details, and examples for Start-ScheduledTask.
Get-Help Start-ScheduledTask -Full | Export-Csv -Path .\command-results.csv -NoTypeInformation
Measure how long the command takes to complete. Base task: Display complete syntax, parameter details, and examples for Start-ScheduledTask.
Measure-Command { Get-Help Start-ScheduledTask -Full }
Run the command with terminating error handling. Base task: Display complete syntax, parameter details, and examples for Start-ScheduledTask.
try { Get-Help Start-ScheduledTask -Full -ErrorAction Stop } catch { Write-Error $_.Exception.Message }
Capture the command and console output in a transcript log. Base task: Display complete syntax, parameter details, and examples for Start-ScheduledTask.
Start-Transcript -Path .\command-session.log; Get-Help Start-ScheduledTask -Full; Stop-Transcript
Return all available object properties for inspection. Base task: Display complete syntax, parameter details, and examples for Start-ScheduledTask.
Get-Help Start-ScheduledTask -Full | Select-Object *
Convert returned objects into JSON for APIs or automation. Base task: Display complete syntax, parameter details, and examples for Start-ScheduledTask.
Get-Help Start-ScheduledTask -Full | ConvertTo-Json -Depth 6
Save formatted output to a UTF-8 text file. Base task: Display complete syntax, parameter details, and examples for Start-ScheduledTask.
Get-Help Start-ScheduledTask -Full | Out-File -FilePath .\command-results.txt -Encoding utf8
Display all returned properties in a readable list. Base task: Display complete syntax, parameter details, and examples for Get-LocalUser.
Get-Help Get-LocalUser -Full | Format-List *
Export returned objects to a CSV file for reporting. Base task: Display complete syntax, parameter details, and examples for Get-LocalUser.
Get-Help Get-LocalUser -Full | Export-Csv -Path .\command-results.csv -NoTypeInformation
Measure how long the command takes to complete. Base task: Display complete syntax, parameter details, and examples for Get-LocalUser.
Measure-Command { Get-Help Get-LocalUser -Full }
Run the command with terminating error handling. Base task: Display complete syntax, parameter details, and examples for Get-LocalUser.
try { Get-Help Get-LocalUser -Full -ErrorAction Stop } catch { Write-Error $_.Exception.Message }
Capture the command and console output in a transcript log. Base task: Display complete syntax, parameter details, and examples for Get-LocalUser.
Start-Transcript -Path .\command-session.log; Get-Help Get-LocalUser -Full; Stop-Transcript
Return all available object properties for inspection. Base task: Display complete syntax, parameter details, and examples for Get-LocalUser.
Get-Help Get-LocalUser -Full | Select-Object *
Convert returned objects into JSON for APIs or automation. Base task: Display complete syntax, parameter details, and examples for Get-LocalUser.
Get-Help Get-LocalUser -Full | ConvertTo-Json -Depth 6
Save formatted output to a UTF-8 text file. Base task: Display complete syntax, parameter details, and examples for Get-LocalUser.
Get-Help Get-LocalUser -Full | Out-File -FilePath .\command-results.txt -Encoding utf8
Display all returned properties in a readable list. Base task: Display complete syntax, parameter details, and examples for New-LocalUser.
Get-Help New-LocalUser -Full | Format-List *
Export returned objects to a CSV file for reporting. Base task: Display complete syntax, parameter details, and examples for New-LocalUser.
Get-Help New-LocalUser -Full | Export-Csv -Path .\command-results.csv -NoTypeInformation
Measure how long the command takes to complete. Base task: Display complete syntax, parameter details, and examples for New-LocalUser.
Measure-Command { Get-Help New-LocalUser -Full }
Run the command with terminating error handling. Base task: Display complete syntax, parameter details, and examples for New-LocalUser.
try { Get-Help New-LocalUser -Full -ErrorAction Stop } catch { Write-Error $_.Exception.Message }
Capture the command and console output in a transcript log. Base task: Display complete syntax, parameter details, and examples for New-LocalUser.
Start-Transcript -Path .\command-session.log; Get-Help New-LocalUser -Full; Stop-Transcript
Return all available object properties for inspection. Base task: Display complete syntax, parameter details, and examples for New-LocalUser.
Get-Help New-LocalUser -Full | Select-Object *
Convert returned objects into JSON for APIs or automation. Base task: Display complete syntax, parameter details, and examples for New-LocalUser.
Get-Help New-LocalUser -Full | ConvertTo-Json -Depth 6
Save formatted output to a UTF-8 text file. Base task: Display complete syntax, parameter details, and examples for New-LocalUser.
Get-Help New-LocalUser -Full | Out-File -FilePath .\command-results.txt -Encoding utf8
Display all returned properties in a readable list. Base task: Display complete syntax, parameter details, and examples for Get-LocalGroupMember.
Get-Help Get-LocalGroupMember -Full | Format-List *
Export returned objects to a CSV file for reporting. Base task: Display complete syntax, parameter details, and examples for Get-LocalGroupMember.
Get-Help Get-LocalGroupMember -Full | Export-Csv -Path .\command-results.csv -NoTypeInformation
Measure how long the command takes to complete. Base task: Display complete syntax, parameter details, and examples for Get-LocalGroupMember.
Measure-Command { Get-Help Get-LocalGroupMember -Full }
Run the command with terminating error handling. Base task: Display complete syntax, parameter details, and examples for Get-LocalGroupMember.
try { Get-Help Get-LocalGroupMember -Full -ErrorAction Stop } catch { Write-Error $_.Exception.Message }
Capture the command and console output in a transcript log. Base task: Display complete syntax, parameter details, and examples for Get-LocalGroupMember.
Start-Transcript -Path .\command-session.log; Get-Help Get-LocalGroupMember -Full; Stop-Transcript
Return all available object properties for inspection. Base task: Display complete syntax, parameter details, and examples for Get-LocalGroupMember.
Get-Help Get-LocalGroupMember -Full | Select-Object *
Convert returned objects into JSON for APIs or automation. Base task: Display complete syntax, parameter details, and examples for Get-LocalGroupMember.
Get-Help Get-LocalGroupMember -Full | ConvertTo-Json -Depth 6
Save formatted output to a UTF-8 text file. Base task: Display complete syntax, parameter details, and examples for Get-LocalGroupMember.
Get-Help Get-LocalGroupMember -Full | Out-File -FilePath .\command-results.txt -Encoding utf8
Display all returned properties in a readable list. Base task: Display complete syntax, parameter details, and examples for Add-LocalGroupMember.
Get-Help Add-LocalGroupMember -Full | Format-List *
Export returned objects to a CSV file for reporting. Base task: Display complete syntax, parameter details, and examples for Add-LocalGroupMember.
Get-Help Add-LocalGroupMember -Full | Export-Csv -Path .\command-results.csv -NoTypeInformation
Measure how long the command takes to complete. Base task: Display complete syntax, parameter details, and examples for Add-LocalGroupMember.
Measure-Command { Get-Help Add-LocalGroupMember -Full }
Run the command with terminating error handling. Base task: Display complete syntax, parameter details, and examples for Add-LocalGroupMember.
try { Get-Help Add-LocalGroupMember -Full -ErrorAction Stop } catch { Write-Error $_.Exception.Message }
Capture the command and console output in a transcript log. Base task: Display complete syntax, parameter details, and examples for Add-LocalGroupMember.
Start-Transcript -Path .\command-session.log; Get-Help Add-LocalGroupMember -Full; Stop-Transcript
Return all available object properties for inspection. Base task: Display complete syntax, parameter details, and examples for Add-LocalGroupMember.
Get-Help Add-LocalGroupMember -Full | Select-Object *
Convert returned objects into JSON for APIs or automation. Base task: Display complete syntax, parameter details, and examples for Add-LocalGroupMember.
Get-Help Add-LocalGroupMember -Full | ConvertTo-Json -Depth 6
Save formatted output to a UTF-8 text file. Base task: Display complete syntax, parameter details, and examples for Add-LocalGroupMember.
Get-Help Add-LocalGroupMember -Full | Out-File -FilePath .\command-results.txt -Encoding utf8
Display all returned properties in a readable list. Base task: Display complete syntax, parameter details, and examples for Get-HotFix.
Get-Help Get-HotFix -Full | Format-List *
Export returned objects to a CSV file for reporting. Base task: Display complete syntax, parameter details, and examples for Get-HotFix.
Get-Help Get-HotFix -Full | Export-Csv -Path .\command-results.csv -NoTypeInformation
Measure how long the command takes to complete. Base task: Display complete syntax, parameter details, and examples for Get-HotFix.
Measure-Command { Get-Help Get-HotFix -Full }
Run the command with terminating error handling. Base task: Display complete syntax, parameter details, and examples for Get-HotFix.
try { Get-Help Get-HotFix -Full -ErrorAction Stop } catch { Write-Error $_.Exception.Message }
Capture the command and console output in a transcript log. Base task: Display complete syntax, parameter details, and examples for Get-HotFix.
Start-Transcript -Path .\command-session.log; Get-Help Get-HotFix -Full; Stop-Transcript
Return all available object properties for inspection. Base task: Display complete syntax, parameter details, and examples for Get-HotFix.
Get-Help Get-HotFix -Full | Select-Object *
Convert returned objects into JSON for APIs or automation. Base task: Display complete syntax, parameter details, and examples for Get-HotFix.
Get-Help Get-HotFix -Full | ConvertTo-Json -Depth 6
Save formatted output to a UTF-8 text file. Base task: Display complete syntax, parameter details, and examples for Get-HotFix.
Get-Help Get-HotFix -Full | Out-File -FilePath .\command-results.txt -Encoding utf8
Display all returned properties in a readable list. Base task: Display complete syntax, parameter details, and examples for Get-WindowsOptionalFeature.
Get-Help Get-WindowsOptionalFeature -Full | Format-List *
Export returned objects to a CSV file for reporting. Base task: Display complete syntax, parameter details, and examples for Get-WindowsOptionalFeature.
Get-Help Get-WindowsOptionalFeature -Full | Export-Csv -Path .\command-results.csv -NoTypeInformation
Measure how long the command takes to complete. Base task: Display complete syntax, parameter details, and examples for Get-WindowsOptionalFeature.
Measure-Command { Get-Help Get-WindowsOptionalFeature -Full }
Run the command with terminating error handling. Base task: Display complete syntax, parameter details, and examples for Get-WindowsOptionalFeature.
try { Get-Help Get-WindowsOptionalFeature -Full -ErrorAction Stop } catch { Write-Error $_.Exception.Message }
Capture the command and console output in a transcript log. Base task: Display complete syntax, parameter details, and examples for Get-WindowsOptionalFeature.
Start-Transcript -Path .\command-session.log; Get-Help Get-WindowsOptionalFeature -Full; Stop-Transcript
Return all available object properties for inspection. Base task: Display complete syntax, parameter details, and examples for Get-WindowsOptionalFeature.
Get-Help Get-WindowsOptionalFeature -Full | Select-Object *
Convert returned objects into JSON for APIs or automation. Base task: Display complete syntax, parameter details, and examples for Get-WindowsOptionalFeature.
Get-Help Get-WindowsOptionalFeature -Full | ConvertTo-Json -Depth 6
Save formatted output to a UTF-8 text file. Base task: Display complete syntax, parameter details, and examples for Get-WindowsOptionalFeature.
Get-Help Get-WindowsOptionalFeature -Full | Out-File -FilePath .\command-results.txt -Encoding utf8
Display all returned properties in a readable list. Base task: Display complete syntax, parameter details, and examples for Enable-WindowsOptionalFeature.
Get-Help Enable-WindowsOptionalFeature -Full | Format-List *
Export returned objects to a CSV file for reporting. Base task: Display complete syntax, parameter details, and examples for Enable-WindowsOptionalFeature.
Get-Help Enable-WindowsOptionalFeature -Full | Export-Csv -Path .\command-results.csv -NoTypeInformation
Measure how long the command takes to complete. Base task: Display complete syntax, parameter details, and examples for Enable-WindowsOptionalFeature.
Measure-Command { Get-Help Enable-WindowsOptionalFeature -Full }
Run the command with terminating error handling. Base task: Display complete syntax, parameter details, and examples for Enable-WindowsOptionalFeature.
try { Get-Help Enable-WindowsOptionalFeature -Full -ErrorAction Stop } catch { Write-Error $_.Exception.Message }
Capture the command and console output in a transcript log. Base task: Display complete syntax, parameter details, and examples for Enable-WindowsOptionalFeature.
Start-Transcript -Path .\command-session.log; Get-Help Enable-WindowsOptionalFeature -Full; Stop-Transcript
Return all available object properties for inspection. Base task: Display complete syntax, parameter details, and examples for Enable-WindowsOptionalFeature.
Get-Help Enable-WindowsOptionalFeature -Full | Select-Object *
Convert returned objects into JSON for APIs or automation. Base task: Display complete syntax, parameter details, and examples for Enable-WindowsOptionalFeature.
Get-Help Enable-WindowsOptionalFeature -Full | ConvertTo-Json -Depth 6
Save formatted output to a UTF-8 text file. Base task: Display complete syntax, parameter details, and examples for Enable-WindowsOptionalFeature.
Get-Help Enable-WindowsOptionalFeature -Full | Out-File -FilePath .\command-results.txt -Encoding utf8
Display all returned properties in a readable list. Base task: Display complete syntax, parameter details, and examples for Get-Volume.
Get-Help Get-Volume -Full | Format-List *
Export returned objects to a CSV file for reporting. Base task: Display complete syntax, parameter details, and examples for Get-Volume.
Get-Help Get-Volume -Full | Export-Csv -Path .\command-results.csv -NoTypeInformation
Measure how long the command takes to complete. Base task: Display complete syntax, parameter details, and examples for Get-Volume.
Measure-Command { Get-Help Get-Volume -Full }
Run the command with terminating error handling. Base task: Display complete syntax, parameter details, and examples for Get-Volume.
try { Get-Help Get-Volume -Full -ErrorAction Stop } catch { Write-Error $_.Exception.Message }
Capture the command and console output in a transcript log. Base task: Display complete syntax, parameter details, and examples for Get-Volume.
Start-Transcript -Path .\command-session.log; Get-Help Get-Volume -Full; Stop-Transcript
Return all available object properties for inspection. Base task: Display complete syntax, parameter details, and examples for Get-Volume.
Get-Help Get-Volume -Full | Select-Object *
Convert returned objects into JSON for APIs or automation. Base task: Display complete syntax, parameter details, and examples for Get-Volume.
Get-Help Get-Volume -Full | ConvertTo-Json -Depth 6
Save formatted output to a UTF-8 text file. Base task: Display complete syntax, parameter details, and examples for Get-Volume.
Get-Help Get-Volume -Full | Out-File -FilePath .\command-results.txt -Encoding utf8
Display all returned properties in a readable list. Base task: Display complete syntax, parameter details, and examples for Get-Disk.
Get-Help Get-Disk -Full | Format-List *
Export returned objects to a CSV file for reporting. Base task: Display complete syntax, parameter details, and examples for Get-Disk.
Get-Help Get-Disk -Full | Export-Csv -Path .\command-results.csv -NoTypeInformation
Measure how long the command takes to complete. Base task: Display complete syntax, parameter details, and examples for Get-Disk.
Measure-Command { Get-Help Get-Disk -Full }
Run the command with terminating error handling. Base task: Display complete syntax, parameter details, and examples for Get-Disk.
try { Get-Help Get-Disk -Full -ErrorAction Stop } catch { Write-Error $_.Exception.Message }
Capture the command and console output in a transcript log. Base task: Display complete syntax, parameter details, and examples for Get-Disk.
Start-Transcript -Path .\command-session.log; Get-Help Get-Disk -Full; Stop-Transcript
Return all available object properties for inspection. Base task: Display complete syntax, parameter details, and examples for Get-Disk.
Get-Help Get-Disk -Full | Select-Object *
Convert returned objects into JSON for APIs or automation. Base task: Display complete syntax, parameter details, and examples for Get-Disk.
Get-Help Get-Disk -Full | ConvertTo-Json -Depth 6
Save formatted output to a UTF-8 text file. Base task: Display complete syntax, parameter details, and examples for Get-Disk.
Get-Help Get-Disk -Full | Out-File -FilePath .\command-results.txt -Encoding utf8
Display all returned properties in a readable list. Base task: Display complete syntax, parameter details, and examples for Get-Partition.
Get-Help Get-Partition -Full | Format-List *
Export returned objects to a CSV file for reporting. Base task: Display complete syntax, parameter details, and examples for Get-Partition.
Get-Help Get-Partition -Full | Export-Csv -Path .\command-results.csv -NoTypeInformation
Measure how long the command takes to complete. Base task: Display complete syntax, parameter details, and examples for Get-Partition.
Measure-Command { Get-Help Get-Partition -Full }
Run the command with terminating error handling. Base task: Display complete syntax, parameter details, and examples for Get-Partition.
try { Get-Help Get-Partition -Full -ErrorAction Stop } catch { Write-Error $_.Exception.Message }
Capture the command and console output in a transcript log. Base task: Display complete syntax, parameter details, and examples for Get-Partition.
Start-Transcript -Path .\command-session.log; Get-Help Get-Partition -Full; Stop-Transcript
Return all available object properties for inspection. Base task: Display complete syntax, parameter details, and examples for Get-Partition.
Get-Help Get-Partition -Full | Select-Object *
Convert returned objects into JSON for APIs or automation. Base task: Display complete syntax, parameter details, and examples for Get-Partition.
Get-Help Get-Partition -Full | ConvertTo-Json -Depth 6
Save formatted output to a UTF-8 text file. Base task: Display complete syntax, parameter details, and examples for Get-Partition.
Get-Help Get-Partition -Full | Out-File -FilePath .\command-results.txt -Encoding utf8
Display all returned properties in a readable list. Base task: Display complete syntax, parameter details, and examples for Get-SmbShare.
Get-Help Get-SmbShare -Full | Format-List *
Export returned objects to a CSV file for reporting. Base task: Display complete syntax, parameter details, and examples for Get-SmbShare.
Get-Help Get-SmbShare -Full | Export-Csv -Path .\command-results.csv -NoTypeInformation
Measure how long the command takes to complete. Base task: Display complete syntax, parameter details, and examples for Get-SmbShare.
Measure-Command { Get-Help Get-SmbShare -Full }
Run the command with terminating error handling. Base task: Display complete syntax, parameter details, and examples for Get-SmbShare.
try { Get-Help Get-SmbShare -Full -ErrorAction Stop } catch { Write-Error $_.Exception.Message }
Capture the command and console output in a transcript log. Base task: Display complete syntax, parameter details, and examples for Get-SmbShare.
Start-Transcript -Path .\command-session.log; Get-Help Get-SmbShare -Full; Stop-Transcript
Return all available object properties for inspection. Base task: Display complete syntax, parameter details, and examples for Get-SmbShare.
Get-Help Get-SmbShare -Full | Select-Object *
Convert returned objects into JSON for APIs or automation. Base task: Display complete syntax, parameter details, and examples for Get-SmbShare.
Get-Help Get-SmbShare -Full | ConvertTo-Json -Depth 6
Save formatted output to a UTF-8 text file. Base task: Display complete syntax, parameter details, and examples for Get-SmbShare.
Get-Help Get-SmbShare -Full | Out-File -FilePath .\command-results.txt -Encoding utf8
Display all returned properties in a readable list. Base task: Display complete syntax, parameter details, and examples for New-SmbShare.
Get-Help New-SmbShare -Full | Format-List *
Export returned objects to a CSV file for reporting. Base task: Display complete syntax, parameter details, and examples for New-SmbShare.
Get-Help New-SmbShare -Full | Export-Csv -Path .\command-results.csv -NoTypeInformation
Measure how long the command takes to complete. Base task: Display complete syntax, parameter details, and examples for New-SmbShare.
Measure-Command { Get-Help New-SmbShare -Full }
Run the command with terminating error handling. Base task: Display complete syntax, parameter details, and examples for New-SmbShare.
try { Get-Help New-SmbShare -Full -ErrorAction Stop } catch { Write-Error $_.Exception.Message }
Capture the command and console output in a transcript log. Base task: Display complete syntax, parameter details, and examples for New-SmbShare.
Start-Transcript -Path .\command-session.log; Get-Help New-SmbShare -Full; Stop-Transcript
Return all available object properties for inspection. Base task: Display complete syntax, parameter details, and examples for New-SmbShare.
Get-Help New-SmbShare -Full | Select-Object *
Convert returned objects into JSON for APIs or automation. Base task: Display complete syntax, parameter details, and examples for New-SmbShare.
Get-Help New-SmbShare -Full | ConvertTo-Json -Depth 6
Save formatted output to a UTF-8 text file. Base task: Display complete syntax, parameter details, and examples for New-SmbShare.
Get-Help New-SmbShare -Full | Out-File -FilePath .\command-results.txt -Encoding utf8
Display all returned properties in a readable list. Base task: Display complete syntax, parameter details, and examples for Get-FileHash.
Get-Help Get-FileHash -Full | Format-List *
Export returned objects to a CSV file for reporting. Base task: Display complete syntax, parameter details, and examples for Get-FileHash.
Get-Help Get-FileHash -Full | Export-Csv -Path .\command-results.csv -NoTypeInformation
Measure how long the command takes to complete. Base task: Display complete syntax, parameter details, and examples for Get-FileHash.
Measure-Command { Get-Help Get-FileHash -Full }
Run the command with terminating error handling. Base task: Display complete syntax, parameter details, and examples for Get-FileHash.
try { Get-Help Get-FileHash -Full -ErrorAction Stop } catch { Write-Error $_.Exception.Message }
Capture the command and console output in a transcript log. Base task: Display complete syntax, parameter details, and examples for Get-FileHash.
Start-Transcript -Path .\command-session.log; Get-Help Get-FileHash -Full; Stop-Transcript
Return all available object properties for inspection. Base task: Display complete syntax, parameter details, and examples for Get-FileHash.
Get-Help Get-FileHash -Full | Select-Object *
Convert returned objects into JSON for APIs or automation. Base task: Display complete syntax, parameter details, and examples for Get-FileHash.
Get-Help Get-FileHash -Full | ConvertTo-Json -Depth 6
Save formatted output to a UTF-8 text file. Base task: Display complete syntax, parameter details, and examples for Get-FileHash.
Get-Help Get-FileHash -Full | Out-File -FilePath .\command-results.txt -Encoding utf8
Display all returned properties in a readable list. Base task: Display complete syntax, parameter details, and examples for Start-Transcript.
Get-Help Start-Transcript -Full | Format-List *
Export returned objects to a CSV file for reporting. Base task: Display complete syntax, parameter details, and examples for Start-Transcript.
Get-Help Start-Transcript -Full | Export-Csv -Path .\command-results.csv -NoTypeInformation
Measure how long the command takes to complete. Base task: Display complete syntax, parameter details, and examples for Start-Transcript.
Measure-Command { Get-Help Start-Transcript -Full }
Run the command with terminating error handling. Base task: Display complete syntax, parameter details, and examples for Start-Transcript.
try { Get-Help Start-Transcript -Full -ErrorAction Stop } catch { Write-Error $_.Exception.Message }
Capture the command and console output in a transcript log. Base task: Display complete syntax, parameter details, and examples for Start-Transcript.
Start-Transcript -Path .\command-session.log; Get-Help Start-Transcript -Full; Stop-Transcript
Return all available object properties for inspection. Base task: Display complete syntax, parameter details, and examples for Start-Transcript.
Get-Help Start-Transcript -Full | Select-Object *
Convert returned objects into JSON for APIs or automation. Base task: Display complete syntax, parameter details, and examples for Start-Transcript.
Get-Help Start-Transcript -Full | ConvertTo-Json -Depth 6
Save formatted output to a UTF-8 text file. Base task: Display complete syntax, parameter details, and examples for Start-Transcript.
Get-Help Start-Transcript -Full | Out-File -FilePath .\command-results.txt -Encoding utf8
Display all returned properties in a readable list. Base task: Display complete syntax, parameter details, and examples for Get-ExecutionPolicy.
Get-Help Get-ExecutionPolicy -Full | Format-List *
Export returned objects to a CSV file for reporting. Base task: Display complete syntax, parameter details, and examples for Get-ExecutionPolicy.
Get-Help Get-ExecutionPolicy -Full | Export-Csv -Path .\command-results.csv -NoTypeInformation
Measure how long the command takes to complete. Base task: Display complete syntax, parameter details, and examples for Get-ExecutionPolicy.
Measure-Command { Get-Help Get-ExecutionPolicy -Full }
Run the command with terminating error handling. Base task: Display complete syntax, parameter details, and examples for Get-ExecutionPolicy.
try { Get-Help Get-ExecutionPolicy -Full -ErrorAction Stop } catch { Write-Error $_.Exception.Message }
Capture the command and console output in a transcript log. Base task: Display complete syntax, parameter details, and examples for Get-ExecutionPolicy.
Start-Transcript -Path .\command-session.log; Get-Help Get-ExecutionPolicy -Full; Stop-Transcript
Return all available object properties for inspection. Base task: Display complete syntax, parameter details, and examples for Get-ExecutionPolicy.
Get-Help Get-ExecutionPolicy -Full | Select-Object *
Convert returned objects into JSON for APIs or automation. Base task: Display complete syntax, parameter details, and examples for Get-ExecutionPolicy.
Get-Help Get-ExecutionPolicy -Full | ConvertTo-Json -Depth 6
Save formatted output to a UTF-8 text file. Base task: Display complete syntax, parameter details, and examples for Get-ExecutionPolicy.
Get-Help Get-ExecutionPolicy -Full | Out-File -FilePath .\command-results.txt -Encoding utf8
Display all returned properties in a readable list. Base task: Display complete syntax, parameter details, and examples for Set-ExecutionPolicy.
Get-Help Set-ExecutionPolicy -Full | Format-List *
Export returned objects to a CSV file for reporting. Base task: Display complete syntax, parameter details, and examples for Set-ExecutionPolicy.
Get-Help Set-ExecutionPolicy -Full | Export-Csv -Path .\command-results.csv -NoTypeInformation
Measure how long the command takes to complete. Base task: Display complete syntax, parameter details, and examples for Set-ExecutionPolicy.
Measure-Command { Get-Help Set-ExecutionPolicy -Full }
Run the command with terminating error handling. Base task: Display complete syntax, parameter details, and examples for Set-ExecutionPolicy.
try { Get-Help Set-ExecutionPolicy -Full -ErrorAction Stop } catch { Write-Error $_.Exception.Message }
Capture the command and console output in a transcript log. Base task: Display complete syntax, parameter details, and examples for Set-ExecutionPolicy.
Start-Transcript -Path .\command-session.log; Get-Help Set-ExecutionPolicy -Full; Stop-Transcript
Return all available object properties for inspection. Base task: Display complete syntax, parameter details, and examples for Set-ExecutionPolicy.
Get-Help Set-ExecutionPolicy -Full | Select-Object *
Convert returned objects into JSON for APIs or automation. Base task: Display complete syntax, parameter details, and examples for Set-ExecutionPolicy.
Get-Help Set-ExecutionPolicy -Full | ConvertTo-Json -Depth 6
Save formatted output to a UTF-8 text file. Base task: Display complete syntax, parameter details, and examples for Set-ExecutionPolicy.
Get-Help Set-ExecutionPolicy -Full | Out-File -FilePath .\command-results.txt -Encoding utf8
Display all returned properties in a readable list. Base task: Display complete syntax, parameter details, and examples for Get-Module.
Get-Help Get-Module -Full | Format-List *
Export returned objects to a CSV file for reporting. Base task: Display complete syntax, parameter details, and examples for Get-Module.
Get-Help Get-Module -Full | Export-Csv -Path .\command-results.csv -NoTypeInformation
Measure how long the command takes to complete. Base task: Display complete syntax, parameter details, and examples for Get-Module.
Measure-Command { Get-Help Get-Module -Full }
Run the command with terminating error handling. Base task: Display complete syntax, parameter details, and examples for Get-Module.
try { Get-Help Get-Module -Full -ErrorAction Stop } catch { Write-Error $_.Exception.Message }
Capture the command and console output in a transcript log. Base task: Display complete syntax, parameter details, and examples for Get-Module.
Start-Transcript -Path .\command-session.log; Get-Help Get-Module -Full; Stop-Transcript
Return all available object properties for inspection. Base task: Display complete syntax, parameter details, and examples for Get-Module.
Get-Help Get-Module -Full | Select-Object *
Convert returned objects into JSON for APIs or automation. Base task: Display complete syntax, parameter details, and examples for Get-Module.
Get-Help Get-Module -Full | ConvertTo-Json -Depth 6
Save formatted output to a UTF-8 text file. Base task: Display complete syntax, parameter details, and examples for Get-Module.
Get-Help Get-Module -Full | Out-File -FilePath .\command-results.txt -Encoding utf8
Display all returned properties in a readable list. Base task: Display complete syntax, parameter details, and examples for Install-Module.
Get-Help Install-Module -Full | Format-List *
Export returned objects to a CSV file for reporting. Base task: Display complete syntax, parameter details, and examples for Install-Module.
Get-Help Install-Module -Full | Export-Csv -Path .\command-results.csv -NoTypeInformation
Measure how long the command takes to complete. Base task: Display complete syntax, parameter details, and examples for Install-Module.
Measure-Command { Get-Help Install-Module -Full }
Run the command with terminating error handling. Base task: Display complete syntax, parameter details, and examples for Install-Module.
try { Get-Help Install-Module -Full -ErrorAction Stop } catch { Write-Error $_.Exception.Message }
Capture the command and console output in a transcript log. Base task: Display complete syntax, parameter details, and examples for Install-Module.
Start-Transcript -Path .\command-session.log; Get-Help Install-Module -Full; Stop-Transcript
Return all available object properties for inspection. Base task: Display complete syntax, parameter details, and examples for Install-Module.
Get-Help Install-Module -Full | Select-Object *
Convert returned objects into JSON for APIs or automation. Base task: Display complete syntax, parameter details, and examples for Install-Module.
Get-Help Install-Module -Full | ConvertTo-Json -Depth 6
Save formatted output to a UTF-8 text file. Base task: Display complete syntax, parameter details, and examples for Install-Module.
Get-Help Install-Module -Full | Out-File -FilePath .\command-results.txt -Encoding utf8
Display all returned properties in a readable list. Base task: Display complete syntax, parameter details, and examples for Update-Module.
Get-Help Update-Module -Full | Format-List *
Export returned objects to a CSV file for reporting. Base task: Display complete syntax, parameter details, and examples for Update-Module.
Get-Help Update-Module -Full | Export-Csv -Path .\command-results.csv -NoTypeInformation
Measure how long the command takes to complete. Base task: Display complete syntax, parameter details, and examples for Update-Module.
Measure-Command { Get-Help Update-Module -Full }
Run the command with terminating error handling. Base task: Display complete syntax, parameter details, and examples for Update-Module.
try { Get-Help Update-Module -Full -ErrorAction Stop } catch { Write-Error $_.Exception.Message }
Capture the command and console output in a transcript log. Base task: Display complete syntax, parameter details, and examples for Update-Module.
Start-Transcript -Path .\command-session.log; Get-Help Update-Module -Full; Stop-Transcript
Return all available object properties for inspection. Base task: Display complete syntax, parameter details, and examples for Update-Module.
Get-Help Update-Module -Full | Select-Object *
Convert returned objects into JSON for APIs or automation. Base task: Display complete syntax, parameter details, and examples for Update-Module.
Get-Help Update-Module -Full | ConvertTo-Json -Depth 6
Save formatted output to a UTF-8 text file. Base task: Display complete syntax, parameter details, and examples for Update-Module.
Get-Help Update-Module -Full | Out-File -FilePath .\command-results.txt -Encoding utf8
Display all returned properties in a readable list. Base task: Display complete syntax, parameter details, and examples for Get-Help.
Get-Help Get-Help -Full | Format-List *
Export returned objects to a CSV file for reporting. Base task: Display complete syntax, parameter details, and examples for Get-Help.
Get-Help Get-Help -Full | Export-Csv -Path .\command-results.csv -NoTypeInformation
Measure how long the command takes to complete. Base task: Display complete syntax, parameter details, and examples for Get-Help.
Measure-Command { Get-Help Get-Help -Full }
Run the command with terminating error handling. Base task: Display complete syntax, parameter details, and examples for Get-Help.
try { Get-Help Get-Help -Full -ErrorAction Stop } catch { Write-Error $_.Exception.Message }
Capture the command and console output in a transcript log. Base task: Display complete syntax, parameter details, and examples for Get-Help.
Start-Transcript -Path .\command-session.log; Get-Help Get-Help -Full; Stop-Transcript
Return all available object properties for inspection. Base task: Display complete syntax, parameter details, and examples for Get-Help.
Get-Help Get-Help -Full | Select-Object *
Convert returned objects into JSON for APIs or automation. Base task: Display complete syntax, parameter details, and examples for Get-Help.
Get-Help Get-Help -Full | ConvertTo-Json -Depth 6
Save formatted output to a UTF-8 text file. Base task: Display complete syntax, parameter details, and examples for Get-Help.
Get-Help Get-Help -Full | Out-File -FilePath .\command-results.txt -Encoding utf8
Windows Command Line
Display Windows TCP/IP configuration.
ipconfig /all
Clear the Windows DNS resolver cache.
ipconfig /flushdns
Test ICMP reachability.
ping example.com
Trace the network path to a host.
tracert example.com
Measure route latency and packet loss.
pathping example.com
Query DNS records.
nslookup -type=mx example.com
Display network connections and owning process IDs.
netstat -ano
Display the ARP cache.
arp -a
Display the IPv4 and IPv6 routing tables.
route print
Display the local computer name.
hostname
Display the current security identity and token details.
whoami /all
Display operating system and hardware information.
systeminfo
List running processes and hosted services.
tasklist /svc
Terminate a process by process ID.
taskkill /PID 1234 /F
Query Windows services.
sc query type= service state= all
Start a Windows service.
sc start Spooler
Stop a Windows service.
sc stop Spooler
List local user accounts.
net user
List members of a local group.
net localgroup Administrators
Map a network drive.
net use Z: \server\share /persistent:yes
List local SMB shares.
net share
Refresh Group Policy.
gpupdate /force
Generate a Group Policy results report.
gpresult /h gpresult.html
Scan and repair protected Windows system files.
sfc /scannow
Repair the Windows component store.
DISM /Online /Cleanup-Image /RestoreHealth
Scan a volume for file system errors.
chkdsk C: /scan
Copy and synchronize directory trees.
robocopy C:\Source D:\Backup /MIR /R:2 /W:5 /LOG:backup.log
Copy files and folders including hidden files.
xcopy C:\Source D:\Backup /E /I /H
List files recursively.
dir C:\Logs /s /b
Search text across files.
findstr /s /i "error" C:\Logs\*.log
Query Windows event logs.
wevtutil qe System /c:20 /f:text
List scheduled tasks.
schtasks /query /fo LIST /v
Start a scheduled task.
schtasks /run /tn "Daily Backup"
Calculate a file hash.
certutil -hashfile installer.exe SHA256
Generate a Windows battery report.
powercfg /batteryreport
List installed drivers.
driverquery /v
Query basic Windows information on systems where WMIC remains available.
wmic os get Caption,Version,BuildNumber
Use ipconfig for a standard administrative task.
ipconfig /all
Use ipconfig flushdns for a standard administrative task.
ipconfig /flushdns
Use ping for a standard administrative task.
ping example.com
Use tracert for a standard administrative task.
tracert example.com
Use pathping for a standard administrative task.
pathping example.com
Use nslookup for a standard administrative task.
nslookup -type=mx example.com
Use netstat for a standard administrative task.
netstat -ano
Use arp for a standard administrative task.
arp -a
Use route print for a standard administrative task.
route print
Use hostname for a standard administrative task.
hostname
Use whoami for a standard administrative task.
whoami /all
Use systeminfo for a standard administrative task.
systeminfo
Use tasklist for a standard administrative task.
tasklist /svc
Use taskkill for a standard administrative task.
taskkill /PID 1234 /F
Use sc query for a standard administrative task.
sc query type= service state= all
Use sc start for a standard administrative task.
sc start Spooler
Use sc stop for a standard administrative task.
sc stop Spooler
Use net user for a standard administrative task.
net user
Use net localgroup for a standard administrative task.
net localgroup Administrators
Use net use for a standard administrative task.
net use Z: \server\share /persistent:yes
Use net share for a standard administrative task.
net share
Use gpupdate for a standard administrative task.
gpupdate /force
Use gpresult for a standard administrative task.
gpresult /h gpresult.html
Use sfc for a standard administrative task.
sfc /scannow
Use dism for a standard administrative task.
DISM /Online /Cleanup-Image /RestoreHealth
Use chkdsk for a standard administrative task.
chkdsk C: /scan
Use robocopy for a standard administrative task.
robocopy C:\Source D:\Backup /MIR /R:2 /W:5 /LOG:backup.log
Use xcopy for a standard administrative task.
xcopy C:\Source D:\Backup /E /I /H
Use dir for a standard administrative task.
dir C:\Logs /s /b
Use findstr for a standard administrative task.
findstr /s /i "error" C:\Logs\*.log
Use wevtutil for a standard administrative task.
wevtutil qe System /c:20 /f:text
Use schtasks query for a standard administrative task.
schtasks /query /fo LIST /v
Use schtasks run for a standard administrative task.
schtasks /run /tn "Daily Backup"
Use certutil hashfile for a standard administrative task.
certutil -hashfile installer.exe SHA256
Use powercfg for a standard administrative task.
powercfg /batteryreport
Use driverquery for a standard administrative task.
driverquery /v
Use wmic legacy for a standard administrative task.
wmic os get Caption,Version,BuildNumber
Export the output of ipconfig for documentation or review.
ipconfig /all
Export the output of ipconfig flushdns for documentation or review.
ipconfig /flushdns
Export the output of ping for documentation or review.
ping example.com
Export the output of tracert for documentation or review.
tracert example.com
Export the output of pathping for documentation or review.
pathping example.com
Export the output of nslookup for documentation or review.
nslookup -type=mx example.com
Export the output of netstat for documentation or review.
netstat -ano
Export the output of arp for documentation or review.
arp -a
Export the output of route print for documentation or review.
route print
Export the output of hostname for documentation or review.
hostname
Export the output of whoami for documentation or review.
whoami /all
Export the output of systeminfo for documentation or review.
systeminfo
Export the output of tasklist for documentation or review.
tasklist /svc
Export the output of taskkill for documentation or review.
taskkill /PID 1234 /F
Export the output of sc query for documentation or review.
sc query type= service state= all
Export the output of sc start for documentation or review.
sc start Spooler
Export the output of sc stop for documentation or review.
sc stop Spooler
Export the output of net user for documentation or review.
net user
Export the output of net localgroup for documentation or review.
net localgroup Administrators
Export the output of net use for documentation or review.
net use Z: \server\share /persistent:yes
Export the output of net share for documentation or review.
net share
Export the output of gpupdate for documentation or review.
gpupdate /force
Export the output of gpresult for documentation or review.
gpresult /h gpresult.html
Export the output of sfc for documentation or review.
sfc /scannow
Export the output of dism for documentation or review.
DISM /Online /Cleanup-Image /RestoreHealth
Export the output of chkdsk for documentation or review.
chkdsk C: /scan
Export the output of robocopy for documentation or review.
robocopy C:\Source D:\Backup /MIR /R:2 /W:5 /LOG:backup.log
Export the output of xcopy for documentation or review.
xcopy C:\Source D:\Backup /E /I /H
Export the output of dir for documentation or review.
dir C:\Logs /s /b
Export the output of findstr for documentation or review.
findstr /s /i "error" C:\Logs\*.log
Export the output of wevtutil for documentation or review.
wevtutil qe System /c:20 /f:text
Export the output of schtasks query for documentation or review.
schtasks /query /fo LIST /v
Export the output of schtasks run for documentation or review.
schtasks /run /tn "Daily Backup"
Export the output of certutil hashfile for documentation or review.
certutil -hashfile installer.exe SHA256
Export the output of powercfg for documentation or review.
powercfg /batteryreport
Export the output of driverquery for documentation or review.
driverquery /v
Export the output of wmic legacy for documentation or review.
wmic os get Caption,Version,BuildNumber
Display built-in Windows command-line help and syntax for ipconfig.
ipconfig /?
Display built-in Windows command-line help and syntax for ipconfig flushdns.
ipconfig /?
Display built-in Windows command-line help and syntax for ping.
ping /?
Display built-in Windows command-line help and syntax for tracert.
tracert /?
Display built-in Windows command-line help and syntax for pathping.
pathping /?
Display built-in Windows command-line help and syntax for nslookup.
nslookup /?
Display built-in Windows command-line help and syntax for netstat.
netstat /?
Display built-in Windows command-line help and syntax for arp.
arp /?
Display built-in Windows command-line help and syntax for route print.
route /?
Display built-in Windows command-line help and syntax for hostname.
hostname /?
Display built-in Windows command-line help and syntax for whoami.
whoami /?
Display built-in Windows command-line help and syntax for systeminfo.
systeminfo /?
Display built-in Windows command-line help and syntax for tasklist.
tasklist /?
Display built-in Windows command-line help and syntax for taskkill.
taskkill /?
Display built-in Windows command-line help and syntax for sc query.
sc /?
Display built-in Windows command-line help and syntax for sc start.
sc /?
Display built-in Windows command-line help and syntax for sc stop.
sc /?
Display built-in Windows command-line help and syntax for net user.
net /?
Display built-in Windows command-line help and syntax for net localgroup.
net /?
Display built-in Windows command-line help and syntax for net use.
net /?
Display built-in Windows command-line help and syntax for net share.
net /?
Display built-in Windows command-line help and syntax for gpupdate.
gpupdate /?
Display built-in Windows command-line help and syntax for gpresult.
gpresult /?
Display built-in Windows command-line help and syntax for sfc.
sfc /?
Display built-in Windows command-line help and syntax for dism.
DISM /?
Display built-in Windows command-line help and syntax for chkdsk.
chkdsk /?
Display built-in Windows command-line help and syntax for robocopy.
robocopy /?
Display built-in Windows command-line help and syntax for xcopy.
xcopy /?
Display built-in Windows command-line help and syntax for dir.
dir /?
Display built-in Windows command-line help and syntax for findstr.
findstr /?
Display built-in Windows command-line help and syntax for wevtutil.
wevtutil /?
Display built-in Windows command-line help and syntax for schtasks query.
schtasks /?
Display built-in Windows command-line help and syntax for schtasks run.
schtasks /?
Display built-in Windows command-line help and syntax for certutil hashfile.
certutil /?
Display built-in Windows command-line help and syntax for powercfg.
powercfg /?
Display built-in Windows command-line help and syntax for driverquery.
driverquery /?
Display built-in Windows command-line help and syntax for wmic legacy.
wmic /?
Display built-in Windows command-line help and syntax for ipconfig — Basic Usage.
ipconfig /?
Display built-in Windows command-line help and syntax for ipconfig flushdns — Basic Usage.
ipconfig /?
Display built-in Windows command-line help and syntax for ping — Basic Usage.
ping /?
Display built-in Windows command-line help and syntax for tracert — Basic Usage.
tracert /?
Display built-in Windows command-line help and syntax for pathping — Basic Usage.
pathping /?
Display built-in Windows command-line help and syntax for nslookup — Basic Usage.
nslookup /?
Display built-in Windows command-line help and syntax for netstat — Basic Usage.
netstat /?
Display built-in Windows command-line help and syntax for arp — Basic Usage.
arp /?
Display built-in Windows command-line help and syntax for route print — Basic Usage.
route /?
Display built-in Windows command-line help and syntax for hostname — Basic Usage.
hostname /?
Display built-in Windows command-line help and syntax for whoami — Basic Usage.
whoami /?
Display built-in Windows command-line help and syntax for systeminfo — Basic Usage.
systeminfo /?
Display built-in Windows command-line help and syntax for tasklist — Basic Usage.
tasklist /?
Display built-in Windows command-line help and syntax for taskkill — Basic Usage.
taskkill /?
Display built-in Windows command-line help and syntax for sc query — Basic Usage.
sc /?
Display built-in Windows command-line help and syntax for sc start — Basic Usage.
sc /?
Display built-in Windows command-line help and syntax for sc stop — Basic Usage.
sc /?
Display built-in Windows command-line help and syntax for net user — Basic Usage.
net /?
Display built-in Windows command-line help and syntax for net localgroup — Basic Usage.
net /?
Display built-in Windows command-line help and syntax for net use — Basic Usage.
net /?
Display built-in Windows command-line help and syntax for net share — Basic Usage.
net /?
Display built-in Windows command-line help and syntax for gpupdate — Basic Usage.
gpupdate /?
Display built-in Windows command-line help and syntax for gpresult — Basic Usage.
gpresult /?
Display built-in Windows command-line help and syntax for sfc — Basic Usage.
sfc /?
Display built-in Windows command-line help and syntax for dism — Basic Usage.
DISM /?
Display built-in Windows command-line help and syntax for chkdsk — Basic Usage.
chkdsk /?
Display built-in Windows command-line help and syntax for robocopy — Basic Usage.
robocopy /?
Display built-in Windows command-line help and syntax for xcopy — Basic Usage.
xcopy /?
Display built-in Windows command-line help and syntax for dir — Basic Usage.
dir /?
Display built-in Windows command-line help and syntax for findstr — Basic Usage.
findstr /?
Display built-in Windows command-line help and syntax for wevtutil — Basic Usage.
wevtutil /?
Display built-in Windows command-line help and syntax for schtasks query — Basic Usage.
schtasks /?
Display built-in Windows command-line help and syntax for schtasks run — Basic Usage.
schtasks /?
Display built-in Windows command-line help and syntax for certutil hashfile — Basic Usage.
certutil /?
Display built-in Windows command-line help and syntax for powercfg — Basic Usage.
powercfg /?
Display built-in Windows command-line help and syntax for driverquery — Basic Usage.
driverquery /?
Display built-in Windows command-line help and syntax for wmic legacy — Basic Usage.
wmic /?
Display built-in Windows command-line help and syntax for ipconfig — Export Results.
ipconfig /?
Display built-in Windows command-line help and syntax for ipconfig flushdns — Export Results.
ipconfig /?
Display built-in Windows command-line help and syntax for ping — Export Results.
ping /?
Display built-in Windows command-line help and syntax for tracert — Export Results.
tracert /?
Display built-in Windows command-line help and syntax for pathping — Export Results.
pathping /?
Display built-in Windows command-line help and syntax for nslookup — Export Results.
nslookup /?
Display built-in Windows command-line help and syntax for netstat — Export Results.
netstat /?
Display built-in Windows command-line help and syntax for arp — Export Results.
arp /?
Display built-in Windows command-line help and syntax for route print — Export Results.
route /?
Display built-in Windows command-line help and syntax for hostname — Export Results.
hostname /?
Display built-in Windows command-line help and syntax for whoami — Export Results.
whoami /?
Display built-in Windows command-line help and syntax for systeminfo — Export Results.
systeminfo /?
Display built-in Windows command-line help and syntax for tasklist — Export Results.
tasklist /?
Display built-in Windows command-line help and syntax for taskkill — Export Results.
taskkill /?
Display built-in Windows command-line help and syntax for sc query — Export Results.
sc /?
Display built-in Windows command-line help and syntax for sc start — Export Results.
sc /?
Display built-in Windows command-line help and syntax for sc stop — Export Results.
sc /?
Display built-in Windows command-line help and syntax for net user — Export Results.
net /?
Display built-in Windows command-line help and syntax for net localgroup — Export Results.
net /?
Display built-in Windows command-line help and syntax for net use — Export Results.
net /?
Display built-in Windows command-line help and syntax for net share — Export Results.
net /?
Display built-in Windows command-line help and syntax for gpupdate — Export Results.
gpupdate /?
Display built-in Windows command-line help and syntax for gpresult — Export Results.
gpresult /?
Display built-in Windows command-line help and syntax for sfc — Export Results.
sfc /?
Display built-in Windows command-line help and syntax for dism — Export Results.
DISM /?
Display built-in Windows command-line help and syntax for chkdsk — Export Results.
chkdsk /?
Display built-in Windows command-line help and syntax for robocopy — Export Results.
robocopy /?
Display built-in Windows command-line help and syntax for xcopy — Export Results.
xcopy /?
Display built-in Windows command-line help and syntax for dir — Export Results.
dir /?
Display built-in Windows command-line help and syntax for findstr — Export Results.
findstr /?
Display built-in Windows command-line help and syntax for wevtutil — Export Results.
wevtutil /?
Display built-in Windows command-line help and syntax for schtasks query — Export Results.
schtasks /?
Display built-in Windows command-line help and syntax for schtasks run — Export Results.
schtasks /?
Display built-in Windows command-line help and syntax for certutil hashfile — Export Results.
certutil /?
Display built-in Windows command-line help and syntax for powercfg — Export Results.
powercfg /?
Display built-in Windows command-line help and syntax for driverquery — Export Results.
driverquery /?
Display built-in Windows command-line help and syntax for wmic legacy — Export Results.
wmic /?
Save command output and errors to a text file. Base task: Display Windows TCP/IP configuration.
ipconfig /all > command-results.txt 2>&1
Append command output and errors to an existing log. Base task: Display Windows TCP/IP configuration.
ipconfig /all >> command-results.txt 2>&1
Print the current date and time before running the command. Base task: Display Windows TCP/IP configuration.
echo %DATE% %TIME% & ipconfig /all
Run the command and display its exit code. Base task: Display Windows TCP/IP configuration.
ipconfig /all & echo Exit code: %ERRORLEVEL%
Save command output and errors to a text file. Base task: Clear the Windows DNS resolver cache.
ipconfig /flushdns > command-results.txt 2>&1
Append command output and errors to an existing log. Base task: Clear the Windows DNS resolver cache.
ipconfig /flushdns >> command-results.txt 2>&1
Print the current date and time before running the command. Base task: Clear the Windows DNS resolver cache.
echo %DATE% %TIME% & ipconfig /flushdns
Run the command and display its exit code. Base task: Clear the Windows DNS resolver cache.
ipconfig /flushdns & echo Exit code: %ERRORLEVEL%
Save command output and errors to a text file. Base task: Test ICMP reachability.
ping example.com > command-results.txt 2>&1
Append command output and errors to an existing log. Base task: Test ICMP reachability.
ping example.com >> command-results.txt 2>&1
Print the current date and time before running the command. Base task: Test ICMP reachability.
echo %DATE% %TIME% & ping example.com
Run the command and display its exit code. Base task: Test ICMP reachability.
ping example.com & echo Exit code: %ERRORLEVEL%
Save command output and errors to a text file. Base task: Trace the network path to a host.
tracert example.com > command-results.txt 2>&1
Append command output and errors to an existing log. Base task: Trace the network path to a host.
tracert example.com >> command-results.txt 2>&1
Print the current date and time before running the command. Base task: Trace the network path to a host.
echo %DATE% %TIME% & tracert example.com
Run the command and display its exit code. Base task: Trace the network path to a host.
tracert example.com & echo Exit code: %ERRORLEVEL%
Save command output and errors to a text file. Base task: Measure route latency and packet loss.
pathping example.com > command-results.txt 2>&1
Append command output and errors to an existing log. Base task: Measure route latency and packet loss.
pathping example.com >> command-results.txt 2>&1
Print the current date and time before running the command. Base task: Measure route latency and packet loss.
echo %DATE% %TIME% & pathping example.com
Run the command and display its exit code. Base task: Measure route latency and packet loss.
pathping example.com & echo Exit code: %ERRORLEVEL%
Save command output and errors to a text file. Base task: Query DNS records.
nslookup -type=mx example.com > command-results.txt 2>&1
Append command output and errors to an existing log. Base task: Query DNS records.
nslookup -type=mx example.com >> command-results.txt 2>&1
Print the current date and time before running the command. Base task: Query DNS records.
echo %DATE% %TIME% & nslookup -type=mx example.com
Run the command and display its exit code. Base task: Query DNS records.
nslookup -type=mx example.com & echo Exit code: %ERRORLEVEL%
Save command output and errors to a text file. Base task: Display network connections and owning process IDs.
netstat -ano > command-results.txt 2>&1
Append command output and errors to an existing log. Base task: Display network connections and owning process IDs.
netstat -ano >> command-results.txt 2>&1
Print the current date and time before running the command. Base task: Display network connections and owning process IDs.
echo %DATE% %TIME% & netstat -ano
Run the command and display its exit code. Base task: Display network connections and owning process IDs.
netstat -ano & echo Exit code: %ERRORLEVEL%
Save command output and errors to a text file. Base task: Display the ARP cache.
arp -a > command-results.txt 2>&1
Append command output and errors to an existing log. Base task: Display the ARP cache.
arp -a >> command-results.txt 2>&1
Print the current date and time before running the command. Base task: Display the ARP cache.
echo %DATE% %TIME% & arp -a
Run the command and display its exit code. Base task: Display the ARP cache.
arp -a & echo Exit code: %ERRORLEVEL%
Save command output and errors to a text file. Base task: Display the IPv4 and IPv6 routing tables.
route print > command-results.txt 2>&1
Append command output and errors to an existing log. Base task: Display the IPv4 and IPv6 routing tables.
route print >> command-results.txt 2>&1
Print the current date and time before running the command. Base task: Display the IPv4 and IPv6 routing tables.
echo %DATE% %TIME% & route print
Run the command and display its exit code. Base task: Display the IPv4 and IPv6 routing tables.
route print & echo Exit code: %ERRORLEVEL%
Save command output and errors to a text file. Base task: Display the local computer name.
hostname > command-results.txt 2>&1
Append command output and errors to an existing log. Base task: Display the local computer name.
hostname >> command-results.txt 2>&1
Print the current date and time before running the command. Base task: Display the local computer name.
echo %DATE% %TIME% & hostname
Run the command and display its exit code. Base task: Display the local computer name.
hostname & echo Exit code: %ERRORLEVEL%
Save command output and errors to a text file. Base task: Display the current security identity and token details.
whoami /all > command-results.txt 2>&1
Append command output and errors to an existing log. Base task: Display the current security identity and token details.
whoami /all >> command-results.txt 2>&1
Print the current date and time before running the command. Base task: Display the current security identity and token details.
echo %DATE% %TIME% & whoami /all
Run the command and display its exit code. Base task: Display the current security identity and token details.
whoami /all & echo Exit code: %ERRORLEVEL%
Save command output and errors to a text file. Base task: Display operating system and hardware information.
systeminfo > command-results.txt 2>&1
Append command output and errors to an existing log. Base task: Display operating system and hardware information.
systeminfo >> command-results.txt 2>&1
Print the current date and time before running the command. Base task: Display operating system and hardware information.
echo %DATE% %TIME% & systeminfo
Run the command and display its exit code. Base task: Display operating system and hardware information.
systeminfo & echo Exit code: %ERRORLEVEL%
Save command output and errors to a text file. Base task: List running processes and hosted services.
tasklist /svc > command-results.txt 2>&1
Append command output and errors to an existing log. Base task: List running processes and hosted services.
tasklist /svc >> command-results.txt 2>&1
Print the current date and time before running the command. Base task: List running processes and hosted services.
echo %DATE% %TIME% & tasklist /svc
Run the command and display its exit code. Base task: List running processes and hosted services.
tasklist /svc & echo Exit code: %ERRORLEVEL%
Save command output and errors to a text file. Base task: Terminate a process by process ID.
taskkill /PID 1234 /F > command-results.txt 2>&1
Append command output and errors to an existing log. Base task: Terminate a process by process ID.
taskkill /PID 1234 /F >> command-results.txt 2>&1
Print the current date and time before running the command. Base task: Terminate a process by process ID.
echo %DATE% %TIME% & taskkill /PID 1234 /F
Run the command and display its exit code. Base task: Terminate a process by process ID.
taskkill /PID 1234 /F & echo Exit code: %ERRORLEVEL%
Save command output and errors to a text file. Base task: Query Windows services.
sc query type= service state= all > command-results.txt 2>&1
Append command output and errors to an existing log. Base task: Query Windows services.
sc query type= service state= all >> command-results.txt 2>&1
Print the current date and time before running the command. Base task: Query Windows services.
echo %DATE% %TIME% & sc query type= service state= all
Run the command and display its exit code. Base task: Query Windows services.
sc query type= service state= all & echo Exit code: %ERRORLEVEL%
Save command output and errors to a text file. Base task: Start a Windows service.
sc start Spooler > command-results.txt 2>&1
Append command output and errors to an existing log. Base task: Start a Windows service.
sc start Spooler >> command-results.txt 2>&1
Print the current date and time before running the command. Base task: Start a Windows service.
echo %DATE% %TIME% & sc start Spooler
Run the command and display its exit code. Base task: Start a Windows service.
sc start Spooler & echo Exit code: %ERRORLEVEL%
Save command output and errors to a text file. Base task: Stop a Windows service.
sc stop Spooler > command-results.txt 2>&1
Append command output and errors to an existing log. Base task: Stop a Windows service.
sc stop Spooler >> command-results.txt 2>&1
Print the current date and time before running the command. Base task: Stop a Windows service.
echo %DATE% %TIME% & sc stop Spooler
Run the command and display its exit code. Base task: Stop a Windows service.
sc stop Spooler & echo Exit code: %ERRORLEVEL%
Save command output and errors to a text file. Base task: List local user accounts.
net user > command-results.txt 2>&1
Append command output and errors to an existing log. Base task: List local user accounts.
net user >> command-results.txt 2>&1
Print the current date and time before running the command. Base task: List local user accounts.
echo %DATE% %TIME% & net user
Run the command and display its exit code. Base task: List local user accounts.
net user & echo Exit code: %ERRORLEVEL%
Save command output and errors to a text file. Base task: List members of a local group.
net localgroup Administrators > command-results.txt 2>&1
Append command output and errors to an existing log. Base task: List members of a local group.
net localgroup Administrators >> command-results.txt 2>&1
Print the current date and time before running the command. Base task: List members of a local group.
echo %DATE% %TIME% & net localgroup Administrators
Run the command and display its exit code. Base task: List members of a local group.
net localgroup Administrators & echo Exit code: %ERRORLEVEL%
Save command output and errors to a text file. Base task: Map a network drive.
net use Z: \server\share /persistent:yes > command-results.txt 2>&1
Append command output and errors to an existing log. Base task: Map a network drive.
net use Z: \server\share /persistent:yes >> command-results.txt 2>&1
Print the current date and time before running the command. Base task: Map a network drive.
echo %DATE% %TIME% & net use Z: \server\share /persistent:yes
Run the command and display its exit code. Base task: Map a network drive.
net use Z: \server\share /persistent:yes & echo Exit code: %ERRORLEVEL%
Save command output and errors to a text file. Base task: List local SMB shares.
net share > command-results.txt 2>&1
Append command output and errors to an existing log. Base task: List local SMB shares.
net share >> command-results.txt 2>&1
Print the current date and time before running the command. Base task: List local SMB shares.
echo %DATE% %TIME% & net share
Run the command and display its exit code. Base task: List local SMB shares.
net share & echo Exit code: %ERRORLEVEL%
Save command output and errors to a text file. Base task: Refresh Group Policy.
gpupdate /force > command-results.txt 2>&1
Append command output and errors to an existing log. Base task: Refresh Group Policy.
gpupdate /force >> command-results.txt 2>&1
Print the current date and time before running the command. Base task: Refresh Group Policy.
echo %DATE% %TIME% & gpupdate /force
Run the command and display its exit code. Base task: Refresh Group Policy.
gpupdate /force & echo Exit code: %ERRORLEVEL%
Save command output and errors to a text file. Base task: Generate a Group Policy results report.
gpresult /h gpresult.html > command-results.txt 2>&1
Append command output and errors to an existing log. Base task: Generate a Group Policy results report.
gpresult /h gpresult.html >> command-results.txt 2>&1
Print the current date and time before running the command. Base task: Generate a Group Policy results report.
echo %DATE% %TIME% & gpresult /h gpresult.html
Run the command and display its exit code. Base task: Generate a Group Policy results report.
gpresult /h gpresult.html & echo Exit code: %ERRORLEVEL%
Save command output and errors to a text file. Base task: Scan and repair protected Windows system files.
sfc /scannow > command-results.txt 2>&1
Append command output and errors to an existing log. Base task: Scan and repair protected Windows system files.
sfc /scannow >> command-results.txt 2>&1
Print the current date and time before running the command. Base task: Scan and repair protected Windows system files.
echo %DATE% %TIME% & sfc /scannow
Run the command and display its exit code. Base task: Scan and repair protected Windows system files.
sfc /scannow & echo Exit code: %ERRORLEVEL%
Save command output and errors to a text file. Base task: Repair the Windows component store.
DISM /Online /Cleanup-Image /RestoreHealth > command-results.txt 2>&1
Append command output and errors to an existing log. Base task: Repair the Windows component store.
DISM /Online /Cleanup-Image /RestoreHealth >> command-results.txt 2>&1
Print the current date and time before running the command. Base task: Repair the Windows component store.
echo %DATE% %TIME% & DISM /Online /Cleanup-Image /RestoreHealth
Run the command and display its exit code. Base task: Repair the Windows component store.
DISM /Online /Cleanup-Image /RestoreHealth & echo Exit code: %ERRORLEVEL%
Save command output and errors to a text file. Base task: Scan a volume for file system errors.
chkdsk C: /scan > command-results.txt 2>&1
Append command output and errors to an existing log. Base task: Scan a volume for file system errors.
chkdsk C: /scan >> command-results.txt 2>&1
Print the current date and time before running the command. Base task: Scan a volume for file system errors.
echo %DATE% %TIME% & chkdsk C: /scan
Run the command and display its exit code. Base task: Scan a volume for file system errors.
chkdsk C: /scan & echo Exit code: %ERRORLEVEL%
Save command output and errors to a text file. Base task: Copy and synchronize directory trees.
robocopy C:\Source D:\Backup /MIR /R:2 /W:5 /LOG:backup.log > command-results.txt 2>&1
Append command output and errors to an existing log. Base task: Copy and synchronize directory trees.
robocopy C:\Source D:\Backup /MIR /R:2 /W:5 /LOG:backup.log >> command-results.txt 2>&1
Print the current date and time before running the command. Base task: Copy and synchronize directory trees.
echo %DATE% %TIME% & robocopy C:\Source D:\Backup /MIR /R:2 /W:5 /LOG:backup.log
Run the command and display its exit code. Base task: Copy and synchronize directory trees.
robocopy C:\Source D:\Backup /MIR /R:2 /W:5 /LOG:backup.log & echo Exit code: %ERRORLEVEL%
Save command output and errors to a text file. Base task: Copy files and folders including hidden files.
xcopy C:\Source D:\Backup /E /I /H > command-results.txt 2>&1
Append command output and errors to an existing log. Base task: Copy files and folders including hidden files.
xcopy C:\Source D:\Backup /E /I /H >> command-results.txt 2>&1
Print the current date and time before running the command. Base task: Copy files and folders including hidden files.
echo %DATE% %TIME% & xcopy C:\Source D:\Backup /E /I /H
Run the command and display its exit code. Base task: Copy files and folders including hidden files.
xcopy C:\Source D:\Backup /E /I /H & echo Exit code: %ERRORLEVEL%
Save command output and errors to a text file. Base task: List files recursively.
dir C:\Logs /s /b > command-results.txt 2>&1
Append command output and errors to an existing log. Base task: List files recursively.
dir C:\Logs /s /b >> command-results.txt 2>&1
Print the current date and time before running the command. Base task: List files recursively.
echo %DATE% %TIME% & dir C:\Logs /s /b
Run the command and display its exit code. Base task: List files recursively.
dir C:\Logs /s /b & echo Exit code: %ERRORLEVEL%
Save command output and errors to a text file. Base task: Search text across files.
findstr /s /i "error" C:\Logs\*.log > command-results.txt 2>&1
Append command output and errors to an existing log. Base task: Search text across files.
findstr /s /i "error" C:\Logs\*.log >> command-results.txt 2>&1
Print the current date and time before running the command. Base task: Search text across files.
echo %DATE% %TIME% & findstr /s /i "error" C:\Logs\*.log
Run the command and display its exit code. Base task: Search text across files.
findstr /s /i "error" C:\Logs\*.log & echo Exit code: %ERRORLEVEL%
Save command output and errors to a text file. Base task: Query Windows event logs.
wevtutil qe System /c:20 /f:text > command-results.txt 2>&1
Append command output and errors to an existing log. Base task: Query Windows event logs.
wevtutil qe System /c:20 /f:text >> command-results.txt 2>&1
Print the current date and time before running the command. Base task: Query Windows event logs.
echo %DATE% %TIME% & wevtutil qe System /c:20 /f:text
Run the command and display its exit code. Base task: Query Windows event logs.
wevtutil qe System /c:20 /f:text & echo Exit code: %ERRORLEVEL%
Save command output and errors to a text file. Base task: List scheduled tasks.
schtasks /query /fo LIST /v > command-results.txt 2>&1
Append command output and errors to an existing log. Base task: List scheduled tasks.
schtasks /query /fo LIST /v >> command-results.txt 2>&1
Print the current date and time before running the command. Base task: List scheduled tasks.
echo %DATE% %TIME% & schtasks /query /fo LIST /v
Run the command and display its exit code. Base task: List scheduled tasks.
schtasks /query /fo LIST /v & echo Exit code: %ERRORLEVEL%
Save command output and errors to a text file. Base task: Start a scheduled task.
schtasks /run /tn "Daily Backup" > command-results.txt 2>&1
Append command output and errors to an existing log. Base task: Start a scheduled task.
schtasks /run /tn "Daily Backup" >> command-results.txt 2>&1
Print the current date and time before running the command. Base task: Start a scheduled task.
echo %DATE% %TIME% & schtasks /run /tn "Daily Backup"
Run the command and display its exit code. Base task: Start a scheduled task.
schtasks /run /tn "Daily Backup" & echo Exit code: %ERRORLEVEL%
Save command output and errors to a text file. Base task: Calculate a file hash.
certutil -hashfile installer.exe SHA256 > command-results.txt 2>&1
Append command output and errors to an existing log. Base task: Calculate a file hash.
certutil -hashfile installer.exe SHA256 >> command-results.txt 2>&1
Print the current date and time before running the command. Base task: Calculate a file hash.
echo %DATE% %TIME% & certutil -hashfile installer.exe SHA256
Run the command and display its exit code. Base task: Calculate a file hash.
certutil -hashfile installer.exe SHA256 & echo Exit code: %ERRORLEVEL%
Save command output and errors to a text file. Base task: Generate a Windows battery report.
powercfg /batteryreport > command-results.txt 2>&1
Append command output and errors to an existing log. Base task: Generate a Windows battery report.
powercfg /batteryreport >> command-results.txt 2>&1
Print the current date and time before running the command. Base task: Generate a Windows battery report.
echo %DATE% %TIME% & powercfg /batteryreport
Run the command and display its exit code. Base task: Generate a Windows battery report.
powercfg /batteryreport & echo Exit code: %ERRORLEVEL%
Save command output and errors to a text file. Base task: List installed drivers.
driverquery /v > command-results.txt 2>&1
Append command output and errors to an existing log. Base task: List installed drivers.
driverquery /v >> command-results.txt 2>&1
Print the current date and time before running the command. Base task: List installed drivers.
echo %DATE% %TIME% & driverquery /v
Run the command and display its exit code. Base task: List installed drivers.
driverquery /v & echo Exit code: %ERRORLEVEL%
Save command output and errors to a text file. Base task: Query basic Windows information on systems where WMIC remains available.
wmic os get Caption,Version,BuildNumber > command-results.txt 2>&1
Append command output and errors to an existing log. Base task: Query basic Windows information on systems where WMIC remains available.
wmic os get Caption,Version,BuildNumber >> command-results.txt 2>&1
Print the current date and time before running the command. Base task: Query basic Windows information on systems where WMIC remains available.
echo %DATE% %TIME% & wmic os get Caption,Version,BuildNumber
Run the command and display its exit code. Base task: Query basic Windows information on systems where WMIC remains available.
wmic os get Caption,Version,BuildNumber & echo Exit code: %ERRORLEVEL%
Save command output and errors to a text file. Base task: Display built-in Windows command-line help and syntax for ipconfig.
ipconfig /? > command-results.txt 2>&1
Append command output and errors to an existing log. Base task: Display built-in Windows command-line help and syntax for ipconfig.
ipconfig /? >> command-results.txt 2>&1
Print the current date and time before running the command. Base task: Display built-in Windows command-line help and syntax for ipconfig.
echo %DATE% %TIME% & ipconfig /?
Run the command and display its exit code. Base task: Display built-in Windows command-line help and syntax for ipconfig.
ipconfig /? & echo Exit code: %ERRORLEVEL%
Save command output and errors to a text file. Base task: Display built-in Windows command-line help and syntax for ping.
ping /? > command-results.txt 2>&1
Append command output and errors to an existing log. Base task: Display built-in Windows command-line help and syntax for ping.
ping /? >> command-results.txt 2>&1
Print the current date and time before running the command. Base task: Display built-in Windows command-line help and syntax for ping.
echo %DATE% %TIME% & ping /?
Run the command and display its exit code. Base task: Display built-in Windows command-line help and syntax for ping.
ping /? & echo Exit code: %ERRORLEVEL%
Save command output and errors to a text file. Base task: Display built-in Windows command-line help and syntax for tracert.
tracert /? > command-results.txt 2>&1
Append command output and errors to an existing log. Base task: Display built-in Windows command-line help and syntax for tracert.
tracert /? >> command-results.txt 2>&1
Print the current date and time before running the command. Base task: Display built-in Windows command-line help and syntax for tracert.
echo %DATE% %TIME% & tracert /?
Run the command and display its exit code. Base task: Display built-in Windows command-line help and syntax for tracert.
tracert /? & echo Exit code: %ERRORLEVEL%
Save command output and errors to a text file. Base task: Display built-in Windows command-line help and syntax for pathping.
pathping /? > command-results.txt 2>&1
Append command output and errors to an existing log. Base task: Display built-in Windows command-line help and syntax for pathping.
pathping /? >> command-results.txt 2>&1
Print the current date and time before running the command. Base task: Display built-in Windows command-line help and syntax for pathping.
echo %DATE% %TIME% & pathping /?
Run the command and display its exit code. Base task: Display built-in Windows command-line help and syntax for pathping.
pathping /? & echo Exit code: %ERRORLEVEL%
Save command output and errors to a text file. Base task: Display built-in Windows command-line help and syntax for nslookup.
nslookup /? > command-results.txt 2>&1
Append command output and errors to an existing log. Base task: Display built-in Windows command-line help and syntax for nslookup.
nslookup /? >> command-results.txt 2>&1
Print the current date and time before running the command. Base task: Display built-in Windows command-line help and syntax for nslookup.
echo %DATE% %TIME% & nslookup /?
Run the command and display its exit code. Base task: Display built-in Windows command-line help and syntax for nslookup.
nslookup /? & echo Exit code: %ERRORLEVEL%
Save command output and errors to a text file. Base task: Display built-in Windows command-line help and syntax for netstat.
netstat /? > command-results.txt 2>&1
Append command output and errors to an existing log. Base task: Display built-in Windows command-line help and syntax for netstat.
netstat /? >> command-results.txt 2>&1
Print the current date and time before running the command. Base task: Display built-in Windows command-line help and syntax for netstat.
echo %DATE% %TIME% & netstat /?
Run the command and display its exit code. Base task: Display built-in Windows command-line help and syntax for netstat.
netstat /? & echo Exit code: %ERRORLEVEL%
Save command output and errors to a text file. Base task: Display built-in Windows command-line help and syntax for arp.
arp /? > command-results.txt 2>&1
Append command output and errors to an existing log. Base task: Display built-in Windows command-line help and syntax for arp.
arp /? >> command-results.txt 2>&1
Print the current date and time before running the command. Base task: Display built-in Windows command-line help and syntax for arp.
echo %DATE% %TIME% & arp /?
Run the command and display its exit code. Base task: Display built-in Windows command-line help and syntax for arp.
arp /? & echo Exit code: %ERRORLEVEL%
Save command output and errors to a text file. Base task: Display built-in Windows command-line help and syntax for route print.
route /? > command-results.txt 2>&1
Append command output and errors to an existing log. Base task: Display built-in Windows command-line help and syntax for route print.
route /? >> command-results.txt 2>&1
Print the current date and time before running the command. Base task: Display built-in Windows command-line help and syntax for route print.
echo %DATE% %TIME% & route /?
Run the command and display its exit code. Base task: Display built-in Windows command-line help and syntax for route print.
route /? & echo Exit code: %ERRORLEVEL%
Save command output and errors to a text file. Base task: Display built-in Windows command-line help and syntax for hostname.
hostname /? > command-results.txt 2>&1
Append command output and errors to an existing log. Base task: Display built-in Windows command-line help and syntax for hostname.
hostname /? >> command-results.txt 2>&1
Print the current date and time before running the command. Base task: Display built-in Windows command-line help and syntax for hostname.
echo %DATE% %TIME% & hostname /?
Run the command and display its exit code. Base task: Display built-in Windows command-line help and syntax for hostname.
hostname /? & echo Exit code: %ERRORLEVEL%
Save command output and errors to a text file. Base task: Display built-in Windows command-line help and syntax for whoami.
whoami /? > command-results.txt 2>&1
Append command output and errors to an existing log. Base task: Display built-in Windows command-line help and syntax for whoami.
whoami /? >> command-results.txt 2>&1
Print the current date and time before running the command. Base task: Display built-in Windows command-line help and syntax for whoami.
echo %DATE% %TIME% & whoami /?
Run the command and display its exit code. Base task: Display built-in Windows command-line help and syntax for whoami.
whoami /? & echo Exit code: %ERRORLEVEL%
Save command output and errors to a text file. Base task: Display built-in Windows command-line help and syntax for systeminfo.
systeminfo /? > command-results.txt 2>&1
Append command output and errors to an existing log. Base task: Display built-in Windows command-line help and syntax for systeminfo.
systeminfo /? >> command-results.txt 2>&1
Print the current date and time before running the command. Base task: Display built-in Windows command-line help and syntax for systeminfo.
echo %DATE% %TIME% & systeminfo /?
Run the command and display its exit code. Base task: Display built-in Windows command-line help and syntax for systeminfo.
systeminfo /? & echo Exit code: %ERRORLEVEL%
Save command output and errors to a text file. Base task: Display built-in Windows command-line help and syntax for tasklist.
tasklist /? > command-results.txt 2>&1
Append command output and errors to an existing log. Base task: Display built-in Windows command-line help and syntax for tasklist.
tasklist /? >> command-results.txt 2>&1
Print the current date and time before running the command. Base task: Display built-in Windows command-line help and syntax for tasklist.
echo %DATE% %TIME% & tasklist /?
Run the command and display its exit code. Base task: Display built-in Windows command-line help and syntax for tasklist.
tasklist /? & echo Exit code: %ERRORLEVEL%
Save command output and errors to a text file. Base task: Display built-in Windows command-line help and syntax for taskkill.
taskkill /? > command-results.txt 2>&1
Append command output and errors to an existing log. Base task: Display built-in Windows command-line help and syntax for taskkill.
taskkill /? >> command-results.txt 2>&1
Print the current date and time before running the command. Base task: Display built-in Windows command-line help and syntax for taskkill.
echo %DATE% %TIME% & taskkill /?
Run the command and display its exit code. Base task: Display built-in Windows command-line help and syntax for taskkill.
taskkill /? & echo Exit code: %ERRORLEVEL%
Save command output and errors to a text file. Base task: Display built-in Windows command-line help and syntax for sc query.
sc /? > command-results.txt 2>&1
Append command output and errors to an existing log. Base task: Display built-in Windows command-line help and syntax for sc query.
sc /? >> command-results.txt 2>&1
Print the current date and time before running the command. Base task: Display built-in Windows command-line help and syntax for sc query.
echo %DATE% %TIME% & sc /?
Run the command and display its exit code. Base task: Display built-in Windows command-line help and syntax for sc query.
sc /? & echo Exit code: %ERRORLEVEL%
Save command output and errors to a text file. Base task: Display built-in Windows command-line help and syntax for net user.
net /? > command-results.txt 2>&1
Append command output and errors to an existing log. Base task: Display built-in Windows command-line help and syntax for net user.
net /? >> command-results.txt 2>&1
Print the current date and time before running the command. Base task: Display built-in Windows command-line help and syntax for net user.
echo %DATE% %TIME% & net /?
Run the command and display its exit code. Base task: Display built-in Windows command-line help and syntax for net user.
net /? & echo Exit code: %ERRORLEVEL%
Save command output and errors to a text file. Base task: Display built-in Windows command-line help and syntax for gpupdate.
gpupdate /? > command-results.txt 2>&1
Append command output and errors to an existing log. Base task: Display built-in Windows command-line help and syntax for gpupdate.
gpupdate /? >> command-results.txt 2>&1
Print the current date and time before running the command. Base task: Display built-in Windows command-line help and syntax for gpupdate.
echo %DATE% %TIME% & gpupdate /?
Run the command and display its exit code. Base task: Display built-in Windows command-line help and syntax for gpupdate.
gpupdate /? & echo Exit code: %ERRORLEVEL%
Save command output and errors to a text file. Base task: Display built-in Windows command-line help and syntax for gpresult.
gpresult /? > command-results.txt 2>&1
Append command output and errors to an existing log. Base task: Display built-in Windows command-line help and syntax for gpresult.
gpresult /? >> command-results.txt 2>&1
Print the current date and time before running the command. Base task: Display built-in Windows command-line help and syntax for gpresult.
echo %DATE% %TIME% & gpresult /?
Run the command and display its exit code. Base task: Display built-in Windows command-line help and syntax for gpresult.
gpresult /? & echo Exit code: %ERRORLEVEL%
Save command output and errors to a text file. Base task: Display built-in Windows command-line help and syntax for sfc.
sfc /? > command-results.txt 2>&1
Append command output and errors to an existing log. Base task: Display built-in Windows command-line help and syntax for sfc.
sfc /? >> command-results.txt 2>&1
Print the current date and time before running the command. Base task: Display built-in Windows command-line help and syntax for sfc.
echo %DATE% %TIME% & sfc /?
Run the command and display its exit code. Base task: Display built-in Windows command-line help and syntax for sfc.
sfc /? & echo Exit code: %ERRORLEVEL%
Save command output and errors to a text file. Base task: Display built-in Windows command-line help and syntax for dism.
DISM /? > command-results.txt 2>&1
Append command output and errors to an existing log. Base task: Display built-in Windows command-line help and syntax for dism.
DISM /? >> command-results.txt 2>&1
Print the current date and time before running the command. Base task: Display built-in Windows command-line help and syntax for dism.
echo %DATE% %TIME% & DISM /?
Run the command and display its exit code. Base task: Display built-in Windows command-line help and syntax for dism.
DISM /? & echo Exit code: %ERRORLEVEL%
Save command output and errors to a text file. Base task: Display built-in Windows command-line help and syntax for chkdsk.
chkdsk /? > command-results.txt 2>&1
Append command output and errors to an existing log. Base task: Display built-in Windows command-line help and syntax for chkdsk.
chkdsk /? >> command-results.txt 2>&1
Print the current date and time before running the command. Base task: Display built-in Windows command-line help and syntax for chkdsk.
echo %DATE% %TIME% & chkdsk /?
Run the command and display its exit code. Base task: Display built-in Windows command-line help and syntax for chkdsk.
chkdsk /? & echo Exit code: %ERRORLEVEL%
Save command output and errors to a text file. Base task: Display built-in Windows command-line help and syntax for robocopy.
robocopy /? > command-results.txt 2>&1
Append command output and errors to an existing log. Base task: Display built-in Windows command-line help and syntax for robocopy.
robocopy /? >> command-results.txt 2>&1
Print the current date and time before running the command. Base task: Display built-in Windows command-line help and syntax for robocopy.
echo %DATE% %TIME% & robocopy /?
Run the command and display its exit code. Base task: Display built-in Windows command-line help and syntax for robocopy.
robocopy /? & echo Exit code: %ERRORLEVEL%
Save command output and errors to a text file. Base task: Display built-in Windows command-line help and syntax for xcopy.
xcopy /? > command-results.txt 2>&1
Append command output and errors to an existing log. Base task: Display built-in Windows command-line help and syntax for xcopy.
xcopy /? >> command-results.txt 2>&1
Print the current date and time before running the command. Base task: Display built-in Windows command-line help and syntax for xcopy.
echo %DATE% %TIME% & xcopy /?
Run the command and display its exit code. Base task: Display built-in Windows command-line help and syntax for xcopy.
xcopy /? & echo Exit code: %ERRORLEVEL%
Save command output and errors to a text file. Base task: Display built-in Windows command-line help and syntax for dir.
dir /? > command-results.txt 2>&1
Append command output and errors to an existing log. Base task: Display built-in Windows command-line help and syntax for dir.
dir /? >> command-results.txt 2>&1
Print the current date and time before running the command. Base task: Display built-in Windows command-line help and syntax for dir.
echo %DATE% %TIME% & dir /?
Run the command and display its exit code. Base task: Display built-in Windows command-line help and syntax for dir.
dir /? & echo Exit code: %ERRORLEVEL%
Save command output and errors to a text file. Base task: Display built-in Windows command-line help and syntax for findstr.
findstr /? > command-results.txt 2>&1
Append command output and errors to an existing log. Base task: Display built-in Windows command-line help and syntax for findstr.
findstr /? >> command-results.txt 2>&1
Print the current date and time before running the command. Base task: Display built-in Windows command-line help and syntax for findstr.
echo %DATE% %TIME% & findstr /?
Run the command and display its exit code. Base task: Display built-in Windows command-line help and syntax for findstr.
findstr /? & echo Exit code: %ERRORLEVEL%
Save command output and errors to a text file. Base task: Display built-in Windows command-line help and syntax for wevtutil.
wevtutil /? > command-results.txt 2>&1
Append command output and errors to an existing log. Base task: Display built-in Windows command-line help and syntax for wevtutil.
wevtutil /? >> command-results.txt 2>&1
Print the current date and time before running the command. Base task: Display built-in Windows command-line help and syntax for wevtutil.
echo %DATE% %TIME% & wevtutil /?
Run the command and display its exit code. Base task: Display built-in Windows command-line help and syntax for wevtutil.
wevtutil /? & echo Exit code: %ERRORLEVEL%
Save command output and errors to a text file. Base task: Display built-in Windows command-line help and syntax for schtasks query.
schtasks /? > command-results.txt 2>&1
Append command output and errors to an existing log. Base task: Display built-in Windows command-line help and syntax for schtasks query.
schtasks /? >> command-results.txt 2>&1
Print the current date and time before running the command. Base task: Display built-in Windows command-line help and syntax for schtasks query.
echo %DATE% %TIME% & schtasks /?
Run the command and display its exit code. Base task: Display built-in Windows command-line help and syntax for schtasks query.
schtasks /? & echo Exit code: %ERRORLEVEL%
Save command output and errors to a text file. Base task: Display built-in Windows command-line help and syntax for certutil hashfile.
certutil /? > command-results.txt 2>&1
Append command output and errors to an existing log. Base task: Display built-in Windows command-line help and syntax for certutil hashfile.
certutil /? >> command-results.txt 2>&1
Print the current date and time before running the command. Base task: Display built-in Windows command-line help and syntax for certutil hashfile.
echo %DATE% %TIME% & certutil /?
Run the command and display its exit code. Base task: Display built-in Windows command-line help and syntax for certutil hashfile.
certutil /? & echo Exit code: %ERRORLEVEL%
Save command output and errors to a text file. Base task: Display built-in Windows command-line help and syntax for powercfg.
powercfg /? > command-results.txt 2>&1
Append command output and errors to an existing log. Base task: Display built-in Windows command-line help and syntax for powercfg.
powercfg /? >> command-results.txt 2>&1
Print the current date and time before running the command. Base task: Display built-in Windows command-line help and syntax for powercfg.
echo %DATE% %TIME% & powercfg /?
Run the command and display its exit code. Base task: Display built-in Windows command-line help and syntax for powercfg.
powercfg /? & echo Exit code: %ERRORLEVEL%
Save command output and errors to a text file. Base task: Display built-in Windows command-line help and syntax for driverquery.
driverquery /? > command-results.txt 2>&1
Append command output and errors to an existing log. Base task: Display built-in Windows command-line help and syntax for driverquery.
driverquery /? >> command-results.txt 2>&1
Print the current date and time before running the command. Base task: Display built-in Windows command-line help and syntax for driverquery.
echo %DATE% %TIME% & driverquery /?
Run the command and display its exit code. Base task: Display built-in Windows command-line help and syntax for driverquery.
driverquery /? & echo Exit code: %ERRORLEVEL%
Save command output and errors to a text file. Base task: Display built-in Windows command-line help and syntax for wmic legacy.
wmic /? > command-results.txt 2>&1
Append command output and errors to an existing log. Base task: Display built-in Windows command-line help and syntax for wmic legacy.
wmic /? >> command-results.txt 2>&1
Print the current date and time before running the command. Base task: Display built-in Windows command-line help and syntax for wmic legacy.
echo %DATE% %TIME% & wmic /?
Run the command and display its exit code. Base task: Display built-in Windows command-line help and syntax for wmic legacy.
wmic /? & echo Exit code: %ERRORLEVEL%