Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added new scripts, .zip with powershell scripts. Added SAP drop down … #76

Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file modified Scripts/SAPSetupAssistantValidationScripts.zip
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
<#
.SYNOPSIS
Checks for On-permises data gateway installation.
tshanep marked this conversation as resolved.
Show resolved Hide resolved
Checks for on-permises data gateway installation.
.DESCRIPTION
This script attempts to
1. Check if the On-permises data gateway is installed and validates the
if the version is greater than the minumum version requirement
1. Check if the on-permises data gateway is installed and validates the
if the version is greater than the minimum version requirement
2. CheckSapConnector
3. CheckVisualCPlusPlus
#>
Expand Down Expand Up @@ -37,7 +37,7 @@ else {
$location = "C:\Program Files\SAP\SAP_DotNetConnector3_Net40_x64"
$ncoAssemblies += Get-ChildItem -Path $location -Filter sapnco.dll -Recurse | Select-Object -ExpandProperty VersionInfo
$counter = 0

Write-Host "value is $ncoAssemblies"
foreach ($assembly in $ncoAssemblies) {
tshanep marked this conversation as resolved.
Show resolved Hide resolved
$fileName = $assembly.FileName

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ else {
#checkSystemEnvVariable -variableName "CCL_PROFILE"

if ($env:CCL_PROFILE) {
Write-Host -NoNewLine "{'step': 'CheckSapCryptoIniFile', 'status': 'Success', 'message': 'System Environment variable 'CCL_PROFILE' exists'},"
Write-Host -NoNewLine "{'step': 'CheckSapCryptoIniFile', 'status': 'Success', 'message': 'System Environment variable CCL_PROFILE exists'},"
}
else {
Write-Host -NoNewLine "{'step': 'CheckSapCryptoIniFile', 'status': 'Error', 'message': 'Need to create a CCL_PROFILE system environment variable and set its value to the path to sapcrypto.ini.'},"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ $job = Start-Job -ScriptBlock {
Test-NetConnection -ComputerName $hostName -Port $port
} -ArgumentList $hostName, $port

if (Wait-Job -Job $job -Timeout 5) {
if (Wait-Job -Job $job -Timeout 10) {
$result = Receive-Job -Job $job

if ($result.TcpTestSucceeded) {
Expand Down
Loading