full_path stringlengths 31 232 | filename stringlengths 4 167 | content stringlengths 0 48.3M |
|---|---|---|
PowerShellCorpus/PowerShellGallery/Unity-Powershell/0.14.2/Public/Disconnect-Unity.ps1 | Disconnect-Unity.ps1 | Function Disconnect-Unity {
<#
.SYNOPSIS
Disconnects from an EMC Unity Array
.DESCRIPTION
Disconnects from an EMC Unity Array. By default, Disconnect-Unity closes all sessions. To close a specific session, use the -Session parameter.
When a session is disconnected, it is removed form th... |
PowerShellCorpus/PowerShellGallery/Unity-Powershell/0.14.2/Public/Get-UnityPoolUnit.ps1 | Get-UnityPoolUnit.ps1 | Function Get-UnityPoolUnit {
<#
.SYNOPSIS
Queries the EMC Unity array to retrieve informations about poolUnit.
.DESCRIPTION
Querries the EMC Unity array to retrieve informations about poolUnit.
You need to have an active session with the array.
.NOTES
Written by Erwan Quelin... |
PowerShellCorpus/PowerShellGallery/Unity-Powershell/0.14.2/Public/Set-UnityLUN.ps1 | Set-UnityLUN.ps1 | Function Set-UnityLUN {
<#
.SYNOPSIS
Modifies LUN parameters.
.DESCRIPTION
Modifies 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-Powershell/blob/master/LICENSE
.LI... |
PowerShellCorpus/PowerShellGallery/Unity-Powershell/0.14.2/Public/Set-UnityIscsiPortal.ps1 | Set-UnityIscsiPortal.ps1 | Function Set-UnityIscsiPortal {
<#
.SYNOPSIS
Modify an iSCSI network portal.
.DESCRIPTION
Modify 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/New-UnityHostIPPort.ps1 | New-UnityHostIPPort.ps1 | Function New-UnityHostIPPort {
<#
.SYNOPSIS
Create a host IP Port configuration.
.DESCRIPTION
Create 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-Power... |
PowerShellCorpus/PowerShellGallery/Unity-Powershell/0.14.2/Public/Get-UnityMgmtInterfaceSettings.ps1 | Get-UnityMgmtInterfaceSettings.ps1 | Function Get-UnityMgmtInterfaceSettings {
<#
.SYNOPSIS
Informations about global settings for the management interfaces.
.DESCRIPTION
Informations about global settings for the management interfaces.
You need to have an active session with the array.
.NOTES
Written by Erw... |
PowerShellCorpus/PowerShellGallery/Unity-Powershell/0.14.2/Public/Remove-UnityNasServer.ps1 | Remove-UnityNasServer.ps1 | Function Remove-UnityNASServer {
<#
.SYNOPSIS
Delete a Nas Server.
.DESCRIPTION
Delete a Nas Server.
Before you can delete a NAS server, you must first delete all storage resources associated with it.
Deleting a NAS server removes everything configured on the NAS server, but does ... |
PowerShellCorpus/PowerShellGallery/Unity-Powershell/0.14.2/Public/Get-UnityVMwareNFS.ps1 | Get-UnityVMwareNFS.ps1 | Function Get-UnityVMwareNFS {
<#
.SYNOPSIS
Queries the EMC Unity array to retrieve informations about VMware NFS LUN.
.DESCRIPTION
Querries the EMC Unity array to retrieve informations about VMware NFS LUN.
You need to have an active session with the array.
.NOTES
Written by... |
PowerShellCorpus/PowerShellGallery/Unity-Powershell/0.14.2/Public/Remove-UnityUser.ps1 | Remove-UnityUser.ps1 | Function Remove-UnityUser {
<#
.SYNOPSIS
Delete a local user.
.DESCRIPTION
Delete a local user.
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-UnityMetricRealTimeQuery.ps1 | New-UnityMetricRealTimeQuery.ps1 | Function New-UnityMetricRealTimeQuery {
<#
.SYNOPSIS
Creates a new metrics real-time query.
.DESCRIPTION
Creates a new metrics real-time query.
After you create this query, the results are available whith the command Get-UnityMetricQueryResult
.NOTES
Written by Erwan Quelin ... |
PowerShellCorpus/PowerShellGallery/Unity-Powershell/0.14.2/Public/New-UnityPool.ps1 | New-UnityPool.ps1 | Function New-UnityPool {
<#
.SYNOPSIS
Creates a new storage pool.
.DESCRIPTION
Creates a new storage pool. Storage pools are the groups of disks on which you create storage resources like LUN or filesystems.
You need to have an active session with the array.
.NOTES
Written b... |
PowerShellCorpus/PowerShellGallery/Unity-Powershell/0.14.2/Public/Set-UnityAlert.ps1 | Set-UnityAlert.ps1 | Function Set-UnityAlert {
<#
.SYNOPSIS
Update the "ack" status of alert.
.DESCRIPTION
Update the "ack" status of alert.
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/New-UnitySnapSchedule.ps1 | New-UnitySnapSchedule.ps1 | Function New-UnitySnapSchedule {
<#
.SYNOPSIS
Creates a new snapshot schedule.
.DESCRIPTION
Creates a new 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... |
PowerShellCorpus/PowerShellGallery/Unity-Powershell/0.14.2/Public/Remove-UnitySnap.ps1 | Remove-UnitySnap.ps1 | Function Remove-UnitySnap {
<#
.SYNOPSIS
Delete a snapshot.
.DESCRIPTION
Delete a snapshot.
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-UnitySmtpServer.ps1 | Get-UnitySmtpServer.ps1 | Function Get-UnitySMTPServer {
<#
.SYNOPSIS
Information about the SMTP servers in the storage system.
.DESCRIPTION
Information about the SMTP servers in 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-UnitySnap.ps1 | Get-UnitySnap.ps1 | Function Get-UnitySnap {
<#
.SYNOPSIS
Queries the EMC Unity array to retrieve informations about snapshots.
.DESCRIPTION
Queries the EMC Unity array to retrieve informations about snapshots.
You need to have an active session with the array.
.NOTES
Written by Erwan Quelin un... |
PowerShellCorpus/PowerShellGallery/Unity-Powershell/0.14.2/Public/New-UnityNasServer.ps1 | New-UnityNasServer.ps1 | Function New-UnityNASServer {
<#
.SYNOPSIS
Creates a NAS Server.
.DESCRIPTION
Create a NAS server. You can create a maximum of 24 NAS servers per system.
You need to have an active session with the array.
.NOTES
Written by Erwan Quelin under MIT licence - https://github.com/... |
PowerShellCorpus/PowerShellGallery/Unity-Powershell/0.14.2/Public/Get-UnityNasServer.ps1 | Get-UnityNasServer.ps1 | Function Get-UnityNASServer {
<#
.SYNOPSIS
View details about configured NAS servers.
.DESCRIPTION
View details about configured NAS servers. You can filter on ID or Name.
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/Remove-UnityFileDnsServer.ps1 | Remove-UnityFileDnsServer.ps1 | Function Remove-UnityFileDNSServer {
<#
.SYNOPSIS
Delete a file DNS Server.
.DESCRIPTION
Delete a file DNS 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/LI... |
PowerShellCorpus/PowerShellGallery/Unity-Powershell/0.14.2/Public/Set-UnitySnap.ps1 | Set-UnitySnap.ps1 | Function Set-UnitySnap {
<#
.SYNOPSIS
Modifies snapshot parameters.
.DESCRIPTION
Modifies snapshot 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/master/LICENS... |
PowerShellCorpus/PowerShellGallery/Unity-Powershell/0.14.2/Public/Get-UnityFeature.ps1 | Get-UnityFeature.ps1 | Function Get-UnityFeature {
<#
.SYNOPSIS
Queries the EMC Unity array to retrieve informations about features.
.DESCRIPTION
Querries the EMC Unity array to retrieve informations about features.
You need to have an active session with the array.
.NOTES
Written by Erwan Quelin ... |
PowerShellCorpus/PowerShellGallery/Unity-Powershell/0.14.2/Public/Set-UnityFileDNSServer.ps1 | Set-UnityFileDNSServer.ps1 | Function Set-UnityFileDnsServer {
<#
.SYNOPSIS
Modifies File DNS Server parameters.
.DESCRIPTION
Modifies File DNS 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-Powers... |
PowerShellCorpus/PowerShellGallery/Unity-Powershell/0.14.2/Public/Set-UnityMgmtInterface.ps1 | Set-UnityMgmtInterface.ps1 | Function Set-UnityMgmtInterface {
<#
.SYNOPSIS
Modify settings for an management interface.
.DESCRIPTION
Modify settings for an management interface.
You need to have an active session with the array.
.NOTES
Written by Erwan Quelin under MIT licence - https://github.com/e... |
PowerShellCorpus/PowerShellGallery/Unity-Powershell/0.14.2/Public/Get-UnityFastCache.ps1 | Get-UnityFastCache.ps1 | Function Get-UnityFastCache {
<#
.SYNOPSIS
View the FAST Cache parameters.
.DESCRIPTION
View the FAST Cache parameters.
Physical deployments only.
You need to have an active session with the array.
.NOTES
Written by Erwan Quelin under MIT licence - https://github.com/e... |
PowerShellCorpus/PowerShellGallery/Unity-Powershell/0.14.2/Public/Get-UnityDiskGroup.ps1 | Get-UnityDiskGroup.ps1 | Function Get-UnityDiskGroup {
<#
.SYNOPSIS
View details about disk groups on the system.
.DESCRIPTION
View details about disk groups on the system.
Physical deployment only.
You need to have an active session with the array.
.NOTES
Written by Erwan Quelin under MIT lic... |
PowerShellCorpus/PowerShellGallery/Unity-Powershell/0.14.2/Public/Get-UnityMetricValue.ps1 | Get-UnityMetricValue.ps1 | Function Get-UnityMetricValue {
<#
.SYNOPSIS
Historical values for requested metrics.
.DESCRIPTION
Historical values for requested metrics.
You need to have an active session with the array.
.NOTES
Written by Erwan Quelin under MIT licence - https://github.com/equelin/Unit... |
PowerShellCorpus/PowerShellGallery/Unity-Powershell/0.14.2/Public/Set-UnityHost.ps1 | Set-UnityHost.ps1 | Function Set-UnityHost {
<#
.SYNOPSIS
Modify a host configuration.
.DESCRIPTION
Modify 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/LICENS... |
PowerShellCorpus/PowerShellGallery/Unity-Powershell/0.14.2/Public/New-UnityCIFSShare.ps1 | New-UnityCIFSShare.ps1 | Function New-UnityCIFSShare {
<#
.SYNOPSIS
Creates CIFS share.
.DESCRIPTION
Creates CIFS 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/Remove-UnityFileInterface.ps1 | Remove-UnityFileInterface.ps1 | Function Remove-UnityFileInterface {
<#
.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/Set-UnityUser.ps1 | Set-UnityUser.ps1 | Function Set-UnityUser {
<#
.SYNOPSIS
Modifies local user parameters.
.DESCRIPTION
Modifies local user 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/master/LI... |
PowerShellCorpus/PowerShellGallery/Unity-Powershell/0.14.2/Public/Disable-UnityFastCache.ps1 | Disable-UnityFastCache.ps1 | Function Disable-UnityFastCache {
<#
.SYNOPSIS
Disable FAST Cache.
.DESCRIPTION
Disable FAST Cache.
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
.LI... |
PowerShellCorpus/PowerShellGallery/Unity-Powershell/0.14.2/Public/Connect-Unity.ps1 | Connect-Unity.ps1 | Function Connect-Unity {
<#
.SYNOPSIS
Connects to an EMC Unity Array
.DESCRIPTION
Connects to an EMC Unity Array. This cmdlet starts a new session with an EMC Unity Array using the specified parameters.
When you attempt to connect to an array, the array checks for valid certificates. To... |
PowerShellCorpus/PowerShellGallery/Unity-Powershell/0.14.2/Public/Remove-UnityCIFSShare.ps1 | Remove-UnityCIFSShare.ps1 | Function Remove-UnityCIFSShare {
<#
.SYNOPSIS
Deletes CIFS share.
.DESCRIPTION
Deletes CIFS 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
.LIN... |
PowerShellCorpus/PowerShellGallery/Unity-Powershell/0.14.2/Public/Get-UnityMgmtInterface.ps1 | Get-UnityMgmtInterface.ps1 | Function Get-UnityMgmtInterface {
<#
.SYNOPSIS
Information about management interfaces in the storage system.
.DESCRIPTION
Information about management interfaces in the storage system.
You need to have an active session with the array.
.NOTES
Written by Erwan Quelin under... |
PowerShellCorpus/PowerShellGallery/Unity-Powershell/0.14.2/Public/Remove-UnitySMTPServer.ps1 | Remove-UnitySMTPServer.ps1 | Function Remove-UnitySMTPServer {
<#
.SYNOPSIS
Delete SMTP Server.
.DESCRIPTION
Delete 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
.LI... |
PowerShellCorpus/PowerShellGallery/Unity-Powershell/0.14.2/Public/Remove-UnityFilesystem.ps1 | Remove-UnityFilesystem.ps1 | Function Remove-UnityFilesystem {
<#
.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
.... |
PowerShellCorpus/PowerShellGallery/Unity-Powershell/0.14.2/Public/Test-UnityEmailAlert.ps1 | Test-UnityEmailAlert.ps1 | Function Test-UnityEmailAlert {
<#
.SYNOPSIS
Test email alert notification by sending a test alert to all configured email destinations.
.DESCRIPTION
Test email alert notification by sending a test alert to all configured email destinations.
You need to have an active session with the... |
PowerShellCorpus/PowerShellGallery/Unity-Powershell/0.14.2/Public/Get-UnityMetric.ps1 | Get-UnityMetric.ps1 | Function Get-UnityMetric {
<#
.SYNOPSIS
Queries the EMC Unity array to retrieve informations about metrics.
.DESCRIPTION
Queries the EMC Unity array to retrieve informations about metrics.
You need to have an active session with the array.
.NOTES
Written by Erwan Quelin unde... |
PowerShellCorpus/PowerShellGallery/Unity-Powershell/0.14.2/Public/Get-UnityFilesystem.ps1 | Get-UnityFilesystem.ps1 | Function Get-UnityFilesystem {
<#
.SYNOPSIS
Queries the EMC Unity array to retrieve informations about filesystems.
.DESCRIPTION
Querries the EMC Unity array to retrieve informations about filesystems.
You need to have an active session with the array.
.NOTES
Written by Erwa... |
PowerShellCorpus/PowerShellGallery/Unity-Powershell/0.14.2/Public/Get-UnityFileDnsServer.ps1 | Get-UnityFileDnsServer.ps1 | Function Get-UnityFileDNSServer {
<#
.SYNOPSIS
Information about File DNS Servers.
.DESCRIPTION
Information about File 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-Powershe... |
PowerShellCorpus/PowerShellGallery/Unity-Powershell/0.14.2/Public/Get-UnityUser.ps1 | Get-UnityUser.ps1 | Function Get-UnityUser {
<#
.SYNOPSIS
Information about local users, including their roles, and how they are authenticated.
.DESCRIPTION
Information about local users, including their roles, and how they are authenticated.
You need to have an active session with the array.
.NOTES
... |
PowerShellCorpus/PowerShellGallery/Unity-Powershell/0.14.2/Public/Update-UnityvCenter.ps1 | Update-UnityvCenter.ps1 | Function Update-UnityvCenter {
<#
.SYNOPSIS
Refresh vCenter hosts.
.DESCRIPTION
Refresh vCenter hosts.
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-UnityAlert.ps1 | Remove-UnityAlert.ps1 | Function Remove-UnityAlert {
<#
.SYNOPSIS
Delete alert.
.DESCRIPTION
Delete alert.
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/New-UnityNFSServer.ps1 | New-UnityNFSServer.ps1 | Function New-UnityNFSServer {
<#
.SYNOPSIS
Create a new NFS Server.
.DESCRIPTION
Create a new 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... |
PowerShellCorpus/PowerShellGallery/Unity-Powershell/0.14.2/Public/New-UnitySMTPServer.ps1 | New-UnitySMTPServer.ps1 | Function New-UnitySMTPServer {
<#
.SYNOPSIS
Create a new SMTP server (Default or PhoneHome).
.DESCRIPTION
Create a new SMTP server (Default or PhoneHome).
You need to have an active session with the array.
.NOTES
Written by Erwan Quelin under MIT licence - https://github.com... |
PowerShellCorpus/PowerShellGallery/Unity-Powershell/0.14.2/Public/Get-UnityMetricRealTimeQuery.ps1 | Get-UnityMetricRealTimeQuery.ps1 | Function Get-UnityMetricRealTimeQuery {
<#
.SYNOPSIS
Information about real times metric queries.
.DESCRIPTION
Information about real times metric queries.
It represents a query to obtain real-time information for one or more metrics, including a specified sampling frequency.
You... |
PowerShellCorpus/PowerShellGallery/Unity-Powershell/0.14.2/Public/Set-UnityNFSShare.ps1 | Set-UnityNFSShare.ps1 | Function Set-UnityNFSShare {
<#
.SYNOPSIS
Modifies NFS share.
.DESCRIPTION
Modifies 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/Get-UnityMetricQueryResult.ps1 | Get-UnityMetricQueryResult.ps1 | Function Get-UnityMetricQueryResult {
<#
.SYNOPSIS
A set of values for one or more metrics for a given period of time.
.DESCRIPTION
A set of values for one or more metrics for a given period of time.
You need to have an active session with the array.
.NOTES
Written by Erwan ... |
PowerShellCorpus/PowerShellGallery/Unity-Powershell/0.14.2/Public/New-UnityUser.ps1 | New-UnityUser.ps1 | Function New-UnityUser {
<#
.SYNOPSIS
Create a new local user.
.DESCRIPTION
Create a new local user and specified role and password.
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/Get-UnityIpPort.ps1 | Get-UnityIpPort.ps1 | Function Get-UnityIPPort {
<#
.SYNOPSIS
Queries the EMC Unity array to retrieve informations about IP Ports.
.DESCRIPTION
Queries the EMC Unity array to retrieve informations about IP Ports.
You need to have an active session with the array.
.NOTES
Written by Erwan Quelin un... |
PowerShellCorpus/PowerShellGallery/Unity-Powershell/0.14.2/Public/Get-UnityvCenter.ps1 | Get-UnityvCenter.ps1 | Function Get-UnityvCenter {
<#
.SYNOPSIS
View details about vCenter configuration on the system.
.DESCRIPTION
View details about vCenter configuration on the system.
You need to have an active session with the array.
.NOTES
Written by Erwan Quelin under MIT licence - https:/... |
PowerShellCorpus/PowerShellGallery/Unity-Powershell/0.14.2/Public/New-UnityVMwareLUN.ps1 | New-UnityVMwareLUN.ps1 | Function New-UnityVMwareLUN {
<#
.SYNOPSIS
Creates a Unity VMware block LUN.
.DESCRIPTION
Creates a Unity 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/... |
PowerShellCorpus/PowerShellGallery/Unity-Powershell/0.14.2/Public/Set-UnityCIFSShare.ps1 | Set-UnityCIFSShare.ps1 | Function Set-UnityCIFSShare {
<#
.SYNOPSIS
Modifies CIFS share.
.DESCRIPTION
Modifies CIFS 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/Hardware/Get-UnitySsd.ps1 | Get-UnitySsd.ps1 | Function Get-UnitySsd {
<#
.SYNOPSIS
Information about internal Flash-based Solid State Disks (SSDs, mSATAs) in the storage system.
.DESCRIPTION
Information about internal Flash-based Solid State Disks (SSDs, mSATAs) in the storage system.
Applies to physical deployments only.
... |
PowerShellCorpus/PowerShellGallery/Unity-Powershell/0.14.2/Public/Hardware/Get-UnityStorageProcessor.ps1 | Get-UnityStorageProcessor.ps1 | Function Get-UnityStorageProcessor {
<#
.SYNOPSIS
Information about Storage Processor.
.DESCRIPTION
Information about Storage Processor.
You need to have an active session with the array.
.NOTES
Written by Erwan Quelin under MIT licence - https://github.com/equelin/Unity... |
PowerShellCorpus/PowerShellGallery/Unity-Powershell/0.14.2/Public/Hardware/Get-UnityDae.ps1 | Get-UnityDae.ps1 | Function Get-UnityDae {
<#
.SYNOPSIS
Information about Disk Array Enclosure (DAE) components in the storage system.
.DESCRIPTION
Information about Disk Array Enclosure (DAE) components in the storage system.
You need to have an active session with the array.
.NOTES
Writt... |
PowerShellCorpus/PowerShellGallery/Unity-Powershell/0.14.2/Public/Hardware/Get-UnityDisk.ps1 | Get-UnityDisk.ps1 | Function Get-UnityDisk {
<#
.SYNOPSIS
View details about disks on the system.
.DESCRIPTION
View details about disk on the 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... |
PowerShellCorpus/PowerShellGallery/Unity-Powershell/0.14.2/Public/Hardware/Get-UnityDpe.ps1 | Get-UnityDpe.ps1 | Function Get-UnityDpe {
<#
.SYNOPSIS
Information about Disk Processor Enclosures (DPEs) in the storage system.
.DESCRIPTION
Information about Disk Processor Enclosures (DPEs) in the storage system.
You need to have an active session with the array.
.NOTES
Written by Er... |
PowerShellCorpus/PowerShellGallery/Unity-Powershell/0.14.2/Public/Hardware/Get-UnityEthernetPort.ps1 | Get-UnityEthernetPort.ps1 | Function Get-UnityEthernetPort {
<#
.SYNOPSIS
Queries the EMC Unity array to retrieve informations about Ethernet Ports.
.DESCRIPTION
Queries the EMC Unity array to retrieve informations about Ethernet Ports.
You need to have an active session with the array.
.NOTES
Written ... |
PowerShellCorpus/PowerShellGallery/Unity-Powershell/0.14.2/Public/Hardware/Get-UnityEncryption.ps1 | Get-UnityEncryption.ps1 | Function Get-UnityEncryption {
<#
.SYNOPSIS
Information about Encryption.
.DESCRIPTION
Information about Encryption.
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/Hardware/Get-UnitySsc.ps1 | Get-UnitySsc.ps1 | Function Get-UnitySsc {
<#
.SYNOPSIS
Information about System Status Cards (SSCs) in the storage system.
.DESCRIPTION
Information about System Status Cards (SSCs) in the storage system.
Applies to physical deployments only.
You need to have an active session with the array.
... |
PowerShellCorpus/PowerShellGallery/PartnerCenterModule/0.9.0.8/PartnerCenterModule.ps1 | PartnerCenterModule.ps1 | # v1.4.0.0
<#
© 2017 Microsoft Corporation. All rights reserved. This sample code is not supported under any Microsoft standard support program or service.
This sample code is provided AS IS without warranty of any kind. Microsoft disclaims all implied warranties including, without limitation,
any imp... |
PowerShellCorpus/PowerShellGallery/PartnerCenterModule/0.9.0.8/src/commons.ps1 | commons.ps1 | <#
© 2017 Microsoft Corporation. All rights reserved. This sample code is not supported under any Microsoft standard support program or service.
This sample code is provided AS IS without warranty of any kind. Microsoft disclaims all implied warranties including, without limitation,
any implied warrant... |
PowerShellCorpus/PowerShellGallery/UpdateServicesClientDSC/1.1.0.0/Examples/Sample_UpdateServicesClientDSC.ps1 | Sample_UpdateServicesClientDSC.ps1 | configuration Sample_WindowsUpdateClient {
Import-DscResource -ModuleName UpdateServicesClientDSC
Node localhost {
UpdateServicesClientDSC UpdateSettings {
Ensure = 'Present'
AutomaticUpdateEnabled = $true
AutomaticUpdateOption = 'AutoDownloadAndNotifyForInstall... |
PowerShellCorpus/PowerShellGallery/UpdateServicesClientDSC/1.1.0.0/Tests/Unit/UpdateServicesClientDSC.Tests.ps1 | UpdateServicesClientDSC.Tests.ps1 | $DSCResourceName = 'UpdateServicesClientDSC'
$root = (Resolve-Path $PSScriptRoot\..\..).Path
Import-Module (Join-Path $root "DSCResources\$DSCResourceName\$DSCResourceName.psm1") -Force
InModuleScope $DSCResourceName {
Describe "$DSCResourceName\Get-TargetResource" -Tag UnitTest {
Mock Get-Automa... |
PowerShellCorpus/PowerShellGallery/UpdateServicesClientDSC/1.1.0.0/Tests/Integration/UpdateServicesClientDSC.Integration.Tests.ps1 | UpdateServicesClientDSC.Integration.Tests.ps1 | $DSCModuleName = 'UpdateServicesClientDSC'
$DSCResourceName = 'UpdateServicesClientDSC'
Import-Module "$((Get-Item -LiteralPath "$($PSScriptRoot)").Parent.Parent.FullName)\Misc\KVWindowsUpdate.psm1"
$configfile = Join-Path -Path $PSScriptRoot -ChildPath "$($DSCResourceName).config.ps1"
. $configfile
$worki... |
PowerShellCorpus/PowerShellGallery/UpdateServicesClientDSC/1.1.0.0/Tests/Integration/UpdateServicesClientDSC.config.ps1 | UpdateServicesClientDSC.config.ps1 | $UpdateServicesClientDSC = [PSObject]@{
Ensure = 'Present'
AutomaticUpdateEnabled = $true
AutomaticUpdateOption = 'AutoDownloadAndNotifyForInstall'
UpdateServer = 'https://wsus01.dscdomain.local:8530'
UpdateTargetGroup = 'test'
}
configuration UpdateServicesC... |
PowerShellCorpus/PowerShellGallery/NubusTech.CredentialStore/1.0/public/Get-CsEntry.ps1 | Get-CsEntry.ps1 | <#
.SYNOPSIS
Get CredentialStore Entries
.DESCRIPTION
The Get-CsEntry cmdlet gets objects that represent the CredentialStore entries for a file.
.PARAMETER FilePath
Specifies the path to the CredentialStore file.
.PARAMETER Name
Specifies the CredentialStore entries names of entries to be retrie... |
PowerShellCorpus/PowerShellGallery/NubusTech.CredentialStore/1.0/public/Get-CsPassword.ps1 | Get-CsPassword.ps1 | <#
.SYNOPSIS
Get CredentialStore Entry Password
.DESCRIPTION
The Get-CsPassword cmdlet gets the credential password for a CredentialStore entry by name.
.PARAMETER FilePath
Specifies the path to the CredentialStore file.
.PARAMETER Name
Specifies the CredentialStore entry name of of the be retri... |
PowerShellCorpus/PowerShellGallery/NubusTech.CredentialStore/1.0/public/Set-CsEntry.ps1 | Set-CsEntry.ps1 | <#
.SYNOPSIS
Set CredentialStore Entries
.DESCRIPTION
The Set-CsEntry cmdlet adds or updates CredentialStore entries in a CredentialStore file.
.PARAMETER FilePath
Specifies the path to the CredentialStore file.
.PARAMETER Name
Specifies the CredentialStore entry name of entry to be added or upd... |
PowerShellCorpus/PowerShellGallery/NubusTech.CredentialStore/1.0/public/Initialize-CsStore.ps1 | Initialize-CsStore.ps1 | <#
.SYNOPSIS
Creates a new CredentialStore
.DESCRIPTION
The Initialize-CsStore cmdlet create a new CredentialStore file.
.PARAMETER FilePath
Specifies the path for the new CredentialStore file.
.Example
Initialize-CsStore -FilePath CredentialStore.json
This command will create a new keysore... |
PowerShellCorpus/PowerShellGallery/NubusTech.CredentialStore/1.0/public/Get-CsDefaultStore.ps1 | Get-CsDefaultStore.ps1 | <#
.SYNOPSIS
Gets the path to the default CredentialStore
.DESCRIPTION
The Get-CsDefaultStore cmdlet gets the path to the default CredentialStore
.LINK
https://github.com/nubustech/NubusTech.CredentialStore
#>
function Get-CsDefaultStore {
return $Script:DefaultCredentialStore
} |
PowerShellCorpus/PowerShellGallery/NubusTech.CredentialStore/1.0/public/Get-CsCredential.ps1 | Get-CsCredential.ps1 | <#
.SYNOPSIS
Get a CredentialStore Entry Credential
.DESCRIPTION
The Get-CsCredential cmdlet gets the credential for a CredentialStore entry by name.
.PARAMETER FilePath
Specifies the path to the CredentialStore file.
.PARAMETER Name
Specifies the CredentialStore entry name of of the be retrieve... |
PowerShellCorpus/PowerShellGallery/NubusTech.CredentialStore/1.0/public/Set-CsDefaultStore.ps1 | Set-CsDefaultStore.ps1 | <#
.SYNOPSIS
Set the path to the default CredentialStore
.DESCRIPTION
The Set-CsDefaultStore cmdlet sets the path to the default CredentialStore.
This path is not persisted across powershell sessions.
.PARAMETER FilePath
Specifies the path to the CredentialStore file.
.LINK
https://github.c... |
PowerShellCorpus/PowerShellGallery/awp/1.0.0.0/tests/unit/functions/Install-AWP.tests.ps1 | Install-AWP.tests.ps1 | InModuleScope awp {
Describe 'Install-AWP' {
$testPath = "TestDrive:\awpInstall.exe"
Set-Content $testPath -value "awpInstLLER"
BeforeEach {
Mock Copy-Item { $null }
}
Context 'General Tests' {
It 'Parameter Tests' {
Mock T... |
PowerShellCorpus/PowerShellGallery/awp/1.0.0.0/tests/unit/functions/Test-AWPInstall.tests.ps1 | Test-AWPInstall.tests.ps1 | InModuleScope awp {
Describe 'Test-AWPInstall' {
Mock New-PSSession { }
Context 'General Tests' {
Mock Invoke-Command {
@{
UninstallString = '{23478236378hjdfgsdfg78dftsd}'
DisplayVersion = '6.76.5'
}
... |
PowerShellCorpus/PowerShellGallery/awp/1.0.0.0/tests/unit/functions/Uninstall-AWP.tests.ps1 | Uninstall-AWP.tests.ps1 | InModuleScope awp {
Describe 'Uninstall-AWP' {
BeforeEach {
Mock Invoke-Command {}
}
Context 'General Tests' {
It 'Parameter Tests' {
Mock Test-AWPInstall {}
{ Uninstall-AWP } | Should Not Throw
{ Uninstall-... |
PowerShellCorpus/PowerShellGallery/awp/1.0.0.0/tests/unit/functions/Test-AWPPreReq.tests.ps1 | Test-AWPPreReq.tests.ps1 | InModuleScope awp {
Describe 'Test-AWPPreReq' {
Mock New-CimInstance { }
Context 'General Tests' {
Mock Get-CimInstance {
[PSCustomObject]@{
version = [version]8.1
}
} -ParameterFilter { $ClassName -eq 'Win32_Oper... |
PowerShellCorpus/PowerShellGallery/awp/1.0.0.0/tests/lint/scriptAnalyer.tests.ps1 | scriptAnalyer.tests.ps1 | $here = (Split-Path -Parent $MyInvocation.MyCommand.Path).Replace('tests\lint', '')
$scriptsModules = Get-ChildItem $here -Include *.psd1, *.psm1, *.ps1 -Exclude *.tests.ps1 -Recurse
Describe "Enviroment - Testing there is something to test and CMDLETS available." {
Context "Checking files to test exist and Invok... |
PowerShellCorpus/PowerShellGallery/awp/1.0.0.0/classes/models/AWPPreReq.ps1 | AWPPreReq.ps1 | class AWPPreReq
{
[string] $computerName
[int] $dotNetFourFrameWorkRelease
[version] $dotNetFourFrameWorkVersion
[version] $osVersion
[datetime] $LogTime = (Get-Date)
[bool] $preReqPass
#Constructor Overload All Values
AWPPreReq (
[string] $computerName,... |
PowerShellCorpus/PowerShellGallery/awp/1.0.0.0/classes/models/AWPInstall.ps1 | AWPInstall.ps1 | class AWPInstall
{
[string] $computerName
[string] $uninstallString
[bool] $isInstalled = $false
[version] $version
[datetime] $LogTime = (Get-Date)
#Constructor Overload All Values
AWPInstall (
[string] $computerName,
[string] $uninstallString,
... |
PowerShellCorpus/PowerShellGallery/awp/1.0.0.0/functions/Test-AWPPreReq.ps1 | Test-AWPPreReq.ps1 | function Test-AWPPreReq
{
<#
.Synopsis
Checks a computer has the Pre-Reqs to install the Autotask WorkPlace Agent.
.DESCRIPTION
Checks a computer has the Pre-Reqs to install the Autotask WorkPlace Agent. Looks at Windows Version and .Net framework version.
.EXA... |
PowerShellCorpus/PowerShellGallery/awp/1.0.0.0/functions/Test-AWPInstall.ps1 | Test-AWPInstall.ps1 | function Test-AWPInstall
{
<#
.Synopsis
Checks a computer to see if the Autotask WorkPlace Agent is installed.
.DESCRIPTION
Checks a computer to see if the Autotask WorkPlace Agent is installed. It looks for the uninstall registry key.
.EXAMPLE
Tes... |
PowerShellCorpus/PowerShellGallery/awp/1.0.0.0/functions/Install-AWP.ps1 | Install-AWP.ps1 | function Install-AWP
{
<#
.Synopsis
Installs the SoonR Agent on remote and local computers
.DESCRIPTION
Installs the SoonR Agent on remote and local computers. Assumes C: is the system drive.
.EXAMPLE
Install-AWP -computername 'computer-one' -path 'c:\install\soonRInstaller.exe'
.EXAMPLE
... |
PowerShellCorpus/PowerShellGallery/awp/1.0.0.0/functions/Uninstall-AWP.ps1 | Uninstall-AWP.ps1 | function Uninstall-AWP
{
<#
.Synopsis
Un-installs an AWP agent on remote computers.
.DESCRIPTION
Un-installs an AWP agent on remote computers.
.EXAMPLE
Uninstall-AWP -computerName 'computer1', 'computer2' -Verbose
.NOTES
Writt... |
PowerShellCorpus/PowerShellGallery/posh-dcos/0.0.2/BuildPackage.ps1 | BuildPackage.ps1 | .\tools\NuGet.exe pack posh-dcos.nuspec |
PowerShellCorpus/PowerShellGallery/posh-dcos/0.0.2/posh-dcos.ps1 | posh-dcos.ps1 |
function PascalName($name){
$parts = $name.Split(" ")
for($i = 0 ; $i -lt $parts.Length ; $i++){
$parts[$i] = [char]::ToUpper($parts[$i][0]) + $parts[$i].SubString(1).ToLower();
}
$parts -join ""
}
function GetHeaderBreak($headerRow, $startPoint=0){
$i = $startPoint
while( $i ... |
PowerShellCorpus/PowerShellGallery/PSWebConfig/1.7.0.0/Functions/CommonFunctions.ps1 | CommonFunctions.ps1 | function Set_Type {
param(
[Parameter(ValueFromPipeline=$true)]
[psobject[]]$InputObject,
[string]$TypeName
)
process {
foreach ($object in $InputObject) {
if ($TypeName) {
$object.psobject.TypeNames.Insert(0, $TypeName)
}
$... |
PowerShellCorpus/PowerShellGallery/PSWebConfig/1.7.0.0/Functions/CommonAliases.ps1 | CommonAliases.ps1 | # IISAdministration and WebAdministration compatible aliases
New-Alias -Name Test-WebConfigFile -Value Test-PSWebConfig -Scope Script
# Common aliases for application config scenarios
New-Alias -Name Get-PSAppConfig -Value Get-PSWebConfig -Scope Script
New-Alias -Name Test-PSAppConfig -Value Test-PSWebConfig -Scope Sc... |
PowerShellCorpus/PowerShellGallery/PSWebConfig/1.7.0.0/Functions/PSWebConfig/Test-PSWebConfig.ps1 | Test-PSWebConfig.ps1 | <#
.SYNOPSIS
Tests all URI and ConnectionStrings from web or application configuration.
.DESCRIPTION
The cmdlet fetches all ConnectionString and service endpoint URIs
from a configuration xml and executes a test against them on a
local or remote machine.
If -IncludeAppSettings switch is defined, i... |
PowerShellCorpus/PowerShellGallery/PSWebConfig/1.7.0.0/Functions/PSWebConfig/Unprotect-PSWebConfig.ps1 | Unprotect-PSWebConfig.ps1 | <#
.SYNOPSIS
Decrypts and saves inplace a web.config file
.DESCRIPTION
Takes a Path or a WebAdministration object as an input, creates a
backup of the original file and overrides the configuration with its
decrypted version.
The cmdlet prompts for clarification on the override, unless -Confirm
... |
PowerShellCorpus/PowerShellGallery/PSWebConfig/1.7.0.0/Functions/PSWebConfig/Get_ConfigFile.ps1 | Get_ConfigFile.ps1 | function Get_ConfigFile {
[CmdletBinding()]
param(
[Parameter(Position=0)]
[string]$Path,
[Parameter(Position=1)]
[bool]$AsFileInfo=$false,
[Parameter(Position=2)]
[bool]$AsText=$false,
[Parameter(Position=3)]
[bool]$Recurse=$false
)
fu... |
PowerShellCorpus/PowerShellGallery/PSWebConfig/1.7.0.0/Functions/PSWebConfig/Get-PSWebConfig.ps1 | Get-PSWebConfig.ps1 | <#
.SYNOPSIS
Returns a decrypted configurations from websites or applications
.DESCRIPTION
The cmdlet finds the relevant web and app configs for the passed applications
or websites and returns it in an XML/Text or File list format.
It accepts either Path or an InputObject to discover the configuration ... |
PowerShellCorpus/PowerShellGallery/PSWebConfig/1.7.0.0/Functions/PSAppSetting/Get-PSAppSetting.ps1 | Get-PSAppSetting.ps1 | <#
.SYNOPSIS
Returns the appSettings from an or application/web config
.DESCRIPTION
The cmdlet takes an application/web configuration as an input and returns
all applicationsettings from it.
.PARAMETER ConfigXml
Mandatory - Pipeline input for Configuration XML
.EXAMPLE
Get-PSWebConfig -Path 'C:\in... |
PowerShellCorpus/PowerShellGallery/PSWebConfig/1.7.0.0/Functions/PSConnectionString/Test_ConnectionString.ps1 | Test_ConnectionString.ps1 | function Test_ConnectionString {
param(
[Parameter(Mandatory, Position=0)]
[string]$ConnectionString,
[Parameter(Position=1)]
[hashtable]$ReplaceRules,
[Parameter(Position=2)]
[bool]$ShowPassword=$false
)
$result = New-Object PsObject -Property @{
C... |
PowerShellCorpus/PowerShellGallery/PSWebConfig/1.7.0.0/Functions/PSConnectionString/Test-PSConnectionString.ps1 | Test-PSConnectionString.ps1 | <#
.SYNOPSIS
Tests a ConnectionStrings from a local or remote machine
.DESCRIPTION
The cmdlet takes a ConnectionString as an input object or as a direct
parameter then it tries to connect to the database.
If Initial Catalog is specified, it queries the server for the specified
database otherwise it... |
PowerShellCorpus/PowerShellGallery/PSWebConfig/1.7.0.0/Functions/PSConnectionString/Get-PSConnectionString.ps1 | Get-PSConnectionString.ps1 | <#
.SYNOPSIS
Returns ConnectionStrings from an or application/web config
.DESCRIPTION
The cmdlet takes an application/web configuration as an input and returns
the connectionstrings from it.
If -IncludeAppSettings is specified it will try to match any ConnectionString from the
appSettings sections ... |
PowerShellCorpus/PowerShellGallery/PSWebConfig/1.7.0.0/Functions/PSUri/Test-PSUri.ps1 | Test-PSUri.ps1 | <#
.SYNOPSIS
Tests any HTTP/HTTPS URIs from a remote or local machine.
.DESCRIPTION
The cmdlet takes a URI as an input object or as a direct
parameter then it tries to connect to it with Invoke-WebRequest with
-UseBasicParsing switch and returns the result as a test object.
You can specify a regul... |
PowerShellCorpus/PowerShellGallery/PSWebConfig/1.7.0.0/Functions/PSUri/Get-PSUri.ps1 | Get-PSUri.ps1 | <#
.SYNOPSIS
Returns any URIs from application or web configuration.
.DESCRIPTION
It accepts configuration XMLs and returns any URIs found in appSettings and
from client endpoint addresses.
The cmdlet filters PSAppSettings for URIs and also returns PSEndpoint results.
.PARAMETER ConfigXml
Mandator... |
PowerShellCorpus/PowerShellGallery/PSWebConfig/1.7.0.0/Functions/PSUri/Get-PSEndpoint.ps1 | Get-PSEndpoint.ps1 | <#
.SYNOPSIS
Returns endpoint addresses from application or web configuration
.DESCRIPTION
It accepts configuration XMLs and returns \client endpoint addresses from
system.serviceModel section.
.PARAMETER ConfigXml
Mandatory - Pipeline input for Configuration XML
.EXAMPLE
Get-PSWebConfig -Path 'C:... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.