PoshCode Archive  Timeline

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

200 most recent check-ins using file Set-LocalUserAccount.ps1 version 843286bc12

2018-06-10
14:11
Datagrid Xaml layout needed for Boots DataGrid binding example http://poshcode.org/2259 check-in: 4f1c1e4892 user: foureight84 tags: trunk
14:11
This script returns a path where antivirus has been installed. It doesn’t use WMI (thanks a lot to greg zakharov for this trick). check-in: 221b1c8328 user: Olivia Wild tags: trunk
14:11
This script produces report for McAfee AntiVirus on a set of remote computers. Writes output object containing Server, Product Version, Engine Version, and Virus Definition Version. check-in: 4a6a442df0 user: halr9000 tags: trunk
14:11
retrieve the windows product key of a specified machine using WMI check-in: 5fe7034ac3 user: karl prosser tags: trunk
14:11
Restarts local or remote IIS AppPools check-in: 8e085957b5 user: Joel Bennett tags: trunk
14:11
Sync Files and Folders with powershell check-in: 2498c5c082 user: SyncFolder tags: trunk
14:11
This function creates a web client that will ignore all SSL certificate errors. Useful for uploading (HTTP PUT, maybe POST as well) to an https web server using a self-signed cert. check-in: bfa6a3787a user: Carter Shanklin tags: trunk
14:11
Sync Files and Folders with powershell check-in: f58c4a4d7f user: SyncFolder tags: trunk
14:11
Script creates unique scratch folders on the provided datastore for all ESXi hosts in csv file and sets the advanced host settings to correspond to this location. check-in: da50fd01a5 user: skinny tags: trunk
14:11
Script creates unique scratch folders on the provided datastore for all ESXi hosts in csv file and sets the advanced host settings to correspond to this location. check-in: 4279376d1a user: Kimberly Anderso tags: trunk
14:11
Get-GitInfoForDirectory Function – Git repo folder info gather function to Display Git Repo Status and Branch in the PowerShell Prompt. – Add Function to your Profile Script, and call from within the Prompt Function – Must have Git For Windows installed and its install directory added to the PATH check-in: 560d212c57 user: JayDeuce tags: trunk
14:11
Publish a module to a local folder to get the .nupkg check-in: 6886848554 user: Joel Bennett tags: trunk
14:11
test66 check-in: f951cdb645 user: jeffry tags: trunk
14:11
JEFFTEST check-in: bad0f5ec41 user: jeff3 tags: trunk
14:11
IMCEAEX-_o=First+20Organization_ou=Exchange+20Administrative+20Group+20+28FYDIBOHF23SPDLT+29_cn=Recipients_cn=user09045337@glueck.local check-in: 7232bb385f user: IMMTZ tags: trunk
14:11
Guesses the gender of a first name. Uses BabyNameAddicts.com, and works with most common names (not just anglo) ... check-in: e9eb1c0788 user: Joel Bennett tags: trunk
14:10
Logoff all disconnected local users, inspired by this: http://poshcode.org/3285 check-in: 3837384533 user: LogOffUsers tags: trunk
14:10
Logoff all disconnected local users, inspired by this: http://poshcode.org/3285 check-in: b4d9f6178a user: unknown tags: trunk
14:10
kills trustedinstaller check-in: 1c498e0039 user: LunaHex tags: trunk
14:10
Using netsh.exe to loop through each WLAN on the system and export the settings to the user-provided output-file. check-in: b96c400154 user: Jan Egil Ring tags: trunk
14:10
The script is intended for process end on any computer in a local area network. Class WMI is used. The rights of the manager to the local area network computer are necessary. check-in: 43812e20dc user: Angel-Keeper tags: trunk
14:10
I found this PowerShell Form Builder at TechNet (author: Z.Alex.) I made some very minor changes/modifications to suit my own personal preferences and to clean up some annoying output. It is sparse (an advantage in my view) and should take less than 10 minutes to learn the usage. check-in: 5f14ab77de user: Vince Ypma tags: trunk
14:10
I found this PowerShell Form Builder at TechNet (author: Z.Alex.) I made some very minor changes/modifications to suit my own personal preferences and to clean up some annoying output. It is sparse (an advantage in my view) and should take less than 10 minutes to learn the usage. check-in: 56fcc8ea60 user: Vince Ypma tags: trunk
14:10
Will alert on failed pings and again when recovered. check-in: 1b22b5ff3b user: themoblin tags: trunk
14:10
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: 0e64006993 user: AlphaSun tags: trunk
14:10
We have multiple domains. I added this function to my profile for each of our domains to easily connect to them using Quest ActiveRoles Management Shell for Active Directory. The function kicks you into a nested prompt to work in the domain that you connect to and lets you exit back out. It also modifies your foregroundcolor so you remember that you’re in a nested prompt. check-in: a4093c7f0f user: unknown tags: trunk
14:10
Function that return the console output of all running amazon instances check-in: d1658007cf user: unknown tags: trunk
14:10
Enables BitLocker on the OS drive. If BitLocker has already been enabled, extracts the recovery key if there is one present. check-in: 06050e32a2 user: Colin Squier tags: trunk
14:10
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: 5bc4ce7f2e user: Joakim Svendsen, Svendsen Tech tags: trunk
14:10
My first contribution. I am crazily thinking of doing a “Powershell Only” day. The first task is to figure out how to manipulate Outlook through PowerShell. The submitted script hits my Outlook inbox and goes through the inbox and each subfolder and retrieves the unread emails from it. It then goes through my task list and gets all the incomplete tasks. This was my first time using a status bar and definitely the first for making anything outside the scripting games public. I’d hate to get finished with the Outlook “module” and find out I could have saved myself a lot of time, so I through the script as it is now on the mercy of the court. Proceed with your red pens… check-in: 502ef1c4d6 user: support tags: trunk
14:10
My first contribution. I am crazily thinking of doing a “Powershell Only” day. The first task is to figure out how to manipulate Outlook through PowerShell. The submitted script hits my Outlook inbox and goes through the inbox and each subfolder and retrieves the unread emails from it. It then goes through my task list and gets all the incomplete tasks. This was my first time using a status bar and definitely the first for making anything outside the scripting games public. I’d hate to get finished with the Outlook “module” and find out I could have saved myself a lot of time, so I through the script as it is now on the mercy of the court. Proceed with your red pens… check-in: e5c0d022b7 user: chris seiter tags: trunk
14:10
This is a very meaningless demo showing how to get and work with a html document in parsed form. The actual script gets a html-table from www.apk.se (listing cheap alcohol in sweden) and parses and converts that to a object and hands that of to the pipe. check-in: c141a9dc00 user: Daniel Srlv tags: trunk
14:10
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: d9a613f091 user: Joel Bennett tags: trunk
14:10
Print the hostname of the system. Complete with v2 comment-based help, but works fine on v1. check-in: 60aee5b2e1 user: tst-wms-print-00 tags: trunk
14:10
Print the hostname of the system. Complete with v2 comment-based help, but works fine on v1. check-in: 98e454c027 user: halr9000 tags: trunk
14:10
Script for total resize of all pictures in one or multiple directories. check-in: 53d24716b3 user: Oleg Medvedev tags: trunk
14:10
Check and md5 or sha1 hash in a “single line” of PowerShell. check-in: 3fa7cc4ca6 user: Joel Bennett tags: trunk
14:10
Connect to an exchange mailbox and get your latest emails. check-in: d4b07d72b1 user: George Mauer tags: trunk
14:10
Script creates unique scratch folders on the provided datastore for all ESXi hosts in csv file and sets the advanced host settings to correspond to this location. check-in: 4c999c28b3 user: Kimberly Anne A tags: trunk
14:10
Script creates unique scratch folders on the provided datastore for all ESXi hosts in csv file and sets the advanced host settings to correspond to this location. check-in: 6fab58ad83 user: Kimberly Anne A tags: trunk
14:10
Script creates unique scratch folders on the provided datastore for all ESXi hosts in csv file and sets the advanced host settings to correspond to this location. check-in: 77606850d8 user: Leon Scheltema tags: trunk
14:10
quoted printable decoder (assumes you want to output strings as opposed to a byte buffer). check-in: 0f9b419d91 user: Public Domain tags: trunk
14:10
Enables SNMP via Add-WindowsFeature (If not already enabled) check-in: f998c6c265 user: St3v3o tags: trunk
14:10
Update custom scratch location ESXi 5.1 check-in: 322e44e9b5 user: Leon Scheltema tags: trunk
14:10
A wrapper around Get-FormatData that allows you to pipe types or objects into it. e.g. check-in: 50ccefdf92 user: Public Domain tags: trunk
14:10
Add-SPSolution “WSP path url” check-in: 7d34b47880 user: Joel Bennett tags: trunk
14:10
Script for total resize of all pictures in one or multiple directories. check-in: 86db9c1a71 user: Oleg Medvedev tags: trunk
14:10
Allows you to copy items and display the native windows copy dialogue instead of having to use -passthru or fuss with write-progress check-in: 56e0798597 user: Nathan Kasco tags: trunk
14:10
Allows you to copy items and display the native windows copy dialogue instead of having to use -passthru or fuss with write-progress check-in: 3e5101d687 user: Nathan Kasco tags: trunk
14:10
A wrapper around Get-FormatData that allows you to pipe types or objects into it. e.g. check-in: 90c25f0b77 user: Public Domain tags: trunk
14:10
Make write-host text appear as if it is being typed on a typewriter check-in: a519f24049 user: Nathan Kasco tags: trunk
14:10
Make write-host text appear as if it is being typed on a typewriter check-in: 37b4f24968 user: Nathan Kasco tags: trunk
14:10
Make write-host text appear as if it is being typed on a typewriter check-in: 1afb168025 user: Nathan Kasco tags: trunk
14:09
Make write-host text appear as if it is being typed on a typewriter check-in: cc48947346 user: Nathan Kasco tags: trunk
14:09
Make write-host text appear as if it is being typed on a typewriter check-in: 3d20ae966e user: Nathan Kasco tags: trunk
14:09
Make write-host text appear as if it is being typed on a typewriter check-in: 8ee3200909 user: Nathan Kasco tags: trunk
14:09
The script saves a username and password, encrypted with a custom key to to a file. The key is coded into the script but can be changed if required. The key allows the password to be decrypted by any user who has the key, on any machine. If the key parameter is omitted from ConvertFrom-SecureString, only the user who generated the file on the computer that generated the file can decrypt the password. check-in: 823d04c13d user: Daniel tags: trunk
14:09
Get-FileEncoding function determines encoding by looking at Byte Order Mark (BOM). check-in: c9ff03c515 user: Chad Miller tags: trunk
14:09
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: 1d33ea4a7a user: BattleChicken tags: trunk
14:09
Add new smtp address from csv and set new address primary check-in: 72475c7cc0 user: Ermias tags: trunk
14:09
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: f649f23a9b user: Joakim Svendsen, Svendsen Tech tags: trunk
14:09
Get list of the loaded drivers without EnumDeviceDrivers function or WMI. check-in: 3e94197874 user: greg zakharov tags: trunk
14:09
Find matching members in a local group check-in: df3781a44c user: Hal Rottenberg tags: trunk
14:09
IMCEAEX-_o=MHGRP_ou=Exchange+20Administrative+20Group+20+28FYDIBOHF23SPDLT+29_cn=Recipients_cn=202c27c8-d5792d45-c12579bb-48477d@MH.GRP check-in: f3cf013e81 user: IMMTZ tags: trunk
14:09
Here is the complete code, import pfx, add iis website, add ssl binding: check-in: 7e2777a1b8 user: Brian H Madsen tags: trunk
14:09
Beschreibung check-in: 469104c077 user: Chris916 tags: trunk
14:09
Test the Prompt features check-in: 341abbb319 user: Damien Ryan tags: trunk
14:09
I wrote a small function for parsing a Windows DNS Debug log. You can pipe both log-lines and filenames to this cmdlet. I’ve added 3 different types of log formats for it to handle. check-in: c508eff852 user: DollarUnderscore tags: trunk
14:09
retrieve the windows product key of a specified machine using WMI windows 8.1 check-in: 93e29edfb2 user: karl prosser tags: trunk
14:09
The upload is not complete, lines after line 1738 are missing :-( check-in: cf75eea8c9 user: Atamido tags: trunk
14:09
retrieve the windows product key of a specified machine using WMI check-in: e4dbe54762 user: karl prosser tags: trunk
14:09
The Convert-MacAddress function takes a valid hex MAC address and converts it to another valid hex format. check-in: 971f341bc0 user: Rich Kusak tags: trunk
14:09
Get-ImageMetadata lets you access the EXIF, XMP and other metadata about image files … this should only be taken as an example and a reference, not for solid production work — in other words, I won’t take the blame if you zero out all your jpgs trying to modify this to ReadWrite instead of just Read :) check-in: 4ba9542161 user: Joel Bennett tags: trunk
14:09
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: 896dff79e4 user: Brian H Madsen tags: trunk
14:09
The Get-Strings cmdlet returns strings (Ascii and/or Unicode) from a file. This cmdlet is useful for dumping strings from binary file and was designed to replicate the functionality of strings.exe from Sysinternals Suite. check-in: 5f8e7e31f2 user: greg zakharov tags: trunk
14:09
Read all group policies from the domain, read out individual settings, and make them filterable and sortable check-in: b65376391e user: Atamido tags: trunk
14:09
Script for total resize of all pictures in one or multiple directories. check-in: c3a2042924 user: Oleg Medvedev tags: trunk
14:09
Trying to decrypt files with the key, I need to know why I keep getting errors,If PowerShell gives me this error “WARNING: Exception calling “Close” with “0” argument(s): “Length of the data to decrypt is invalid” then the file wont decrypt no matter how many times I try. If it doesn’t give me the error then after 10 to 15 No’s if finally decrypts the file. Can someone please tell me what’s wrong with the script. check-in: 3984c68017 user: unknown tags: trunk
14:09
Creates a port monitor inside of Operations Manager 2007. Usage is SCOM-CreatePortMonitoring.ps1 -serverName:‘TargetServerName.contoso.com’ -portNumber:‘80’ -pollIntervalSeconds:‘120’ -watcherNodes:“watcher1.contoso.com”, “watcher2.contoso.com” -displayName:‘Test URL monitoring’ -targetMP:‘Port Monitoring MP’ check-in: 90eae585f2 user: Jeremy Pavleck tags: trunk
14:09
Revert to the last VMware snapshot with variables for Vvcenter and VM check-in: 306c0ee6b5 user: TXGUY tags: trunk
14:09
Enumerates all CPU related tasks (filters out null CPU times) with the following properties: check-in: aad46f5d90 user: internetrush1 tags: trunk
14:09
ISE-Lines module v 1.2 check-in: c6925e38d1 user: Scott Hardwick tags: trunk
14:09
This is a module I create to make getting Office 365 account info a bit easier. check-in: 92884fbcd8 user: BoardWithLife tags: trunk
14:09
This script is taking a file in .txt with the Hostnames or IPs and performs an update to the VM Tools Policy from manual to “Upgrade VMware Tools on Power cycle”. check-in: 6ad57b37ea user: anksoswordpress tags: trunk
14:09
A VI toolkit script to update all VM Guests on the selected hosts check-in: deb98dabee user: Brian English tags: trunk
14:09
This is a module I create to make getting Office 365 account info a bit easier. check-in: 0a4e8ac644 user: BoardWithLife tags: trunk
14:09
A script to do a query on a remote registry key or value (Fixed a bug in 2.0) check-in: 2a32305e85 user: Joel Bennett tags: trunk
14:09
This is a module I create to make getting Office 365 account info a bit easier. check-in: f61f0d8a98 user: BoardWithLife tags: trunk
14:09
This is a module I create to make getting Office 365 account info a bit easier. check-in: 43a3d035ed user: BoardWithLife tags: trunk
14:09
This is a module I create to make getting Office 365 account info a bit easier. check-in: e93f579dd7 user: BoardWithLife tags: trunk
14:09
This is a module I create to make getting Office 365 account info a bit easier. check-in: 3f939d224c user: BoardWithLife tags: trunk
14:08
Add new smtp address from csv and set new address primary check-in: ed77278247 user: Ermias tags: trunk
14:08
Get a short url, using tiny-url api for shortening check-in: 2d5eb6e619 user: Alvaro Torres tags: trunk
14:08
A script to do a query on a remote registry key or value … check-in: 6b757ffc5a user: Joel Bennett tags: trunk
14:08
Validates a username and password against Active Directory. Requires .NET 3.5 and PowerShell V2. check-in: efd0b16496 user: Mike Pfeiffer tags: trunk
14:08
All Group Policy Objects modified in the specified timespan are backup up to the specified backup path. check-in: 44ed6809be user: Jan Egil Ring tags: trunk
14:08
Found in my personal scripts archive (author: greg zakharov) check-in: 227603a829 user: Dana James tags: trunk
14:08
This script will help a user to batch connect multiple pst files in Microsoft Outlook (personal email archives). check-in: 0c24ff62f4 user: username tags: trunk
14:08
This script will help a user to batch connect multiple pst files in Microsoft Outlook (personal email archives). check-in: 4f69f84324 user: Jack Neff tags: trunk
14:08
Script for total resize of all pictures in one or multiple directories. check-in: 00eaa5fb3e user: Oleg Medvedev tags: trunk
14:08
Original post found at http://www.cyberforum.ru/post8436749.html check-in: f6a0f5492c user: govnyakha tags: trunk
14:08
Original post found at http://www.cyberforum.ru/post8436749.html check-in: 1f9105a56b user: govnyakha tags: trunk
14:08
Two functions, one that emulates the pause functionality from cmd.exe, and one that gives similar functionality to more.com. Out-More is especially useful if you’re doing something like “gc somefile.txt | Out-More” because it starts outputting text to the screen immediately instead of waiting for the entire file to be read, which is what happens if you do “gc somefile.txt | more”. Out-More can also be used for other objects besides. check-in: 6779b37977 user: unknown tags: trunk
14:08
This script is a simple one that is meant to be scheduled on a periodic basis (we do it weekly). It looks inthe OU where we put our disabled AD users and removes users that have not logged in (inactive) for 400 days. This allows us to keep terminated employees disabled users for over a year for auditing purposes, but automatically cleans them out once the annual scope has passed. check-in: 1b809d098b user: DrDrewl tags: trunk
14:08
Original post at http://www.cyberforum.ru/post8426907.html check-in: 4e16a2f366 user: govnyakha tags: trunk
14:08
Use this script to create Scrum issue labels for a GitHub repo. check-in: 433a432664 user: Ian Philpot tags: trunk
14:08
Use this script to create Scrum issue labels for a GitHub repo. check-in: 48bc477564 user: Ian Philpot tags: trunk
14:08
Example of elementary keylogger. check-in: f9ff234e5f user: greg zakharov tags: trunk
14:08
IMCEAEX-_o=MHGRP_ou=Exchange+20Administrative+20Group+20+28FYDIBOHF23SPDLT+29_cn=Recipients_cn=72cb2d01-aa16a82b-c1257648-2bcaae@MH.GRP check-in: b6e417f135 user: IMMTZ tags: trunk
14:08
Validates a username and password against Active Directory. Requires .NET 3.5 and PowerShell V2. check-in: 2cd9279fbd user: Mike Pfeiffer tags: trunk
14:08
The function hex2sid will convert HEX-represented SID string like 010500000000000515000000358A021A75B9755407E53B2B1EF10108 to SID string (also known as SSDL) check-in: fc0aecc32b user: Dormidont tags: trunk
14:08
Print the hostname of the system. Complete with v2 comment-based help, but works fine on v1. check-in: 9bd637a0f2 user: halr9000 tags: trunk
14:08
Print the hostname of the system. Complete with v2 comment-based help, but works fine on v1. check-in: 01e92f7fb0 user: halr9000 tags: trunk
14:08
Print the hostname of the system. Complete with v2 comment-based help, but works fine on v1. check-in: 5eed33e685 user: halr9000 tags: trunk
14:08
Print the hostname of the system. Complete with v2 comment-based help, but works fine on v1. check-in: c1ba3a1f4b user: halr9000 tags: trunk
14:08
Print the hostname of the system. Complete with v2 comment-based help, but works fine on v1. check-in: d6bb9ebd7d user: halr9000 tags: trunk
14:08
Print the hostname of the system. Complete with v2 comment-based help, but works fine on v1. check-in: b332d45dd8 user: halr9000 tags: trunk
14:08
Print the hostname of the system. Complete with v2 comment-based help, but works fine on v1. check-in: 62e0a0023d user: halr9000 tags: trunk
14:08
Print the hostname of the system. Complete with v2 comment-based help, but works fine on v1. check-in: bc5a5bbd6a user: halr9000 tags: trunk
14:08
Print the hostname of the system. Complete with v2 comment-based help, but works fine on v1. check-in: ebfdee3271 user: halr9000 tags: trunk
14:08
IMCEAEX-_o=MHGRP_ou=Exchange+20Administrative+20Group+20+28FYDIBOHF23SPDLT+29_cn=Recipients_cn=f6feb9b4-e2216015-c12574e3-4f0fcd@MH.GRP check-in: 56aa08723e user: baraaa tags: trunk
14:08
Function to find organizational units linked to a given GPO check-in: fb98665a74 user: unknown tags: trunk
14:08
Makes use of Sysinternal’s psexec to get session data from qwinsta for both local and remote computers. check-in: 3882bf0153 user: hotsnoj tags: trunk
14:08
IMCEAEX-_o=MHGRP_ou=Exchange+20Administrative+20Group+20+28FYDIBOHF23SPDLT+29_cn=Recipients_cn=43e41419-4647a201-c1257e7e-63bb3e@MH.GRP check-in: 6f76242ab8 user: exchange tags: trunk
14:08
S:(ML;;NW;;;LW)D:(A;;0×120083;;;WD)(A;;0×120083;;;AC) check-in: 0c834df3aa user: Matthew Graeber tags: trunk
14:08
An update to the orignal Get-FileTail that replaces a specific int with a long to accommodate particularly large files. Original text: A PowerShell 2.0 function to do the equivalent of the ‘nix tail, including the continuous feature (tail -f). Notice this does not try to emulate the ‘nix command parameters, which never made sense to me. I’ll leave that to someone else. check-in: 6d7b9fa9ef user: Joel Bennett tags: trunk
14:08
adapted from code by Kiron news://msnews.microsoft.com:119/FAEC38D1-62A8-47B1-A94E-A29A2CA4FE29microsoft.com check-in: 5507e982c1 user: unknown tags: trunk
14:07
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: 584f30bc23 user: AlphaSun tags: trunk
14:07
Invoke-RestMethod example check-in: afac8c43bf user: unknown tags: trunk
14:07
IMCEAEX-_O=CONTOSO_OU=First+20Administrative+20Group_cn=Recipients_cn=john+5Fjacob+2Esmith@contoso.com check-in: a21925203c user: Test1 tags: trunk
14:07
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: 7b0bc8ab17 user: Lee Holmes tags: trunk
14:07
Generic wrapper for the While statement that will execute a condition a given number of max tries, waiting a given number of seconds in between. check-in: 572b4af9bd user: unknown tags: trunk
14:07
More malware from http://undoacne(dot)xyz/dl.php check-in: 2d9bf3cccb user: madtomvane tags: trunk
14:07
I just want to rename the folder names in particular path where folder name starts with keep all characters by dropping if “12_” before the file name. I am able to rename it but not able to get log file for the following script. check-in: 909ba69e57 user: Srinu tags: trunk
14:07
Globalscape EFT Powershell module check-in: 19c9e827ba user: BattleChicken tags: trunk
14:07
This code makes a tiny game; You must dodge all digits that will go appearing in the Screen. Use the Left-Right Keys to move yourself. When the game starts and asks you to press Intro to start you can put some commands; check-in: 7c3a434bc3 user: JohnSinnes tags: trunk
14:07
This code makes a tiny game; You must dodge all digits that will go appearing in the Screen. Use the Left-Right Keys to move yourself. When the game starts and asks you to press Intro to start you can put some commands; check-in: 010fbedbca user: JohnSinnes tags: trunk
14:07
A couple of functions to suspend and resume applications (like what you do with Resource Monitor). check-in: 90eca69b61 user: Joel Bennett tags: trunk
14:07
Rebuilds Windows Indexing on a remote PC check-in: 3f3670abbd user: Aphexenator tags: trunk
14:07
Test the Prompt features check-in: e4bbde3848 user: Anonymous tags: trunk
14:07
This script will remove all versions of java run-time, both 32-bit and 64-bit if the uninstall files in the bin folder of each version are present. If they are not then a version(s) could be left behind. We use this when a users system has it’s Java Run-time. When you have multiple versions of Java JRE installed in static mode and need to clear them up to level set and reinstall the new versions. No system restarts or log offs required. check-in: 9cf757209c user: John Delise tags: trunk
14:07
This function converts FSP’s to sAMAccountName’s check-in: e0fd8bf413 user: Jeff Patton tags: trunk
14:07
Sets the system primary DNS suffix by p-invoking the Win32 API. Returns true for success, false for failure. check-in: 8b044f1517 user: deepwaterdiver tags: trunk
14:07
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: 1368613a2d user: mjohnson tags: trunk
14:07
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: 5490060956 user: mjohnson tags: trunk
14:07
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: fdfaa15afb user: mjohnson tags: trunk
14:07
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: 73b8b2efd9 user: Lee Holmes tags: trunk
14:07
This function is an attempt to duplicate the Quest Get-QADUser cmdlet without using any third party snap-ins. If you want to run it against a Global Catalog you simply need to replace LDAP: with GC: and you will want to comment out the lines that pull the password last set and last logon timestamp unless you happen to be replicating those to your GC. check-in: 340fdd8287 user: Jonathan Walz tags: trunk
14:07
This script uses /n Software’s NetCmdlets, specifically the cmdlet “send-ping”, to continually ping a host, and log to a file whenever connectivity is lost. check-in: 7f777d28b7 user: Jacob Saaby Nielsen tags: trunk
14:07
Script for checking servers current free disk space and highlighting drives with low free space check-in: cbaf7edbd1 user: Don Schaffrick tags: trunk
14:07
Used for migrating a users network printer connections from one server to another. Useful when migrating your printers to a new print server and need don’t want to make your users remap their printers manually. If deployed with SCCM make sure to set the package to run as the user and not SYSTEM. check-in: 3000a54c10 user: Tony Sathre tags: trunk
14:07
Convert and import from delimited text files. Includes two functions: Convert-Delimiter and Import-Delimited. check-in: 0002c48ded user: Joel Bennett tags: trunk
14:07
This is my latest profile script … it contains many things specific to my setup, but they should all be available here on PoshCode.org check-in: 3f92a6f09d user: Joel Bennett tags: trunk
14:07
Set environment variables stickily. check-in: 26a1fe0f1f user: Joel Bennett tags: trunk
14:07
Turns on Maintenance Mode for a specific computer monitored by SCOM (System Center Operations Manager). Ensure that the OperationsManager module is available on the computer from which this script is executed. check-in: 0d49b6ccf3 user: Austin Greca tags: trunk
14:07
a proof in concept as to why posh rocks check-in: 1b9ed1923f user: unknown tags: trunk
14:07
I tweaked Greg Zakharov’s script to remove the flicker (don’t redraw the background between bars), and then optimized it to only draw what’s necessary… check-in: 6b4049168e user: greg zakharov tags: trunk
14:07
Change the inheritance from parent with PowerShell check-in: 9adacce70a user: Vern Anderson tags: trunk
14:07
In order to use this module, you need the winscp .net framework: http://winscp.net/eng/docs/library check-in: e2d5b4356b user: BattleChicken tags: trunk
14:07
WinSCP wrapper module I created out of necessity that I put together through my own exploration of the objects and the WinSCP documentation/examples. check-in: 765373c654 user: BattleChicken tags: trunk
14:07
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: 7a32cf2673 user: AlphaSun tags: trunk
14:07
retrieve the windows product key of a specified machine using WMI check-in: dbab564bc6 user: jirka tags: trunk
14:07
Sets the system primary DNS suffix by p-invoking the Win32 API. Returns true for success, false for failure. check-in: 68b1a9d007 user: Andy Arismendi tags: trunk
14:06
Test the Prompt features check-in: b590649efa user: Anonymous tags: trunk
14:06
retrieve the windows product key of a specified machine using WMI check-in: 8929f10493 user: karl prosser tags: trunk
14:06
IMCEAEX-_O=CONTOSO_OU=First+20Administrative+20Group_cn=Recipients_cn=john+5Fjacob+2Esmith@contoso.com check-in: 9cecbef3b4 user: Test1 tags: trunk
14:06
Disable or Enable local user accounts based on csv or textfile. check-in: 4c5a39a62e user: Michael Wulff tags: trunk
14:06
Get local user accounts info in forms of a csv file with the following attributes: check-in: d9a731198a user: Michael Wulff tags: trunk
14:06
IMCEAEX-_O=EXCHANGELABS_OU=EXCHANGE+20ADMINISTRATIVE+20GROUP+20+28FYDIBOHF23SPDLT+29_CN=RECIPIENTS_CN=5db7eb6d37784f2eaccf09b2f90b75e8-katstewart+40coca-cola+2Ecom@namprd07.prod.outlook.com check-in: 38c9b82bbf user: Allison tags: trunk
14:06
Extension of sqlcmd or invoke-sqlcmd and invoke-sqlcmd2 to include things like ApplicationName, ApplicationIntent and other settings that would be in a connection string. check-in: 3a96cee944 user: Ben Miller tags: trunk
14:06
Compare files in multiple folders against a reference set to provide an early detection of Cryptolocker check-in: 1985b457d0 user: dfsdiag tags: trunk
14:06
#This script extracts the UNC paths from all login scripts associated to users. Can also be used to search ANY folder or files for UNC paths by tweaking the netlogonpath and netlogonfilestosearch arguments. check-in: 94919019e5 user: Justin Grote tags: trunk
14:06
Selects only objects containing a hostname that is pingable. check-in: 754425eacf user: dragonmc77 tags: trunk
14:06
This script retrieves the UNC paths from all group policies in the domain. Useful during file server cutovers and renaings. check-in: 1d14720044 user: Justin Grote tags: trunk
14:06
Add new smtp address from csv and set new address primary check-in: c1d78aa81f user: Ermias tags: trunk
14:06
Locks the workstation’s display. Locking a workstation protects it from unauthorized use. check-in: cc2873abed user: Mike Pfeiffer tags: trunk
14:06
A function to rename a computer check-in: c9f2d5004c user: steven tags: trunk
14:06
Minor bugfix check-in: 21a7c17ec6 user: fsadf tags: trunk
14:06
Fetches the per-datastore disk utilization of a virtual machine. Is thin-provisioning aware and reports only the thin provisioned used space for UsedGB. check-in: 60a5b27c0c user: Justin Grote tags: trunk
14:06
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: 19c2f98c33 user: halr9000 tags: trunk
14:06
A script to get site information from a large forest. check-in: 0d10d2e1d8 user: Geoff Guynn tags: trunk
14:06
Display the FSMO role holders of each domain in your forest. check-in: 31011a915c user: Geoff Guynn tags: trunk
14:06
I fixed a few major problems I noticed in the original version. check-in: 11d159c35f user: Geoff Guynn tags: trunk
14:06
PowerShell RoboCopy Wrapper example code check-in: d18b1d9ce8 user: unknown tags: trunk
14:06
I fixed a few major problems I noticed in the original version. check-in: 4ffeadc85f user: Geoff Guynn tags: trunk
14:06
I fixed a few major problems I noticed in the original version. check-in: 13269410fd user: Geoff Guynn tags: trunk
14:06
IMCEAEX-_O=BAYMAIL_OU=EXCHANGE+20ADMINISTRATIVE+20GROUP+20+28FYDIBOHF23SP DLT+29_CN=RECIPIENTS_CN=IMMTZ@bayer.cnb check-in: b3206c9164 user: IMMTZ tags: trunk
14:06
Gets the last logged on user of a workstation. check-in: 8b491a2b1f user: dotps1 tags: trunk
14:06
retrieve the windows product key of a specified machine using WMI check-in: a3985a5a16 user: David tags: trunk
14:06
retrieve the windows product key of a specified machine using WMI check-in: 1ea6074f93 user: David tags: trunk
14:06
retrieve the windows product key of a specified machine using WMI check-in: 68934cc9c1 user: David tags: trunk
14:06
retrieve the windows product key of a specified machine using WMI check-in: 77799dfbce user: David tags: trunk
14:06
retrieve the windows product key of a specified machine using WMI check-in: 9c9c185a9d user: David tags: trunk
14:06
Set the Send As permissions on an exchange 2007 mailbox. check-in: 80a184eded user: Jon Webster tags: trunk
14:06
retrieve the windows product key of a specified machine using WMI check-in: 9fdeee23b8 user: karl prosser tags: trunk
14:06
Gets the last logged on user of a workstation. check-in: 1a6731dd86 user: dotps1 tags: trunk
14:06
This code is from a web scrape guide I’ve written on my blog. check-in: 487e946e03 user: DollarUnderscore tags: trunk
14:06
############################################################################################# check-in: cb1b2fb2df user: Rob Sewell tags: trunk
14:06
This code will cleanup local profiles on a server/computer. It needs admin-rights to run. check-in: 810a855875 user: DollarUnderscore tags: trunk
14:06
New-TextIcon allows you to create an icon made of text. This was useful for me when creating a NotifyIcon that contained the used percentage of memory on a VM host. Output to actual file optional using $Path. check-in: 01a35a4a54 user: chrissylemaire tags: trunk