This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### Usage: | |
## Import functions | |
# >. .\Set-ThisPcLibrary.ps1 | |
## Add library to 'This PC' | |
# >Set-ThisPcItem pictures | |
# Pictures | |
## Remove specific library | |
# >Set-ThisPcItem -Remove pic | |
# Pictures | |
## Remove all libraries |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Function Edit-RdpPort { | |
<# | |
.SYNOPSIS | |
Changes the port assigned to RDP | |
.DESCRIPTION | |
Change the port assigned to RDP by updating the registry and restarting relevant services | |
.PARAMETER ComputerName | |
ComputerName that will have its port changed | |
.PARAMETER Port | |
New port number |
NewerOlder