Get FalconMigrationHost - CrowdStrike/psfalcon GitHub Wiki

Get-FalconMigrationHost

SYNOPSIS

Search for hosts in a Falcon host migration job

DESCRIPTION

Requires 'Host Migration: Read'.

PARAMETERS

Name Type Description Min Max Allowed Pipeline PipelineByName
Id String[] Host identifier X X
JobId String Host migration job identifier
Filter String Falcon Query Language expression to limit results

hostgroups
hostname
status
host_migration_id
id
created_time
groups
static_host_groups
target_cid
source_cid
migration_id
Sort String Property and direction to sort results id|asc
id|desc
created_time|asc
created_time|desc
groups|asc
groups|desc
static_host_groups|asc
static_host_groups|desc
target_cid|asc
target_cid|desc
source_cid|asc
source_cid|desc
migration_id|asc
migration_id|desc
hostgroups|asc
hostgroups|desc
hostname|asc
hostname|desc
status|asc
status|desc
host_migration_id|asc
host_migration_id|desc
Limit Int32 Maximum number of results per request 1 10000
Offset Int32 Position to begin retrieving results
All Switch Repeat requests until all available results are retrieved
Total Switch Display total result count instead of results

SYNTAX

Get-FalconMigrationHost [-JobId] <String> [[-Filter] <String>] [[-Sort] <String>] [[-Limit] <Int32>] [-Offset <Int32>] [-All] [-Total] [-WhatIf] [-Confirm] [<CommonParameters>]
Get-FalconMigrationHost -Id <String[]> [-WhatIf] [-Confirm] [<CommonParameters>]

REFERENCE

Endpoints

GET /host-migration/queries/host-migrations/v1
POST /host-migration/entities/host-migrations/GET/v1

falconpy

GetHostMigrationIDsV1
GetHostMigrationsV1

USAGE

2024-09-03: PSFalcon v2.2.7

⚠️ **GitHub.com Fallback** ⚠️