PoshCode Archive  Timeline

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

24 check-ins using file Test-DependentModule.ps1 version 57eadbf14d

2018-06-10
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
14:13
Start-NamedPipe check-in: 5a60c45c59 user: theDude tags: trunk
14:13
Get-FileEncoding function determines encoding by looking at Byte Order Mark (BOM). check-in: 7dc8bc5126 user: Chad Miller tags: trunk
14:13
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: f47b30b464 user: Boe Prox tags: trunk
14:13
Enables SNMP via Add-WindowsFeature (If not already enabled) check-in: ca2e77b5dd user: St3v3o tags: trunk
14:13
Sets the system primary DNS suffix by p-invoking the Win32 API. Returns true for success, false for failure. check-in: 4f4675b796 user: Natedog tags: trunk
14:13
Tags alert with PrincipalName, Severity and MP name in Custom fields. check-in: c73d7e8081 user: Stefan Stranger tags: trunk
14:13
Sets the system primary DNS suffix by p-invoking the Win32 API. Returns true for success, false for failure. check-in: 047f7f3d20 user: Andy Arismendi tags: trunk
14:13
Active Directory, bulk create OU’s with defined sub OU’s check-in: 21473755db user: chriskenis tags: trunk
14:13
retrieve the windows product key of a specified machine using WMI check-in: a869241dd1 user: michal tags: trunk
14:13
retrieve the windows product key of a specified machine using WMI check-in: 3659fe12a3 user: karl prosser tags: trunk
14:13
test post sqldom check-in: 18b6f4a204 user: ietei tags: trunk
14:13
Modeled after SQL Server 2008 Invoke-Sqlcmd, but fixes bug in QueryTimeout, and allows for paramaterized queries and more! check-in: ef9d19928f user: Aaron Calderon tags: trunk
14:13
Modeled after SQL Server 2008 Invoke-Sqlcmd, but fixes bug in QueryTimeout, and allows for paramaterized queries and more! check-in: e58f7ee5db user: RCookieMonster tags: trunk
14:13
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: 88ff806de1 user: Stephen Campbell tags: trunk
14:13
Microsoft provided script, however I can’t download it at work but I can copy and paste. check-in: fed1ecde98 user: GuyinTheOffice tags: trunk
14:13
My command prompt, as always. I leave this in a separate script file and invoke it from my profile. That way I can RE-invoke it to reset my prompt if I have to mess with it for some reason. check-in: bd4bd6f12a user: Joel Bennett tags: trunk
14:13
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: 03dbed6faf user: Daniel Srlv tags: trunk
14:13
retrieve the windows product key of a specified machine using WMI check-in: a1919b01b8 user: karl prosser tags: trunk
14:13
PS Module for creating new hires with functions for Exchange Online Mailbox, Skype voice provisioning, and UM Mailbox provisioning check-in: a3b6e3d8fe user: unknown tags: trunk