JustPaste.it

PS error output

VERBOSE: 10-12-2020 09:25:34    Get-View    Finished execution
VERBOSE: 10-12-2020 09:25:34    Get-View    Finished execution
VERBOSE: 10-12-2020 09:25:34    Get-View    Finished execution
VERBOSE: 10-12-2020 09:25:34    Get-View    Finished execution
VERBOSE: No GuestOSType value provided. Trying to determine now.
VERBOSE: It's a Windows guest OS
VERBOSE: Created temp folder in guest OS C:\Users\ADMINI~1\AppData\Local\Temp\admin_oon_15100vmware220
VERBOSE: Created temp script file in guest OS C:\Users\ADMINI~1\AppData\Local\Temp\admin_oon_15100vmware220\admin_oon_15100vmware131.ps1
VERBOSE: Created temp output file in guest OS C:\Users\ADMINI~1\AppData\Local\Temp\admin_oon_15100vmware220\admin_oon_15100_outputvmware151
Resolve-DnsName : 170.83.0.10.in-addr.arpa : DNS name does not exist
At C:\Users\admin_oon\Desktop\PStest\Invoke-VMScriptPlus.ps1:238 char:13
+ $hostName = Resolve-DnsName -Name $ip | Select-Object -ExpandProperty ...
+             ~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : ResourceUnavailable: (170.83.0.10.in-addr.arpa:String) [Resolve-DnsName], Win32Exception
    + FullyQualifiedErrorId : DNS_ERROR_RCODE_NAME_ERROR,Microsoft.DnsClient.Commands.ResolveDnsName
 
VERBOSE: Copying Data to C:\Users\ADMINI~1\AppData\Local\Temp\admin_oon_15100vmware220\admin_oon_15100vmware131.ps1
Invoke-WebRequest : Cannot bind parameter 'Uri'. Cannot convert value "https://:443/guestFile?id=56&token=52e1ce1a-e8df-e5ad-9329-e8473d5cfd6356" to type "System.Uri". E
rror: "Invalid URI: The hostname could not be parsed."
At C:\Users\admin_oon\Desktop\PStest\Invoke-VMScriptPlus.ps1:255 char:33
+ $copyResult = Invoke-WebRequest @sWeb
+                                 ~~~~~
    + CategoryInfo          : InvalidArgument: (:) [Invoke-WebRequest], ParameterBindingException
    + FullyQualifiedErrorId : CannotConvertArgumentNoMessage,Microsoft.PowerShell.Commands.InvokeWebRequestCommand
 
ScripText copy failed!Status  
At C:\Users\admin_oon\Desktop\PStest\Invoke-VMScriptPlus.ps1:258 char:1
+ Throw "ScripText copy failed!`rStatus $($copyResult.StatusCode)`r$(($ ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : OperationStopped: (ScripText copy failed!Status  :String) [], RuntimeException
    + FullyQualifiedErrorId : ScripText copy failed!Status