PoshCode Archive  Timeline

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

20 check-ins using file Test-Port.ps1 version 8d43ed54b3

2018-06-10
14:19
Rebuilds Windows Indexing on a remote PC check-in: d5d036c1af user: Aphexenator tags: trunk
14:19
In an interesting design choice, Get-Process lets you work with processes on remote machines, but Stop-Process does not. This cmdlet uses WMI to stop a process on a remote machine. check-in: 087857a65a user: Brian Wahoff tags: trunk
14:19
Very simple script that stops a service and waits for it to stop before rebooting. This script can be edited so it runs on every reboot or can be run manually to reboot. check-in: 3da99d740c user: AdrianWoodrup tags: trunk
14:19
retrieve the windows product key of a specified machine using WMI check-in: 8966bbd165 user: karl prosser tags: trunk
14:19
Generate Cryptographically Random Bytes, using RNGCryptoServiceProvider, and optionally format them as strings. check-in: 6e2b1d09ea user: webclient tags: trunk
14:19
Arise you ever a wish to call CPython code via Add-Type cmdlets? Now you have this ability! Note that you need “morphine” library (https://github.com/gregzakh/morphine/blob/master/lib/morphine.ps1) and Python stored into $env:path check-in: 4f273c1f81 user: Ernst Schlee tags: trunk
14:18
This script is a proof of concept. Further work needs to be done. It requires the user to enter a valid username and password for a gmail.com account. It then attempts to form an SSL connection with the server, and, retrieve the first email. Unfortunately it returns random results. Perhaps someone can improve upon it with some more sockets knowledge than I have. check-in: 3dd08f2784 user: Will Steele tags: trunk
14:18
...... Hello all everyone …... check-in: 64b0d90e15 user: Matthew Sessions tags: trunk
14:18
A long time ago, I wrote a ResolvePaths attribute which I never really published. check-in: 3225ce2551 user: Joel Bennett tags: trunk
14:18
Just an idea for how to handle web requests in PowerShell check-in: 5e5bbdbf69 user: Joel Bennett tags: trunk
14:18
Set-Wallpaper lets you set your windows desktop wallpaper. It requires PInvoke and I wrote it using CTP2’s Add-Type, although it could be done in v1 using the JIT code generation tricks Lee Holmes has mentioned in the past … check-in: 06fdc4627e user: Joel Bennett tags: trunk
14:18
Set-Wallpaper lets you set your windows desktop wallpaper. It requires PInvoke and I wrote it using CTP2’s Add-Type, although it could be done in v1 using the JIT code generation tricks Lee Holmes has mentioned in the past … check-in: 7bcb88c0db user: Joel Bennett tags: trunk
14:18
Sets the system primary DNS suffix by p-invoking the Win32 API. Returns true for success, false for failure. check-in: c475675b14 user: Andy Arismendi tags: trunk
14:18
Adds ‘Execute in PowerShell’ options to .ps1 files’ context menu so that you can easily run scripts from Windows Explorer check-in: 47ebcb3573 user: Nigel Boulton tags: trunk
14:18
e5e614ac06a708ca88fdc67bc88a4f0eed07d7f0 check-in: 6c5f795e69 user: Joel Bennett tags: trunk
14:18
Simple script that uses netsh to show wireless networks. check-in: e7fd960cc1 user: Kris Cieslak tags: trunk
14:18
How to add a SSL Certificate to IIS with Powershell as well as set the SSL Binding for the site that’s using the certificate. check-in: 41e711ef82 user: Brian H Madsen tags: trunk
14:18
In this JSON module, I have a full set of tools for exporting, importing, and converting Json objects (including arbitrary objects). See comments in script header for usage examples, but basically, you can do things like: check-in: 94b7aaa910 user: Joel Bennett tags: trunk
14:18
A script to do a query on a remote registry key or value (Fixed a bug in 2.0) check-in: d2b985bd98 user: Joel Bennett tags: trunk
14:18
Advanced function used to test UDP or TCP port/s on one or more systems to determine if it is open or not. check-in: 5684c6bf59 user: Boe Prox tags: trunk