Posted on Leave a comment

File Transfer Support for HTML 5 Remote Desktop Web Client

PowerShell Logo

The HTML 5 Remote Desktop Web Client, for Windows Server RDS Deployments, now supports File Transfers. However, to enable this, feature the HTML 5 Web Client will need to be manually updated.

To see the latest release notes for the Latest HTML 5 Remote Desktop Client, please visit:
https://docs.microsoft.com/en-us/windows-server/remote/remote-desktop-services/clients/web-client-whatsnew

To update the HTML 5 Web Client:

1. Open a PowerShell console as Administrator (Right-click run as Administrator) on the Server running the RD Web Access role. Run the command below, which will download the latest available version of the web client.

Install-RDWebClientPackage

2. Now that the latest web client has been downloaded. It can be published by running the command below, which will replace the client for all users.

Publish-RDWebClientPackage -Type Production -Latest

Please contact me if you have any comments or suggestions: [email protected]

Posted on Leave a comment

Public IP Address Changes Alert – PowerShell

PowerShell Logo

Receive an email notification every time your Public IP Address changes. The Public IP Address Check script is a free and easy to use PowerShell script that can be ran as a schedule task using Task Scheduler within Windows.

Why would I use this?
Most Public IP Addresses for home broadband connections are normally dynamic IP Addresses and depending on the ISP they can change frequently. While there are solutions such as Dynamic DNS, In some cases it can’t be used.

This is a quick and easy way to be notified if your IP Address changes, if you need to be notified when your IP address changes as you might be unable to use Dynamic DNS or would prefer not to.

Included in the download is a template which you can import in the Task Scheduler within Windows.

The Public IP Address Check has been written and developed by Woodward.Digital and is distributed freely under the MIT License.

Please contact me if you have any comments or suggestions: [email protected]

MIT License

Copyright (c) 2021 woodward.digital

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Posted on Leave a comment

Update HTML 5 Remote Desktop Web Client

PowerShell Hero

The HTML 5 Remote Desktop Web Client for Windows RDS Deployments is regularly updated by Microsoft. However, the HTML 5 Web Client updates are not available through Windows Updates and have to be manually installed.

To see the latest release notes for the Latest HTML 5 Remote Desktop Client please visit:
https://docs.microsoft.com/en-us/windows-server/remote/remote-desktop-services/clients/web-client-whatsnew

Once you have installed the HTML 5 Web Client it is important that it is regularly updated following your patching policy.

To update the HTML 5 Web Client:

1. Open a PowerShell console as Administrator (Right-click run as Administrator) on the Server running the RD Web Access role. Run the command below which will download the latest available version of the web client.

Install-RDWebClientPackage

2. Now that the latest web client has been downloaded. It can be published by running the command below which will replace the client for all users.

Publish-RDWebClientPackage -Type Production -Latest
Posted on 1 Comment

Network Monitor – PowerShell Ping Script

Network Monitor - PowerShell Ping Script
Network Monitor a Network Monitoring Tool - PowerShell Ping Script

The Network Monitor is a simple PowerShell Ping Script that acts as a Network Monitoring Tool. That imports a CSV file which contains a list IP address and the names of the devices you would like to monitor. The script runs every 60 seconds, importing the list and testing the connection of every device to ensure it is online. Alerting you to any devices which are unavailable.

The Network Monitor has been written and developed by Woodward.Digital and is distributed freely under the MIT License.

Please contact me if you have any comments or suggestions: [email protected]

MIT License

Copyright (c) 2021 woodward.digital

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Posted on Leave a comment

How to delete stubborn folders – Windows

PowerShell Hero

How to delete stubborn folders using Robocopy in Windows. By using Robocopy to “mirror” an empty folder using the /MIR command.

What is RoboCopy? Robocopy is a free command-line file copy utility that has shipped with Windows since Vista.

To delete a stubborn folder and all its subfolders and files:

1) Create an empty folder.

2) Open PowerShell.

3) Run the following command:
Robocopy /MIR “<Path to empty folder>” “<Path to delete>”
Note: This will delete all files and folders within the folder path that you specify.

Example:

Robocopy /MIR "C:\Empty" "C:\Stuck\Stubborn\Folder"
RoboCopy Mirror Example - How to delete stubborn folders

To find out more about RoboCopy please visit:
https://social.technet.microsoft.com/wiki/contents/articles/1073.robocopy-and-a-few-examples.aspx