< Back

Find-AEContent

Sun Jan 19, 2020 5:54 pm

NAME Find-AEContent



SYNOPSIS

Returns ActiveEfficiency Devices.





SYNTAX

Find-AEContent [-AEServer] <String> [-Name] <String> [-Subnet] <String> [-Version] <String> [[-Extent] <String>]

[[-Percent] <Int32>] [[-Top] <Int32>] [[-Skip] <Int32>] [-AllSubnets] [-ExcludeDeviceTags] [-RandomizeResult]

[<CommonParameters>]





DESCRIPTION

The Find-AEContent Cmdlet searches for Devices with the specified content.





PARAMETERS

-AEServer <String>

Specified the URI of the 1E ActiveEfficiency server



Required? true

Position? 1

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-Name <String>

Specifies the Content Name to find



Required? true

Position? 2

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-Subnet <String>

Specifies the subnet for the content to find Need to be supplied in CIDR format



Required? true

Position? 3

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-Version <String>

Specifies the version of the content to find



Required? true

Position? 4

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-Extent <String>

Specifies the extent of the search Can be 'SiteOnly' or 'Subnet'. Default is SiteOnly



Required? false

Position? 5

Default value SiteOnly

Accept pipeline input? False

Accept wildcard characters? false



-Percent <Int32>

Specifies the required percentage. Defaults to 100%. Is there a legit reason to look for anything below 100%?



Required? false

Position? 6

Default value 100

Accept pipeline input? False

Accept wildcard characters? false



-AllSubnets [<SwitchParameter>]

Specifies if all subnets of the site should be included in the search



Required? false

Position? named

Default value False

Accept pipeline input? False

Accept wildcard characters? false



-ExcludeDeviceTags [<SwitchParameter>]

Specifies if Device Tag should be excluded from the result



Required? false

Position? named

Default value False

Accept pipeline input? False

Accept wildcard characters? false



-RandomizeResult [<SwitchParameter>]

Specifies if the result should be randomized



Required? false

Position? named

Default value False

Accept pipeline input? False

Accept wildcard characters? false



-Top <Int32>

Specifies how many entries should be returned in one batch



Required? false

Position? 7

Default value 100

Accept pipeline input? False

Accept wildcard characters? false



-Skip <Int32>

Specifies how many batches should be skipped



Required? false

Position? 8

Default value 0

Accept pipeline input? False

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS



OUTPUTS



NOTES









-------------------------- EXAMPLE 1 --------------------------



PS C:\\>$Url = (Get-AELocalDeviceInfo).PlatformUrl



PS C:\\>$Sources = Find-AEContent -AEServer $Url -Name 'TST012345' -Version 1 -Subnet '10.10.10.0/24' -Extend Subnet



RELATED LINKS