PowerShell Server: SFTP Scripting

 Introduction By default, the SFTP Server will act as a standard SFTP server and provide file management functionality for the specified root directory. In some cases, it may be desirable to implement advanced functionality. PowerShell Server provides an advanced SFTP scrip…

Interacting With Cookies From PowerShell ASP

 PowerShell ASP works in much the same way that ASP.NET would. Interacting with cookies is no different. Below is an example showing how to display and create cookies in the user's browser: link href="stylesheet.css" rel="stylesheet" type="text/css" % if($Request.RequestTyp…

Redirecting a Request in PowerShell ASP

 PowerShell ASP works in much the same way that ASP.NET would. Redirecting the user to another webpage is no different. Below is an example showing how to redirect the user to /n Software's website: link href="stylesheet.css" rel="stylesheet" type="text/css" % #Use $false f…

Uploading a File Using PowerShell ASP

 PowerShell ASP works in much the same way that ASP.NET would. Uploading a file to the server from a webpage is no different. Below is an example showing how to allow the user to upload a file to the server: link href="stylesheet.css" rel="stylesheet" type="text/css" % if($…

Returning a file from PowerShell ASP

 PowerShell ASP works in much the same way that ASP.NET would. Transferring a file to the user is no different. Below is an example showing how to allow the user to download a file: link href="stylesheet.css" rel="stylesheet" type="text/css" % $filepath = "C:\test\test.txt"…

Getting started with SSH Reverse Tunnels

 Contents Overview Creating a SSH Reverse Tunnel Using a SSH Reverse Tunnel Overview SSH Reverse Tunnels provide a way to allow connections to network resources that would not typically be available. For example, a device behind a firewall that would typically be unavailabl…