< Back

Install-OmsDependencyAgent

Sat Jan 18, 2020 5:48 pm

NAME Install-OmsDependencyAgent



SYNOPSIS

Installs the OMS Dependency Agent on remote computers.





SYNTAX

Install-OmsDependencyAgent [[-computerName] <String[]>] [-downloadURL <String>] [-Credential <PSCredential>]

[-WhatIf] [-Confirm] [<CommonParameters>]



Install-OmsDependencyAgent [[-computerName] <String[]>] [-sourcePath <String>] [-Credential <PSCredential>]

[-WhatIf] [-Confirm] [<CommonParameters>]





DESCRIPTION

Either downloads the installer from a URL or copies the installer via the powershell session.





PARAMETERS

-computerName <String[]>



Required? false

Position? 1

Default value $env:COMPUTERNAME

Accept pipeline input? true (ByValue, ByPropertyName)

Accept wildcard characters? false



-downloadURL <String>



Required? false

Position? named

Default value https://aka.ms/Dependencyagentwindows

Accept pipeline input? false

Accept wildcard characters? false



-sourcePath <String>



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-Credential <PSCredential>



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-WhatIf [<SwitchParameter>]



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-Confirm [<SwitchParameter>]



Required? false

Position? named

Default value

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

System.String





NOTES





Written by Ben Taylor

Version 1.0, 22.06.2017



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



PS C:\\>Install-OmsDependencyAgent -sourcePath 'c:\\MMASetup-AMD64.exe' -Verbose















RELATED LINKS