full_path stringlengths 31 232 | filename stringlengths 4 167 | content stringlengths 0 48.3M |
|---|---|---|
PowerShellCorpus/PowerShellGallery/biz.dfch.PS.Appclusive.Client/5.2.1.20161201/Remove-Node.ps1 | Remove-Node.ps1 | function Remove-Node {
<#
.SYNOPSIS
Removes a Node entry from the inventory.
.DESCRIPTION
Removes a Node entry from the inventory.
The Cmdlet lets you remove an existing Node entry from the Node inventory.
.INPUTS
The Cmdlet can either remove entities by id, by name or by object reference.
.OUTPU... |
PowerShellCorpus/PowerShellGallery/biz.dfch.PS.Appclusive.Client/5.2.1.20161201/Get-SessionTenant.ps1 | Get-SessionTenant.ps1 | function Get-SessionTenant {
<#
.SYNOPSIS
Gets the tenant id for the current session.
.DESCRIPTION
Gets the tenant id for the current session.
By default the tenant id is not set in the caller session, meaning that all operations are performed under the HOME_TENANT of the caller.
.INPUTS
See parameter... |
PowerShellCorpus/PowerShellGallery/biz.dfch.PS.Appclusive.Client/5.2.1.20161201/Get-EntityKind.ps1 | Get-EntityKind.ps1 | function Get-EntityKind {
<#
.SYNOPSIS
Retrieves one or more entities from the EntityKind entity set.
.DESCRIPTION
Retrieves one or more entities from the EntityKind entity set.
You can retrieve one ore more entities from the entity set by specifying
Id, Name or other properties.
.INPUTS
The Cmdlet ... |
PowerShellCorpus/PowerShellGallery/biz.dfch.PS.Appclusive.Client/5.2.1.20161201/Invoke-EntityAction.ps1 | Invoke-EntityAction.ps1 | function Invoke-EntityAction {
<#
.SYNOPSIS
Invokes a Entity action in Appclusive.
.DESCRIPTION
Invokes a Entity action in Appclusive.
You must specify the parameters 'EntityId', 'EntitySetName' (or pipe on an existing Entity) and the 'EntityActionName'.
.EXAMPLE
Invoke-EntityAction -EntityId 12 -Enti... |
PowerShellCorpus/PowerShellGallery/biz.dfch.PS.Appclusive.Client/5.2.1.20161201/Format-ResultAs.ps1 | Format-ResultAs.ps1 | [Diagnostics.CodeAnalysis.SuppressMessageAttribute("PSUseSingularNouns", "")]
PARAM()
function Format-ResultAs([object] $Result, [string] $As)
{
switch($As)
{
'xml' { $OutputParameter = (ConvertTo-Xml -InputObject $Result).OuterXml; }
'xml-pretty' { $OutputParameter = Format-Xml -String (ConvertTo-Xml -In... |
PowerShellCorpus/PowerShellGallery/biz.dfch.PS.Appclusive.Client/5.2.1.20161201/Get-CimiTarget.ps1 | Get-CimiTarget.ps1 | function Get-CimiTarget {
<#
.SYNOPSIS
Check if a machine exist in CIMI and if they is reachable from the orch
.DESCRIPTION
Check if a machine exist in CIMI and if they is reachable from the orch
You can check if a machine exist in CIMI. Therefor you can search by name oder cimi id.
.INPUTS
The Cmdlet can... |
PowerShellCorpus/PowerShellGallery/biz.dfch.PS.Appclusive.Client/5.2.1.20161201/Set-KeyNameValue.ps1 | Set-KeyNameValue.ps1 | function Set-KeyNameValue {
<#
.SYNOPSIS
Sets or creates a K/N/V entry in Appclusive.
.DESCRIPTION
Sets or creates a K/N/V entry in Appclusive.
By updating a K/N/V entry you can specify if you want to update the Key, Name, Value or any combination thereof.
.OUTPUTS
default | json | json-pret... |
PowerShellCorpus/PowerShellGallery/biz.dfch.PS.Appclusive.Client/5.2.1.20161201/Get-Node.ps1 | Get-Node.ps1 | function Get-Node {
<#
.SYNOPSIS
Retrieves one or more entities from the Node entity set.
.DESCRIPTION
Retrieves one or more entities from the Node entity set.
You can retrieve one ore more entities from the entity set by specifying
Id, Name or other properties.
.INPUTS
The Cmdlet can either return ... |
PowerShellCorpus/PowerShellGallery/biz.dfch.PS.Appclusive.Client/5.2.1.20161201/Set-ManagementCredential.ps1 | Set-ManagementCredential.ps1 | function Set-ManagementCredential {
<#
.SYNOPSIS
Sets or creates a ManagementCredential entry in Appclusive.
.DESCRIPTION
Sets or creates a ManagementCredential entry in Appclusive.
By updating a ManagementCredential entry you can specify if you want to update the Name, Username, Password or any combination... |
PowerShellCorpus/PowerShellGallery/biz.dfch.PS.Appclusive.Client/5.2.1.20161201/New-Role.ps1 | New-Role.ps1 | function New-Role {
<#
.SYNOPSIS
Creates a Role entry in Appclusive.
.DESCRIPTION
Creates a Role entry in Appclusive.
You must specify the parameters Name, RoleType and Permissions. If the entry already exists no update of the existing entry is performed.
.OUTPUTS
default | json | json-pretty | xml | ... |
PowerShellCorpus/PowerShellGallery/biz.dfch.PS.Appclusive.Client/5.2.1.20161201/Import-Module.ps1 | Import-Module.ps1 | # Import-Module.ps1
#
# Place any pre-initialisation script here
# Note:
# * When executed the module is not yet loaded
# * Everything you define here (e.g. a variable) is defined OUTSIDE the module scope.
# If this script is loaded via "ScriptsToProcess" it will incorrectly
# show up as loaded module, see ... |
PowerShellCorpus/PowerShellGallery/biz.dfch.PS.Appclusive.Client/5.2.1.20161201/Get-ExternalNode.ps1 | Get-ExternalNode.ps1 | function Get-ExternalNode {
<#
.SYNOPSIS
Retrieves one or more entities from the ExternalNode entity set.
.DESCRIPTION
Retrieves one or more entities from the ExternalNode entity set.
You can retrieve one ore more entities from the entity set by specifying
Id, Name or other properties.
.INPUTS
The C... |
PowerShellCorpus/PowerShellGallery/biz.dfch.PS.Appclusive.Client/5.2.1.20161201/Get-ManagementUri.ps1 | Get-ManagementUri.ps1 | function Get-ManagementUri {
<#
.SYNOPSIS
Retrieves one or more entities from the ManagementUri entity set.
.DESCRIPTION
Retrieves one or more entities from the ManagementUri entity set.
You can retrieve one ore more entities from the entity set by specifying
Id, Name or other properties.
.INPUTS
Th... |
PowerShellCorpus/PowerShellGallery/biz.dfch.PS.Appclusive.Client/5.2.1.20161201/New-EntityBag.ps1 | New-EntityBag.ps1 | function New-EntityBag {
<#
.SYNOPSIS
Creates an EntityBag entry in Appclusive.
.DESCRIPTION
Creates an EntityBag entry in Appclusive.
You must specify the parameters 'Name', 'Value', 'EntityId' and 'EntityKindId'. If the entry already exists no update of the existing entry is performed.
.OUTPUTS
defa... |
PowerShellCorpus/PowerShellGallery/biz.dfch.PS.Appclusive.Client/5.2.1.20161201/Get-Role.ps1 | Get-Role.ps1 | function Get-Role {
<#
.SYNOPSIS
Retrieves one or more entities from the Role entity set.
.DESCRIPTION
Retrieves one or more entities from the Role entity set.
You can retrieve one ore more entities from the entity set by either specifying
Id, Name or RoleType.
.INPUTS
The Cmdlet can either return a... |
PowerShellCorpus/PowerShellGallery/biz.dfch.PS.Appclusive.Client/5.2.1.20161201/Import-Product.ps1 | Import-Product.ps1 | function Import-Product {
<#
.SYNOPSIS
Creates or Updates a Product (based on .NET Class)
.DESCRIPTION
Creates or Updates a Product (based on .NET Class)
Inspects the .NET Class, based on it's attributes it will import the Class. Creating EntityKinds, Connectors, Interfaces, DataTypes ... |
PowerShellCorpus/PowerShellGallery/biz.dfch.PS.Appclusive.Client/5.2.1.20161201/Get-User.ps1 | Get-User.ps1 | function Get-User {
<#
.SYNOPSIS
Retrieves one or more entities from the User entity set.
.DESCRIPTION
Retrieves one or more entities from the User entity set.
You can retrieve one ore more entities from the entity set by specifying
Id, Name or other properties.
.INPUTS
The Cmdlet can either return ... |
PowerShellCorpus/PowerShellGallery/biz.dfch.PS.Appclusive.Client/5.2.1.20161201/Get-KeyNameValue.ps1 | Get-KeyNameValue.ps1 | function Get-KeyNameValue {
<#
.SYNOPSIS
Retrieves keyed name/value pairs from the Appclusive server.
.DESCRIPTION
Retrieves keyed name/value pairs from the Appclusive server.
The K/N/V store stores arbitrary data that can be selected by either key, name, value or a combination of both. Besides specif... |
PowerShellCorpus/PowerShellGallery/biz.dfch.PS.Appclusive.Client/5.2.1.20161201/Set-ExternalNode.ps1 | Set-ExternalNode.ps1 | function Set-ExternalNode {
<#
.SYNOPSIS
Sets or creates a ExternalNode entry in Appclusive.
.DESCRIPTION
Sets or creates a ExternalNode entry in Appclusive.
By updating a ExternalNode entry you can specify if you want to update the Name.
.OUTPUTS
default
.EXAMPLE
Set-ExternalNode Srv01 -Externa... |
PowerShellCorpus/PowerShellGallery/biz.dfch.PS.Appclusive.Client/5.2.1.20161201/New-KeyNameValue.ps1 | New-KeyNameValue.ps1 | function New-KeyNameValue {
<#
.SYNOPSIS
Creates a K/N/V entry in Appclusive.
.DESCRIPTION
Creates a K/N/V entry in Appclusive.
You must specify all three parameters 'Key', 'Name' and 'Value'. If the entry already exists no update of the existing entry is performed.
.OUTPUTS
default | json | json-pret... |
PowerShellCorpus/PowerShellGallery/biz.dfch.PS.Appclusive.Client/5.2.1.20161201/Set-User.ps1 | Set-User.ps1 | function Set-User {
<#
.SYNOPSIS
Sets or creates a User entry in Appclusive.
.DESCRIPTION
Sets or creates a User entry in Appclusive.
By updating a User entry you can specify, if you want to update the Mail address, the description or both.
.OUTPUTS
[biz.dfch.CS.Appclusive.Api.Core.User]
.EXAMPLE... |
PowerShellCorpus/PowerShellGallery/biz.dfch.PS.Appclusive.Client/5.2.1.20161201/Test-Connect.ps1 | Test-Connect.ps1 | function Test-Connect {
<#
.SYNOPSIS
Test connections (Interfaces/Connectors) created in Appclusive.
.DESCRIPTION
Test connections (Interfaces/Connectors) created in Appclusive.
Check if an EntityKind can connect to a different EntityKind or Node.
Check if a Connector can be removed.
Returns Flag.
.INPUT... |
PowerShellCorpus/PowerShellGallery/biz.dfch.PS.Appclusive.Client/5.2.1.20161201/Get-Connector.ps1 | Get-Connector.ps1 | function Get-Connector {
<#
.SYNOPSIS
Retrieves Connectors from the Appclusive server.
.DESCRIPTION
Retrieves Connectors from the Appclusive server.
Interfaces are used to define Connectors between EntityKinds. Besides specifying a selection you can furthermore define the order, the selected columns a... |
PowerShellCorpus/PowerShellGallery/biz.dfch.PS.Appclusive.Client/5.2.1.20161201/Get-Product.ps1 | Get-Product.ps1 | function Get-Product {
<#
.SYNOPSIS
Retrieves one or more entities from the product entity set.
.DESCRIPTION
Retrieves one or more entities from the product entity set.
You can retrieve one ore more entities from the entity set by specifying
Id, Name or other properties.
.INPUTS
The Cmdlet can either re... |
PowerShellCorpus/PowerShellGallery/biz.dfch.PS.Appclusive.Client/5.2.1.20161201/New-Connector.ps1 | New-Connector.ps1 | function New-Connector {
<#
.SYNOPSIS
Creates an Connector entry in Appclusive.
.DESCRIPTION
Creates an Connector entry in Appclusive.
You must specify a Name, InterfaceId and EntityKindId.
.OUTPUTS
default | json | json-pretty | xml | xml-pretty
.EXAMPLE
.LINK
Online Version: http://dfch.biz/biz/dfch/PS/App... |
PowerShellCorpus/PowerShellGallery/biz.dfch.PS.Appclusive.Client/5.2.1.20161201/New-ExternalNode.ps1 | New-ExternalNode.ps1 | function New-ExternalNode {
<#
.SYNOPSIS
Creates a ExternalNode entry in Appclusive.
.DESCRIPTION
Creates a ExternalNode entry in Appclusive.
You must specify all four parameters 'Name', 'NodeId', 'ExternalId' and 'ExternalType'. If the entry already exists no update of the existing entry is performed.
... |
PowerShellCorpus/PowerShellGallery/biz.dfch.PS.Appclusive.Client/5.2.1.20161201/Get-Tenant.ps1 | Get-Tenant.ps1 | function Get-Tenant {
<#
.SYNOPSIS
Get tenant from the systems.
.DESCRIPTION
Get tenant from the systems.
You can search for tenants in the appclusive orch. There fore you can enter a name, guid or list all available tenants.
.INPUTS
The Cmdlet can either return all available tenants or filter entities on... |
PowerShellCorpus/PowerShellGallery/biz.dfch.PS.Appclusive.Client/5.2.1.20161201/Set-Customer.ps1 | Set-Customer.ps1 | function Set-Customer {
<#
.SYNOPSIS
Sets or creates a Customer entry in Appclusive.
.DESCRIPTION
Sets or creates a Customer entry in Appclusive.
By updating a Customer entry you can specify if you want to update the name, description or any combination thereof.
.OUTPUTS
default
.EXAMPLE
Set-Cus... |
PowerShellCorpus/PowerShellGallery/biz.dfch.PS.Appclusive.Client/5.2.1.20161201/Get-Job.ps1 | Get-Job.ps1 | function Get-Job {
<#
.SYNOPSIS
Retrieves one or more entities from the Job entity set.
.DESCRIPTION
Retrieves one or more entities from the Job entity set.
You can retrieve one ore more entities from the entity set by specifying
Id, Name or other properties.
.INPUTS
The Cmdlet can either return all... |
PowerShellCorpus/PowerShellGallery/biz.dfch.PS.Appclusive.Client/5.2.1.20161201/Set-Interface.ps1 | Set-Interface.ps1 | function Set-Interface {
<#
.SYNOPSIS
Sets or creates an Interface entry in Appclusive.
.DESCRIPTION
Sets or creates an Interface entry in Appclusive.
Can create or update an Interface, needs Name and ParentId.
.OUTPUTS
default | json | json-pretty | xml | xml-pretty | PSCredential | Clear
.EXAMPLE
.LINK
Onl... |
PowerShellCorpus/PowerShellGallery/biz.dfch.PS.Appclusive.Client/5.2.1.20161201/Set-Role.ps1 | Set-Role.ps1 | function Set-Role {
<#
.SYNOPSIS
Sets or creates a Role entry in Appclusive.
.DESCRIPTION
Sets or creates a Role entry in Appclusive.
By updating an Role entry you can specify, if you want to update the
Description, MailAddress, Name, RoleType, PermissionsToAdd, PermissionsToRemove or any combination ther... |
PowerShellCorpus/PowerShellGallery/biz.dfch.PS.Appclusive.Client/5.2.1.20161201/New-User.ps1 | New-User.ps1 | function New-User {
<#
.SYNOPSIS
Creates a User entry in Appclusive.
.DESCRIPTION
Creates a User entry in Appclusive.
You must specify parameters 'Name', 'Mail', 'ExternalId' and 'ExternalType'. If the entry already exists no update of the existing entry is performed.
.OUTPUTS
[biz.dfch.CS.Appclusive.... |
PowerShellCorpus/PowerShellGallery/biz.dfch.PS.Appclusive.Client/5.2.1.20161201/New-Interface.ps1 | New-Interface.ps1 | function New-Interface {
<#
.SYNOPSIS
Creates an Interface entry in Appclusive.
.DESCRIPTION
Creates an Interface entry in Appclusive.
You must specify a Name and a ParentId (default is 1, which is the root Node).
.OUTPUTS
default | json | json-pretty | xml | xml-pretty
.EXAMPLE
.LINK
Online Version: http://... |
PowerShellCorpus/PowerShellGallery/biz.dfch.PS.Appclusive.Client/5.2.1.20161201/New-ManagementUri.ps1 | New-ManagementUri.ps1 | function New-ManagementUri {
<#
.SYNOPSIS
Creates a ManagementUri entry in Appclusive.
.DESCRIPTION
Creates a ManagementUri entry in Appclusive.
You must specify the parameters 'Name' and 'Type' and 'Value'. If the entry already exists no update of the existing entry is performed.
.OUTPUTS
default | j... |
PowerShellCorpus/PowerShellGallery/biz.dfch.PS.Appclusive.Client/5.2.1.20161201/Pop-ChangeTracker.ps1 | Pop-ChangeTracker.ps1 | function Pop-ChangeTracker {
<#
.SYNOPSIS
Pops the contents of the DataServiceContext ChangeTracker from the DataContext stack.
.DESCRIPTION
Pops the contents of the DataServiceContext ChangeTracker from the DataContext stack.
.INPUTS
The Cmdlet can either pop a context or clear the contents of the DataConte... |
PowerShellCorpus/PowerShellGallery/biz.dfch.PS.Appclusive.Client/5.2.1.20161201/Import-DataType.ps1 | Import-DataType.ps1 | function Import-DataType {
<#
.SYNOPSIS
Creates or Recreates DataTypes for an EntityKind (based on .NET class)
.DESCRIPTION
Creates or Recreates DataTypes for an EntityKind (based on .NET class)
Inspects a given .NET class and all its properties and creates a DataType for each property. All supported Validati... |
PowerShellCorpus/PowerShellGallery/biz.dfch.PS.Appclusive.Client/5.2.1.20161201/Get-CatalogueItem.ps1 | Get-CatalogueItem.ps1 | function Get-CatalogueItem {
<#
.SYNOPSIS
Retrieves one or more entities from the catalogueItem entity set.
.DESCRIPTION
Retrieves one or more entities from the catalogueItem entity set.
You can retrieve one ore more entities from the entity set by specifying
Id, Name or other properties.
.INPUTS
The C... |
PowerShellCorpus/PowerShellGallery/biz.dfch.PS.Appclusive.Client/5.2.1.20161201/Invoke-NodeAction.ps1 | Invoke-NodeAction.ps1 | function Invoke-NodeAction {
<#
.SYNOPSIS
Invokes a Node entity action in Appclusive.
.DESCRIPTION
Invokes a Node entity action in Appclusive.
You must specify parameter 'Id' or pipe on an existing Node entity and the input action name.
.EXAMPLE
Invoke-NodeAction -Node 12 -InputName Installed -InputPa... |
PowerShellCorpus/PowerShellGallery/biz.dfch.PS.Appclusive.Client/5.2.1.20161201/Remove-Interface.ps1 | Remove-Interface.ps1 | function Remove-Interface {
<#
.SYNOPSIS
Removes a Interface.
.DESCRIPTION
Removes a Interface.
The Cmdlet lets you remove an existing entry from the Interface.
.EXAMPLE
Remove-Interface -Id interfaceId -Confirm
Removes the Interface with explicit confirmation.
#>
[CmdletBinding(
ConfirmImpact =... |
PowerShellCorpus/PowerShellGallery/biz.dfch.PS.Appclusive.Client/5.2.1.20161201/Set-EntityBag.ps1 | Set-EntityBag.ps1 | function Set-EntityBag {
<#
.SYNOPSIS
Sets or creates a EntityBag entry in Appclusive.
.DESCRIPTION
Sets or creates a EntityBag entry in Appclusive.
By updating an EntityBag entry you can specify if you want to update the description, protectionLevel or value or any combination thereof. For updating the val... |
PowerShellCorpus/PowerShellGallery/biz.dfch.PS.Appclusive.Client/5.2.1.20161201/Get-ModuleVariable.ps1 | Get-ModuleVariable.ps1 | function Get-ModuleVariable {
[CmdletBinding(
SupportsShouldProcess = $false
,
ConfirmImpact = 'Low'
,
HelpURI = 'http://dfch.biz/PS/Appclusive/Client/Get-ModuleVariable/'
)]
[OutputType([hashtable])]
PARAM
(
# Specifies a references to the Appclusive endpoints
[Parameter(Mandatory = $false)]
... |
PowerShellCorpus/PowerShellGallery/biz.dfch.PS.Appclusive.Client/5.2.1.20161201/New-Node.ps1 | New-Node.ps1 | function New-Node {
<#
.SYNOPSIS
Creates a Node entry in Appclusive.
.DESCRIPTION
Creates a Node entry in Appclusive.
You must specify the parameters 'Name' and 'ParentId'. If the entry already exists no update of the existing entry is performed.
.OUTPUTS
[biz.dfch.CS.Appclusive.Api.Core.Node]
.E... |
PowerShellCorpus/PowerShellGallery/biz.dfch.PS.Appclusive.Client/5.2.1.20161201/Get-ManagementCredential.ps1 | Get-ManagementCredential.ps1 | function Get-ManagementCredential {
<#
.SYNOPSIS
Retrieves one or more entities from the ManagementCredential entity set.
.DESCRIPTION
Retrieves one or more entities from the ManagementCredential entity set.
You can retrieve one ore more entities from the entity set by specifying
Id, Name or other propertie... |
PowerShellCorpus/PowerShellGallery/biz.dfch.PS.Appclusive.Client/5.2.1.20161201/New-ManagementCredential.ps1 | New-ManagementCredential.ps1 | function New-ManagementCredential {
<#
.SYNOPSIS
Creates a ManagementCredential entry in Appclusive.
.DESCRIPTION
Creates a ManagementCredential entry in Appclusive.
You must specify all three parameters 'Name', 'Username' and 'Password'. If the entry already exists no update of the existing entry is perfor... |
PowerShellCorpus/PowerShellGallery/biz.dfch.PS.Appclusive.Client/5.2.1.20161201/Set-SessionTenant.ps1 | Set-SessionTenant.ps1 | function Set-SessionTenant {
<#
.SYNOPSIS
Sets the tenant id for the current session, so all CRUD operations are performed under this tenant.
.DESCRIPTION
Sets the tenant id for the current session, so all CRUD operations are performed under this tenant.
By default all operations are performed under the hom... |
PowerShellCorpus/PowerShellGallery/biz.dfch.PS.Appclusive.Client/5.2.1.20161201/Get-EntityBag.ps1 | Get-EntityBag.ps1 | function Get-EntityBag {
<#
.SYNOPSIS
Retrieves one or more entities from the EntityBag entity set.
.DESCRIPTION
Retrieves one or more entities from the EntityBag entity set.
You can retrieve one ore more entities from the entity set by specifying
Id, Name or other properties.
.INPUTS
The Cmdlet can... |
PowerShellCorpus/PowerShellGallery/biz.dfch.PS.Appclusive.Client/5.2.1.20161201/Remove-ManagementCredential.ps1 | Remove-ManagementCredential.ps1 | function Remove-ManagementCredential {
<#
.SYNOPSIS
Removes a ManagementCredential entry from the ManagementCredential entity set.
.DESCRIPTION
Removes a ManagementCredential entry from the ManagementCredential entity set.
The Cmdlet lets you remove an existing ManagementCredential entry from the Management... |
PowerShellCorpus/PowerShellGallery/biz.dfch.PS.Appclusive.Client/5.2.1.20161201/Remove-Entity.ps1 | Remove-Entity.ps1 | function Remove-Entity {
<#
.SYNOPSIS
Removes one or more entities from an Appclusive entity set.
.DESCRIPTION
Removes one or more entities from an Appclusive entity set.
.INPUTS
The Cmdlet can either remove entities by id or by object reference.
See PARAMETERS section on possible inputs.
.OUTPUTS
defau... |
PowerShellCorpus/PowerShellGallery/biz.dfch.PS.Appclusive.Client/5.2.1.20161201/Get-Version.ps1 | Get-Version.ps1 | function Get-Version {
<#
.SYNOPSIS
Displays the version of all Appclusive related components.
.DESCRIPTION
Displays the version of all Appclusive related components.
.INPUTS
The Cmdlet can either return all available versions or version per single
item.
See PARAMETERS section on possible inputs.
.OUTP... |
PowerShellCorpus/PowerShellGallery/biz.dfch.PS.Appclusive.Client/5.2.1.20161201/Set-Tenant.ps1 | Set-Tenant.ps1 | function Set-Tenant {
<#
.SYNOPSIS
Connects a Tenant entry with a Customer entry in Appclusive.
.DESCRIPTION
Connects a Tenant entry with a Customer entry in Appclusive.
By connecting a Tenant entry with a Customer you can specify the Customer
by Name, Id or by the ContractMapping ExternalId.
.OUTPUT... |
PowerShellCorpus/PowerShellGallery/biz.dfch.PS.Appclusive.Client/5.2.1.20161201/Remove-KeyNameValue.ps1 | Remove-KeyNameValue.ps1 | function Remove-KeyNameValue {
<#
.SYNOPSIS
Removes a KNV entry from the KNV store.
.DESCRIPTION
Removes a KNV entry from the KNV store.
The Cmdlet lets you remove an existing entry from the KNV store.
.EXAMPLE
Remove-KeyNameValue myKey myName myValue -Confirm
Removes the KNV myKey/myName/myValue with ... |
PowerShellCorpus/PowerShellGallery/biz.dfch.PS.Appclusive.Client/5.2.1.20161201/Test-Status.ps1 | Test-Status.ps1 | function Test-Status {
<#
.SYNOPSIS
Test the connection to an Appclusive server.
.DESCRIPTION
Test the connection to an Appclusive server.
This Cmdlet lets you 'ping' an Appclusive server and display its response.
.INPUTS
See PARAMETERS section on possible inputs.
.OUTPUTS
default | json | json-pretty... |
PowerShellCorpus/PowerShellGallery/biz.dfch.PS.Appclusive.Client/5.2.1.20161201/Push-ChangeTracker.ps1 | Push-ChangeTracker.ps1 | function Push-ChangeTracker {
<#
.SYNOPSIS
Pushes the contents of the DataServiceContext ChangeTracker to the DataContext stack.
.DESCRIPTION
Pushes the contents of the DataServiceContext ChangeTracker to the DataContext stack.
.INPUTS
The Cmdlet can either push a context or display the contents of the curre... |
PowerShellCorpus/PowerShellGallery/biz.dfch.PS.Appclusive.Client/5.2.1.20161201/New-Folder.ps1 | New-Folder.ps1 | function New-Folder {
<#
.SYNOPSIS
Creates a folder entry in Appclusive.
.DESCRIPTION
Creates a folder entry in Appclusive.
You must specify parameter 'Name'. If the entry already exists no update of the existing entry is performed.
.OUTPUTS
[biz.dfch.CS.Appclusive.Api.Core.Folder]
.EXAMPLE
New-... |
PowerShellCorpus/PowerShellGallery/biz.dfch.PS.Appclusive.Client/5.2.1.20161201/Get-Interface.ps1 | Get-Interface.ps1 | function Get-Interface {
<#
.SYNOPSIS
Retrieves Interfaces from the Appclusive server.
.DESCRIPTION
Retrieves Interfaces from the Appclusive server.
Interfaces are used to define Connectors between EntityKinds. Besides specifying a selection you can furthermore define the order, the selected columns a... |
PowerShellCorpus/PowerShellGallery/biz.dfch.PS.Appclusive.Client/5.2.1.20161201/Set-Folder.ps1 | Set-Folder.ps1 | function Set-Folder {
<#
.SYNOPSIS
Sets or creates a Folder entry in Appclusive.
.DESCRIPTION
Sets or creates a Folder entry in Appclusive.
By updating a Folder entry you can specify if you want to update the Name, Description or any combination thereof.
.OUTPUTS
default | json | json-pretty... |
PowerShellCorpus/PowerShellGallery/biz.dfch.PS.Appclusive.Client/5.2.1.20161201/Enter-Server.ps1 | Enter-Server.ps1 | function Enter-Server {
<#
.SYNOPSIS
Performs a login to an Appclusive server.
.DESCRIPTION
Performs a login to an Appclusive server.
This is the first Cmdlet to be executed and required for all other Cmdlets of this module. It creates service references to the routers of the application.
.OUTPUTS
Th... |
PowerShellCorpus/PowerShellGallery/biz.dfch.PS.Appclusive.Client/5.2.1.20161201/Remove-Connector.ps1 | Remove-Connector.ps1 | function Remove-Connector {
<#
.SYNOPSIS
Removes a Connector.
.DESCRIPTION
Removes a Connector.
The Cmdlet lets you remove an existing entry from the Connector.
.EXAMPLE
Remove-Connector -Id connectorId -Confirm
Removes the Connector with explicit confirmation.
#>
[CmdletBinding(
ConfirmImpact =... |
PowerShellCorpus/PowerShellGallery/biz.dfch.PS.Appclusive.Client/5.2.1.20161201/Set-Connector.ps1 | Set-Connector.ps1 | function Set-Connector {
<#
.SYNOPSIS
Sets or creates an Connector entry in Appclusive.
.DESCRIPTION
Sets or creates an Connector entry in Appclusive.
Can create or update an Connector, needs Name, InterfaceId and EntityKindId.
.OUTPUTS
default | json | json-pretty | xml | xml-pretty | PSCredential | Clear
.EX... |
PowerShellCorpus/PowerShellGallery/biz.dfch.PS.Appclusive.Client/5.2.1.20161201/Get-Folder.ps1 | Get-Folder.ps1 | function Get-Folder {
<#
.SYNOPSIS
Retrieves one or more entities from the Folder entity set.
.DESCRIPTION
Retrieves one or more entities from the Folder entity set.
You can retrieve one ore more entities from the entity set by specifying
Id, Name or other properties.
.INPUTS
The Cmdlet can either r... |
PowerShellCorpus/PowerShellGallery/biz.dfch.PS.Appclusive.Client/5.2.1.20161201/Set-Job.ps1 | Set-Job.ps1 | function Set-Job {
<#
.SYNOPSIS
Sets or creates a Job entry in Appclusive.
.DESCRIPTION
Sets or creates a Job entry in Appclusive.
By updating a Job entry you can specify if you want to update the Status.
.OUTPUTS
default
.EXAMPLE
Set-Job
Create a new Job entry if it does not exists.
.L... |
PowerShellCorpus/PowerShellGallery/biz.dfch.PS.Appclusive.Client/5.2.1.20161201/Set-Node.ps1 | Set-Node.ps1 | function Set-Node {
<#
.SYNOPSIS
Sets or creates a Node entry in Appclusive.
.DESCRIPTION
Sets or creates a Node entry in Appclusive.
By updating a Node entry you can specify if you want to update the Name.
.OUTPUTS
default
.EXAMPLE
Set-Node Srv01 -EntityKindName com.swisscom.cms.rhel7 -CreateIf... |
PowerShellCorpus/PowerShellGallery/HttpListener/1.0.2/HTTPListener_Tests.ps1 | HTTPListener_Tests.ps1 | # Copyright (c) 2014 Microsoft Corp.
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish... |
PowerShellCorpus/PowerShellGallery/HttpListener/1.0.2/Content/Deployment/Module References/HttpListener/HTTPListener_Tests.ps1 | HTTPListener_Tests.ps1 | # Copyright (c) 2014 Microsoft Corp.
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish... |
PowerShellCorpus/PowerShellGallery/fxdemo/0.0.3/Public/Get-ADSIComputerSite.ps1 | Get-ADSIComputerSite.ps1 | function Get-ADSIComputerSite
{
<#
.SYNOPSIS
Function to retrieve the AD Site of a Computer
.DESCRIPTION
Function to retrieve the AD Site of a Computer
This function does not rely on the .NET Framework to retrieve the information
http://www.pinvoke.net/default.aspx/netapi32.dsgetsitename
There is .NET method t... |
PowerShellCorpus/PowerShellGallery/fxdemo/0.0.3/Public/Get-ADSIComputer.ps1 | Get-ADSIComputer.ps1 | function Get-ADSIComputer
{
<#
.SYNOPSIS
Function to retrieve a Computer in Active Directory
.DESCRIPTION
Function to retrieve a Computer in Active Directory
.PARAMETER Identity
Specifies the Identity of the computer
You can provide one of the following:
DistinguishedName
Guid
Name
SamAccountName
Sid... |
PowerShellCorpus/PowerShellGallery/fxdemo/0.0.3/Public/New-ADSIPrincipalContext.ps1 | New-ADSIPrincipalContext.ps1 | function New-ADSIPrincipalContext
{
<#
.SYNOPSIS
Function to create an Active Directory PrincipalContext object
.DESCRIPTION
Function to create an Active Directory PrincipalContext object
.PARAMETER Credential
Specifies the alternative credentials to use.
It will use the current credential if not specified.
.PAR... |
PowerShellCorpus/PowerShellGallery/OVF.ShareFile/1.0.0/Diagnostics/Simple/SZC_Website.Tests.ps1 | SZC_Website.Tests.ps1 | [CmdletBinding()]
param(
[ValidateSet('http','https')]
$Protocol = 'http'
)
Function ConvertFrom-HtmlTable
{
param(
[Parameter(Mandatory = $true)]
$WebRequest,
[Parameter(Mandatory = $true)]
[int] $TableNumber
)
if($WebRequest -is [Microsoft.PowerShell.Commands.Htm... |
PowerShellCorpus/PowerShellGallery/xCertificate/2.7.0.0/Examples/Resources/xCertificateImport/1-MinimalUsage.ps1 | 1-MinimalUsage.ps1 | <#
.EXAMPLE
Import public key certificate into Trusted Root store.
#>
Configuration Example
{
param
(
[Parameter()]
[string[]]
$NodeName = 'localhost'
)
Import-DscResource -ModuleName xCertificate
Node $AllNodes.NodeName
{
xCertificateIm... |
PowerShellCorpus/PowerShellGallery/xCertificate/2.7.0.0/Examples/Resources/xPfxImport/2-MinimalUsage.ps1 | 2-MinimalUsage.ps1 | <#
.EXAMPLE
Import a PFX into the My store.
#>
Configuration Example
{
param
(
[Parameter()]
[string[]]
$NodeName = 'localhost',
[Parameter(Mandatory = $true)]
[ValidateNotNullorEmpty()]
[PSCredential]
$Credential
)
Impo... |
PowerShellCorpus/PowerShellGallery/xCertificate/2.7.0.0/Examples/Resources/xPfxImport/1-IIS_WebSite.ps1 | 1-IIS_WebSite.ps1 | <#
.EXAMPLE
Import a PFX into the WebHosting store and bind it to an IIS Web Site.
#>
Configuration Example
{
param
(
[Parameter()]
[string[]]
$NodeName = 'localhost',
[Parameter(Mandatory = $true)]
[ValidateNotNullorEmpty()]
[PSCredential]
... |
PowerShellCorpus/PowerShellGallery/xCertificate/2.7.0.0/Examples/Resources/xCertificateExport/2-PfxByFriendlyName.ps1 | 2-PfxByFriendlyName.ps1 | <#
.EXAMPLE
Exports a certificate as a PFX using the friendly name to identify it.
#>
Configuration Example
{
param
(
[Parameter()]
[string[]]
$NodeName = 'localhost',
[Parameter(Mandatory = $true)]
[ValidateNotNullorEmpty()]
[PSCredential]
... |
PowerShellCorpus/PowerShellGallery/xCertificate/2.7.0.0/Examples/Resources/xCertificateExport/1-CertByFriendlyName.ps1 | 1-CertByFriendlyName.ps1 | <#
.EXAMPLE
Exports a certificate as a CERT using the friendly name to identify it.
#>
Configuration Example
{
param
(
[Parameter()]
[string[]]
$NodeName = 'localhost'
)
Import-DscResource -ModuleName xCertificate
Node $AllNodes.NodeName
{
... |
PowerShellCorpus/PowerShellGallery/xCertificate/2.7.0.0/Examples/Resources/xCertReq/2-RequestSSLCert.ps1 | 2-RequestSSLCert.ps1 | <#
.EXAMPLE
Request and Accept a certificate from an Active Directory Root Certificate Authority.
This example is allowing storage of credentials in plain text by setting PSDscAllowPlainTextPassword to $true.
Storing passwords in plain text is not a good practice and is presented only for simplici... |
PowerShellCorpus/PowerShellGallery/xCertificate/2.7.0.0/Examples/Resources/xCertReq/1-RequestAltSSLCert.ps1 | 1-RequestAltSSLCert.ps1 | <#
.EXAMPLE
Request and Accept a certificate from an Active Directory Root Certificate Authority. This certificate
is issued using an subject alternate name with multiple DNS addresses.
This example is allowing storage of credentials in plain text by setting PSDscAllowPlainTextPassword to $true.
... |
PowerShellCorpus/PowerShellGallery/xCertificate/2.7.0.0/Tests/Unit/MSFT_xCertificateExport.Tests.ps1 | MSFT_xCertificateExport.Tests.ps1 | $script:DSCModuleName = 'xCertificate'
$script:DSCResourceName = 'MSFT_xCertificateExport'
#region HEADER
# Integration Test Template Version: 1.1.0
[String] $script:moduleRoot = Split-Path -Parent (Split-Path -Parent $PSScriptRoot)
if ( (-not (Test-Path -Path (Join-Path -Path $script:moduleRoot -ChildPa... |
PowerShellCorpus/PowerShellGallery/xCertificate/2.7.0.0/Tests/Unit/MSFT_xCertificateImport.Tests.ps1 | MSFT_xCertificateImport.Tests.ps1 | $script:DSCModuleName = 'xCertificate'
$script:DSCResourceName = 'MSFT_xCertificateImport'
#region HEADER
# Integration Test Template Version: 1.1.0
[String] $script:moduleRoot = Split-Path -Parent (Split-Path -Parent $PSScriptRoot)
if ( (-not (Test-Path -Path (Join-Path -Path $script:moduleRoot -ChildPa... |
PowerShellCorpus/PowerShellGallery/xCertificate/2.7.0.0/Tests/Unit/CertificateDsc.Common.Tests.ps1 | CertificateDsc.Common.Tests.ps1 | $script:ModuleName = 'CertificateDsc.Common'
#region HEADER
# Unit Test Template Version: 1.1.0
[string] $script:moduleRoot = Split-Path -Parent (Split-Path -Parent (Split-Path -Parent $Script:MyInvocation.MyCommand.Path))
if ( (-not (Test-Path -Path (Join-Path -Path $script:moduleRoot -ChildPath 'DSCResource.Tes... |
PowerShellCorpus/PowerShellGallery/xCertificate/2.7.0.0/Tests/Unit/MSFT_xCertReq.Tests.ps1 | MSFT_xCertReq.Tests.ps1 | [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute('PSAvoidUsingConvertToSecureStringWithPlainText', '')]
param ()
$script:DSCModuleName = 'xCertificate'
$script:DSCResourceName = 'MSFT_xCertReq'
#region HEADER
# Integration Test Template Version: 1.1.0
[String] $script:moduleRoot = Split-Path ... |
PowerShellCorpus/PowerShellGallery/xCertificate/2.7.0.0/Tests/Unit/MSFT_xPfxImport.Tests.ps1 | MSFT_xPfxImport.Tests.ps1 | [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute('PSAvoidUsingConvertToSecureStringWithPlainText', '')]
param ()
$script:DSCModuleName = 'xCertificate'
$script:DSCResourceName = 'MSFT_xPfxImport'
#region HEADER
# Integration Test Template Version: 1.1.0
[String] $script:moduleRoot = Split-Pat... |
PowerShellCorpus/PowerShellGallery/xCertificate/2.7.0.0/Tests/Integration/MSFT_xPfxImport.Integration.Tests.ps1 | MSFT_xPfxImport.Integration.Tests.ps1 | [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute('PSAvoidUsingConvertToSecureStringWithPlainText', '')]
param ()
$script:DSCModuleName = 'xCertificate'
$script:DSCResourceName = 'MSFT_xPfxImport'
#region HEADER
# Integration Test Template Version: 1.1.0
[String] $script:moduleRoot = Split-Path -Par... |
PowerShellCorpus/PowerShellGallery/xCertificate/2.7.0.0/Tests/Integration/MSFT_xCertificateImport.Integration.Tests.ps1 | MSFT_xCertificateImport.Integration.Tests.ps1 | $script:DSCModuleName = 'xCertificate'
$script:DSCResourceName = 'MSFT_xCertificateImport'
#region HEADER
# Integration Test Template Version: 1.1.0
[String] $script:moduleRoot = Split-Path -Parent (Split-Path -Parent $PSScriptRoot)
if ( (-not (Test-Path -Path (Join-Path -Path $script:moduleRoot -ChildPath 'DS... |
PowerShellCorpus/PowerShellGallery/xCertificate/2.7.0.0/Tests/Integration/MSFT_xCertReq.config.ps1 | MSFT_xCertReq.config.ps1 | # This will fail if the machine does not have a CA Configured.
$CertUtilResult = & "$env:SystemRoot\system32\certutil.exe" @('-dump')
$CAServerFQDN = ([regex]::matches($CertUtilResult,'Server:[ \t]+`([A-Za-z0-9._-]+)''','IgnoreCase')).Groups[1].Value
$CARootName = ([regex]::matches($CertUtilR... |
PowerShellCorpus/PowerShellGallery/xCertificate/2.7.0.0/Tests/Integration/MSFT_xCertificateExport.Integration.Tests.ps1 | MSFT_xCertificateExport.Integration.Tests.ps1 | $script:DSCModuleName = 'xCertificate'
$script:DSCResourceName = 'MSFT_xCertificateExport'
#region HEADER
# Integration Test Template Version: 1.1.0
[String] $script:moduleRoot = Split-Path -Parent (Split-Path -Parent $PSScriptRoot)
if ( (-not (Test-Path -Path (Join-Path -Path $script:moduleRoot -ChildPath 'DS... |
PowerShellCorpus/PowerShellGallery/xCertificate/2.7.0.0/Tests/Integration/MSFT_xPfxImport_add.config.ps1 | MSFT_xPfxImport_add.config.ps1 | Configuration MSFT_xPfxImport_Add_Config {
param
(
$Thumbprint,
$Path,
$Credential
)
Import-DscResource -ModuleName xCertificate
node localhost {
xPfxImport Integration_Test {
Thumbprint = $Thumbprint
Path = $Path
... |
PowerShellCorpus/PowerShellGallery/xCertificate/2.7.0.0/Tests/Integration/MSFT_xCertificateImport_add.config.ps1 | MSFT_xCertificateImport_add.config.ps1 | Configuration MSFT_xCertificateImport_Add_Config {
param
(
$Thumbprint,
$Path
)
Import-DscResource -ModuleName xCertificate
node localhost {
xCertificateImport Integration_Test {
Thumbprint = $Thumbprint
Path = $Path
Locati... |
PowerShellCorpus/PowerShellGallery/xCertificate/2.7.0.0/Tests/Integration/ModuleConflict.Tests.ps1 | ModuleConflict.Tests.ps1 | $script:DSCModuleName = 'xCertificate'
<#
These integration tests ensure that exported cmdlets names do not conflict
with any other names that are exposed by other common resource kit modules.
#>
$script:ModulesToTest = @( 'xNetworking','xComputerManagement','xDFS' )
#region HEADER
# Integration T... |
PowerShellCorpus/PowerShellGallery/xCertificate/2.7.0.0/Tests/Integration/MSFT_xCertificateExport.config.ps1 | MSFT_xCertificateExport.config.ps1 | Configuration MSFT_xCertificateExport_Config {
Import-DscResource -ModuleName xCertificate
node localhost {
if ($Node.Type -in @('Cert','P7B','SST'))
{
xCertificateExport Integration_Test {
Path = $Node.Path
FriendlyName = $Node.... |
PowerShellCorpus/PowerShellGallery/xCertificate/2.7.0.0/Tests/Integration/MSFT_xCertReq.Integration.Tests.ps1 | MSFT_xCertReq.Integration.Tests.ps1 | <#
IMPORTANT INFORMATION:
Running these tests requires access to a AD CS Certificate Authority.
These integration tests are configured to use credentials to connect to the CA.
Therefore, automation of these tests shouldn't be performed using a production CA.
#>
$script:DSCModuleName = 'xCertificate'
$scr... |
PowerShellCorpus/PowerShellGallery/xCertificate/2.7.0.0/Tests/Integration/MSFT_xPfxImport_remove.config.ps1 | MSFT_xPfxImport_remove.config.ps1 | Configuration MSFT_xPfxImport_Remove_Config {
param
(
$Thumbprint,
$Path
)
Import-DscResource -ModuleName xCertificate
node localhost {
xPfxImport Integration_Test {
Thumbprint = $Thumbprint
Path = $Path
Location = 'Local... |
PowerShellCorpus/PowerShellGallery/xCertificate/2.7.0.0/Tests/Integration/MSFT_xCertificateImport_remove.config.ps1 | MSFT_xCertificateImport_remove.config.ps1 | Configuration MSFT_xCertificateImport_Remove_Config {
param
(
$Thumbprint,
$Path
)
Import-DscResource -ModuleName xCertificate
node localhost {
xCertificateImport Integration_Test {
Thumbprint = $Thumbprint
Path = $Path
Loc... |
PowerShellCorpus/PowerShellGallery/xUtility/1.0.15/Main/Test-AdminRights.ps1 | Test-AdminRights.ps1 | <#
.SYNOPSIS
Test current process for administrative rights
.DESCRIPTION
Test current process for administrative rights
.EXAMPLE
PS> Test-AdminRights
Returns $true when current session has administrative rights and false otherwise
#>
function Test-AdminRights {
[CmdletBinding()]
param()
... |
PowerShellCorpus/PowerShellGallery/xUtility/1.0.15/Main/Set-Title.ps1 | Set-Title.ps1 | <#
.SYNOPSIS
Sets the PowerShell window Title
.DESCRIPTION
Sets the PowerShell window Title to the given message. Use -Persist to make this title
a default for all consoles that load xUtility
.EXAMPLE
PS> Set-Title -Message "Hello World"
Sets the console title to "Hello World"
.EXAMPLE
PS> ... |
PowerShellCorpus/PowerShellGallery/xUtility/1.0.15/Main/Get-ExpiringCacheItem.ps1 | Get-ExpiringCacheItem.ps1 | <#
.SYNOPSIS
Retrives a value from the local expiring cache
.DESCRIPTION
Retrieves either the cached value, or call the invocation
definition to get a new value, which after being cached is
returned to the caller
.EXAMPLE
PS> Get-ExpiringCacheItem -Key 'SomeKey'
Retrieves the cached item for the given... |
PowerShellCorpus/PowerShellGallery/xUtility/1.0.15/Main/Get-WindowSize.ps1 | Get-WindowSize.ps1 | <#
.SYNOPSIS
Gets the size and buffer size for the current console
.DESCRIPTION
Returns an object that reflects the size of the current console window
and the current buffer size
#>
function Get-WindowSize {
[CmdletBinding()]
param()
$currentBuffer = $Host.UI.RawUI.BufferSize
$currentWind... |
PowerShellCorpus/PowerShellGallery/xUtility/1.0.15/Main/Set-SymbolicLinkBehavior.ps1 | Set-SymbolicLinkBehavior.ps1 | <#
.SYNOPSIS
Sets symbolic link behavior
.DESCRIPTION
Enables or disable specific symbolic link behavior
.EXAMPLE
PS> Set-SymbolicLinkBehavior -Enable -L2L
Enables symbolic link behavior for the provided behaviors
.EXAMPLE
PS> Set-SymbolicLinkBehavior -Enable -L2L -R2R -L2R -R2L
Enables symbolic link ... |
PowerShellCorpus/PowerShellGallery/xUtility/1.0.15/Main/Start-SublimeText.ps1 | Start-SublimeText.ps1 | <#
.SYNOPSIS
Opens a given target (file or directory) in Sublime Text
.DESCRIPTION
Opens a given target (file or directory) in Sublime Text.
If Sublime Text installation folder is not found in the system it opens Sublme Text Home Page
.EXAMPLE
PS> sublime 'C:\user\myUserName\Documents'
Opens the specified f... |
PowerShellCorpus/PowerShellGallery/xUtility/1.0.15/Main/Invoke-PSCommand.ps1 | Invoke-PSCommand.ps1 | <#
.SYNOPSIS
Invokes a PowerShell command
.DESCRIPTION
Invokes a PowerShell command with the option to
elevate to an admin process to execute.
.EXAMPLE
PS> Invoke-PSCommand -Command 'dir C:\'
Attempts to execute the given command in the current session
.EXAMPLE
PS> Invoke-PSCommand -Command 'di... |
PowerShellCorpus/PowerShellGallery/xUtility/1.0.15/Main/Remove-ExpiringCacheItem.ps1 | Remove-ExpiringCacheItem.ps1 | <#
.SYNOPSIS
Removes an item from the expiring cache
.DESCRIPTION
Removes an item from the expiring cache
.EXAMPLE
PS> Remove-ExpiringCacheItem -Key "CachedItem"
Removes the item with the given key from the cache
#>
function Remove-ExpiringCacheItem {
[CmdletBinding()]
param(
[Parameter(... |
PowerShellCorpus/PowerShellGallery/xUtility/1.0.15/Main/Set-Prompt.ps1 | Set-Prompt.ps1 | <#
.SYNOPSIS
Creates a custom PowerShell prompt
.DESCRIPTION
Creates a custom PowerShell prompt with the following features:
- Separates the Current Path $PWD into its own line
- Allows for quick select of the path
- Path segments are apart by hightlighted separators
- Red/Green prompt s... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.