full_path stringlengths 31 232 | filename stringlengths 4 167 | content stringlengths 0 48.3M |
|---|---|---|
PowerShellCorpus/PowerShellGallery/xAzurePack/1.4.0.0/Examples/AzurePack_splitroles_example.ps1 | AzurePack_splitroles_example.ps1 | $InstallerPassword = ConvertTo-SecureString -String 'P@ssw0rd123!' -AsPlainText -Force
$ServerAdminPassword = ConvertTo-SecureString -String 'P@ssw0rd123!' -AsPlainText -Force
$WAPPassphrase = ConvertTo-SecureString -String 'P@ssw0rd123!' -AsPlainText -Force
Configuration Example_WindowsAzurePack
{
I... |
PowerShellCorpus/PowerShellGallery/ArkanePsh/0.1/InitVariables.ps1 | InitVariables.ps1 | #
# InitVariables.ps1
#
# Internal helper functions
function Set-ArkaneVariable ($name, $value)
{
Set-Variable $name $value -Scope Global -Option AllScope,ReadOnly -Description "ArkanePsh module variable." -Force
}
# Set up relevant variables
Set-ArkaneVariable myDocuments ([System.Environmen... |
PowerShellCorpus/PowerShellGallery/EWS/1.1/Save-EWSAttachment.ps1 | Save-EWSAttachment.ps1 | function Save-EWSAttachment {
[CmdletBinding(
SupportsShouldProcess,
ConfirmImpact = 'Low'
)]
param (
[string]$Path = '.',
[Parameter(
ValueFromPipelineByPropertyName,
ValueFromPipeline
)]
[Microsoft.Exchang... |
PowerShellCorpus/PowerShellGallery/EWS/1.1/Move-EWSFolder.ps1 | Move-EWSFolder.ps1 | function Move-EWSFolder {
[CmdletBinding(
ConfirmImpact = 'Medium',
SupportsShouldProcess
)]
param (
[Parameter(
Mandatory
)]
[ValidateScript({
$root, $rest = $_ -split '\\|/|:|\|'
try {
... |
PowerShellCorpus/PowerShellGallery/EWS/1.1/New-EWSMessage.ps1 | New-EWSMessage.ps1 | function New-EWSMessage {
[OutputType('Microsoft.Exchange.WebServices.Data.EmailMessage')]
[CmdletBinding(
DefaultParameterSetName = 'inline'
)]
param (
[Parameter(
Mandatory
)]
[string[]]$To,
[string[]]$Cc,
[string[]]$Bc... |
PowerShellCorpus/PowerShellGallery/EWS/1.1/New-EWSContact.ps1 | New-EWSContact.ps1 | function New-EWSContact {
[OutputType('Microsoft.Exchange.WebServices.Data.Contact')]
param (
[string]$GivenName,
[string]$Surname,
[string]$MiddleName,
[string]$Company,
[ValidateScript({
try {
foreach ($key in... |
PowerShellCorpus/PowerShellGallery/EWS/1.1/New-EWSFolder.ps1 | New-EWSFolder.ps1 | function New-EWSFolder {
[OutputType('Microsoft.Exchange.WebServices.Data.Folder')]
[CmdletBinding(
DefaultParameterSetName = 'byName'
)]
param (
[Parameter(
Mandatory,
ValueFromPipelineByPropertyName
)]
[string]$DisplayName,
... |
PowerShellCorpus/PowerShellGallery/EWS/1.1/Get-EWSAttachment.ps1 | Get-EWSAttachment.ps1 | function Get-EWSAttachment {
[OutputType('Microsoft.Exchange.WebServices.Data.FileAttachment')]
[CmdletBinding()]
param (
[Parameter(
ValueFromPipeline
)]
[Microsoft.Exchange.WebServices.Data.Item[]]$Item,
[Parameter(
ValueFr... |
PowerShellCorpus/PowerShellGallery/EWS/1.1/Clear-EWSFolder.ps1 | Clear-EWSFolder.ps1 | function Clear-EWSFolder {
[CmdletBinding(
SupportsShouldProcess,
ConfirmImpact = 'High'
)]
param (
[Microsoft.Exchange.WebServices.Data.DeleteMode]$DeleteMode = 'MoveToDeletedItems',
[Parameter(
ValueFromPipelineByPropertyName
)]
[Microsoft.Exchange.WebServices.Data.ExchangeService]$Servi... |
PowerShellCorpus/PowerShellGallery/EWS/1.1/New-EWSAppointment.ps1 | New-EWSAppointment.ps1 | function New-EWSAppointment {
[OutputType('Microsoft.Exchange.WebServices.Data.Appointment')]
[CmdletBinding(
DefaultParameterSetName = 'inline'
)]
param (
[string[]]$Required,
[string[]]$Optional,
[Parameter(
Mandatory
)]
... |
PowerShellCorpus/PowerShellGallery/EWS/1.1/Get-EWSFolder.ps1 | Get-EWSFolder.ps1 | function Get-EWSFolder {
[OutputType('Microsoft.Exchange.WebServices.Data.Folder')]
[CmdletBinding()]
param (
[Parameter(
Mandatory
)]
[ValidateScript({
$root, $rest = $_ -split '\\|/|:|\|'
try {
... |
PowerShellCorpus/PowerShellGallery/EWS/1.1/Connect-EWSService.ps1 | Connect-EWSService.ps1 | function Connect-EWSService {
[OutputType('Microsoft.Exchange.WebServices.Data.ExchangeService')]
[CmdletBinding()]
param (
[Parameter(
Mandatory
)]
[String]$Mailbox,
[String]$ServiceUrl,
[Microsoft.Exchange.WebServices.Data.ExchangeVers... |
PowerShellCorpus/PowerShellGallery/EWS/1.1/Move-EWSItem.ps1 | Move-EWSItem.ps1 | function Move-EWSItem {
[CmdletBinding(
ConfirmImpact = 'Medium',
SupportsShouldProcess
)]
param (
[Parameter(
Mandatory
)]
[ValidateScript({
$root, $rest = $_ -split '\\|/|:|\|'
try {
... |
PowerShellCorpus/PowerShellGallery/EWS/1.1/Remove-EWSFolder.ps1 | Remove-EWSFolder.ps1 | function Remove-EWSFolder {
[CmdletBinding(
SupportsShouldProcess,
ConfirmImpact = 'High'
)]
param (
[Microsoft.Exchange.WebServices.Data.DeleteMode]$DeleteMode = 'MoveToDeletedItems',
[Parameter(
ValueFromPipelineByPropertyName
... |
PowerShellCorpus/PowerShellGallery/EWS/1.1/Remove-EWSItem.ps1 | Remove-EWSItem.ps1 | function Remove-EWSItem {
[CmdletBinding(
SupportsShouldProcess,
ConfirmImpact = 'High'
)]
param (
[Microsoft.Exchange.WebServices.Data.DeleteMode]$DeleteMode = 'MoveToDeletedItems',
[Parameter(
ValueFromPipelineByPropertyName
)]
... |
PowerShellCorpus/PowerShellGallery/EWS/1.1/Get-EWSItem.ps1 | Get-EWSItem.ps1 | function Get-EWSItem {
[OutputType('Microsoft.Exchange.WebServices.Data.Item')]
[CmdletBinding(
DefaultParameterSetName = 'byId'
)]
param (
[Parameter(
Position = 0,
Mandatory
)]
[string]$Filter,
[Parameter(
... |
PowerShellCorpus/PowerShellGallery/Unity-Powershell/0.14.2/Private/Test-CompressionUnsupported.ps1 | Test-CompressionUnsupported.ps1 | <#
.SYNOPSIS
Test if Pool is compatible with compression
.DESCRIPTION
Test if Pool is compatible with compression.
Test if OS version is -ge 4.1
Test if compression licence is available
Test if compression feature is enabled
Test if Pool is Extreme_Performance only
#>
Function Test-Com... |
PowerShellCorpus/PowerShellGallery/Unity-Powershell/0.14.2/Private/Remove-UnityLUNResource.ps1 | Remove-UnityLUNResource.ps1 | Function Remove-UnityLUNResource {
<#
.SYNOPSIS
Delete a LUN.
.DESCRIPTION
Delete a LUN ressource (LUN, VMWare VMFS LUN, VMware NFS LUN).
You need to have an active session with the array.
.NOTES
Written by Erwan Quelin under MIT licence
.LINK
https://github.com/... |
PowerShellCorpus/PowerShellGallery/Unity-Powershell/0.14.2/Private/Get-UnityLUNResource.ps1 | Get-UnityLUNResource.ps1 | Function Get-UnityLUNResource {
<#
.SYNOPSIS
Queries the EMC Unity array to retrieve informations about LUN.
.DESCRIPTION
Queries the EMC Unity array to retrieve informations about LUN.
You need to have an active session with the array.
.NOTES
Written by Erwan Quelin under M... |
PowerShellCorpus/PowerShellGallery/Unity-Powershell/0.14.2/Private/Get-URLFromObjectType.ps1 | Get-URLFromObjectType.ps1 | function Get-URLFromObjectType {
[CmdletBinding()]
Param (
[parameter(Mandatory = $true, HelpMessage = "IP/FQDN of the array")]
[UnitySession]$Session,
[Parameter(Mandatory = $true,HelpMessage = 'URI')]
[string]$URI,
[parameter(Mandatory = $true, HelpMessage = 'Type associated to the i... |
PowerShellCorpus/PowerShellGallery/Unity-Powershell/0.14.2/Private/Get-UnityAuth.ps1 | Get-UnityAuth.ps1 | Function Get-UnityAuth {
[CmdletBinding()]
Param(
[Parameter(Mandatory = $true,Position = 0,HelpMessage = 'EMC Unity FQDN or IP address',ParameterSetName='p1')]
[ValidateNotNullorEmpty()]
[String]$Server,
[Parameter(Mandatory = $true,Position = 0,HelpMessage = 'EMC Unity Rest URI',ParameterSetName='... |
PowerShellCorpus/PowerShellGallery/Unity-Powershell/0.14.2/Private/Find-FromFilter.ps1 | Find-FromFilter.ps1 | Function Find-FromFilter {
[CmdletBinding()]
Param (
[parameter(Mandatory = $true)]
$Data,
[parameter(Mandatory = $true)]
[String]$Parameter,
[parameter(Mandatory = $true)]
$Filter
)
Process {
Write-Debug -Message "[$($MyInvocation.MyCommand)] Executing function"
... |
PowerShellCorpus/PowerShellGallery/Unity-Powershell/0.14.2/Private/Get-UnityHostContainerReco.ps1 | Get-UnityHostContainerReco.ps1 | Function Get-UnityHostContainerReco {
<#
.SYNOPSIS
Get the hostContainer recommendations for importing ESXi servers
.NOTES
Written by Erwan Quelin under MIT licence - https://github.com/equelin/Unity-Powershell/blob/master/LICENSE
.LINK
https://github.com/equelin/Unity-Powershell
... |
PowerShellCorpus/PowerShellGallery/Unity-Powershell/0.14.2/Private/Send-UnityRequest.ps1 | Send-UnityRequest.ps1 | function Send-UnityRequest {
[CmdletBinding()]
Param (
[parameter(Mandatory = $true, HelpMessage = "Request URI")]
[string]$URI,
[Parameter(Mandatory = $true,HelpMessage = 'EMC Unity Session')]
$session = ($global:DefaultUnitySession | where-object {$_.IsConnected -eq $true}),
[paramet... |
PowerShellCorpus/PowerShellGallery/Unity-Powershell/0.14.2/Private/Test-UnityConnection.ps1 | Test-UnityConnection.ps1 | Function Test-UnityConnection {
[CmdletBinding()]
Param (
[Parameter(Mandatory = $false,HelpMessage = 'EMC Unity Session')]
[Array]$session = ($global:DefaultUnitySession | where-object {$_.IsConnected -eq $true})
)
Begin {
Write-Debug -Message "[$($MyInvocation.MyCommand)] Executing function"
}
... |
PowerShellCorpus/PowerShellGallery/Unity-Powershell/0.14.2/Private/ConvertTo-Hashtable.ps1 | ConvertTo-Hashtable.ps1 | function ConvertTo-Hashtable {
[CmdletBinding()]
Param (
[parameter(Mandatory = $true)]
$Data
)
Write-Debug -Message "[$($MyInvocation.MyCommand)] Executing function"
#Building the result collection
Foreach ($D in $Data) {
$HashTable = @{}
$D |
get-member -MemberType NoteProp... |
PowerShellCorpus/PowerShellGallery/Unity-Powershell/0.14.2/Private/Update-TitleBarForUnityConnection.ps1 | Update-TitleBarForUnityConnection.ps1 | <# .Description
Set PowerShell title bar to reflect currently connected Unity servers' names
#>
function Update-TitleBarForUnityConnection {
$strOrigWindowTitle = $host.ui.RawUI.WindowTitle
## the window titlebar text without the "connected to.." Unity info
$strWinTitleWithoutOldUnityConnInfo = $strOrigWindowTitle ... |
PowerShellCorpus/PowerShellGallery/Unity-Powershell/0.14.2/Private/Get-UnityItemByKey.ps1 | Get-UnityItemByKey.ps1 | <#
.SYNOPSIS
#>
Function Get-UnityItemByKey {
[CmdletBinding()]
Param (
[Parameter(Mandatory = $True,HelpMessage = 'EMC Unity Session')]
$session,
[Parameter(Mandatory = $True,HelpMessage = 'URI')]
[String]$URI,
[Parameter(Mandatory = $True,HelpMessage = 'Typename')]... |
PowerShellCorpus/PowerShellGallery/Unity-Powershell/0.14.2/Private/Unblock-UnityCerts.ps1 | Unblock-UnityCerts.ps1 | Function Unblock-UnityCerts {
# Hack for allowing untrusted SSL certs with https connexions
Add-Type -TypeDefinition @"
using System.Net;
using System.Security.Cryptography.X509Certificates;
public class TrustAllCertsPolicy : ICertificatePolicy {
public bool CheckValidationResult(
ServicePo... |
PowerShellCorpus/PowerShellGallery/Unity-Powershell/0.14.2/Private/Add-UnityObjectType.ps1 | Add-UnityObjectType.ps1 | #Deprecated, replaced by ConvertTo-Hashtable
function Add-UnityObjectType {
[CmdletBinding()]
Param (
[parameter(Mandatory = $true)]
$Data,
[parameter(Mandatory = $true)]
[string]$TypeName
)
Write-Debug -Message "[$($MyInvocation.MyCommand)] Executing function"
#Building the result collecti... |
PowerShellCorpus/PowerShellGallery/Unity-Powershell/0.14.2/Private/Show-RequestException.ps1 | Show-RequestException.ps1 | Function Show-RequestException {
[CmdletBinding()]
Param(
[parameter(Mandatory = $true)]
$Exception
)
Write-Debug -Message "[$($MyInvocation.MyCommand)] Executing function"
#Exception catch when there's a connectivity problem with the array
If ($Exception.Exception.InnerException) {
Write-Host... |
PowerShellCorpus/PowerShellGallery/Unity-Powershell/0.14.2/Public/Set-UnityDnsServer.ps1 | Set-UnityDnsServer.ps1 | Function Set-UnityDNSServer {
<#
.SYNOPSIS
Modifies DNS Servers parameters.
.DESCRIPTION
Modifies DNS Servers parameters.
You need to have an active session with the array.
.NOTES
Written by Erwan Quelin under MIT licence - https://github.com/equelin/Unity-Powershell/blob/ma... |
PowerShellCorpus/PowerShellGallery/Unity-Powershell/0.14.2/Public/Get-UnityCIFSShare.ps1 | Get-UnityCIFSShare.ps1 | Function Get-UnityCIFSShare {
<#
.SYNOPSIS
Queries the EMC Unity array to retrieve informations about CIFS Share.
.DESCRIPTION
Queries the EMC Unity array to retrieve informations about CIFS Share.
You need to have an active session with the array.
.NOTES
Written by Erwan Qu... |
PowerShellCorpus/PowerShellGallery/Unity-Powershell/0.14.2/Public/New-UnityFileDnsServer.ps1 | New-UnityFileDnsServer.ps1 | Function New-UnityFileDNSServer {
<#
.SYNOPSIS
Create a new DNS server for a NAS Server.
.DESCRIPTION
Create a new DNS server for a NAS Server.
Only one instance can be created per NAS server.
You need to have an active session with the array.
.NOTES
Written by Erwan Q... |
PowerShellCorpus/PowerShellGallery/Unity-Powershell/0.14.2/Public/Remove-UnityMgmtInterface.ps1 | Remove-UnityMgmtInterface.ps1 | Function Remove-UnityMgmtInterface {
<#
.SYNOPSIS
Delete a file interface.
.DESCRIPTION
Delete a Nas Server.
You need to have an active session with the array.
.NOTES
Written by Erwan Quelin under MIT licence - https://github.com/equelin/Unity-Powershell/blob/master/LICENSE
... |
PowerShellCorpus/PowerShellGallery/Unity-Powershell/0.14.2/Public/Remove-UnityHostIPPort.ps1 | Remove-UnityHostIPPort.ps1 | Function Remove-UnityHostIPPort {
<#
.SYNOPSIS
Delete a host IP port.
.DESCRIPTION
Delete a host IP port.
You need to have an active session with the array.
.NOTES
Written by Erwan Quelin under MIT licence - https://github.com/equelin/Unity-Powershell/blob/master/LICENSE
... |
PowerShellCorpus/PowerShellGallery/Unity-Powershell/0.14.2/Public/Remove-UnityNFSShare.ps1 | Remove-UnityNFSShare.ps1 | Function Remove-UnityNFSShare {
<#
.SYNOPSIS
Deletes NFS share.
.DESCRIPTION
Deletes NFS share.
You need to have an active session with the array.
.NOTES
Written by Erwan Quelin under MIT licence - https://github.com/equelin/Unity-Powershell/blob/master/LICENSE
.LINK
... |
PowerShellCorpus/PowerShellGallery/Unity-Powershell/0.14.2/Public/Set-UnityFilesystem.ps1 | Set-UnityFilesystem.ps1 | Function Set-UnityFilesystem {
<#
.SYNOPSIS
Modifies filesystem parameters.
.DESCRIPTION
Modifies filesystem parameters.
You need to have an active session with the array.
.NOTES
Written by Erwan Quelin under MIT licence - https://github.com/equelin/Unity-Powershell/blob/mas... |
PowerShellCorpus/PowerShellGallery/Unity-Powershell/0.14.2/Public/Set-UnityFileInterface.ps1 | Set-UnityFileInterface.ps1 | Function Set-UnityFileInterface {
<#
.SYNOPSIS
Modifies NAS Server parameters.
.DESCRIPTION
Modifies NAS Server parameters.
You need to have an active session with the array.
.NOTES
Written by Erwan Quelin under MIT licence - https://github.com/equelin/Unity-Powershell/blob/... |
PowerShellCorpus/PowerShellGallery/Unity-Powershell/0.14.2/Public/Remove-UnityLUN.ps1 | Remove-UnityLUN.ps1 | Function Remove-UnityLUN {
<#
.SYNOPSIS
Delete a LUN.
.DESCRIPTION
Delete a LUN.
You need to have an active session with the array.
.NOTES
Written by Erwan Quelin under MIT licence - https://github.com/equelin/Unity-Powershell/blob/master/LICENSE
.LINK
https://gi... |
PowerShellCorpus/PowerShellGallery/Unity-Powershell/0.14.2/Public/Get-UnityHost.ps1 | Get-UnityHost.ps1 | Function Get-UnityHost {
<#
.SYNOPSIS
View details about host configuration on the system.
.DESCRIPTION
View details about host configuration on the system.
You need to have an active session with the array.
.NOTES
Written by Erwan Quelin under MIT licence - https://github.c... |
PowerShellCorpus/PowerShellGallery/Unity-Powershell/0.14.2/Public/Remove-UnityVMwareNFS.ps1 | Remove-UnityVMwareNFS.ps1 | Function Remove-UnityVMwareNFS {
<#
.SYNOPSIS
Delete a filesystem.
.DESCRIPTION
Delete a filesystem.
You need to have an active session with the array.
.NOTES
Written by Erwan Quelin under MIT licence - https://github.com/equelin/Unity-Powershell/blob/master/LICENSE
.L... |
PowerShellCorpus/PowerShellGallery/Unity-Powershell/0.14.2/Public/Set-UnityVMwareLUN.ps1 | Set-UnityVMwareLUN.ps1 | Function Set-UnityVMwareLUN {
<#
.SYNOPSIS
Modifies VMware block LUN parameters.
.DESCRIPTION
Modifies VMware block LUN parameters.
You need to have an active session with the array.
.NOTES
Written by Erwan Quelin under MIT licence - https://github.com/equelin/Unity-Powershe... |
PowerShellCorpus/PowerShellGallery/Unity-Powershell/0.14.2/Public/Get-UnityESXi.ps1 | Get-UnityESXi.ps1 | Function Get-UnityESXi {
<#
.SYNOPSIS
View details about ESXi configuration on the system.
.DESCRIPTION
View details about ESXi configuration on the system.
You need to have an active session with the array.
.NOTES
Written by Erwan Quelin under MIT licence - https://github.c... |
PowerShellCorpus/PowerShellGallery/Unity-Powershell/0.14.2/Public/Remove-UnitySnapSchedule.ps1 | Remove-UnitySnapSchedule.ps1 | Function Remove-UnitySnapSchedule {
<#
.SYNOPSIS
Delete a snapshot schedule.
.DESCRIPTION
Delete a snapshot schedule.
You need to have an active session with the array.
.NOTES
Written by Erwan Quelin under MIT licence - https://github.com/equelin/Unity-Powershell/blob/master... |
PowerShellCorpus/PowerShellGallery/Unity-Powershell/0.14.2/Public/Get-UnityNFSServer.ps1 | Get-UnityNFSServer.ps1 | Function Get-UnityNFSServer {
<#
.SYNOPSIS
Information about the NFS Servers in the storage system.
.DESCRIPTION
Information about the NFS Servers in the storage system.
You need to have an active session with the array.
.NOTES
Written by Erwan Quelin under MIT licence - h... |
PowerShellCorpus/PowerShellGallery/Unity-Powershell/0.14.2/Public/Get-UnitySnapSchedule.ps1 | Get-UnitySnapSchedule.ps1 | Function Get-UnitySnapSchedule {
<#
.SYNOPSIS
Queries the EMC Unity array to retrieve informations about snapshots schedule.
.DESCRIPTION
Queries the EMC Unity array to retrieve informations about snapshots schedule.
You need to have an active session with the array.
.NOTES
... |
PowerShellCorpus/PowerShellGallery/Unity-Powershell/0.14.2/Public/Get-UnityStorageResource.ps1 | Get-UnityStorageResource.ps1 | Function Get-UnitystorageResource {
<#
.SYNOPSIS
Queries the EMC Unity array to retrieve informations about UnitystorageResource.
.DESCRIPTION
Querries the EMC Unity array to retrieve informations about UnitystorageResource.
You need to have an active session with the array.
.NOTE... |
PowerShellCorpus/PowerShellGallery/Unity-Powershell/0.14.2/Public/Get-UnityIpInterface.ps1 | Get-UnityIpInterface.ps1 | Function Get-UnityIpInterface {
<#
.SYNOPSIS
Information about network interfaces in the storage system.
.DESCRIPTION
Information about network interfaces in the storage system.
Network interfaces enable and control access between the system, network, and configured hosts.
You... |
PowerShellCorpus/PowerShellGallery/Unity-Powershell/0.14.2/Public/Get-UnitySystem.ps1 | Get-UnitySystem.ps1 | Function Get-UnitySystem {
<#
.SYNOPSIS
Information about general settings for the storage system.
.DESCRIPTION
Information about general settings for the storage system.
You need to have an active session with the array.
.NOTES
Written by Erwan Quelin under MIT licence
... |
PowerShellCorpus/PowerShellGallery/Unity-Powershell/0.14.2/Public/Get-UnityPool.ps1 | Get-UnityPool.ps1 | Function Get-UnityPool {
<#
.SYNOPSIS
Queries the EMC Unity array to retrieve informations about pool.
.DESCRIPTION
Queries the EMC Unity array to retrieve informations about pool.
You need to have an active session with the array.
.NOTES
Written by Erwan Quelin under MIT li... |
PowerShellCorpus/PowerShellGallery/Unity-Powershell/0.14.2/Public/Get-UnityFileInterface.ps1 | Get-UnityFileInterface.ps1 | Function Get-UnityFileInterface {
<#
.SYNOPSIS
Queries the EMC Unity array to retrieve informations about File Interfaces.
.DESCRIPTION
Queries the EMC Unity array to retrieve informations about File Interfaces.
You need to have an active session with the array.
.NOTES
Writt... |
PowerShellCorpus/PowerShellGallery/Unity-Powershell/0.14.2/Public/Remove-UnityVMwareLUN.ps1 | Remove-UnityVMwareLUN.ps1 | Function Remove-UnityVMwareLUN {
<#
.SYNOPSIS
Delete a VMware block LUN.
.DESCRIPTION
Delete a VMware block LUN.
You need to have an active session with the array.
.NOTES
Written by Erwan Quelin under MIT licence - https://github.com/equelin/Unity-Powershell/blob/master/LICE... |
PowerShellCorpus/PowerShellGallery/Unity-Powershell/0.14.2/Public/Get-UnityCifsServer.ps1 | Get-UnityCifsServer.ps1 | Function Get-UnityCIFSServer {
<#
.SYNOPSIS
Queries the EMC Unity array to retrieve informations about CIFS Server.
.DESCRIPTION
Queries the EMC Unity array to retrieve informations about CIFS Server.
You need to have an active session with the array.
.NOTES
Written by Erwan... |
PowerShellCorpus/PowerShellGallery/Unity-Powershell/0.14.2/Public/Enable-UnityFastCache.ps1 | Enable-UnityFastCache.ps1 | Function Enable-UnityFastCache {
<#
.SYNOPSIS
Enable FAST Cache.
.DESCRIPTION
Enable FAST Cache using specified disk group and number of disks and if specified, Enable FAST Cache on all existing pools.
You need to have an active session with the array.
.NOTES
Written by Erw... |
PowerShellCorpus/PowerShellGallery/Unity-Powershell/0.14.2/Public/New-UnityvCenter.ps1 | New-UnityvCenter.ps1 | Function New-UnityvCenter {
<#
.SYNOPSIS
Add the vCenter credentials and optionally discovers any ESXi host managed by that vCenter.
.DESCRIPTION
Discover vCenter servers on the network and optionnaly create a host configuration for multiple ESXi hosts managed by a single vCenter server. For ... |
PowerShellCorpus/PowerShellGallery/Unity-Powershell/0.14.2/Public/Set-UnityHostIPPort.ps1 | Set-UnityHostIPPort.ps1 | Function Set-UnityHostIPPort {
<#
.SYNOPSIS
Modify a host IP Port configuration.
.DESCRIPTION
Modify a host IP Port configuration.
You need to have an active session with the array.
.NOTES
Written by Erwan Quelin under MIT licence - https://github.com/equelin/Unity-Powersh... |
PowerShellCorpus/PowerShellGallery/Unity-Powershell/0.14.2/Public/New-UnityMgmtInterface.ps1 | New-UnityMgmtInterface.ps1 | Function New-UnityMgmtInterface {
<#
.SYNOPSIS
Create a new network interface for managing the array.
.DESCRIPTION
Create a new network interface for managing the array.
You need to have an active session with the array.
.NOTES
Written by Erwan Quelin under MIT licence - htt... |
PowerShellCorpus/PowerShellGallery/Unity-Powershell/0.14.2/Public/Remove-UnityHost.ps1 | Remove-UnityHost.ps1 | Function Remove-UnityHost {
<#
.SYNOPSIS
Delete host.
.DESCRIPTION
Delete host.
You need to have an active session with the array.
.NOTES
Written by Erwan Quelin under MIT licence - https://github.com/equelin/Unity-Powershell/blob/master/LICENSE
.LINK
https://git... |
PowerShellCorpus/PowerShellGallery/Unity-Powershell/0.14.2/Public/Set-UnityAlertConfig.ps1 | Set-UnityAlertConfig.ps1 | Function Set-UnityAlertConfig {
<#
.SYNOPSIS
Modifies Alert Config.
.DESCRIPTION
Modifies Alert Config.
You need to have an active session with the array.
.NOTES
Written by Erwan Quelin under MIT licence - https://github.com/equelin/Unity-Powershell/blob/master/LICENSE
... |
PowerShellCorpus/PowerShellGallery/Unity-Powershell/0.14.2/Public/Set-UnitySystem.ps1 | Set-UnitySystem.ps1 | Function Set-UnitySystem {
<#
.SYNOPSIS
Modifies Unity storage system.
.DESCRIPTION
Modifies Unity storage system.
You need to have an active session with the array.
.NOTES
Written by Erwan Quelin under MIT licence - https://github.com/equelin/Unity-Powershell/blob/master/LI... |
PowerShellCorpus/PowerShellGallery/Unity-Powershell/0.14.2/Public/New-UnityFileInterface.ps1 | New-UnityFileInterface.ps1 | Function New-UnityFileInterface {
<#
.SYNOPSIS
Creates a File Interface.
.DESCRIPTION
Creates a File Interface.
These interfaces control access to Windows (CIFS) and UNIX/Linux (NFS) file storage.
You need to have an active session with the array.
.NOTES
Written by Erw... |
PowerShellCorpus/PowerShellGallery/Unity-Powershell/0.14.2/Public/Set-UnityNasServer.ps1 | Set-UnityNasServer.ps1 | Function Set-UnityNASServer {
<#
.SYNOPSIS
Modifies NAS Server parameters.
.DESCRIPTION
Modifies NAS Server parameters.
You need to have an active session with the array.
.NOTES
Written by Erwan Quelin under MIT licence - https://github.com/equelin/Unity-Powershell/blob/mast... |
PowerShellCorpus/PowerShellGallery/Unity-Powershell/0.14.2/Public/Get-UnityVMwareLUN.ps1 | Get-UnityVMwareLUN.ps1 | Function Get-UnityVMwareLUN {
<#
.SYNOPSIS
Queries the EMC Unity array to retrieve informations about VMware block LUN.
.DESCRIPTION
Querries the EMC Unity array to retrieve informations about VMware block LUN.
You need to have an active session with the array.
.NOTES
Writte... |
PowerShellCorpus/PowerShellGallery/Unity-Powershell/0.14.2/Public/Get-UnitySession.ps1 | Get-UnitySession.ps1 | Function Get-UnitySession {
<#
.SYNOPSIS
List the existing sessions.
.DESCRIPTION
List the existing sessions.
.NOTES
Written by Erwan Quelin under MIT licence
.LINK
https://github.com/equelin/Unity-Powershell
.PARAMETER Server
IP or FQDN of the Unity array.... |
PowerShellCorpus/PowerShellGallery/Unity-Powershell/0.14.2/Public/Get-UnityAlert.ps1 | Get-UnityAlert.ps1 | Function Get-UnityAlert {
<#
.SYNOPSIS
Information about alerts generated by the storage system.
.DESCRIPTION
Information about alerts generated by the storage system.
You need to have an active session with the array.
.NOTES
Written by Erwan Quelin under MIT licence - h... |
PowerShellCorpus/PowerShellGallery/Unity-Powershell/0.14.2/Public/Get-UnityIscsiPortal.ps1 | Get-UnityIscsiPortal.ps1 | Function Get-UnityIscsiPortal {
<#
.SYNOPSIS
Information about the iSCSI portals in the storage system.
.DESCRIPTION
Information about the iSCSI portals in the storage system.
iSCSI portals are used for controlling access to iSCSI storage
You need to have an active session wit... |
PowerShellCorpus/PowerShellGallery/Unity-Powershell/0.14.2/Public/Get-UnityAlertConfig.ps1 | Get-UnityAlertConfig.ps1 | Function Get-UnityAlertConfig {
<#
.SYNOPSIS
Information about the Alert Configs in the storage system.
.DESCRIPTION
Information about the Alert Configs in the storage system.
You need to have an active session with the array.
.NOTES
Written by Erwan Quelin under MIT licenc... |
PowerShellCorpus/PowerShellGallery/Unity-Powershell/0.14.2/Public/Remove-UnityIscsiPortal.ps1 | Remove-UnityIscsiPortal.ps1 | Function Remove-UnityiSCSIPortal {
<#
.SYNOPSIS
Delete an iSCSI network portal.
.DESCRIPTION
Delete an iSCSI network portal.
You need to have an active session with the array.
.NOTES
Written by Erwan Quelin under MIT licence - https://github.com/equelin/Unity-Powershell/blob... |
PowerShellCorpus/PowerShellGallery/Unity-Powershell/0.14.2/Public/Get-UnityLicense.ps1 | Get-UnityLicense.ps1 | Function Get-UnityLicense {
<#
.SYNOPSIS
Queries the EMC Unity array to retrieve informations about licenses.
.DESCRIPTION
Querries the EMC Unity array to retrieve informations about licenses.
You need to have an active session with the array.
.NOTES
Written by Erwan Quelin ... |
PowerShellCorpus/PowerShellGallery/Unity-Powershell/0.14.2/Public/New-UnitySnap.ps1 | New-UnitySnap.ps1 | Function New-UnitySnap {
<#
.SYNOPSIS
Creates a new snapshot.
.DESCRIPTION
Creates a new snapshot.
Creating a snapshot creates a new point-in-time view of a block or file resource associated with the point-in-time at which the snapshot was taken.
Immediately after being created, ... |
PowerShellCorpus/PowerShellGallery/Unity-Powershell/0.14.2/Public/Test-UnityUIAlert.ps1 | Test-UnityUIAlert.ps1 | Function Test-UnityUIAlert {
<#
.SYNOPSIS
Test GUI alert notification by sending a test alert to all open CEM GUIs.
.DESCRIPTION
Test GUI alert notification by sending a test alert to all open CEM GUIs.
You need to have an active session with the array.
.NOTES
Written by E... |
PowerShellCorpus/PowerShellGallery/Unity-Powershell/0.14.2/Public/Set-UnityVMwareNFS.ps1 | Set-UnityVMwareNFS.ps1 | Function Set-UnityVMwareNFS {
<#
.SYNOPSIS
Modifies filesystem parameters.
.DESCRIPTION
Modifies filesystem parameters.
You need to have an active session with the array.
.NOTES
Written by Erwan Quelin under MIT licence - https://github.com/equelin/Unity-Powershell/blob/mast... |
PowerShellCorpus/PowerShellGallery/Unity-Powershell/0.14.2/Public/Remove-UnityNFSServer.ps1 | Remove-UnityNFSServer.ps1 | Function Remove-UnityNFSServer {
<#
.SYNOPSIS
Delete NFS Server.
.DESCRIPTION
Delete NFS Server.
You need to have an active session with the array.
.NOTES
Written by Erwan Quelin under MIT licence - https://github.com/equelin/Unity-Powershell/blob/master/LICENSE
.LINK
... |
PowerShellCorpus/PowerShellGallery/Unity-Powershell/0.14.2/Public/Get-UnityNTPServer.ps1 | Get-UnityNTPServer.ps1 | Function Get-UnityNTPServer {
<#
.SYNOPSIS
Information about NTP Servers.
.DESCRIPTION
Information about NTP Servers.
You need to have an active session with the array.
.NOTES
Written by Erwan Quelin under MIT licence - https://github.com/equelin/Unity-Powershell/blob/master... |
PowerShellCorpus/PowerShellGallery/Unity-Powershell/0.14.2/Public/Test-UnityUCAlert.ps1 | Test-UnityUCAlert.ps1 | Function Test-UnityUCAlert {
<#
.SYNOPSIS
Test Unisphere Central alert notification by sending a test alert to a Unisphere Central destination.
.DESCRIPTION
Test Unisphere Central alert notification by sending a test alert to a Unisphere Central destination.
You need to have an active... |
PowerShellCorpus/PowerShellGallery/Unity-Powershell/0.14.2/Public/Get-UnityHostIPPort.ps1 | Get-UnityHostIPPort.ps1 | Function Get-UnityHostIPPort {
<#
.SYNOPSIS
View details about host IP Port configuration on the system.
.DESCRIPTION
View details about host IP Port configuration on the system.
You need to have an active session with the array.
.NOTES
Written by Erwan Quelin under MIT lice... |
PowerShellCorpus/PowerShellGallery/Unity-Powershell/0.14.2/Public/Set-UnityNTPServer.ps1 | Set-UnityNTPServer.ps1 | Function Set-UnityNTPServer {
<#
.SYNOPSIS
Modifies NTP Servers parameters.
.DESCRIPTION
Modifies NTP Servers parameters.
You can configure a total of four NTP server addresses for the system.
All NTP server addresses are grouped into a single NTP server record.
You need t... |
PowerShellCorpus/PowerShellGallery/Unity-Powershell/0.14.2/Public/New-UnityNFSShare.ps1 | New-UnityNFSShare.ps1 | Function New-UnityNFSShare {
<#
.SYNOPSIS
Creates NFS share.
.DESCRIPTION
Creates NFS share.
You need to have an active session with the array.
.NOTES
Written by Erwan Quelin under MIT licence - https://github.com/equelin/Unity-Powershell/blob/master/LICENSE
.LINK
... |
PowerShellCorpus/PowerShellGallery/Unity-Powershell/0.14.2/Public/New-UnityCifsServer.ps1 | New-UnityCifsServer.ps1 | Function New-UnityCIFSServer {
<#
.SYNOPSIS
Create an SMB/CIFS server.
.DESCRIPTION
Create an SMB/CIFS server.
You need to have an active session with the array.
.NOTES
Written by Erwan Quelin under MIT licence - https://github.com/equelin/Unity-Powershell/blob/master/LICENS... |
PowerShellCorpus/PowerShellGallery/Unity-Powershell/0.14.2/Public/Remove-UnityPool.ps1 | Remove-UnityPool.ps1 | Function Remove-UnityPool {
<#
.SYNOPSIS
Delete a pool.
.DESCRIPTION
Delete a pool.
You need to have an active session with the array.
.NOTES
Written by Erwan Quelin under MIT licence - https://github.com/equelin/Unity-Powershell/blob/master/LICENSE
.LINK
https:/... |
PowerShellCorpus/PowerShellGallery/Unity-Powershell/0.14.2/Public/Set-UnityvCenter.ps1 | Set-UnityvCenter.ps1 | Function Set-UnityvCenter {
<#
.SYNOPSIS
Modifies an existing vCenter and optionally discovers any ESXi host managed by that vCenter.
.DESCRIPTION
Modifies vCenter servers on the network and optionnaly create a host configuration for multiple ESXi hosts managed by a single vCenter server.
... |
PowerShellCorpus/PowerShellGallery/Unity-Powershell/0.14.2/Public/Get-UnityBasicSystemInfo.ps1 | Get-UnityBasicSystemInfo.ps1 | Function Get-UnityBasicSystemInfo {
<#
.SYNOPSIS
Queries the EMC Unity array to retrieve basic informations about arrays.
.DESCRIPTION
Queries the EMC Unity array to retrieve basic informations about arrays.
You need to have an active session with the array.
.NOTES
Written b... |
PowerShellCorpus/PowerShellGallery/Unity-Powershell/0.14.2/Public/Remove-UnityCifsServer.ps1 | Remove-UnityCifsServer.ps1 | Function Remove-UnityCIFSServer {
<#
.SYNOPSIS
Delete a Cifs Server.
.DESCRIPTION
Delete a Cifs Server.
You need to have an active session with the array.
.NOTES
Written by Erwan Quelin under MIT licence - https://github.com/equelin/Unity-Powershell/blob/master/LICENSE
... |
PowerShellCorpus/PowerShellGallery/Unity-Powershell/0.14.2/Public/Get-UnityLUN.ps1 | Get-UnityLUN.ps1 | Function Get-UnityLUN {
<#
.SYNOPSIS
Queries the EMC Unity array to retrieve informations about block LUN.
.DESCRIPTION
Querries the EMC Unity array to retrieve informations about block LUN.
You need to have an active session with the array.
.NOTES
Written by Erwan Quelin un... |
PowerShellCorpus/PowerShellGallery/Unity-Powershell/0.14.2/Public/Set-UnityMgmtInterfaceSettings.ps1 | Set-UnityMgmtInterfaceSettings.ps1 | Function Set-UnityMgmtInterfaceSettings {
<#
.SYNOPSIS
Modifies global management interfaces settings.
.DESCRIPTION
Modifies global management interfaces settings.
It is not allowed to set both IPv4 and IPv6 to Disabled at the same time, in any sequence.
It is not allowed to set b... |
PowerShellCorpus/PowerShellGallery/Unity-Powershell/0.14.2/Public/Get-UnityItem.ps1 | Get-UnityItem.ps1 | Function Get-UnityItem {
<#
.SYNOPSIS
Queries the EMC Unity array to retrieve informations about a specific item.
.DESCRIPTION
Querries the EMC Unity array to retrieve informations about a specific item. You need to provide the URI of the item (ex: /api/types/pool/instances) with the paramet... |
PowerShellCorpus/PowerShellGallery/Unity-Powershell/0.14.2/Public/Set-UnityPool.ps1 | Set-UnityPool.ps1 | Function Set-UnityPool {
<#
.SYNOPSIS
Modifies storage pool parameters.
.DESCRIPTION
Modifies storage pool parameters.
You need to have an active session with the array.
.NOTES
Written by Erwan Quelin under MIT licence - https://github.com/equelin/Unity-Powershell/blob/maste... |
PowerShellCorpus/PowerShellGallery/Unity-Powershell/0.14.2/Public/Set-UnitySnapSchedule.ps1 | Set-UnitySnapSchedule.ps1 | Function Set-UnitySnapSchedule {
<#
.SYNOPSIS
Modifies snapshot schedule parameters.
.DESCRIPTION
Modifies snapshot schedule parameters. You can add or delete rules. Rules can be added one at a time.
You need to have an active session with the array.
.NOTES
Written by Erwan ... |
PowerShellCorpus/PowerShellGallery/Unity-Powershell/0.14.2/Public/New-UnityHost.ps1 | New-UnityHost.ps1 | Function New-UnityHost {
<#
.SYNOPSIS
Create a host configuration.
.DESCRIPTION
Create a host configuration.
You need to have an active session with the array.
.NOTES
Written by Erwan Quelin under MIT licence - https://github.com/equelin/Unity-Powershell/blob/master/LICE... |
PowerShellCorpus/PowerShellGallery/Unity-Powershell/0.14.2/Public/New-UnityVMwareNFS.ps1 | New-UnityVMwareNFS.ps1 | Function New-UnityVMwareNFS {
<#
.SYNOPSIS
Creates a Unity VMware NFS LUN.
.DESCRIPTION
Creates a Unity VMware NFS LUN.
You need to have an active session with the array.
.NOTES
Written by Erwan Quelin under MIT licence - https://github.com/equelin/Unity-Powershell/blob/mast... |
PowerShellCorpus/PowerShellGallery/Unity-Powershell/0.14.2/Public/Set-UnityNFSServer.ps1 | Set-UnityNFSServer.ps1 | Function Set-UnityNFSServer {
<#
.SYNOPSIS
Modifies NFS Server.
.DESCRIPTION
Modifies NFS Server.
You need to have an active session with the array.
.NOTES
Written by Erwan Quelin under MIT licence - https://github.com/equelin/Unity-Powershell/blob/master/LICENSE
.LINK... |
PowerShellCorpus/PowerShellGallery/Unity-Powershell/0.14.2/Public/Get-UnityNFSShare.ps1 | Get-UnityNFSShare.ps1 | Function Get-UnityNFSShare {
<#
.SYNOPSIS
Queries the EMC Unity array to retrieve informations about NFS Share.
.DESCRIPTION
Queries the EMC Unity array to retrieve informations about NFS Share.
You need to have an active session with the array.
.NOTES
Written by Erwan Queli... |
PowerShellCorpus/PowerShellGallery/Unity-Powershell/0.14.2/Public/Get-UnityHostInitiator.ps1 | Get-UnityHostInitiator.ps1 | Function Get-UnityHostInitiator {
<#
.SYNOPSIS
View details about host initiators.
.DESCRIPTION
View details about host initiators on the system.
You need to have an active session with the array.
.NOTES
Written by Erwan Quélin under MIT licence - https://github.com/equelin/... |
PowerShellCorpus/PowerShellGallery/Unity-Powershell/0.14.2/Public/Get-UnityDnsServer.ps1 | Get-UnityDnsServer.ps1 | Function Get-UnityDNSServer {
<#
.SYNOPSIS
Information about DNS Servers.
.DESCRIPTION
Information about DNS Servers.
You need to have an active session with the array.
.NOTES
Written by Erwan Quelin under MIT licence - https://github.com/equelin/Unity-Powershell/blob/master... |
PowerShellCorpus/PowerShellGallery/Unity-Powershell/0.14.2/Public/Set-UnitySMTPServer.ps1 | Set-UnitySMTPServer.ps1 | Function Set-UnitySMTPServer {
<#
.SYNOPSIS
Modifies SMTP Server.
.DESCRIPTION
Modifies SMTP Server.
You need to have an active session with the array.
.NOTES
Written by Erwan Quelin under MIT licence - https://github.com/equelin/Unity-Powershell/blob/master/LICENSE
.L... |
PowerShellCorpus/PowerShellGallery/Unity-Powershell/0.14.2/Public/New-UnityIscsiPortal.ps1 | New-UnityIscsiPortal.ps1 | Function New-UnityiSCSIPortal {
<#
.SYNOPSIS
Create a new iSCSI portal.
.DESCRIPTION
Create a new iSCSI portal.
You need to have an active session with the array.
.NOTES
Written by Erwan Quelin under MIT licence - https://github.com/equelin/Unity-Powershell/blob/master/LICEN... |
PowerShellCorpus/PowerShellGallery/Unity-Powershell/0.14.2/Public/Remove-UnityvCenter.ps1 | Remove-UnityvCenter.ps1 | Function Remove-UnityvCenter {
<#
.SYNOPSIS
Delete vCenter Server.
.DESCRIPTION
Delete vCenter Server.
You need to have an active session with the array.
.NOTES
Written by Erwan Quelin under MIT licence - https://github.com/equelin/Unity-Powershell/blob/master/LICENSE
... |
PowerShellCorpus/PowerShellGallery/Unity-Powershell/0.14.2/Public/New-UnityFilesystem.ps1 | New-UnityFilesystem.ps1 | Function New-UnityFilesystem {
<#
.SYNOPSIS
Creates a Unity Filesystem.
.DESCRIPTION
Creates a Unity Filesystem.
You need to have an active session with the array.
.NOTES
Written by Erwan Quelin under MIT licence - https://github.com/equelin/Unity-Powershell/blob/master/LICE... |
PowerShellCorpus/PowerShellGallery/Unity-Powershell/0.14.2/Public/New-UnityLUN.ps1 | New-UnityLUN.ps1 | Function New-UnityLUN {
<#
.SYNOPSIS
Creates a Unity block LUN.
.DESCRIPTION
Creates a Unity block LUN.
You need to have an active session with the array.
.NOTES
Written by Erwan Quelin under MIT licence - https://github.com/equelin/Unity-Powershell/blob/master/LICENSE
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.