PoshCode Archive  Timeline

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

73 check-ins using file Set-IPAddress.ps1 version a8398a0ca6

2018-06-10
13:28
Script courtesy of Jaykul, I’m just reposting. This script will decode the passwords for all accounts in the Psi profile labeled “default”. check-in: fdc189f288 user: jvarga tags: trunk
13:28
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: 55eb9b9502 user: Boe Prox tags: trunk
13:28
Uses cdb.exe from the Debugging Tools for Windows to create a sample-based check-in: e653c203fa user: Lee Holmes tags: trunk
13:28
The script takes about 100 counter paths, and pushes the raw value to a mongo database. check-in: a04c0d0ad0 user: SunnyChakraborty tags: trunk
13:27
Insert event logs to mongodb. check-in: 574d149d86 user: SunnyChakraborty tags: trunk
13:27
This function creates or updates a combined Startmenu folder, which you can attach to you toolbar (cf. http://www.howtogeek.com/107711/how-to-get-the-classic-start-menu-back-in-windows-8/) or my blog http://pauerschell.blogspot.de/ check-in: 1c1f43e054 user: Bernd Kriszio tags: trunk
13:27
Finds the datastore within a cluster with the most free space. check-in: 4f595f5059 user: monahancj tags: trunk
13:27
This script takes a list of Active Directory security group membership from XML, checks a baseline, and emails results. Code can be taken from this to create the baseline XML as well. Thanks to A.Metzger for fixing empty group membership bug. check-in: 95f5ba38d2 user: Steve Jarvi tags: trunk
13:27
Report on all email addresses per mailbox. Optionally remove regex matched addresses. Add any custom address thru parsing any prefix in the loop of SMTP domains. check-in: 80f40ccd4d user: chriskenis tags: trunk
13:27
Add new smtp address from csv and set new address primary check-in: bcdee50046 user: Ermias tags: trunk
13:27
This script is called from a scheduled task running under an account with the recipient role. Gets identities from a distribution group in AD, here named xc2010move but it can be anything you like. This way anyone with permissions to add users to this group can initialize a migration and with the right permissions users can even add themselves to this group (add\remove Self as member). check-in: 42e7189f23 user: chriskenis tags: trunk
13:27
This function/script monitors the size of a file and all of its sub-directories. It can also monitor one specific file but the user must specifiy the exact path in that case. Usefull for making sure that disk space on a server doesn’t fill up unexpectedly. check-in: 8248ea8d09 user: Paul Kiri tags: trunk
13:27
Find matching members in a local group check-in: 54aab29100 user: Hal Rottenberg tags: trunk
13:27
Find matching members in a local group check-in: c2e19ff594 user: Hal Rottenberg tags: trunk
13:27
Rewrite of http://poshcode.org/3460. check-in: b04b1e0acf user: Jules_74 tags: trunk
13:27
a function to batch import Exchange 2010 GAL photos… find the related post on ntsystems.it: http://www.ntsystems.it/post.aspx?id=e28854e0-e628-4fc7-850b-83d0458d9ab7 check-in: 1db9955228 user: thomas torggler tags: trunk
13:27
Rewrite of http://poshcode.org/3460. check-in: 7a7e02277c user: Jules_74 tags: trunk
13:27
DHCP Failover/Watchdog script. check-in: 10bace1eaa user: vocatus tags: trunk
13:27
Creates a DataTable for an object, based on script by Marc van Orsouw check-in: 3c0f6b194a user: Chad Miller tags: trunk
13:27
this script is called from a scheduled task running under an account with the recipient role check-in: 936c28d3d8 user: chriskenis tags: trunk
13:27
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: 60d18e914d user: Joel Bennett tags: trunk
13:27
This is a VERY simple Powershell Function to test if the SCCM 2007 Agent is installed on a machine or not. check-in: a59be25842 user: Sean Kearney tags: trunk
13:27
A function to facilitate use of background runspaces in Powershell. check-in: 95db35bd32 user: Josh Feierman tags: trunk
13:27
This clock is digital. No fancy sweeping movements and animations here, but you do get to see the date and day of the week, and you can easily play with fonts and colors to suit your desktop … check-in: a4719dea5a user: Joel Bennett tags: trunk
13:27
This is a sample profile to explain profiles on my blog. Please check out: http://www.ntsystems.it/post/My-PowerShell-Profile.aspx if you have any idea/hint/question check-in: d5e08d4017 user: thomas torggler tags: trunk
13:27
A ShowUI function for generating Mailboxes with a quick form check-in: e4a89f4b73 user: Joel Bennett tags: trunk
13:27
a WMI driven script to set IP Configuration from remote check-in: 6525a51b0d user: chriskenis tags: trunk
13:27
user home drive migration script (in progress but nearly complete) check-in: 414158ae99 user: chriskenis tags: trunk
13:27
user home drive migration script (in progress but nearly complete) check-in: cbb0bd56d9 user: chriskenis tags: trunk
13:27
Invoke the specified command (with parameters) in cmd.exe, and import any environment variable changes back to PowerShell check-in: fb117a5b7b user: Joel Bennett tags: trunk
13:27
ConvertFrom-PropertyString 3.0 can convert ini files, property files, and other flat key-value data strings into PSObjects. check-in: e39fed5cfe user: Joel Bennett tags: trunk
13:27
IronPython script for retrieving MS products. There is how to get Windows key in following example. check-in: f9cb97bacb user: greg zakharov tags: trunk
13:27
a WMI driven script to set IP Configuration from remote check-in: 94edb2936f user: chriskenis tags: trunk
13:27
Content of the Get-PingStatus-Help.xml file uploaded for Kirk for troubleshooting reasons check-in: f69afba9b0 user: Andreas tags: trunk
13:27
Add directory to Environment PATH variable permanently. Apply changes immediately without requiring reboot. check-in: a5c69e2866 user: mnaoumov tags: trunk
13:27
Creates a SQL Server table from a DataTable using SMO. check-in: 9a2be276e7 user: Chad Miller tags: trunk
13:27
Creates a DataTable for an object, based on script by Marc van Orsouw check-in: 671bc3e861 user: Chad Miller tags: trunk
13:27
Hello check-in: fac0114a95 user: Brandon Murphy tags: trunk
13:27
Replaces Get-Credential, with options to set the dialog title and message, as well as defaulting the domain and username, and offering the option to prompt in-line in the console, and to get generic (non-domain) credentials (without a leading “\”). Better in every way than the built-in Get-Credential ;) check-in: 84cc739e6d user: Joel Bennett tags: trunk
13:27
Replaces Get-Credential, with options to set the dialog title and message, as well as defaulting the domain and username, and offering the option to prompt in-line in the console, and to get generic (non-domain) credentials (without a leading “\”). Better in every way than the built-in Get-Credential ;) check-in: a23c0d575a user: Joel Bennett tags: trunk
13:27
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: bc818c1049 user: Lubinski tags: trunk
13:27
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: 6dd5ad9bd6 user: Lubinski tags: trunk
13:27
Calculates the Gregorian Easter date for a given year. check-in: edcaaf78f8 user: michaelvdnest tags: trunk
13:27
Calculates the Julian Easter date in the Julian calendar for a given year. check-in: 5471048556 user: michaelvdnest tags: trunk
13:27
Requires mGet-DatastoreList.ps1 check-in: 57dbd74b9a user: monahancj tags: trunk
13:27
A version of the VMware Get-Datastore cmdlet that filters out datastore we don’t want to put VMs on. It filters by type of datastore and our naming conventions for the datastore naming indicating what kind of data is on the datastore. Line 9 will have to be updated for your own environment. check-in: efee04ebc2 user: monahancj tags: trunk
13:26
Function to import security certificates. check-in: 9f4f5a5f66 user: anti121 tags: trunk
13:26
Function to import security certificates. check-in: c36d638731 user: anti121 tags: trunk
13:26
Compare the ACLs for two users for a folder tree check-in: dd0d96baa9 user: Joel Bennett tags: trunk
13:26
IMCEAEX-_O=CONTOSO_OU=First+20Administrative+20Group_cn=Recipients_cn=john+5Fjacob+2Esmith@contoso.com check-in: e189cb9f10 user: Test1 tags: trunk
13:26
Print the hostname of the system. Complete with v2 comment-based help, but works fine on v1. check-in: 4c784d478c user: halr9000 tags: trunk
13:26
Performs a binary rotate right operation on an unsigned 32 or 64-bit value. check-in: 1bfed5b501 user: Matthew Graeber tags: trunk
13:26
Simple script to bulk-create printers on a print-server. Printers are imported from a csv-file. check-in: 8ab8c5bdf3 user: navadavuluri tags: trunk
13:26
The script requires an input file, supplied as an argument to the script. The first line of this file contains an email address, subsequent lines contain VM names, one per line. The script connects to vCenter, queries for given performance stats (get-stat) and then generates a HTML report, which is then emailed to the recipient. The script can be scheduled via scheduled tasks (when supplied with a credential file for vCenter created with http://poshcode.org/3487) or run interactively. check-in: f11dee136d user: Samuel Mulhearn tags: trunk
13:26
Get DeviceID of all ActiveSync Devices for all Mailboxes with an ActiveSync partnership, then set the Mailboxes ActiveSyncAllowedDeviceIDs to the retrieved DeviceID. check-in: 59784c7271 user: thomas torggler tags: trunk
13:26
Get DeviceID of all ActiveSync Devices for all Mailboxes with an ActiveSync partnership, then set the Mailboxes ActiveSyncAllowedDeviceIDs to the retrieved DeviceID. check-in: 0023bf94e6 user: thomas torggler tags: trunk
13:26
With this function I can switch between IE and Firefox as default browser. It is just a start. There might be some more registry keys to be changed check-in: 388cd2cdc9 user: Bernd Kriszio tags: trunk
13:26
Script for total resize of all pictures in one or multiple directories. check-in: ac82becfa1 user: Oleg Medvedev tags: trunk
13:26
**Modified line 49 to output the log information in tab delimited format for export to a CSV file. check-in: e61ad5494b user: Pat Richard tags: trunk
13:26
Quest – Dynamic Group 005 – Convert Normal Group to a Dynamic Group check-in: 7bdfca1c37 user: Vidrine tags: trunk
13:26
Quest – Dynamic Group 004 – Display a Dynamic Group’s Queries (membership rules) check-in: 7438fc5391 user: Vidrine tags: trunk
13:26
Quest – Dynamic Group 003 – Modify a Query (membership rule) in a Dynamic Group check-in: f3181b36da user: Vidrine tags: trunk
13:26
Quest – Dynamic Group 002 – Add a Query (membership rule) to a Dynamic Group check-in: 870b15f4f5 user: Vidrine tags: trunk
13:26
Quest – Dynamic Group 001 – Convert Normal Group to a Dynamic Group check-in: 2904e00e3d user: Vidrine tags: trunk
13:26
This script takes a list of Active Directory security group membership from XML, checks a baseline, and emails results. Code can be taken from this to create the baseline XML as well. Thanks to Koldkutspecial for fixing empty group membership bug. check-in: 186c23d9ce user: Steve Jarvi tags: trunk
13:26
The function hex2sid will convert HEX-represented SID string like 010500000000000515000000358A021A75B9755407E53B2B1EF10108 to SID string (also known as SSDL) check-in: f9dc73f554 user: Dormidont tags: trunk
13:26
The script requires an input file, supplied as an argument to the script. The first line of this file contains an email address, subsequent lines contain VM names, one per line. The script connects to vCenter, queries for given performance stats (get-stat) and then generates a HTML report, which is then emailed to the recipient. The script can be scheduled via scheduled tasks (when supplied with a credential file for vCenter created with http://poshcode.org/3487) or run interactively. check-in: e969913d92 user: Samuel Mulhearn tags: trunk
13:26
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: 4d24959588 user: Samuel Mulhearn tags: trunk
13:26
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: 4079a44a52 user: Samuel Mulhearn tags: trunk
13:26
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: 527f097916 user: Samuel Mulhearn tags: trunk
13:26
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: c627d3e4c1 user: Samuel Mulhearn tags: trunk
13:26
This script will disable all Active Directory User accounts that have not logged in within the number of days specified by the $NumDays variable. All accounts that are disabled are logged in the “Disabled-User-Accounts.log” file created in the local directory. The formatting of the log file is very basic, but effective. check-in: 3fc6b8ff78 user: AlphaSun tags: trunk
13:26
A function to set an IP Address check-in: d5ae11d894 user: Andy Schneider tags: trunk