Skip to content

Install SdnDiagnostics

Adam Rudell edited this page Dec 5, 2023 · 4 revisions

Install-SdnDiagnostics

SYNOPSIS

Install SdnDiagnostic Module to remote computers if not installed or version mismatch.

SYNTAX

Install-SdnDiagnostics [-ComputerName] <String[]> [[-Credential] <PSCredential>] [[-Path] <String>] [-Force]
 [<CommonParameters>]

DESCRIPTION

{{ Fill in the Description }}

EXAMPLES

Example 1

PS C:\> {{ Add example code here }}

{{ Add example description here }}

PARAMETERS

-ComputerName

Type the NetBIOS name, an IP address, or a fully qualified domain name of one or more remote computers.

Type: String[]
Parameter Sets: (All)
Aliases:

Required: True
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Credential

Specifies a user account that has permission to perform this action. The default is the current user. Type a user name, such as User01 or Domain01\User01, or enter a PSCredential object generated by the Get-Credential cmdlet. If you type a user name, you're prompted to enter the password.

Type: PSCredential
Parameter Sets: (All)
Aliases:

Required: False
Position: 2
Default value: [System.Management.Automation.PSCredential]::Empty
Accept pipeline input: False
Accept wildcard characters: False

-Path

Specifies the path to the module where it should be installed. If not specified, the default path will be used.

Type: String
Parameter Sets: (All)
Aliases:

Required: False
Position: 3
Default value: $Script:SdnDiagnostics_Utilities.Config.DefaultModuleDirectory
Accept pipeline input: False
Accept wildcard characters: False

-Force

Forces a cleanup and re-install of the module on the remote computer.

Type: SwitchParameter
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

OUTPUTS

NOTES

RELATED LINKS

Documentation

How To Guides:

Troubleshooting Guides

Learning

Functions

Clone this wiki locally