PoshCode Archive  Timeline

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

63 check-ins using file Resolve-Aliases.ps1 version cdad839b39

2018-06-10
13:43
Function to update a property value within a Java properties file check-in: c11aab4b3e user: Michael Craig tags: trunk
13:43
Make a phone call from Powershell and pass TextToSpeech variables like ComputerName, DiskFreeSpace. check-in: ac5a8cd4a1 user: Sunny Chakrabort tags: trunk
13:43
Search Exchange tracking logs using jobs and remoting. check-in: 355adc2e9d user: evetsleep tags: trunk
13:43
All bugs are mine. check-in: 145794bd44 user: greg zakharov tags: trunk
13:43
Set-Wallpaper lets you set your windows desktop wallpaper. It requires PInvoke and I wrote it using PowerShell 2’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: 1473535daa user: Joel Bennett tags: trunk
13:43
Creates random file with extension which has assosiation (just for fun). check-in: 163693626f user: greg zakharov tags: trunk
13:43
If you use the dark color scheme in VS, you’ll find that the powershell tools syntax highlighting is unusable. While it is possible to update the colors by hand in visual studio’s options, this is a pain in the ass. Here’s a script to run in the NuGet console that will set the token colors to something usable. The scheme is persistent. check-in: 53da4015a1 user: Oisin Grehan tags: trunk
13:43
Some helper functions for getting/setting the output buffer and command history size in PowerShell.exe native. check-in: c5470146c4 user: Joel Bennett tags: trunk
13:43
i would like group my ad obj report scripts to one file. i started with some functions about users and computers. i have a request to check my code to poit errors and what i could write better. thx for any tip and info! check-in: d542b12359 user: Voytas tags: trunk
13:43
The Division check-in: 42ebc1cf1f user: haegar2013 tags: trunk
13:43
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: 94767fd093 user: Lee Holmes tags: trunk
13:43
An example of a client/server that works in PowerShell check-in: 3e0bfc339c user: Joel Bennett tags: trunk
13:43
Fixed some issues check-in: 477399ce5b user: greg zakharov tags: trunk
13:43
retrieve the windows product key of a specified machine using WMI check-in: 508a9591c4 user: karl prosser tags: trunk
13:43
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: 922aa197fa user: Jason B tags: trunk
13:43
This script will allow you to query a web site and retrieve information about the web site and whether it is available or not. check-in: 0e9dfe4d8f user: Boe Prox tags: trunk
13:43
Fixed check-in: 90f19a1017 user: greg zakharov tags: trunk
13:43
Compare files in multiple folders against a reference set to provide an early detection of Cryptolocker check-in: b3ae84c0de user: dfsdiag tags: trunk
13:43
Windows Server Backup Script. Backs up to NAS location, include facility for rotation and email notification check-in: edfd9a227d user: James Day tags: trunk
13:43
Combines two technics to get last boot system uptime check-in: 36bc41777c user: greg zakharov tags: trunk
13:43
Creates hex dump of a file check-in: 684b38a12f user: greg zakharov tags: trunk
13:43
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: 220caf000b user: Joel Bennett tags: trunk
13:43
Prints “human-readable” information for specified drive check-in: c4e8281673 user: greg zakharov tags: trunk
13:43
This script “copies” shares and share permissions from one computer to another. The drive letter can change between computers, but the path(s) on the drive may not. This script does not copy the data; for that you will need another solution, such as xcopy or a decent SAN that can do it for you. It works on OSes as old as Windows 2000, and at least as new as Server 2008 R2. It probably has a hundred possible improvements. check-in: 9cdf4fe5a6 user: Sysiphus tags: trunk
13:43
App-V 5.0, create friendly folder names for packages. Requires PowerShell Community Extensions. check-in: 1059c6d716 user: unknown tags: trunk
13:43
Enables SNMP via Add-WindowsFeature (If not already enabled) check-in: 394caa82d8 user: St3v3o tags: trunk
13:43
Create a Sharepoint 2010 farm check-in: 0fd45836cb user: Jos Verlinde tags: trunk
13:43
Adding Group Policy Preferences printer with SDM GPAE (Group Policy Automation Engine) including Item-Level targeting check-in: fff351fe50 user: Bobsys tags: trunk
13:43
This script will take a Twitter User’s Screen name and get their RSS feed of posts check-in: 10ae1b965b user: jsamuel12 tags: trunk
13:43
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: 749c2bd9db user: AlphaSun tags: trunk
13:43
As you know PowerShell v3 has [accelerators] type but PowerShell v2 has not this feature. So why do I have to endure this omission in PowerShell v2? check-in: 0bf8c72619 user: greg zakharov tags: trunk
13:43
See http://msdn.microsoft.com/en-us/library/windows/desktop/ms646302(v=vs.85).aspx and http://msdn.microsoft.com/en-us/library/windows/desktop/ms646272(v=vs.85).aspx check-in: 0a37c9e748 user: greg zakharov tags: trunk
13:43
Get the capacity of your installed RAM with the Win32_PhysicalMemory WMI class. check-in: cc5e18dbb4 user: Florian Frank tags: trunk
13:43
Get the capacity of your installed RAM with the Win32_PhysicalMemory WMI class. check-in: fa7ec44704 user: Florian Frank tags: trunk
13:43
Three ways (that I personally know) how to check if user has admin rights. check-in: 24a7a2d91d user: greg zakharov tags: trunk
13:43
Old bash script… check-in: c00891f291 user: greg zakharov tags: trunk
13:43
If ‘tree’ pocket has not been installed that you can use next script but note that it gets only directories. check-in: 961b0e96f8 user: greg zakharov tags: trunk
13:42
Sometimes I have to deal with Bash, so… check-in: 84fd6ea798 user: greg zakharov tags: trunk
13:42
VERSION 1.3 check-in: ddab94cbe3 user: Joel Bennett tags: trunk
13:42
See http://msdn.microsoft.com/en-us/library/system.security.principal.wellknownsidtype.aspx check-in: ba487f8238 user: greg zakharov tags: trunk
13:42
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: e09dc4868e user: Nigel Stuke tags: trunk
13:42
Why? WHY IT NEED USE WIN32_PROCESS TO CHECK PARENT PROCESS FOR ANOTHER PROCESS??? There is PerformanceCounter class in the System.Diagnostics namespace which can help you determine parent process for a process easily. check-in: d5a1b22fcd user: greg zakharov tags: trunk
13:42
The Install-ISPackage script installs an Dtsx file to a SQL Server store using the command-line utility dtutil. check-in: 0f366bf725 user: Chad Miller tags: trunk
13:42
A pair with ConvertTo-CliXml — this version closes and disposes the string reader handle. Now works in PowerShell 3 and 4 as well. check-in: eb1a0a62eb user: Poshoholic tags: trunk
13:42
Export-CliXml and Import-CliXml only work with files. This is an implementation for sending CliXML directly to the pipeline. Requires PowerShell 2+ (now works in 3.0 and 4.0) check-in: 067c93a183 user: Poshoholic tags: trunk
13:42
quick way to do processes a ton of jobs, for example ping 100 boxes at once check-in: 8a6e1b3f96 user: Justin tags: trunk
13:42
quick way to do processes a ton of jobs, for example ping 100 boxes at once check-in: ab07c8336f user: Justin tags: trunk
13:42
Standalone script adapted from SQL Server Powershell Extensions (sqlpsx) http://sqlpsx.codeplex.com. Defines SQL Server backup and restore functions. check-in: 646e152f6a user: Chad Miller tags: trunk
13:42
Fixed and redesigned check-in: 26b89759ba user: greg zakharov tags: trunk
13:42
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: 81278e5da5 user: Lee Holmes tags: trunk
13:42
Just concept of PowerShell GUI quick guide. Consists from cmdlets help info and ‘about’ pages. Please, report about bugs. check-in: dc0ae62510 user: greg zakharov tags: trunk
13:42
Actually, Start-Process cmdlet with -Verb RunAs can help you run process with admin’s rights, but… I do not like this cmdlet. I wanna something useable, so I wrote a prototype of something that looks like runas in cmd (or sudo in bash). check-in: 7ea16fa99b user: greg zakharov tags: trunk
13:42
Another password generating function. This one will always include all the character types you want, and the password will always be random. check-in: afd0191020 user: DollarUnderscore tags: trunk
13:42
Returns a shuffled / randomised / randomized version of an input string check-in: dec79bbf82 user: David Johnson tags: trunk
13:42
Let me know about bugs. Oh! and follow me on twitter @gregzakharov=) check-in: 6bf5e59eeb user: greg zakharov tags: trunk
13:42
This demo looks for files in PATH variable (extensions are from PATHEXT) and presents path for a file in two ways: full path (which mode) and only path for a file (where mode). For example, enter in TextBox field something like ‘notepad’ and click ‘Search’. check-in: d03f051cb9 user: greg zakharov tags: trunk
13:42
Active Directory, bulk create OU’s with defined sub OU’s check-in: fde08b15d5 user: chriskenis tags: trunk
13:42
Uses QAD cmdlets to retrieve distribution list restriction attributes and then provides a list of users which can send email messages to the group. check-in: 945636365c user: Dmitry Sotnikov tags: trunk
13:42
Prints calendar for specified month of year. Please, let me know about bugs. check-in: 23e3aba465 user: greg zakharov tags: trunk
13:42
Not for regular use, this is just a demo with using COM object to check new letters on gmail. check-in: 04b6a9a2ad user: greg zakharov tags: trunk
13:42
a configuration management script for when changes occur to a vmware view environment. Change the color codes to suit your needs. check-in: e6f4ae5746 user: Lubinski tags: trunk
13:42
Uses netsh command to get all the computer’s wifi profiles (including clear text passwords) check-in: f6d0e7360a user: CrazyDave tags: trunk
13:42
Resolves aliases and parameter shortcuts in scripts to make them more portable. check-in: 655f372d04 user: Joel Bennett tags: trunk