full_path
stringlengths
31
232
filename
stringlengths
4
167
content
stringlengths
0
48.3M
PowerShellCorpus/PowerShellGallery/Pipeworks/1.9.9.4/Write-PowerShellHashtable.ps1
Write-PowerShellHashtable.ps1
function Write-PowerShellHashtable { <# .Synopsis Takes an creates a script to recreate a hashtable .Description Allows you to take a hashtable and create a hashtable you would embed into a script. Handles nested hashtables and indents nested hashtables automatically....
PowerShellCorpus/PowerShellGallery/Pipeworks/1.9.9.4/Join-Website.ps1
Join-Website.ps1
function Join-Website { param( [Parameter(ValueFromPipelineByPropertyName=$true)] [Hashtable]$RequiredInfo, [Parameter(ValueFromPipelineByPropertyName=$true)] [Hashtable]$OptionalInfo, [Parameter(ValueFromPipelineByPropertyName=$true)] [string]$StorageAccountSett...
PowerShellCorpus/PowerShellGallery/Pipeworks/1.9.9.4/Expand-Data.ps1
Expand-Data.ps1
function Expand-Data { <# .Synopsis Expands Compressed Data .Description Expands Compressed Data using the .NET GZipStream class .Link Compress-Data .Link http://msdn.microsoft.com/en-us/library/system.io.compression.gzipstream.aspx .Example ...
PowerShellCorpus/PowerShellGallery/Pipeworks/1.9.9.4/Push-FTP.ps1
Push-FTP.ps1
function Push-FTP { <# .Synopsis Pushes items to an FTP server .Description Pushes a directory to an FTP server .Example Push-Ftp -Path c:\Example -Include *.aspx .Link Get-FTP #> [OutputType([Nullable])] param( # The local path ...
PowerShellCorpus/PowerShellGallery/Pipeworks/1.9.9.4/ConvertTo-DataTable.ps1
ConvertTo-DataTable.ps1
function ConvertTo-DataTable { <# .Synopsis Creates a DataTable from an object .Description Creates a DataTable from an object, containing all properties (except built-in properties from a database) .Example Get-ChildItem| Select Name, LastWriteTime | ConvertTo-DataTabl...
PowerShellCorpus/PowerShellGallery/Pipeworks/1.9.9.4/Request-CommandInput.ps1
Request-CommandInput.ps1
function Request-CommandInput { <# .Synopsis Generates a form to collect input for a command .Description Generates a form to collect input for a PowerShell command. Get-WebInput is designed to handle the information submitted by the user in a for...
PowerShellCorpus/PowerShellGallery/Pipeworks/1.9.9.4/New-Webpage.ps1
New-Webpage.ps1
function New-WebPage { <# .Synopsis Creates a new web page, with some help .Description Creates a new web page containing the most commonly used web technologies. Using New-WebPage, you can generate the scaffolding for - Linked or nested style she...
PowerShellCorpus/PowerShellGallery/Pipeworks/1.9.9.4/Close-Port.ps1
Close-Port.ps1
None
PowerShellCorpus/PowerShellGallery/Pipeworks/1.9.9.4/Get-Web.ps1
Get-Web.ps1
function Get-Web { <# .Synopsis Gets content from the web, or parses web content. .Description Gets content from the web. If -Tag is passed, extracts out tags from within the document. If -AsByte is passed, returns the response bytes .Example ...
PowerShellCorpus/PowerShellGallery/Pipeworks/1.9.9.4/Get-SQLTable.ps1
Get-SQLTable.ps1
function Get-SQLTable { <# .Synopsis Gets SQL table information .Description Gets metadata about a SQL table, including it's columns and their data types .Example Get-SqlTable "MySqlTable" -ConnectionString SqlAzureConnectionString .Link Add-SqlTable .L...
PowerShellCorpus/PowerShellGallery/Pipeworks/1.9.9.4/Add-AzureSetting.ps1
Add-AzureSetting.ps1
function Add-AzureSetting { <# .Synopsis Adds an Azure local storage resource to a service definition .Description Adds an Azure local storage resource to a service definition. Azure local storage can create well-known directories on the host machine .Link...
PowerShellCorpus/PowerShellGallery/Pipeworks/1.9.9.4/Invoke-EC2.ps1
Invoke-EC2.ps1
function Invoke-EC2 { <# .Synopsis Invokes commands on EC2 instances .Description Invokes PowerShell commands on EC2 instances .Example Get-EC2 | Invoke-EC2 -ScriptBlock { Get-Process } .Link Get-EC2 #> [CmdletBinding(DefaultPar...
PowerShellCorpus/PowerShellGallery/Pipeworks/1.9.9.4/ConvertTo-ServiceUrl.ps1
ConvertTo-ServiceUrl.ps1
function ConvertTo-ServiceUrl { <# .Synopsis Converts parameters into a full URL for a Pipeworks Service .Description Converts parameters into a full URL for a Pipeworks web service. This allows you to easily call another a Pipeworks web service with a uniform URL....
PowerShellCorpus/PowerShellGallery/Pipeworks/1.9.9.4/Remove-EC2SecurityGroup.ps1
Remove-EC2SecurityGroup.ps1
function Remove-EC2SecurityGroup { <# .Synopsis Removes an EC2 Security Group .Description Removes a Security Group from EC2 .Example Get-EC2SecurityGroup | Remove-EC2SecurityGroup .Link Get-EC2SecurityGroup #> [CmdletBinding(SupportsS...
PowerShellCorpus/PowerShellGallery/Pipeworks/1.9.9.4/Update-DataTable.ps1
Update-DataTable.ps1
function Update-DataTable { <# .Synopsis Updates a datatable .Description Updates data within a datatable, or adds new rows .Link New-DataTable .Example $dt = New-DataTable -ColumnName Name, Age -ColumnType [string], [int] -KeyColumn Name New-Object ...
PowerShellCorpus/PowerShellGallery/Pipeworks/1.9.9.4/Add-AzureStartupTask.ps1
Add-AzureStartupTask.ps1
function Add-AzureStartupTask { <# .Synopsis Adds a startup task to Azure .Description Adds a startup task to an azure service configuration, and packs some extra information into the XML to allow using ScriptBlock as startup tasks .Example New-AzureServiceDefin...
PowerShellCorpus/PowerShellGallery/Pipeworks/1.9.9.4/ConvertFrom-InlinePowerShell.ps1
ConvertFrom-InlinePowerShell.ps1
function ConvertFrom-InlinePowerShell { # #.Synopsis # Converts PowerShell inlined within HTML to ASP.NET #.Description # Converts PowerShell inlined within HTML to ASP.NET. # # PowerShell can be embedded with <| |> or <psh></psh> or <?psh ?> #.Example # Co...
PowerShellCorpus/PowerShellGallery/Pipeworks/1.9.9.4/Get-Bootstrapped.ps1
Get-Bootstrapped.ps1
function Get-Bootstrapped { <# .Synopsis Downloads a bootstrapper theme .Description Downloads a bootstrapper theme via the bootstraper builder hosted on Heroku .Example Get-Bootstrapped .Notes The bootstrapper builder was replaced by Bootstrap after version...
PowerShellCorpus/PowerShellGallery/Pipeworks/1.9.9.4/Get-Email.old.ps1
Get-Email.old.ps1
function Get-Email { <# .Synopsis Gets email from exchange .Description Gets email in an inbox using exchange web services. #> param( # If set, will only show the first N items [Parameter(ValueFromPipelineByPropertyName=$true)] [int]$First, # I...
PowerShellCorpus/PowerShellGallery/Pipeworks/1.9.9.4/Out-Zip.ps1
Out-Zip.ps1
function Out-Zip { <# .Synopsis Outputs files into a zip .Description Stores files in a zip archive .Example dir -recurse | Out-Zip -ZipFile ".\a.zip" .Example dir $home\Documents\WindowsPowerShell\Modules\Pipeworks -Recurse | Out-Zip -ZipFile ...
PowerShellCorpus/PowerShellGallery/Pipeworks/1.9.9.4/Add-Interaction.ps1
Add-Interaction.ps1
function Add-Interaction { <# .Synopsis Adds a user interaction to user storage .Description Adds a user interaction to user storage. Interactions are things a user has done within a service. For instance, you might Add-Interact...
PowerShellCorpus/PowerShellGallery/Pipeworks/1.9.9.4/Write-AspNetScriptPage.ps1
Write-AspNetScriptPage.ps1
function Write-AspDotNetScriptPage { <# .Synopsis Writes an ASP.NET page that executes PowerShell script .Description Runs a PowerShell script inside of an ASP.net page. The runspace used in the ASP.NET script page will be reused for as long as the session is activ...
PowerShellCorpus/PowerShellGallery/Pipeworks/1.9.9.4/Update-SQL.ps1
Update-SQL.ps1
function Update-Sql { <# .Synopsis Updates a SQL table .Description Inserts new content into a SQL table, or updates the existing contents of a SQL table .Example Get-Counter | Select-Object -ExpandProperty CounterSamples | Update-Sql -TableNa...
PowerShellCorpus/PowerShellGallery/Pipeworks/1.9.9.4/Start-MapReduce.ps1
Start-MapReduce.ps1
function Start-MapReduce { <# .Synopsis Runs a MapReduce on a set of data .Description Runs a MapReduce on a set of data, sequentially or in background jobs, on one or more machines. MapReduce is an approach to summarizing data. With MapReduce: * A Map ...
PowerShellCorpus/PowerShellGallery/Pipeworks/1.9.9.4/Get-WebConfigurationSetting.ps1
Get-WebConfigurationSetting.ps1
function Get-WebConfigurationSetting { <# .Synopsis Gets settings from web configuration .Description Gets appSettings from web configuration file .Example Get-WebConfigurationSetting "MySetting" .Link ConvertTo-ModuleService #> [OutputType([Object...
PowerShellCorpus/PowerShellGallery/Pipeworks/1.9.9.4/Add-EC2.ps1
Add-EC2.ps1
function Add-EC2 { <# .Synopsis Adds an EC2 instance to Amazon Web Services .Description Adds EC2 instances to Amazon Web Services. .Example Add-EC2 -ImageId ami-e31ccb8a #2k8R2 .Example Add-EC2 -ImageId ami-41a37528 #2k8 .Example Add-EC2 -Im...
PowerShellCorpus/PowerShellGallery/Pipeworks/1.9.9.4/Test-W3C.ps1
Test-W3C.ps1
function Test-W3C { <# .Synopsis Tests compliance with the W3C standards .Description Validates a page's HTML5 compliance with the W3CValidator .Example Test-W3C "http://powershellpipeworks.com" .Link Get-Web .Link http://validator.w3.org/ ...
PowerShellCorpus/PowerShellGallery/Pipeworks/1.9.9.4/Resolve-Location.ps1
Resolve-Location.ps1
function Resolve-Location { <# .Synopsis Resolves a location to it's place on Earth .Description Looks up physical addresess (in the US), ip addresses, or hostnames. Returns results as a [http://schema.org/Place](http://schema.org/Place) .Example ...
PowerShellCorpus/PowerShellGallery/Pipeworks/1.9.9.4/Wait-Deployment.ps1
Wait-Deployment.ps1
function Wait-Deployment { <# .Synopsis Waits for a deployment to complete .Description Waits for a deployment to Azure to complete .Example Wait-Deployment -ServiceName "start-automating" .Link Add-Deployment .Link Get-Deployment .Link ...
PowerShellCorpus/PowerShellGallery/Pipeworks/1.9.9.4/Search-WolframAlpha.ps1
Search-WolframAlpha.ps1
function Search-WolframAlpha { <# .Synopsis Searches Wolfram Alpha .Description Searches Wolfram Alpha for information on anything .Example Search-WolframAlpha -For "Micrososft" -ApiKeySetting WolframAlphaApiKey .Link Get-SecureSetting .Link Se...
PowerShellCorpus/PowerShellGallery/Pipeworks/1.9.9.4/Get-EC2InstancePassword.ps1
Get-EC2InstancePassword.ps1
function Get-EC2InstancePassword { <# .Synopsis Gets an instance password from EC2 .Description Gets and decrypts a password from an EC2 instance .Example Get-EC2 | Get-EC2InstancePassword .Link Get-EC2 .Link Get-SecureSetting ...
PowerShellCorpus/PowerShellGallery/Pipeworks/1.9.9.4/Out-HTML.ps1
Out-HTML.ps1
function Out-HTML { <# .Synopsis Produces HTML output from the PowerShell pipeline. .Description Produces HTML output from the PowerShell pipeline, doing the best possible to obey the formatting rules in PowerShell. .Example Get-Process | Out-HTML .Link New-W...
PowerShellCorpus/PowerShellGallery/Pipeworks/1.9.9.4/Watch-Daemon.ps1
Watch-Daemon.ps1
function Watch-Daemon { <# .Synopsis Watches the output from a Daemon .Description Watches the output from a PowerShell Daemon created with Out-Daemon .Example Watch-Daemon "MyDaemon" .Link Out-Daemon .Link Remove-Daemon #> [OutputTyp...
PowerShellCorpus/PowerShellGallery/Pipeworks/1.9.9.4/Remove-EC2.ps1
Remove-EC2.ps1
function Remove-EC2 { <# .Synopsis Removes EC2 instances .Description Removes EC2 instances from Amazon Web Services .Example Get-EC2 | Remove-EC2 .Link Get-EC2 .Link Add-EC2 #> [CmdletBinding(SupportsShouldProcess='true...
PowerShellCorpus/PowerShellGallery/Pipeworks/1.9.9.4/Get-EC2AvailabilityZone.ps1
Get-EC2AvailabilityZone.ps1
function Get-EC2AvailabilityZone { <# .Synopsis Gets availability zones for EC2 datacenters .Description Gets the availability zones for EC2 datacenters .Example Get-EC2AvailabilityZone .Link Get-EC2 .Link Add-EC2 #> param() ...
PowerShellCorpus/PowerShellGallery/Pipeworks/1.9.9.4/New-RDPFile.ps1
New-RDPFile.ps1
function New-RDPFile { <# .Synopsis Creates a new Remote Desktop file .Description Creates a new Remote Desktop file that can connect with a credential .Example New-RDPFile -ComputerName MyComputer .Link ConvertFrom-SecureString #> [OutputType([str...
PowerShellCorpus/PowerShellGallery/Pipeworks/1.9.9.4/Add-AzureLocalResource.ps1
Add-AzureLocalResource.ps1
function Add-AzureLocalResource { <# .Synopsis Adds an Azure local storage resource to a service definition .Description Adds an Azure local storage resource to a service definition. Azure local storage can create well-known directories on the host machine .Ex...
PowerShellCorpus/PowerShellGallery/Pipeworks/1.9.9.4/Find-Factual.ps1
Find-Factual.ps1
function Find-Factual { <# .Synopsis Finds content on Factual .Description Finds content on Factual's global places API .Example Find-Factual Starbucks in Seattle .Example $l = Resolve-Location -Address 'Redmond, WA' Find-Factual -GeoPulse -T...
PowerShellCorpus/PowerShellGallery/Pipeworks/1.9.9.4/Start-PSNode.ps1
Start-PSNode.ps1
function Start-PSNode { <# .Synopsis Starts a lightweight local server .Description Starts a lightweight local server that uses the HttpListener class to create a simple server. This server is unlike the Pipeworks in ASP.NET in many interesting ways: ...
PowerShellCorpus/PowerShellGallery/Pipeworks/1.9.9.4/Publish-AzureService.ps1
Publish-AzureService.ps1
function Publish-AzureService { <# .Synopsis Publishes one or more modules as azure services .Description Publishes one or more modules as azure services, according to the DomainSchematic found in the Pipeworks manifest .Example Get-Module Pipeworks | Publis...
PowerShellCorpus/PowerShellGallery/Pipeworks/1.9.9.4/Send-PhoneCall.ps1
Send-PhoneCall.ps1
function Send-PhoneCall { <# .Synopsis Sends phone calls .Description Sends phone calls messages with twilio .Example Send-PhoneCall -From 12065551212 -To 12065551212 -Url http://start-automating.com/Receive-CallToStartAutomating .Link Twilio.com .Link...
PowerShellCorpus/PowerShellGallery/Pipeworks/1.9.9.4/Add-AzureRole.ps1
Add-AzureRole.ps1
function Add-AzureRole { <# .Synopsis Adds and azure role to a service definition .Description Adds an azure role to a service definition .Example New-AzureServiceDefinition -ServiceName AService | Add-AzureRole -RoleName MyWebRole -VMSize Large -Role...
PowerShellCorpus/PowerShellGallery/Pipeworks/1.9.9.4/Search-Engine.ps1
Search-Engine.ps1
function Search-Engine { <# .Synopsis Searches the web, using various engines .Description Searches the web, using Bing or Google. .Example Search-Engine "Start-Automating" .Example Search-Engine "Start-Automating" -Google .Notes Usin...
PowerShellCorpus/PowerShellGallery/Pipeworks/1.9.9.4/Get-TextMessage.ps1
Get-TextMessage.ps1
function Get-TextMessage { <# .Synopsis Gets text messages .Description Get text messages sent to a Twilio number .Example Get-TextMessage .Link Twilio.com .Link Send-TextMessage #> [OutputType([PSObject])] param( # The ...
PowerShellCorpus/PowerShellGallery/Pipeworks/1.9.9.4/Get-Email.ps1
Get-Email.ps1
function Get-Email { <# .Synopsis Gets email from exchange .Description Gets email from an exchange server .Link Invoke-Office365 .Example Get-Email #> [OutputType([PSObject])] [CmdletBinding(DefaultParameterSetName='UserNameAndPasswordSet...
PowerShellCorpus/PowerShellGallery/Pipeworks/1.9.9.4/Select-Sql.ps1
Select-Sql.ps1
function Select-SQL { <# .Synopsis Select SQL data .Description Select data from a SQL databsae .Example Select-Sql -FromTable ATable -Property Name, Day, Month, Year -Where "Year = 2005" -ConnectionSetting SqlAzureConnectionString .Example Select-Sql -FromT...
PowerShellCorpus/PowerShellGallery/Pipeworks/1.9.9.4/Import-StoredProcedure.ps1
Import-StoredProcedure.ps1
function Import-StoredProcedure { <# .Synopsis Imports a Stored Procedure as a PowerShell function .Description Imports SQL Stored Procedure as a PowerShell functions .Notes At present, only stored procedures on SQL Server or in SQL Azure are supported. .Link ...
PowerShellCorpus/PowerShellGallery/Pipeworks/1.9.9.4/Remove-EC2KeyPair.ps1
Remove-EC2KeyPair.ps1
function Remove-EC2KeyPair { <# .Synopsis Removes EC2 Key pairs .Description Removes EC2 Key pairs. Key pairs are used to access secure information .Link Get-EC2KeyPair .Link Remove-SecureSetting .Example Get-EC2KeyPair | Remove-...
PowerShellCorpus/PowerShellGallery/Pipeworks/1.9.9.4/Import-Blob.ps1
Import-Blob.ps1
function Import-Blob { <# .Synopsis Imports from blob storage .Description Imports content from azure blob storage .Example "hello world" | Export-Blob acontainer ablob.txt -StorageAccount myStorageAccount -StorageKey myStorageKey Import-Blob acontainer ablob.tx...
PowerShellCorpus/PowerShellGallery/Pipeworks/1.9.9.4/Publish-Deployment.ps1
Publish-Deployment.ps1
function Publish-Deployment { <# .Synopsis Publishes a deployment .Description Generates an Azure deployment package from a set of modules that will be deployed. OR Uploads a set of modules in a deployment to Blob Storage .Link Get-Deployment ...
PowerShellCorpus/PowerShellGallery/Pipeworks/1.9.9.4/Out-Daemon.ps1
Out-Daemon.ps1
function Out-Daemon { <# .Synopsis Creates small services that run PowerShell .Description Creates small services that run PowerShell on a regular basis .Example Out-Daemon -ScriptBlock { Write-Warning "Warning" Write-Error "Error" ...
PowerShellCorpus/PowerShellGallery/Pipeworks/1.9.9.4/New-PipeworksManifest.ps1
New-PipeworksManifest.ps1
function New-PipeworksManifest { <# .Synopsis Creates a Pipeworks manifest for a module, so it can become a site. .Description Creates a Pipeworks manifest for a module, so that it can become a pipeworks site. The Pipeworks manifest is at the heart of how you pub...
PowerShellCorpus/PowerShellGallery/Pipeworks/1.9.9.4/Use-Less.ps1
Use-Less.ps1
function Use-Less { <# .Synopsis Creates a .CSS file from a .LESS file .Description Uses DotLess to create a .CSS file from a .LESS file. .Link http://lesscss.org/ .Link http://www.dotlesscss.org/ .Example Use-Less -LessCss ".example {width: 1...
PowerShellCorpus/PowerShellGallery/Pipeworks/1.9.9.4/Enable-EC2Remoting.ps1
Enable-EC2Remoting.ps1
function Enable-EC2Remoting { <# .Synopsis Enables an EC2 instance for various remote access .Description Enables common services on an EC2 instance .Example Get-EC2 | Enable-EC2Remoting -PowerShell .Link Open-EC2Port #> param( ...
PowerShellCorpus/PowerShellGallery/Pipeworks/1.9.9.4/start-at.ps1
start-at.ps1
function Start-At { <# .Synopsis Starts scripts at a time or event .Description Starts scripts at a time, an event, or a change in a table .Example Start-At -Boot -RepeatEvery "0:30:0" -Name LogTime -ScriptBlock { "$(Get-Date)" | Set-Content "$($env:...
PowerShellCorpus/PowerShellGallery/Pipeworks/1.9.9.4/Get-Walkthru.ps1
Get-Walkthru.ps1
function Get-Walkthru { <# .Synopsis Gets information from a file as a walkthru .Description Parses walkthru steps from a walkthru file. Walkthru files contain step-by-step examples for using PowerShell. .Link Write-WalkthruHTML .Example Ge...
PowerShellCorpus/PowerShellGallery/Pipeworks/1.9.9.4/Remove-Daemon.ps1
Remove-Daemon.ps1
function Remove-Daemon { <# .Synopsis Removes a Daemon in the system .Description Removes a Daemon (Service) registered on the system .Example Out-Deamon -ScriptBlock { Write-Warning "Warning" Write-Error "Error" $Ver...
PowerShellCorpus/PowerShellGallery/Pipeworks/1.9.9.4/Wait-EC2.ps1
Wait-EC2.ps1
function Wait-EC2 { <# .Synopsis Waits for an EC2 instance to become available .Description Waits for an EC2 instance password to become available .Example Add-EC2 -ImageId ami-078b536e -PassThru | # Creates a server 2008 R2 image Wait-EC2 | ...
PowerShellCorpus/PowerShellGallery/Pipeworks/1.9.9.4/Send-TextMessage.ps1
Send-TextMessage.ps1
function Send-TextMessage { <# .Synopsis Sends text messages .Description Sends text messages with twilio .Example # Looks up a phone number location and texts the url of a map to that # Search-WolframAlpha -For "1-206-607-6555" -ApiKeySetting WolframAlphaApiKey...
PowerShellCorpus/PowerShellGallery/Pipeworks/1.9.9.4/Get-FunctionFromScript.ps1
Get-FunctionFromScript.ps1
function Get-FunctionFromScript { <# .Synopsis Gets the functions declared within a script block or a file .Description Gets the functions exactly as they are written within a script or file .Example Get-FunctionFromScript { function foo() { ...
PowerShellCorpus/PowerShellGallery/Pipeworks/1.9.9.4/update-wmi.ps1
update-wmi.ps1
function Update-Wmi { <# .Synopsis Stores data in WMI .Description Stores data in the WMI repository .Link Select-Wmi .Example Get-ChildItem | Select-Object Name, LastWriteTime, LastAccessTime, CreationTime | Update-Wmi #> ...
PowerShellCorpus/PowerShellGallery/Pipeworks/1.9.9.4/ConvertTo-ModuleService.ps1
ConvertTo-ModuleService.ps1
function ConvertTo-ModuleService { <# .Synopsis Export a PowerShell module as a series of ASP.NET Handlers .Description Exports a Powershell module as a series of ASP.NET handlers .Example Import-Module Pipeworks -Force -PassThru | ConvertTo-ModuleService -For...
PowerShellCorpus/PowerShellGallery/Pipeworks/1.9.9.4/New-AzureServiceDefinition.ps1
New-AzureServiceDefinition.ps1
function New-AzureServiceDefinition { <# .Synopsis Creates a new Azure Service Definition XML .Description Creates a new Azure Service Definition XML. Additional commands are used to modify the XML's settings .Example New-AzureServiceDefinition -ServiceName Tes...
PowerShellCorpus/PowerShellGallery/Pipeworks/1.9.9.4/Remove-SQL.ps1
Remove-SQL.ps1
function Remove-SQL { <# .Synopsis Removes SQL data .Description Removes SQL data or databases .Example Remove-Sql -TableName ATable -ConnectionSetting SqlAzureConnectionString .Example Remove-Sql -TableName ATable -Where 'RowKey = 1' -ConnectionSetting SqlA...
PowerShellCorpus/PowerShellGallery/Pipeworks/1.9.9.4/Write-Host.ps1
Write-Host.ps1
function Write-Host { <# .ForwardHelpTargetName Write-Host .ForwardHelpCategory Cmdlet #> [CmdletBinding()] [OutputType([Nullable])] param( [Parameter(Position=0, ValueFromPipeline=$true, ValueFromRemainingArguments=$true)] [System.Object] ${Object}, [Swit...
PowerShellCorpus/PowerShellGallery/Pipeworks/1.9.9.4/Import-DataTable.ps1
Import-DataTable.ps1
function Import-DataTable { <# .Synopsis Imports a datatable .Description Imports a datatable from a file on disk. The datatable must be exported with Export-Datatable .Link Export-DataTable .Link ConvertTo-DataTable .Example dir | Select Name...
PowerShellCorpus/PowerShellGallery/Pipeworks/1.9.9.4/Use-Schematic.ps1
Use-Schematic.ps1
function Use-Schematic { <# .Synopsis Uses a schematic to put things together .Description Uses a schematic to automate the deployment .Link ConvertTo-ModuleService #> param( # The name of the schematic [Parameter(Mandatory=$true,Position=0)] [st...
PowerShellCorpus/PowerShellGallery/Pipeworks/1.9.9.4/Invoke-Office365.ps1
Invoke-Office365.ps1
function Invoke-Office365 { <# .Synopsis Invokes commands within Office365 .Description Invokes PowerShell commands within Office365 .Example Invoke-Office365 -ScriptBlock { Get-Mailbox -Identity james.brundage@start-automating.com } .LINK http://help.outlo...
PowerShellCorpus/PowerShellGallery/Pipeworks/1.9.9.4/Import-PSData.ps1
Import-PSData.ps1
function Import-PSData { <# .Synopsis Imports PSData sections .Description Imports files or strings containing PSData sections, and converts nested hashtables into nested PSObjects. .Example Get-Web -Url http://www.youtube.com/watch?v=xPRC3EDR_GU -AsMicrodata -ItemType ht...
PowerShellCorpus/PowerShellGallery/Pipeworks/1.9.9.4/Get-Hash.ps1
Get-Hash.ps1
function Get-Hash { <# .Synopsis Gets a hash for an object .Description Gets a unique hash for an object .Example 1..10 | Get-Hash .Example dir | Get-Hash .Link Write-PowerShellHashtable #> [OutputType([string], [byte[]], [PSObject])]...
PowerShellCorpus/PowerShellGallery/Pipeworks/1.9.9.4/Send-Email.ps1
Send-Email.ps1
function Send-Email { <# .Synopsis Sends an email. .Description Sends an email, using exchange web services. .Example $office365Credential = Get-SecureSetting -Name Office365Cred -Type ([Management.Automation.PSCredential]) Send-Email -To...
PowerShellCorpus/PowerShellGallery/Pipeworks/1.9.9.4/Open-Port.ps1
Open-Port.ps1
function Open-Port { <# .Synopsis Opens ports on the Windows Firewall .Description Opens ports on the Windows Firewall on the local machine .Example Open-Port 500 .Link Close-Port #> [OutputType([Nullable])] param( # The port numbers to o...
PowerShellCorpus/PowerShellGallery/Pipeworks/1.9.9.4/Invoke-WebCommand.ps1
Invoke-WebCommand.ps1
function Invoke-WebCommand { <# .Synopsis Invokes the commands within a web service .Description Invokes the commands within a Pipeworks web service .Example # Invoke-WebCommand is the Pipeworks function runs commands in a web service. It's automatically called in many p...
PowerShellCorpus/PowerShellGallery/Pipeworks/1.9.9.4/Remove-SecureSetting.ps1
Remove-SecureSetting.ps1
function Remove-SecureSetting { <# .Synopsis Removes an encrypted setting from the registry .Description Removes a stored secured user settings in the registry .Example Remove-SecureSetting .Example Remove-SecureSetting AStringSetting .Link ht...
PowerShellCorpus/PowerShellGallery/Pipeworks/1.9.9.4/Export-PSData.ps1
Export-PSData.ps1
function Export-PSData { <# .Synopsis Exports property bags into a data file .Description Exports property bags and the first level of any other object into a ps data file (.psd1) .Link Import-PSData .Example Get-Web -Url http://www.youtube.com/watch?v=xPRC3...
PowerShellCorpus/PowerShellGallery/Pipeworks/1.9.9.4/Get-Paid.ps1
Get-Paid.ps1
function Get-Paid { <# .Synopsis Gets you paid .Description Handles getting payments or payment confirmation information. .Example # A Sample Charge with the Stripe API Get-Paid -StripeKey sk_test_aElHsSizhc8XC0uESpNC1t64 -Currency usd -Amount 400 -CardNumber 424...
PowerShellCorpus/PowerShellGallery/Pipeworks/1.9.9.4/Expand-Zip.ps1
Expand-Zip.ps1
function Expand-Zip { <# .Synopsis Expands the contents of a Zip file .Description Expands the contents of a Zip file that was compressed with Out-Zip. .Example dir $home\Documents\WindowsPowerShell\Modules\Pipeworks -Recurse | Out-Zip -ZipFile $home\Pipewor...
PowerShellCorpus/PowerShellGallery/Pipeworks/1.9.9.4/Get-Ami.ps1
Get-Ami.ps1
function Get-Ami { <# .Synopsis Gets Amazon Machine Images .Description Gets the available Amazon Machine Images .Example Get-Ami .Link Add-EC2 #> [CmdletBinding(DefaultParameterSetName='Keyword')] [OutputType([PSObject])] param( ...
PowerShellCorpus/PowerShellGallery/Pipeworks/1.9.9.4/Write-WalkthruHTML.ps1
Write-WalkthruHTML.ps1
function Write-WalkthruHTML { <# .Synopsis Writes a walkthru HTML file .Description Writes a section of HTML to walk thru a set of code. .Example Write-WalkthruHTML -Text @" #a simple demo Get-Help about_walkthruFiles "@ .Link Get-Walkthru Write-...
PowerShellCorpus/PowerShellGallery/Pipeworks/1.9.9.4/Write-Ajax.ps1
Write-Ajax.ps1
function Write-Ajax { <# .Synopsis Writes AJAX .Description Writes AJAX. This will execute the URL and replace the contents of the HTML element with the ID $updateId with the contents of the returned document .Link New-WebPage #> [OutputType...
PowerShellCorpus/PowerShellGallery/Pipeworks/1.9.9.4/Get-PipeworksManifest.ps1
Get-PipeworksManifest.ps1
function Get-PipeworksManifest { <# .Synopsis Gets the Pipeworks manifest for a module .Description Gets the Pipeworks manifest for a PowerShell module. The pipeworks manifest is a .psd1 file that describes how the module will be published as a web service....
PowerShellCorpus/PowerShellGallery/Pipeworks/1.9.9.4/Get-Deployment.ps1
Get-Deployment.ps1
function Get-Deployment { <# .Synopsis Gets Pipeworks deployments .Description Gets PowerShell Pipeworks deployment .Example Get-Deployment .Link Import-Deployment .Link Push-Deployment .Link Publish-Deployment #> [Cmdle...
PowerShellCorpus/PowerShellGallery/Pipeworks/1.9.9.4/Switch-TestDeployment.ps1
Switch-TestDeployment.ps1
function Switch-TestDeployment { <# .Synopsis Switches host entries to test a deployment .Description Toggles the local name resolution for a test domain to and from test host. This lets you preview a deployment before making it live, and allows you to perform auto...
PowerShellCorpus/PowerShellGallery/Pipeworks/1.9.9.4/Export-Blob.ps1
Export-Blob.ps1
function Export-Blob { <# .Synopsis Exports data to a cloud blob .Description Exports data to a blob in Azure .Example Get-ChildItem -Filter *.ps1 | Export-Blob -Container scripts -StorageAccount astorageAccount -StorageKey (Get-SecureSetting aStorageKey -ValueOnly) ...
PowerShellCorpus/PowerShellGallery/Pipeworks/1.9.9.4/ConvertFrom-Markdown.ps1
ConvertFrom-Markdown.ps1
function ConvertFrom-Markdown { <# .Synopsis Converts from markdown to HTML format .Description Converts from the lightweight markup format Markdown into HTML .Link http://daringfireball.net/projects/markdown/ .Link http://en.wikipedia.org/wiki/Markdown ...
PowerShellCorpus/PowerShellGallery/Pipeworks/1.9.9.4/remove-blob.ps1
remove-blob.ps1
function Remove-Blob { <# .Synopsis Removes blobs of cloud data .Description Removes blobs of cloud data in Azure .Link Import-Blob .Link Export-Blob .Example Remove-Blob -Container MyContainer -Name MyItem.txt .Example Remove-Bl...
PowerShellCorpus/PowerShellGallery/Pipeworks/1.9.9.4/Add-AzureWebSite.ps1
Add-AzureWebSite.ps1
function Add-AzureWebSite { <# .Synopsis Adds an Azure web site to a service definition. .Description Adds an Azure web site to a service definition. The site can bind to multiple host Creates a web role if one does not exist. ...
PowerShellCorpus/PowerShellGallery/Pipeworks/1.9.9.4/Reset-EC2.ps1
Reset-EC2.ps1
function Reset-EC2 { <# .Synopsis Reboots EC2 instances .Description Reboots Amazon Web Services EC2 instances .Example # Reset all instances Get-EC2 | Reset-EC2 .Link Get-EC2 #> [CmdletBinding(SupportsShouldProcess='true', C...
PowerShellCorpus/PowerShellGallery/Pipeworks/1.9.9.4/Invoke-Parallel.ps1
Invoke-Parallel.ps1
function Invoke-Parallel { <# .Synopsis Invokes PowerShell in parallel .Description Invokes PowerShell in parallel and in the same proess space. This maximizes performance for parallel execution in PowerShell, by removing the drag associated with background processes. .Example ...
PowerShellCorpus/PowerShellGallery/Pipeworks/1.9.9.4/Add-Deployment.ps1
Add-Deployment.ps1
function Add-Deployment { <# .Synopsis Adds a Pipeworks deployment .Description Adds a PowerShell Pipeworks deployment to the list of deployed modules .Example Add-Deployment Pipeworks .Link Get-Deployment .Link Remove-Deployment ...
PowerShellCorpus/PowerShellGallery/Pipeworks/1.9.9.4/Select-Wmi.ps1
Select-Wmi.ps1
function Select-Wmi { <# .Synopsis Queries WMI as a datastore .Description Select-WMI pulls data from the WMI repository and fixes the typename, which allows for the full use .Example Select-Wmi -WQL "SELECT * From Win32_ComputerSystem" .Link Update-Wmi ...
PowerShellCorpus/PowerShellGallery/Pipeworks/1.9.9.4/Out-RssFeed.ps1
Out-RssFeed.ps1
function Out-RssFeed { <# .Synopsis Outputs RSS items into an RSS feed .Description Outputs RSS items into an RSS feed. Items can be easily created with New-RssItem .Example New-RssItem -Title "My Vacation" -Category Stupid, Stuff -Link http://bit.ly/myvacation -Auth...
PowerShellCorpus/PowerShellGallery/Pipeworks/1.9.9.4/Get-Translation.ps1
Get-Translation.ps1
function Get-Translation { <# .Synopsis Translates text .Description Translates text, using Bing Translator .Example Get-Translation "Start-Automating" .Example Get-Translation "Hello World" -To "German" .Link Get-Web .Link http:/...
PowerShellCorpus/PowerShellGallery/Pipeworks/1.9.9.4/New-Region.ps1
New-Region.ps1
function New-Region { <# .Synopsis Creates a new web region. .Description Creates a new web region. Web regions are lightweight HTML controls that help you create web pages. .Link New-Webpage .Example # Makes a JQueryUI tab ...
PowerShellCorpus/PowerShellGallery/Pipeworks/1.9.9.4/Select-DataTable.ps1
Select-DataTable.ps1
function Select-Datatable { <# .Synopsis Selects data from an in-memory database .Description Selects data from System.Data.Datatable, which is an in-memory database .Example $dt = dir | Select Name, LastWriteTime, LastAccessTime, CreationTime | ConvertTo-DataTable ...
PowerShellCorpus/PowerShellGallery/Pipeworks/1.9.9.4/get-ftp.ps1
get-ftp.ps1
function Get-FTP { <# .Synopsis Gets files from FTP .Description Lists files on an FTP server, or downloads files .Example Get-FTP -FTP "ftp://edgar.sec.gov/edgar/full-index/1999/" -Download -Filter "*.idx", "*.xml" .Example Get-FTP -FTP "ftp://edgar.sec.gov...
PowerShellCorpus/PowerShellGallery/Pipeworks/1.9.9.4/Set-AWSConnectionInfo.ps1
Set-AWSConnectionInfo.ps1
None
PowerShellCorpus/PowerShellGallery/Pipeworks/1.9.9.4/Connect-EC2.ps1
Connect-EC2.ps1
function Connect-EC2 { <# .Synopsis Connects to an EC2 instance .Description Connects to an EC2 instance with Remote Desktop .Example Get-EC2 -Name MyServer | Connect-EC2 .Link Get-EC2 #> [CmdletBinding(SupportsShouldProcess='tru...
PowerShellCorpus/PowerShellGallery/Pipeworks/1.9.9.4/Remove-Deployment.ps1
Remove-Deployment.ps1
function Remove-Deployment { <# .Synopsis Removes a Pipeworks deployment .Description Removes a Pipeworks deployment from the list of deployments .Example Remove-Deployment -Name EZOut # Removes EZOut from the list of deployed modules .Link Get-Deployment ...
PowerShellCorpus/PowerShellGallery/Pipeworks/1.9.9.4/New-RssItem.ps1
New-RssItem.ps1
function New-RssItem { <# .Synopsis Creates a new RSS Feed Item .Description Creates a new RSS Feed Item. When use with Out-Feed, can easily publish any information as RSS .Example New-RssItem -Title 'My Post' -Description 'Things I Learning While Writing Pipeworks' -Aut...