PoshCode Archive  Timeline

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

232 check-ins using file TCP-Client-Server.ps1 version 93cb9d1473

2018-06-10
14:20
ewew check-in: 679efccf8a user: sammilkey tags: trunk
14:20
Creates a DataTable for an object, based on script by Marc van Orsouw check-in: 5307b543f3 user: Boe Prox tags: trunk
14:20
Function/script that opens an RDP file for editing using Terminal Services Client. check-in: bf4231a1b1 user: unknown tags: trunk
14:20
ISE-Comments module v 1.1 check-in: ade837bbae user: Scott Hardwick tags: trunk
14:20
ping-computer is not a standard Powershell command… replace line 54 with if (test-connection $srv -count 1).protocolAddress check-in: e4407c2195 user: Brian English tags: trunk
14:20
You know unwanted data is in a string within a file, but you don’t know what it is. You need to have it replaced with a scheduled ps1 script. check-in: a693089183 user: Danielle tags: trunk
14:20
Stops stuck jobs and gets info from them check-in: ea4c1b2e23 user: Autom8 tags: trunk
14:20
This function should be included in the PowerShell ISE profile.ps1 and it will display the start and end times of any scripts started clicking ‘Run Script’ (or ALT+R) in the Add-ons Menu; additionally they will be logged to the Scripts Event Log (which needs creating first) and also to a text log file. This defaults to that created by the Windows Script Monitor Service (available from www.SeaStar.co.nf) which normally indicates the full command line used to start each script. check-in: 0671d4f884 user: Archdeacon tags: trunk
14:20
Function/script that creates a new RDP file for Terminal Services. Nothing fancy though. check-in: 169b20579c user: Jason Archer tags: trunk
14:20
An example of multi threading in powershell check-in: 5730834196 user: Autom8 tags: trunk
14:20
$emailTo = “support@tcs-ltd.net” check-in: 2ca44ee24a user: Matthew Graeber tags: trunk
14:20
Inverts the mouse wheel scrolling in Windows (to match the way it works in OS X) check-in: b1ffba81d8 user: Joel Bennett tags: trunk
14:20
This function should be included in the PowerShell ISE profile.ps1 and it will display the start and end times of any scripts started clicking ‘Run Script’ (or ALT+R) in the Add-ons Menu; additionally they will be logged to the Scripts Event Log (which needs creating first) and also to a text log file. This defaults to that created by the Windows Script Monitor Service (available from www.SeaStar.co.nf) which normally indicates the full command line used to start each script. check-in: 2b6ad9271a user: Archdeacon tags: trunk
14:20
Provides same functionality as cliconfg.exe GUI. Although there is a WMI provider to add client network aliases, the differences between SQL version make it diffult to use. This method creates the registry key. check-in: aba7e8e9ba user: Chad Miller tags: trunk
14:20
A small script that uses a csv file for input (workstations.csv with 2 columns : computername,mac) and performs 3 actions : wol (wake on lan), reboot and shutdown. It’s one of my first posh scripts so please feel free to improve it. check-in: b97feb5a6a user: Cosmin Dumitru tags: trunk
14:20
Not for regular use, this is just a demo with using COM object to check new letters on gmail. check-in: 179626520b user: greg zakharov tags: trunk
14:20
Not for regular use, this is just a demo with using COM object to check new letters on gmail. check-in: eaf835ccde user: greg zakharov tags: trunk
14:20
Original post found [here](https://github.com/gregzakh/alt-ps/blob/master/tools/Show-LoadOrder.ps1) check-in: 050d09eda8 user: greg zakharov tags: trunk
14:19
IMCEAEX-_O=UNU_OU=EXCHANGE+20ADMINISTRATIVE+20GROUP+20+28FYDIBOHF23SPDLT+29_CN=RECIPIENTS_CN=Szumiece0e@unu.edu check-in: f1647ebd4f user: IMMTZ tags: trunk
14:19
The most accurate way of calculating Standard Deviation (according to the experts) is a method created by B.P.Welford, which is detailed in-depth in Donald Knuths Art of computer programming. check-in: 08c8b0b89e user: Richard Young tags: trunk
14:19
retrieve the windows product key of a specified machine using WMI check-in: 822a8c8a36 user: karl prosser tags: trunk
14:19
IMCEAEX-_O=BAYMAIL_OU=EXCHANGE+20ADMINISTRATIVE+20GROUP+20+28FYDIBOHF23SP DLT+29_CN=RECIPIENTS_CN=IMMTZ@bayer.cnb check-in: 665ae718b8 user: matt satzinger tags: trunk
14:19
This script will take a Twitter User’s Screen name and get their RSS feed of posts check-in: 7fb65c3127 user: fernlivese tags: trunk
14:19
This script will take a Twitter User’s Screen name and get their RSS feed of posts check-in: 57804731f0 user: Booksurfers_ tags: trunk
14:19
The main goal of this function to not use additional libraries. check-in: 47479905f8 user: greg zakharov tags: trunk
14:19
This script will take a Twitter User’s Screen name and get their RSS feed of posts check-in: 16be025164 user: Booksurfers_ tags: trunk
14:19
DekiWiki module, a package of a few script cmdlets (more to come, I promise) for working with DekiWiki. Included so far: Set-DekiCredential, Get-DekiContent, Set-DekiContent, New-DekiContent, Get-DekiFile … conspicuously absent: Add-DekiFile, Remove-DekiFile, Remove-DekiContent … check-in: 6e8e6fe242 user: unknown tags: trunk
14:19
Quick, dirty, and ugly way to output clipboard data to Microsoft Word. check-in: 879d9e4eee user: Banker42 tags: trunk
14:19
IMCEAEX-_o=Individual_ou=Exchange+20Administrative+20Group+20+28FYDIBOHF23SPDLT+29_cn=Recipients_cn=894ecd06ade243aba120f19948e5ecc8-ehd-c34e7de02@ex13.net check-in: bd19a5618f user: IMMTZ tags: trunk
14:19
https://github.com/gregzakh/alt-ps/blob/master/diag/Get-CoolingMode.ps1 check-in: 77104990bd user: greg zakharov tags: trunk
14:19
This shows a nice example/primer of using PowerMapi which is a module for PowerShell that provides direct access to MAPI. check-in: 3894a25471 user: PowerMapi tags: trunk
14:19
Inverts the mouse wheel scrolling in Windows (to match the way it works in OS X) check-in: a2f6e3c3c5 user: Joel Bennett tags: trunk
14:19
Inverts the mouse wheel scrolling in Windows (to match the way it works in OS X) check-in: a07fbd9157 user: Joel Bennett tags: trunk
14:19
Retrieve user logon events (relatively) quickly. This will output results to the console as they are retrieved check-in: d068262cf3 user: David McDonough tags: trunk
14:19
Set custom IP address check-in: 8a7a3dd851 user: Yves Rosius tags: trunk
14:19
ConvertTo-DekiContent is an improvement on New-HtmlHelp, with a specific focus on output suitable for DekiWiki. I commented out the html and body tags, etc. because the HTML markup is destined for the DekiWiki. It’s an improvement over the original because we cleaned up the parameter and example code, and broke apart the syntax, so it’s easier to read. check-in: 2a421b4572 user: Joel Bennett tags: trunk
14:19
quick hard coded script for uploading a file to an ftp server. check-in: 443d9d9008 user: Stephen Price tags: trunk
14:19
IMCEAEX-_O=CONTOSO_OU=First+20Administrative+20Group_cn=Recipients_cn=john+5Fjacob+2Esmith@contoso.com check-in: d6eb06a539 user: Test1 tags: trunk
14:19
Oracle Database Query From Powershell check-in: 0d6df7dabd user: Ranadip Dutta tags: trunk
14:19
retrieve the windows product key of a specified machine using WMI check-in: 5664ede98a user: Dominik tags: trunk
14:19
I initially wrote this ASCII art character script to be used with a modified version of PowerBot 2.0 (ID 2510 on poshcode). It outputs ASCII art letters from what you supply as a parameter (if the characters are supported). Either to STDOUT with Write-Host (colors are supported) or to the pipeline. It’s useless without the XML that’s found at powershelladmin.com. The full article is in my wiki: http://www.powershelladmin.com/wiki/Ascii_art_characters_powershell_script check-in: 0348724fe0 user: Joakim Svendsen, Svendsen Tech tags: trunk
14:19
Add voice to your Powershell script check-in: b7119f7750 user: Mike Hays tags: trunk
14:19
Retrieve data from an Oracle database into a dataset. check-in: 8a93aec76c user: dfafadfds tags: trunk
14:19
Retrieve data from an Oracle database into a dataset. check-in: 3f31109ca6 user: foureight84 tags: trunk
14:19
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: 199f72e649 user: Boe Prox tags: trunk
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
14:18
Enumerates mailbox folder permissions for all folders in all mailboxes check-in: b33dacc5d8 user: themoblin tags: trunk
14:18
This will send an SNMP trap to the specified manager (hostname). The script isn’t very flexible, but it’s a good example of how to build traps using SharpSNMPLib. External requirementss: check-in: f2639ddf2a user: amber tags: trunk
14:18
This script can be run on a secondary Network Policy Server and will mirror the configuration from the specified Primary Server, simplifying the management of a redundant or distributed configuration. This script is designed to run as a Scheduled task. check-in: 2cc042b0a9 user: KSimon tags: trunk
14:18
This script can be run on a secondary Network Policy Server and will mirror the configuration from the specified Primary Server, simplifying the management of a redundant or distributed configuration. This script is designed to run as a Scheduled task. check-in: 5dddac02bf user: KSimon tags: trunk
14:18
This script can be run on a secondary Network Policy Server and will mirror the configuration from the specified Primary Server, simplifying the management of a redundant or distributed configuration. This script is designed to run as a Scheduled task. check-in: 0072427f21 user: KSimon tags: trunk
14:18
This script can be run on a secondary Network Policy Server and will mirror the configuration from the specified Primary Server, simplifying the management of a redundant or distributed configuration. This script is designed to run as a Scheduled task. check-in: cf9479cd6c user: KSimon tags: trunk
14:18
This script can be run on a secondary Network Policy Server and will mirror the configuration from the specified Primary Server, simplifying the management of a redundant or distributed configuration. This script is designed to run as a Scheduled task. check-in: 4a00577c3a user: KSimon tags: trunk
14:18
#STORED CREDENTIAL CODE check-in: d6fcce8f4b user: ccorin tags: trunk
14:18
This code allows for the secure storing of an active directory password and then using it for connecting to exchange or active directory. This snippet will prompt the administrator for a username only, collect the password from the securely stored file, and then assemble a powershell credential object for use. check-in: 46bd0142a8 user: Lubinski tags: trunk
14:18
Get-FileEncoding function determines encoding by looking at Byte Order Mark (BOM). check-in: dab06a7bce user: Enter your zip code here tags: trunk
14:18
Get-WifiNetwork – return the parsed output of netsh wlan show network mode=bssid in psobject form. Does exactly what it says on the tin. Requires Vista/2008 or higher, or XP SP3 with a hotfix (I can’t recall which one, sorry.) check-in: a9cadc5d5d user: Oisin Grehan tags: trunk
14:18
Performs a join of all properties from two objects. Supports scriptblock evaluation, pipeline joining, etc. check-in: 1b2782ece6 user: aaron sun tags: trunk
14:18
Performs a join of all properties from two objects. Supports scriptblock evaluation, pipeline joining, etc. check-in: b41be2489d user: Jaykul tags: trunk
14:18
REALLY validates given IP address and returns True/False. The original script didn’t allow ZEROS in the Ip address (eg: 127.0.0.1 returned $false) check-in: 749380c024 user: mow01 tags: trunk
14:18
This cmdlet retrieves weather forcasts from SMHI (Swedish Meteorological and Hydrological Institute) through their API. (See: http://www.smhi.se/klimatdata/Oppna-data for information in swedish). check-in: 0524c007af user: DollarUnderscore tags: trunk
14:18
Compare updates between WSUS target groups (e.g Test and Production) and approve updates to the latter and email report on changes made. check-in: 6a3e936ac6 user: rov3_ tags: trunk
14:18
Script to create a backup report from Netbackup jobs check-in: 060106b14a user: Martijn Jonker tags: trunk
14:18
RU_DAX_ERP_Read check-in: 106a70396d user: Carter Shanklin tags: trunk
14:18
NOTE: For simpler use, an updated PShellExec.zip available via screencast.com check-in: 4bd2410e28 user: 384633383224503 tags: trunk
14:18
NOTE: For simpler use, an updated PShellExec.zip available via screencast.com check-in: d61abdd277 user: Les Papier tags: trunk
14:18
Connect to an exchange mailbox and get your latest emails. check-in: 4c8a1ba3fd user: George Mauer tags: trunk
14:17
All descriptions on the web which show how to do this so far have left the email attachment open which means if the script is continuing after the email and you wish to use the file you have attached you will not be able to as it will show as locked, use this example to close the attached file correctly using .Dispose() check-in: 0593e92d1d user: Richard van Erk tags: trunk
14:17
Add new smtp address from csv and set new address primary check-in: f9ee510966 user: unknown tags: trunk
14:17
I WILL CONTROL YOUR LIFE GIVE ME TIME AND ILL RULE YOU ALL check-in: 39fb587fc7 user: unknown tags: trunk
14:17
windows server health check for 2008 2012 2012r2 check-in: 780b1f08ba user: Prashant Pandey tags: trunk
14:17
Buying groceries with PowerShell, because why not? ;-) check-in: bfeb761eed user: DollarUnderscore tags: trunk
14:17
This script uses current Show-UI and SQLite to query a copy of your Firefox Bookmark Database for Bookmarks tagged with combinations of 1 to 3 keywords. It uses the WPF 4.0 Datagrid. (Improvements in Eventhandling of Hyperlinks are welcome) check-in: 919a192316 user: Bernd Kriszio tags: trunk
14:17
This script uses current Show-UI and SQLite to query a copy of your Firefox Bookmark Database for Bookmarks tagged with combinations of 1 to 3 keywords. It uses the WPF 4.0 Datagrid. (Improvements in Eventhandling of Hyperlinks are welcome) check-in: 2cd60cae21 user: Bernd Kriszio tags: trunk
14:17
This script uses current Show-UI and SQLite to query a copy of your Firefox Bookmark Database for Bookmarks tagged with combinations of 1 to 3 keywords. It uses the WPF 4.0 Datagrid. (Improvements in Eventhandling of Hyperlinks are welcome) check-in: 7341c99274 user: Bernd Kriszio tags: trunk
14:17
This script uses current Show-UI and SQLite to query a copy of your Firefox Bookmark Database for Bookmarks tagged with combinations of 1 to 3 keywords. It uses the WPF 4.0 Datagrid. (Improvements in Eventhandling of Hyperlinks are welcome) check-in: 75d64abbb9 user: Bernd Kriszio tags: trunk
14:17
These functions retrieve information about tv show airdates. They are used as a part of my “home automation with powershell”-project. check-in: 91d821909d user: DollarUnderscore tags: trunk
14:17
This will return the specified website’s X.509 certificate either as an object or a file (if the -OutputFile parameter is specified). See included comment based help for documentation. check-in: dbc2fcc85d user: Andy Arismendi tags: trunk
14:17
Two simple functions to get and set the SSH tunnels that putty will establish check-in: f6d6073a05 user: CrazyDave tags: trunk
14:17
Two simple functions to get and set the SSH tunnels that putty will establish check-in: 6fe3accd60 user: CrazyDave tags: trunk
14:17
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: f0fa2336c5 user: VPNZIP tags: trunk
14:17
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: 445be8ee93 user: Joel Bennett tags: trunk
14:17
IMCEAEX-_O=BAYMAIL_OU=EXCHANGE+20ADMINISTRATIVE+20GROUP+20+28FYDIBOHF23SP DLT+29_CN=RECIPIENTS_CN=IMMTZ@bayer.cnb check-in: 64ee5c4bbf user: IMMTZ tags: trunk
14:17
Script to delete ransomware files check-in: 5d17b75f17 user: roflrolle tags: trunk
14:17
Script to restore files beeing lost during ransomware attack check-in: 5499bcd67a user: roflrolle tags: trunk
14:17
Convert a raw security descriptor from SDDL form to a parsed security descriptor. check-in: ec2809acbd user: Matthew Graeber tags: trunk
14:17
Imports an Excel spreadsheet to a SQL Server table using OLEDB check-in: 085d47185c user: Chad MIller tags: trunk
14:17
Description: Script attempts to remove SCCM Client cache items and C:\Windows\SoftwareDistribution. check-in: d612119c8a user: RottedQuickly tags: trunk
14:17
Added Try block and missing brackets for sample GUI from post made by Vinith Menon. check-in: 255018b8b2 user: BrianK tags: trunk
14:17
Add new smtp address from csv and set new address primary check-in: 5513110c1d user: Ermias tags: trunk
14:17
Here is a function to create an Active Directory user. This function doesn’t do nearly everything that the Quest AD cmdlet can do, however it does provide user password configuration options such as setting the ‘User cannot change password’ and ‘Password never expires’ flags. The new AD account is enabled by default when created. check-in: f5bd3234ac user: Andy Arismendi tags: trunk
14:17
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: f65c2dd39a user: Lee Holmes tags: trunk
14:17
I wrote this to install IE11 through Altiris. Though the install method works fine without using Altiris. The script installs all of the KB prerequisite and recommended updates for IE 11, which are specified in $updateMSUs for the x86 and x64 blocks of code. It then installs IE 11 without forcing a reboot. check-in: f4a2a52cda user: BattleChicken tags: trunk
14:17
This code can be added to an AWS instance to set the default password of an EC2 instance. It stops the need for using keys to set the windows password. It needs to be set in the “User Data” section when building the Instance. check-in: 570b81898a user: AdrianWoodrup tags: trunk
14:17
This script enables you too search AD for SMTP addresses that are possibly in use, using the QUEST PowerShell PSSnapIn and searching the “proxyAddress” attribute of objects. The output details either that the SMTP address is not found in AD or you get details of the object that owns the SMTP address. check-in: abb7d602d9 user: Paul Brice tags: trunk
14:17
Powershell script to verify if Windows Backup has finished sucessfully or not. On error or warning it sends an email with the server name and the error/warning. On success it does nothing (means the backup finished successfully) check-in: ff08a64909 user: Paulo Seabra tags: trunk
14:17
get utilization from all network interfaces check-in: 09964e93f7 user: Joel Bennett tags: trunk
14:17
goo.gl/4sX8N3 check-in: 00d89520b3 user: sarkisyan tags: trunk
14:17
IMCEAEX-_O=EARTH_OU=EXCHANGE+20ADMINISTRATIVE+20GROUP+20+28FYDIBOHF23SPDLT+29_CN=RECIPIENTS_CN=email@contoso.com check-in: cba96ed1a5 user: o0MattE0o tags: trunk
14:17
This bit of code adds a Week ScriptProperty to datetime objects. The property returns the week of the year based on the current cultural settings. check-in: 0f3537d08c user: Dale Thompson tags: trunk
14:17
Invokes JQuery (or plain Javascript) commands via InternetExplorer.Application COM object,after initial injection of JQuery reference in header section. check-in: 8a5cfb030d user: Dirk Bremen tags: trunk
14:16
Powershell function that returns one of three possible DateTime objects check-in: 16d58727a0 user: Martijn Jonker tags: trunk
14:16
Some of commands get outdated and needs to get updated with latest powershell upgrade check-in: 50efe59948 user: Ashwin Rayaprolu tags: trunk
14:16
quick hard coded script for uploading a file to an ftp server. check-in: 3c8d8a8d24 user: Stephen Price tags: trunk
14:16
This will recursively remove non-alphanumeric\decimal (via regex) characters from all folder and filenames. The decimals are left in tact for file extensions. check-in: 071bbd6f32 user: mjohnson tags: trunk
14:16
Adds imitations of some operators such as ternary operator, -all, -any and etc. check-in: 8e3470f4bf user: poshman tags: trunk
14:16
This is an updated version of the home automation module. The main difference is that some output is removed (no news is good news…) if “-Verbose” is not used and that it has a separate cmdlet for connecting to Telldus Live! (Connect-TelldusLive) which uses a PSCredential. check-in: c500f91962 user: DollarUnderscore tags: trunk
14:16
A suggestion how to read Word document without MS Office check-in: a218d9c27b user: qwerty tags: trunk
14:16
My prompt function for PS 6.0.0.9 — There’s a bug causing an echo if you use write-host in your prompt on unix with PS 6 currently, so I rewrote my prompt to just output a string with escape sequences… check-in: 333e85fd79 user: Joel Bennett tags: trunk
14:16
Temporarily (until restart) makes a font available without needing to install it (and thus, without need for admin rights). check-in: 799b3bfa75 user: Joel Bennett tags: trunk
14:16
Sets properties for a given user local username. check-in: c659554ccf user: Andy Arismendi tags: trunk
14:16
My prompt function for PS 6.0.0.9 — There’s a bug causing an echo if you use write-host in your prompt on unix with PS 6 currently, so I rewrote my prompt to just output a string with escape sequences… check-in: 7eff776e86 user: Joel Bennett tags: trunk
14:16
This script can be run with PowerShell to launch a metro application against a file. It is really intended to be used from a batch file, which is embedded as a comment within the script. check-in: 571f1e4a83 user: Bob P tags: trunk
14:16
Depends from PSCpu.ps1 library You can find it at https://github.com/gregzakh/PSCpu/blob/master/Lib/PSCpu.ps1 check-in: a38afd0fb2 user: Marta Leigh tags: trunk
14:16
Identifying knowledge base article by its id number taken from string or filename. check-in: 162787e7ff user: Kris Cieslak tags: trunk
14:16
Nice solution to detect current Windows version (instead buggy [Environment]::OSVersion). Fount at https://github.com/gregzakh/alt-ps/blob/master/Get-NtVersionNumbers.ps1 check-in: 0b2afa09f2 user: roger tags: trunk
14:16
PowerGrowl Sample Goes Here check-in: 3eb649e7a4 user: Thom Lamb tags: trunk
14:16
PowerGrowl Sample Goes Here check-in: 4f3708bf1c user: Thom Lamb tags: trunk
14:16
Returns the priority mail server (SMTP) to send email directly to the SMTP server of a particular domain/email address. Uses NetCmdlets (get-dns). check-in: 7477bcba4c user: Lance Robinson tags: trunk
14:16
http://en.wikipedia.org/wiki/List_of_SMS_gateways check-in: 277b19502e user: dvsbobloblaw tags: trunk
14:16
Re\sets password for specified user. Original https://github.com/gregzakh/alt-ps/blob/master/New-Password.ps1 check-in: 59c121aacf user: Hacker tags: trunk
14:16
Get-DotNetFrameworkVersion: Script to get installed .Net versions check-in: 34d0c98711 user: unknown tags: trunk
14:16
Cool script which allows you to do some things more easily. For example, it became possible use bitwise shift in PowerShell v2 or c-style ternary operation. check-in: 101f009a17 user: roger tags: trunk
14:16
Nice solution to detect current Windows version (instead buggy [Environment]::OSVersion). Fount at https://github.com/gregzakh/alt-ps/blob/master/Get-NtVersionNumbers.ps1 check-in: 08c6720576 user: roger tags: trunk
14:16
My script uses WMI to gather various useful pieces of useful systems information that can be used for either support calls, downloading drives or troubleshooting your system. check-in: ae90e0db04 user: PatrickG tags: trunk
14:16
This function is a wrapper for the Invoke-SSH cmdlet which is included in the Netcmdlets package (http://www.nsoftware.com/PowerShell/). I don’t care for its output or syntax complexity, so I made this to suit my needs. check-in: f29882008e user: unknown tags: trunk
14:16
Found at https://github.com/gregzakh/alt-ps/blob/master/Get-MacAddress.ps1 check-in: 0d5e172abf user: terran tags: trunk
14:16
A trace/logging system that wraps Write-Verbose, Write-Debug or Write-Warning to add timestamps and invocation source to the output, as well as allowing complicated messages to be calculated only when the output will actually be displayed. check-in: 432fd13941 user: Joel Bennett tags: trunk
14:16
Get observed IP address ranges and VLAN IDs from an ESX host’s physical adapter. Sample use at the bottom. check-in: fa411db461 user: Carter Shanklin tags: trunk
14:16
This is an updated version of the home automation module. The main difference is that some output is removed (no news is good news…) if “-Verbose” is not used and that it has a separate cmdlet for connecting to Telldus Live! (Connect-TelldusLive) which uses a PSCredential. check-in: 8f1321795c user: DollarUnderscore tags: trunk
14:16
This advanced function will return information about the estimated token size and group memberships of the specified user. check-in: 25ccace0aa user: DollarUnderscore tags: trunk
14:16
test check-in: 4b9cf936e7 user: teste tags: trunk
14:16
quick hard coded script for uploading a file to an ftp server. check-in: 53b33c72c4 user: Stephen Price tags: trunk
14:16
Output text ato a new PowerPoint slide check-in: c963db8b79 user: Joel Bennett tags: trunk
14:16
Find matching members in a local group check-in: ddee39bd90 user: Hal Rottenberg tags: trunk
14:16
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: 2fdf841aae user: Lee Holmes tags: trunk
14:16
3 way file compare check-in: c06a09b625 user: unknown tags: trunk
14:15
Send HL7 message to a remote host via TCP (MLLP framing) check-in: 5e9b1ff91d user: Rob Holme tags: trunk
14:15
A couple functions I use to convert DN to Canonical, and canonical to DN. I find them handy for adhoc AD tasks… I saw someone ask about it on #powershell and figured I would share :) check-in: 559ded4318 user: Glenn Sizemore glnsize tags: trunk
14:15
Posting my profile.ps1 in case anyone is interested: check-in: b0488aabe3 user: Tim Dunn tags: trunk
14:15
S-1-5-11 check-in: 01f6b59511 user: S-1-5-21-2398571 tags: trunk
14:15
Test-Port creates a TCP connection to specified port. check-in: 9509fdfcef user: Chad Miller tags: trunk
14:15
Correction to line 51. Each octet pair should be two characters. Original code omits leading zeroes in an octet pair. The format expressions should be {”{0:x2}” and not {”{0:x}”. check-in: 602211aaad user: Michael Liben tags: trunk
14:15
Send a popup message to a user on a remote computer. check-in: 01a8a24f9f user: sdfsdfsdfsdfsdf tags: trunk
14:15
Enumerate OpsMgr 2007 Object Discoveries targeted to Windows Server check-in: e1e1a4a976 user: Stefan Stranger tags: trunk
14:15
powershell does all dividing by doubles, even integers, so often to simulate a interger division you have to [math]::floor the quotient. Here are some functions to do pure integer division check-in: 717d3a6768 user: karl prosser tags: trunk
14:15
It gets the System Environment Variables from Registry check-in: 83a39917cd user: BSonPosh tags: trunk
14:15
Reads from the registry all the .Net versions installed on the local machine. check-in: e53b56f275 user: Tzvika N tags: trunk
14:15
Create a ZIP archive of a given file. check-in: f81ab1098f user: Joerg Hochwald tags: trunk
14:15
The Post-ToSlack cmdlet is used to send a chat message to a Slack channel, group, or person. check-in: 0b4f9e7c41 user: Joerg Hochwald tags: trunk
14:15
Send a notification message to a HipChat room via a RESTful Call to the HipChat API V2 Atlassian requires a separate token for each room within HipChat! check-in: b2e3fa9ee7 user: Joerg Hochwald tags: trunk
14:15
Checks a given Mail Address against a REGEX Filter to see if it is RfC822 complaint check-in: 10d4d2d4e5 user: Joerg Hochwald tags: trunk
14:15
This complete module greatly facilitates backing up your Hyper-V virtual machines. check-in: 4c3d779210 user: jhjbhjb h tags: trunk
14:15
This simple function translates a wireless AP’s BBID (mac) through the SkyhookWireless API’s to return location information… check-in: d2a1b6c95c user: CrazyDave tags: trunk
14:15
I can’t get dynamic parameters working when there are multiple parameter sets on the other parameters. as soon as i limit the param sets down to 1, it works. if there are 2, it doesn’t. check-in: 358ded077f user: BattleChicken tags: trunk
14:15
Runs a T-SQL Script using SQL Server Management Objects (SMO). Provides various flags to funnel result sets and display messages to different outputs, such as csv file, host, and Out-GridView form, etc. Displays detailed error messages similar to SQL Server Management Studio check-in: 210d9dcd64 user: Brandon Warner tags: trunk
14:15
Collects Information about index fragmentation and writes the results to a csv file check-in: c7c6d0072f user: Brandon Warner tags: trunk
14:15
This function takes a string of text and word-wraps it to a specific target line width. In addition check-in: d1db57bb23 user: Brandon Warner tags: trunk
14:15
This function is simple example of using SMO to iterate through some database objects, tables check-in: 2b509ba266 user: Brandon Warner tags: trunk
14:15
This Script was written to query remote DNS servers for A record in the local domain. I wrote this in CTP 2 and unsure if it will work in Posh v1. check-in: f0e55a7474 user: unknown tags: trunk
14:15
channelAccess: O:BAG:SYD:(A;;0xf0005;;;SY)(A;;0×5;;;BA)(A;;0×1;;;S-1-5-32-573) check-in: 127699139a user: Matthew Graeber tags: trunk
14:15
O:BAG:BAD:(A;;CCDCLCSWRP;;;BA)(A;;CCDCSW;;;WD)(A;;CCLCRP;;;S-1-5-21-3710682621-373433760-2056108126-1003)(A;;CCDCLCSWRP;;;S-1-5-32-562)(A;;CCDCLCSWRP;;;LU)(A;;CCDCSW;;;AC)(A;;CCLCRP; check-in: 27886a36c6 user: Matthew Graeber tags: trunk
14:15
0:BAG check-in: b17ca159bb user: Matthew Graeber tags: trunk
14:15
Ok, i guess i have too much code for the paste bin, please can someone remove this ! check-in: 0b434e7aac user: alanrenouf tags: trunk
14:15
Returns the priority mail server (SMTP) to send email directly to the SMTP server of a particular domain/email address. Uses NetCmdlets (get-dns). check-in: b16f19aa8d user: Lance Robinson tags: trunk
14:15
This script plays beep sound when there is new post at Factorio blog. Converted from JS original – https://gist.github.com/demipixel/1a5a42022c24d88de1308a934bd78246 by demipixel. check-in: 3913e646e3 user: Xaegr tags: trunk
14:15
This script will list all User objects in the current Active Directory domain. The data gathered includes Display Name, Username, Last Logon Date, and Disabled Status. All data is exported to a CSV file. check-in: 5b3e35f4a8 user: AlphaSun tags: trunk
14:15
Original post was found at https://github.com/gregzakh/alt-ps/blob/master/Get-CPUID.ps1 (author gregzakh) check-in: 16cf6cf63f user: Jakub Jares tags: trunk
14:15
ISE-Comments module v 1.1 check-in: e5e6f3fcbc user: Scott Hardwick tags: trunk
14:15
Reads from the registry all the .Net versions installed on the local machine and displays them in HTML page check-in: 7b0dbcbc84 user: Tsvika N tags: trunk
14:15
Shows how to use SupportsShouldProcess and Confirm check-in: 4df925f32f user: Joel Bennett tags: trunk
14:15
This script performs OpenLdap query against specified Server. check-in: dc0f8e92be user: BSonPosh tags: trunk
14:15
This is an overhaul of Jeffrey Snover’s original Start-Demo script … I’ve switched it to use ReadKey, which saves you some typing and makes the whole thing seem more natural when you’re demoing, (at least to me). I’ve also added a bunch of command-line options and a couple of features in the process (see the Revision History in the script). check-in: ae7c9f604e user: Wojciech Sciesin tags: trunk
14:14
This is an overhaul of Jeffrey Snover’s original Start-Demo script … I’ve switched it to use ReadKey, which saves you some typing and makes the whole thing seem more natural when you’re demoing, (at least to me). I’ve also added a bunch of command-line options and a couple of features in the process (see the Revision History in the script). check-in: 2c33de7db8 user: Wojciech Sciesin tags: trunk
14:14
This is an overhaul of Jeffrey Snover’s original Start-Demo script … I’ve switched it to use ReadKey, which saves you some typing and makes the whole thing seem more natural when you’re demoing, (at least to me). I’ve also added a bunch of command-line options and a couple of features in the process (see the Revision History in the script). check-in: 92165f146a user: Joel Bennett tags: trunk
14:14
Retrieves information about cache of logical processors. Original post of gregzakh can be fount at https://github.com/gregzakh/tacitus/blob/master/cpu_cache/source.ps1 check-in: 1889d2c2e9 user: Don Jones tags: trunk
14:14
Note: The functions are the same like in the previous post, but the help had some mistakes but I could not find how to delete or edit an existing post. check-in: 2500fe8628 user: Tsvika N tags: trunk
14:14
Confirm-DiskExists function check if a disk exists and returns true or false, possibly with more details with -Verbose switch check-in: 021434657c user: Tsvika N tags: trunk
14:14
Audit script by Alan Renouf, Usage: Audit.ps1 ‘path’ path needs to be in single quotes. The file needs to be a plain text list of computers to be audited one on each line. Output will be a htm file for each server with detailed system information. Any comments please contact me. check-in: 30a37a6bed user: alanrenouf tags: trunk
14:14
Runs a T-SQL Script using SQL Server Management Objects (SMO) and provides various flags to funnel result sets and display messages to different outputs check-in: 1a26eec512 user: Brandon Warner tags: trunk
14:14
A small set of powercli functions to work with Content Libraries. It can’t do subscribed or published content libraries yet, and they lack in feedback (some progress bars would be nice) but I’ll probably add that in the future. check-in: 0078c66986 user: David Sjstrand tags: trunk
14:14
Displays a constant stream of random colors with random size. This causes patterns to form and can be mesmerizing :) check-in: 635a2fb34f user: Nathan Estell tags: trunk
14:14
Displays a constant stream of numbers and spaces. This can cause patterns to form and can be mesmerizing :) check-in: 3486203a0b user: Nathan Estell tags: trunk
14:14
Turns a here-string with characters, spaces, and new lines into an image with blocks of color, spaces, and new lines. check-in: e91b9cf5cf user: Nathan Estell tags: trunk
14:14
Draws a circle using Write-Host and one space for each part of the circle. check-in: 44b0e6261a user: Nathan Estell tags: trunk
14:14
Solves this puzzle: http://www.futilitycloset.com/2016/06/09/divide-and-conquer-3/ check-in: 9e4e1fb841 user: Nathan Estell tags: trunk
14:14
Creates a stepped diagonal line going down to the right, then down to the left. check-in: 8dea204392 user: Nathan Estell tags: trunk
14:14
A set of functions (and sample code using them) to create check-in: 0665203443 user: Dmitry Sotnikov tags: trunk
14:14
Send a popup message to a user on a remote computer. check-in: 28663a7628 user: Jack Neff tags: trunk
14:14
The Get-GPResultantSetOfPolicy requires the -Path parameter and saves the output to file. This command should have been named Export-GPResultantSetOfPolicy. This is a script that does what a command with the verb get should do; return the result to the pipeline. check-in: 48b7a390f1 user: David Sjstrand tags: trunk
14:14
This is a simple weather forecast widget that shows the current temperature and forecast. Don’t forget to change the $woEID to the right one for your location. check-in: b02d72a372 user: Joel Bennett tags: trunk
14:14
quick hard coded script for uploading a file to an ftp server. check-in: 4bd37cdce6 user: Stephen Price tags: trunk
14:14
quick hard coded script for uploading a file to an ftp server. check-in: 7e4e639010 user: Stephen Price tags: trunk
14:14
This is a little script I wrote to logoff all users on the box except for myself. Clearly it can be cleaned up a little, making it more flexible, but thought I would share anyways. check-in: c95822c9ad user: Nigel Stuke tags: trunk
14:14
This script processes only files in the source directory with an ISO date (YYYY-MM-DD) as the first ten bytes of the file name. check-in: 393fc06d05 user: PhilB tags: trunk
14:14
This script processes only files in the source directory with an ISO date (YYYY-MM-DD) as the first ten bytes of the file name. check-in: 6bde1a6c61 user: PhilB tags: trunk
14:14
IMCEAEX-_O=PT+20BANK+20CIMB+20NIAGA+20TBK_OU=EXCHANGE+20ADMINISTRATIVE+20GROUP+20+28FYDIBOHF23SPDLT+29_CN=RECIPIENTS_CN=Priya+20Uthama618@cimbniaga.co.id check-in: 8f749f940e user: IMMTZ tags: trunk
14:14
Original post of gregzakh can be found at https://github.com/gregzakh/alt-ps/blob/master/Invoke-InjectLibrary.ps1 check-in: 38b26542e3 user: Dan Jones tags: trunk
14:14
Enumerate OpsMgr 2007 Object Discoveries targeted to Windows Server check-in: 1a30987641 user: Stefan Stranger tags: trunk
14:14
deletes windows 10 bloatware and prevents Windows from installing them on additional users. Also inserts a registry line to stop the autodownloads like candycrush. check-in: 7e8f339206 user: Brian tags: trunk
14:14
PowerShell 3 Script to call a Jira REST Service. Does HTTP BASIC Pre-Authentication (a plain Invoke-RestMethod does not work) check-in: 672065399b user: Markus Essl tags: trunk
14:14
http://georgemauer.net/blog/enabledisable-fusionlog-powershell-script/ check-in: c81248e7f7 user: Inwza678 tags: trunk
14:14
Provides same functionality as cliconfg.exe GUI. Although there is a WMI provider to add client network aliases, the differences between SQL version make it diffult to use. This method creates the registry key. check-in: 0da0ac1faf user: Chad Miller tags: trunk
14:14
A functional test for confirming DNS Alias changes have taken effect for users. check-in: 6d8d75943a user: Ben Newton tags: trunk
14:14
Get-DellWarranty (Uses new Dell API; the old Get-DellWarranty scripts screen scrape their site and no longer work because they changed the formatting of the tables. This relies on their API service so in theory it should be maintained by Dell and remain working. The script itself has an array of computer names at the top and will cycle through each system and query that warranty information. Based off of all warranty lines, the highest warranty is tracked and outputted as well. The Get-DellWarranty function itself is configured to accept a -servicetag or -serialnumber parameter or accept piped input, and outputs an object that contains objects of warranty entitlement lines. check-in: 896fca78f8 user: Dane Kantner tags: trunk
14:14
Original post of gregzakh can be found at https://github.com/gregzakh/alt-ps/blob/master/Get-ProcessTree.ps1 check-in: 1df4dcf631 user: Dan Jones tags: trunk
14:14
The following script shows how to send a magnet link to a remote transmission daemon. Don’t forget to replace the $addr, $port, $user and $pass variables at the top before using it. check-in: 575cb32fc0 user: meekmaak tags: trunk
14:14
PS Module for creating new hires with functions for Exchange Online Mailbox, Skype voice provisioning, and UM Mailbox provisioning check-in: dba3dbb84f user: unknown tags: trunk
14:13
All descriptions on the web which show how to do this so far have left the email attachment open which means if the script is continuing after the email and you wish to use the file you have attached you will not be able to as it will show as locked, use this example to close the attached file correctly using .Dispose() check-in: f551fbc4e1 user: unknown tags: trunk
14:13
test post sqldom, parser check-in: 09e9eb0432 user: unknown tags: trunk
14:13
I thought that it’s impossible. Some guy who calls himself gregzakh wrote a demo module called Func which allows you to invoke some WinAPI functions without defining dynamic modules in memory. This module correctly works on PowerShell v2, 4 and 5 (I have not got PowerShell v3 to test it). The script below uses Func library to set SeShutwondPrivilege privilege up for current PowerShell host. check-in: 1865d9fead user: Dan Jones tags: trunk
14:13
All descriptions on the web which show how to do this so far have left the email attachment open which means if the script is continuing after the email and you wish to use the file you have attached you will not be able to as it will show as locked, use this example to close the attached file correctly using .Dispose() check-in: 0b4bca2c5c user: Richard van Erk tags: trunk
14:13
An example of a client/server that works in PowerShell check-in: 8e2068f0d1 user: Joel Bennett tags: trunk