PoshCode Archive  Timeline

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

92 check-ins using file hex2dec.ps1 version 9f401106ad

2018-06-10
13:33
If you want to get an off site backup of your VM’s but dont have a 2nd office and dont want to rely on tapes, then use Veeam, Amazon AWS and a few powershell snapin’s to get your VM’s into the cloud. This solution costs a fraction of a DR budget and the VM’s can be powered on and running in an hour. check-in: 8e2ca9321e user: AdrianWoodrup tags: trunk
13:33
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: f946d41130 user: AdrianWoodrup tags: trunk
13:33
Very simple script that stops a service and waits for it to stop before rebooting. This script can be edited so it runs on ever reboot or its run to reboot. check-in: f174b5db95 user: AdrianWoodrup tags: trunk
13:33
Upload bucnh of files to SVN repository check-in: 949c3cc0e7 user: benduru tags: trunk
13:33
(Fun)Function to create a random list of Names (surname, givenname). check-in: 0e748e1e45 user: baschuel tags: trunk
13:33
This is a Windows startup script with pop-up notification and checks to assure things are not executed if already running or set. It can be run as a personal startup script or as a domain startup (with some editing). It’s an updated version of the one I posted here previously. check-in: 515725e399 user: Kenneth C Mazie tags: trunk
13:33
Use this function to send an HTML Formatted Email that is based on an XSLT template. This function is based on a blog post by Erik McCarty (http://ewmccarty.spaces.live.com). check-in: 8c49654155 user: Enter your zip code here tags: trunk
13:33
I’ve tweaked New-SshSession to read the default prompt, means you can just New-SshSession; Invoke-Ssh ls … and go on with life. check-in: c64fa71706 user: Joel Bennett tags: trunk
13:33
extract unique list of ip addresses from single or mulitple smtp logfiles (w3svc) check-in: 65d89cea80 user: chriskenis tags: trunk
13:33
This function allows you to search AD for computers by computer name. Once you find the computer you want it displays info about that computer to you. The info is: Name, IP, OS, exc… check-in: ca33ab2fa2 user: TONYBOB tags: trunk
13:33
This script will rename a sequenced set of files in a directory. check-in: 9b3ed7a505 user: Sean Wendt tags: trunk
13:33
IMCEAEX-_O=CONTOSO_OU=First+20Administrative+20Group_cn=Recipients_cn=john+5Fjacob+2Esmith@contoso.com check-in: 0077c4df4b user: Jeff B tags: trunk
13:33
IMCEAEX-_O=EXCHANGELABS_OU=EXCHANGE+20ADMINISTRATIVE+20GROUP+20+28FYDIBOHF23SPDLT+29_CN=RECIPIENTS_CN=5db7eb6d37784f2eaccf09b2f90b75e8-katstewart+40coca-cola+2Ecom@namprd07.prod.outlook.com check-in: d947569b8d user: IMMTZ tags: trunk
13:33
This Script will create a csv file with all the users that are disabled in AD but still have licenses in Office 365, it will then email the script out and perform a clean up. check-in: 0ca6474e6d user: AdrianWoodrup tags: trunk
13:33
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: eafd2db9f5 user: AdrianWoodrup tags: trunk
13:33
If you need to migrate a VM to a different Datastore but do not have the vMotion license (cant migrate while the VM is powered on), this script can be scheduled to run out of hours and will move the VM’s Datastore and set the disk to thin prov check-in: 22a0afdd0e user: AdrianWoodrup tags: trunk
13:33
Winter Scripting Games 2013 – Practice Event #1 check-in: 6a76286f46 user: LazyWinAdmin tags: trunk
13:33
Winter Scripting Games 2013 – Practice Event #1 check-in: f84b951c2d user: LazyWinAdmin tags: trunk
13:33
A demo for some fun native-console hooking in PowerShell ISE check-in: 8447c10e3c user: Joel Bennett tags: trunk
13:33
Performs the functional equivalent of a Hyper-V Quick Migration by suspending a VM, moving it to a new host, and resuming it. This does not require vMotion licensing. It works by providing required VM objects via the pipeline or the second argument, and specifying the Destination host in the first argument, so you can use whatever query you want to build a list of VM’s to send to the command. check-in: 29fbd0a92b user: Justin Grote tags: trunk
13:33
This function allows you to search AD for computers by computer name. Once you find the computer you want it displays info about that computer to you. The info is: Name, IP, OS, exc… check-in: 6f0359ab62 user: D-Money tags: trunk
13:33
I really am still working on this replacement for the WASP module ;-) check-in: 08f5bca9ff user: Joel Bennett tags: trunk
13:33
A module to let you fetch and read help for modules you don’t have! Now Get-ModuleHelp works without specifying the ModuleName, and you can easily fetch help for modules from remote servers. check-in: 40eefd71d4 user: Joel Bennett tags: trunk
13:33
This complete module greatly facilitates backing up your Hyper-V virtual machines. check-in: 0aa2eb1e04 user: Joel Webster tags: trunk
13:33
A complete set of XML functionality (especially if you don’t have PSCX), including reading and writing xml files (import-xml, export-xml), selecting (via xpath), updating, transforming and creating new xml documents. check-in: e6a85f2630 user: Joel Bennett tags: trunk
13:33
ye old remote ip config script but now with pipeline processing check-in: 79b9d9ad56 user: chriskenis tags: trunk
13:33
Want to know what type of access a user has to Exchange server? check-in: e0c0ea4e6b user: Osnilton K M tags: trunk
13:33
Basic Cisco UCS fault report check-in: 1abd3bdb7a user: monahancj tags: trunk
13:33
EN: Send a webquery to Schoolmaster Magister web service and request data check-in: d76685c844 user: Paul Wiegmans tags: trunk
13:32
Convert a raw security descriptor from SDDL form to a parsed security descriptor. check-in: b69247e7ae user: Matthew Graeber tags: trunk
13:32
An upgrade to Joel Bennetts wget script which can output the downloaded html to the pipeline. Get-WebFile can download text or binary files, automatically determine file names, and present a progress report for large files… check-in: e7d1c75e7c user: Joel Bennett and tags: trunk
13:32
Convert a raw security descriptor from SDDL form to a parsed security descriptor. check-in: 33263aa640 user: Matthew Graeber tags: trunk
13:32
Hello, check-in: dc7e6ce42a user: Brandon Murphy tags: trunk
13:32
Get DeviceID of all ActiveSync Devices for all Mailboxes with an ActiveSync partnership, then set the Mailboxes ActiveSyncAllowedDeviceIDs to the retrieved DeviceID. check-in: 2c0c6f581a user: oriyahoo tags: trunk
13:32
Creates a backup of the configuration of the network printers on a server or computer and exports it to a csv file. check-in: 7c4beab5f8 user: Ryan Tranchilla tags: trunk
13:32
PREVIEW – (STILL) UNFINISHED WORK ;-) check-in: f601c34c51 user: Joel Bennett tags: trunk
13:32
A quick and simple module for storing stuff in AppData\Local check-in: 4d3f0b4192 user: Joel Bennett tags: trunk
13:32
Comprobamos que SG del mailbox lleva mas de x dias sin hacerse, y de ese lanzamos un full. check-in: 8bae0b81a8 user: Pedro Genil tags: trunk
13:32
En exchange 2007, una vez balanceado el nodo. Es neceario realizar un backup full sobre cada SG. check-in: b0e283b47f user: Pedro Genil tags: trunk
13:32
Ooops, wrong button. please delete check-in: ac6f5ddc86 user: Jonas Hallqvist tags: trunk
13:32
A function/CMDlet that simulates the DU command in Linux/Unix. Descriptions are provided in the Help entry for this module. check-in: bbfa8cb30a user: Jonas Hallqvist tags: trunk
13:32
A function/CMDlet that simulates the DU command in Linux/Unix. Descriptions are provided in the Help entry for this module. check-in: 33eaf76a78 user: Jonas Hallqvist tags: trunk
13:32
A function/CMDlet that simulates the DU command in Linux/Unix. Descriptions are provided in the Help entry for this module. check-in: ac2f9e259a user: Jonas Hallqvist tags: trunk
13:32
Specify target host and root directory. The script will then recursively check for all folders and report on their NTFS permissions. check-in: 5237009a3f user: vidrine tags: trunk
13:32
Very simple, basic script to show how you can utilize v3 syntax to build GUIs with very little code… :) Not useful AT ALL. ;) You can move it around with left mouse button and close with right. :) check-in: 7b9f931fd4 user: bielawb tags: trunk
13:32
Bootstrap Powershell psake and ‘patch’ it if necessary. Use and modify as desired. check-in: 13b0341cfd user: CodeMonkeyKing tags: trunk
13:32
A PowerShell function to test that an antivirus product is working. check-in: db82f31ef1 user: Chris Campbell tags: trunk
13:32
A function to invoke a switch statement, in order to allow splatting to be used with switch check-in: 95b875cb88 user: Kyle A Eppler tags: trunk
13:32
A PowerShell 2.0 Growl module for Growl For Windows (Updated for PowerShell 2 RTM) check-in: 8f0ad7a67a user: Joel Bennett tags: trunk
13:32
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: 0a4fc83312 user: Lee Holmes tags: trunk
13:32
Add voice to your Powershell script check-in: 14378326a3 user: Mike Hays tags: trunk
13:32
A function that returns the actual URL from a http redirect. Accepts pipeline input but does nothing useful with errors. check-in: 3290977726 user: Chris Campbell tags: trunk
13:32
Cmdlets that gets the full path to inkscape.com or inkscape.exe and the directory InkScape is installed to. check-in: afb311d0a6 user: Justin Dearing tags: trunk
13:32
Script to open IE to a video of Rick Astley (or any specified URL) check-in: 8a3036260b user: obscuresec tags: trunk
13:32
Quick and dirty script retrieves vmware host with a specific network and change the subnet of each guest. Does not work if there are 2 ip addresses defined on one NIC, but since there was only one of those servers i could not bother to adapt the script :) check-in: 354f12a96e user: Ton Siemons tags: trunk
13:32
This is a very quick and dirty script to import non-exported Machines into hyper-v. For example if you have a data disk with vm’s and your system disk fails. This can “reimport” the machines without need to recreate the virtual machine config with all the work that implies. Switches needs to be recreated in addition to this so network connections will be broken by default. If you have snapshots you will need to add in links and ACLs for that also. Not supported and not recommended for production. check-in: 80c6da1c4c user: unknown tags: trunk
13:32
Marshals data from an unmanaged block of memory in an arbitrary process to a newly allocated managed object of the specified type. check-in: 06c5351dc5 user: Matthew Graeber tags: trunk
13:32
I wrote this a while back to be able to automate stuff on a hp san and ilo. It’s pretty much mritten ad-hoc so please feel free to improve on it. Anyway, might be useful for someone out there. The function send-command logs on to a telnet server and executes the piped in commands. check-in: 93587d0066 user: TJC57 tags: trunk
13:32
I wrote this a while back to be able to automate stuff on a hp san and ilo. It’s pretty much mritten ad-hoc so please feel free to improve on it. Anyway, might be useful for someone out there. The function send-command logs on to a telnet server and executes the piped in commands. check-in: 1dea1d77b3 user: David Sjstrand tags: trunk
13:32
Correction of : Creates directories for every day within a given time period. check-in: d0f9097407 user: dirdays tags: trunk
13:32
Get-NTStatusException returns a friendly error message based on the NTSTATUS code passed in. This function is useful when interacting with Windows Native API functions with NTSTATUS return codes. check-in: 35748ffb57 user: Matthew Graeber tags: trunk
13:32
Get DeviceID of all ActiveSync Devices for all Mailboxes with an ActiveSync partnership, then set the Mailboxes ActiveSyncAllowedDeviceIDs to the retrieved DeviceID. check-in: fa805a7956 user: thomas torggler tags: trunk
13:32
Writes data only to SQL Server tables. However, the data source is not limited to SQL Server; any data source can be used, as long as the data can be loaded to a DataTable instance or read with a IDataReader instance. check-in: b1bdbee710 user: Chad Miller tags: trunk
13:32
This function get the local group membership on a local or remote computer using ADSI/WinNT. By default the function will run on the localhost ($env:computername) and will query the group “Administrators”. check-in: a80116d57b user: LazyWinAdmin tags: trunk
13:32
Creates a DataTable for an object, based on script by Marc van Orsouw check-in: 1aa17a756d user: Chad Miller tags: trunk
13:32
Function to import security certificates. check-in: 31ef79ef2c user: anti121 tags: trunk
13:32
Connect to an exchange mailbox and get your latest emails. check-in: ba082d03b5 user: George Mauer tags: trunk
13:32
Copy Data between Folders including a Progressbar check-in: c099fcf2e0 user: unknown tags: trunk
13:32
Wrapper script for executing a T-SQL call and optionally returning a delimited file. Informational/Error messages are written to the Application EventLog. Purpose of script is run T-SQL commands from external scheduler (UniCenter, AutoSys, etc.), log messages to EventLog and return success/failed status. check-in: 5c7cca79fb user: dolmer tags: trunk
13:31
Two cmdlets for and from the Active-Directory uninitiated… check-in: e15d353ba9 user: kevinslade tags: trunk
13:31
13vIQtSdw25DI check-in: ed3a26d936 user: Joel Bennett tags: trunk
13:31
Create Excel list of File Shares from Remote Windows Server (PoSH one-liner) check-in: 8ba8bbf396 user: therobotdave tags: trunk
13:31
Print variables defined in the script (excludes global vars) check-in: 84ed7f4fde user: Ryan Smith tags: trunk
13:31
A crazy example of how you can extend PowerShell! This has two options for getting full help: check-in: d16ed61474 user: Joel Bennett tags: trunk
13:31
PowerShell Script to verify Process Count Check & Email alert check-in: 53ae7a8884 user: Sankeerth Ankala tags: trunk
13:31
clear exchange 2003 attributes from AD users check-in: f3fb19edbd user: chriskenis tags: trunk
13:31
Simple function that pings a host and returns a boolean. check-in: 42aae22a1e user: mafpc366 tags: trunk
13:31
Place this at the head of a ps1 script to ensure that if it’s run in a 32 bit shell (like the NuGet package manage console for example) that it will be relaunched in a 64 bit powershell process, and will it will also pass along any arguments to the child process (please use primitives like string, bool etc for arguments as they are being marshaled to another win32 process – live objects will not work.) check-in: f2fb0a898e user: Oisin Grehan tags: trunk
13:31
Functions for entering and exiting an activation context. This provides support for registration free COM in PowerShell. check-in: a2df8f96f8 user: Adam Driscoll tags: trunk
13:31
It just needs presents under it… check-in: 8df3483777 user: Joel Bennett tags: trunk
13:31
Generates a self-signed certificate authority and a code-signing certificate using OpenSSL check-in: 7e01cd8242 user: Anton Yordanov tags: trunk
13:31
Generates a self-signed certificate authority and a code-signing certificate using OpenSSL check-in: 3cc3a1f107 user: Joel Bennett tags: trunk
13:31
Do you create javascripts outside of visual studio and are constantly forgetting to include them? Does that break your deployments or automated build? This script will check your csproj file and your scripts directory and let you know which javascripts are missing from your csproj. check-in: a75a024fc9 user: George Mauer tags: trunk
13:31
Add entries to the Windows hosts file. The function checks first to see if the entry exists in the file. If the entry does not exist, the function adds the entry and verifies it was added. Please feel free to add improvements. The function Utility.Time-Stamp is another helper function I use to denote the current Time. It can be found here: http://poshcode.org/2795. check-in: aa54bb3306 user: Will Steele tags: trunk
13:31
Killing processes in disconnected terminal service sessions check-in: 78976b8a35 user: unknown tags: trunk
13:31
When moving very large mailboxes, the connection can time out. check-in: 903dd8fc89 user: dethompson71 tags: trunk
13:31
Script to replace special quote characters when copy – pasting from Word or from blogs. check-in: 8320dbe74c user: P Sczepanski tags: trunk
13:31
Set applications/windows on top of other windows check-in: 205e1e6d44 user: Shay Levy tags: trunk
13:31
If this helps you, please tweet it! check-in: 89be2d485a user: Matt Schmitt tags: trunk
13:31
Uses the Cisco UCS PowerTool (http://developer.cisco.com/web/unifiedcomputing/pshell-download) to list server names, NICs and associated VLANs. Goes well piped out to format-table -auto Server, Vnic, Vlan check-in: db2530cc5b user: halr9000 tags: trunk
13:31
Function to download the current Sysinternals Tools from: http://live.sysinternals.com check-in: 981e3f60d5 user: thomas torggler tags: trunk
13:31
This script is analog of Sysinternals hex2dec but with additional feature – interactive mode. At last it has been wrote on command language, no C\C++ (some bugs fixed). check-in: 21d63f9e16 user: greg zakharov tags: trunk