| external help file | ResourceLocker-help.xml |
|---|---|
| Module Name | ResourceLocker |
| online version | https://github.com/FozzyHosting/ResourceLocker/blob/master/docs/Get-ResourceDependence.md |
| schema | 2.0.0 |
Returns a dependency tree for a host.
Get-ResourceDependence -ResourceName <String> -ResourceDependencies <PSObject> [<CommonParameters>]
Get-ResourceDependence -ResourceName <String> [-FilePath <String>] [<CommonParameters>]
Use this function to determine which hosts will be locked along with a network host.
PS C:\> Get-ResourceDependence -ResourceName SRV01Retuns a dependency tree for SRV01.
Specifies the name of a resource for which to build a dependency tree.
Type: String
Parameter Sets: (All)
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseSpecifies the path to a file, containing host dependencies description.
Type: String
Parameter Sets: ByFile
Aliases:
Required: False
Position: Named
Default value: $ModuleWideResourceDependenciesFilePath
Accept pipeline input: False
Accept wildcard characters: FalseSpecifies a dependencies object instead of a file. This parameter is for internal purposes - you don't really need to use it.
Type: PSObject
Parameter Sets: ByDefinition
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseThis cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).