Skip to content
Permalink
Browse files

clean pdb

  • Loading branch information...
potatoqualitee committed Mar 14, 2019
1 parent dfa1e6a commit f99d84fb882d26dea61bd8bb5ec4de19a6596e87
BIN +137 KB bin/dbatools.dll
Binary file not shown.
Binary file not shown.
BIN -2 KB (99%) bin/net452/dbatools.pdb
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -552,8 +552,8 @@ public DbaInstanceParameter(object Input)
if (tempInput.Properties["ComputerName"] != null)
_ComputerName = (string)tempInput.Properties["ComputerName"].Value;

//if (tempInput.Properties["NetPort"] != null)
// _Port = (Int32)tempInput.Properties["NetPort"].Value;
if (tempInput.Properties["NetPort"] != null)
_Port = (int)tempInput.Properties["NetPort"].Value;

}
catch (Exception e)
@@ -390,6 +390,8 @@ function Connect-DbaInstance {
$parsedcomputername = $server.NetName
}
Add-Member -InputObject $server -NotePropertyName ComputerName -NotePropertyValue $parsedcomputername -Force
Add-Member -InputObject $server -NotePropertyName NetPort -NotePropertyValue $instance.Port -Force -Passthru

}
if ($MinimumVersion -and $server.VersionMajor) {
if ($server.versionMajor -lt $MinimumVersion) {
@@ -617,6 +619,7 @@ function Connect-DbaInstance {
$parsedcomputername = $server.NetName
}
Add-Member -InputObject $server -NotePropertyName ComputerName -NotePropertyValue $parsedcomputername -Force
Add-Member -InputObject $server -NotePropertyName NetPort -NotePropertyValue $instance.Port -Force -Passthru
}
}

0 comments on commit f99d84f

Please sign in to comment.
You can’t perform that action at this time.