Search is not available for this dataset
filename stringlengths 5 114 | module_name stringlengths 8 67 | content stringlengths 0 282M |
|---|---|---|
Export-CT365ProdUserToExcel.ps1 | 365AutomatedLab-2.11.0 | <#
.SYNOPSIS
Exports Office 365 production user data to an Excel file.
.DESCRIPTION
The Export-CT365ProdUserToExcel function connects to Microsoft Graph, retrieves user data based on specified filters, and exports the data to an Excel file. It supports filtering by department, limiting the number of users, and... |
New-CT365User.Tests.ps1 | 365AutomatedLab-2.11.0 | BeforeAll {
# Call Cmdlet
$commandScriptPath = Join-Path -Path $PSScriptRoot -ChildPath '..\functions\public\New-CT365User.ps1'
. $commandScriptPath
}
Describe 'New-CT365User Function' {
Context 'When provided invalid parameters' {
It 'Should throw an error for invalid domain format' {
... |
Copy-WorksheetName.ps1 | 365AutomatedLab-2.11.0 | <#
.SYNOPSIS
This function copies the names of all the worksheets in an Excel file and exports them into a CSV file.
.DESCRIPTION
The function Copy-WorksheetName takes two parameters, the file path of the Excel file and the output path of the CSV file. It reads the Excel file, extracts the names of all worksheets, and... |
New-CT365Group.ps1 | 365AutomatedLab-2.11.0 | <#
.SYNOPSIS
This function creates Office 365 Groups, Distribution Groups, Mail-Enabled Security Groups, and Security Groups based on the data provided in an Excel file.
.DESCRIPTION
The function New-CT365Group takes the path of an Excel file, User Principal Name and a Domain as input. It creates Office 365 Groups, Dis... |
Remove-CT365GroupByUserRole.ps1 | 365AutomatedLab-2.11.0 | <#
.SYNOPSIS
Removes a user from Office 365 groups as specified in an Excel file.
.DESCRIPTION
This function removes a user from different types of Office 365 groups as specified in an Excel file.
The function uses the ExchangeOnlineManagement, ImportExcel, Microsoft.Graph.Groups, and Microsoft.Graph.Users modules.
T... |
Remove-CT365SharePointSite.Tests.ps1 | 365AutomatedLab-2.11.0 | BeforeAll {
# Call Cmdlet
$commandScriptPath = Join-Path -Path $PSScriptRoot -ChildPath '..\functions\public\Remove-CT365SharePointSite.ps1'
. $commandScriptPath
}
Describe 'Remove-CT365SharePointSite Function' {
Context 'When provided invalid parameters' {
It 'Should throw an error for invali... |
New-CT365GroupByUserRole.ps1 | 365AutomatedLab-2.11.0 | <#
.SYNOPSIS
This function adds a user to Microsoft 365 groups based on a provided Excel file.
.DESCRIPTION
The New-CT365GroupByUserRole function uses Microsoft Graph and Exchange Online Management modules to add a user to different types of Microsoft 365 groups. The group details are read from an Excel file. The grou... |
New-CT365DataEnvironment.ps1 | 365AutomatedLab-2.11.0 | <#
.SYNOPSIS
Creates a new Office 365 data environment template in an Excel workbook.
.DESCRIPTION
The New-CT365DataEnvironment function creates a new Excel workbook with multiple worksheets
for Users, Groups, Teams, Sites, and specified Job Roles. Each worksheet is formatted
with predefined columns ... |
New-CT365Teams.ps1 | 365AutomatedLab-2.11.0 | <#
.SYNOPSIS
Creates new Microsoft Teams and associated channels based on data from an Excel file.
.DESCRIPTION
The New-CT365Teams function connects to Microsoft Teams via PnP PowerShell, reads team and channel information from an Excel file, and creates new Teams and channels as specified. It supports retry logic for... |
get-msolipranges.ps1 | 365Tools-3.1.0 | function Get-MSOLIPRanges {
<#
.SYNOPSIS
Finds IP range for given O365 Products to create firewall rules.
.DESCRIPTION
Finds IP range for given O365 Products to create firewall rules.
.PARAMETER IPType
Select which IP type you want to find the ranges for.
Possible options are IPv... |
New-MSOLReport.ps1 | 365Tools-3.1.0 | function New-MSOLReport
{
<#
.SYNOPSIS
Creates a CSV-file with user data from Office 365
.DESCRIPTION
This function creates a CSV-file with user data fetched from Office 365, such as licensing status, mailbox size, etc.
.EXAMPLE
New-MSOLReport -outfile c:\temp\somefile.csv
.EXAMP... |
loader.psm1 | 365Tools-3.1.0 | # DO NOT MODIFY THIS FILE!
# THIS FILE WAS AUTOGENERATED BY ISESTEROIDS AND WILL BE OVERWRITTEN WHEN YOU EXPORT FUNCTIONS TO THIS MODULE.
# USE THIS FILE FOR ADDITIONAL MODULE CODE. THIS FILE WILL NOT BE OVERWRITTEN
# WHEN NEW CONTENT IS PUBLISHED TO THIS MODULE:
. $PSScriptRoot\init.ps1
# LOADING ALL FUNCTI... |
get-alternateinfo.ps1 | 365Tools-3.1.0 | function Get-AlternateInfo
{
<#
.SYNOPSIS
Creates a CSV-file with user data from Office 365 with users that don't have their alternate contact information set up.
.DESCRIPTION
This function creates a CSV-file with user data fetched from Office 365 that includes users that don't have their altern... |
365Tools.psd1 | 365Tools-3.1.0 | #
# Module manifest for module 'PSGet_365Tools'
#
# Generated by: Ralph Eckhard
#
# Generated on: 16-2-2017
#
@{
# Script module or binary module file associated with this manifest.
RootModule = 'loader.psm1'
# Version number of this module.
ModuleVersion = '3.1.0'
# S... |
get-mailboxauditsettings.ps1 | 365Tools-3.1.0 | function Get-MailboxAuditSettings
{
<#
.SYNOPSIS
Display all mailboxes that don't have audit enabled. Gives you the option to enable directly.
.DESCRIPTION
This function generates an overview of all mailboxes that don't have auditing enabled. When specifying the -activate switch, auditing will b... |
Open-MSOLConnection.ps1 | 365Tools-3.1.0 | function Open-MSOLConnection
{
<#
.SYNOPSIS
Connects and loads a MSOL PoSH Connection.
.DESCRIPTION
Gets credential for MSOL Session, configures a new session and loads it.
.EXAMPLE
Open-MSOLConnection
#>
$LiveCred = Get-Credential
$Session = New-PSSession -Name MSOL -Config... |
Get-AdminInfo.ps1 | 365Tools-3.1.0 | function Get-AdminInfo
{
<#
.SYNOPSIS
Gets information on the administrative users on your tenant, to make sure you comply with Microsoft best practices.
.DESCRIPTION
.EXAMPLE
Get-AdminInfo
#>
if (!(get-module msonline)) {open-msolconnection}
#region Get data
$AdminRole = Get-... |
init.ps1 | 365Tools-3.1.0 |
# use this file to define global variables on module scope
# or perform other initialization procedures.
# this file will not be touched when new functions are exported to
# this module.
|
get-forwardmailbox.ps1 | 365Tools-3.1.0 | function New-MSOLReport
{
<#
.SYNOPSIS
Gets all mailboxes with that forward mail to a different address
.DESCRIPTION
This function outputs all mailboxes that forward mail to a different address. You can use this for compliancy checks.
.EXAMPLE
Get-ForwardMailbox
#>
get-mailbox | ... |
Get-3CXTrunk.ps1 | 3CX-0.0.10 | <#
.SYNOPSIS
Get 3CX Trunks
.DESCRIPTION
Retrieve the 3CX Trunks
.EXAMPLE
PS> Get-3CXTrunks
.OUTPUTS
powershell object containing the 3CX response
#>
function Get-3CXTrunk {
[CmdletBinding()]
param(
[Parameter(Mandatory=$False)]
$ID =... |
Get-3CXSIPDevice.ps1 | 3CX-0.0.10 | <#
.SYNOPSIS
Get 3CX SIP Device
.DESCRIPTION
Retrieve the 3CX SIP Device(s)
.EXAMPLE
PS> Get-3CXSIPDevice
.OUTPUTS
powershell object containing the 3CX response
#>
function Get-3CXSIPDevice {
[CmdletBinding()]
param()
$params = @{
Endpoin... |
3CX.psd1 | 3CX-0.0.10 | #
# Module manifest for module '3CX'
#
# Generated by: xasz
#
# Generated on: 01.08.2024
#
@{
# Script module or binary module file associated with this manifest.
RootModule = '.\3CX.psm1'
# Version number of this module.
ModuleVersion = '0.0.10'
# Supported PSEditions
# CompatiblePSEditions = @()
... |
3CX.psm1 | 3CX-0.0.10 | Write-Verbose "Discovering functions"
$Functions = @(Get-ChildItem -Path $PSScriptRoot\public\ -Include *.ps1 -Recurse)
if(Test-Path -Path $PSScriptRoot\private\){
$PrivateFunctions = @(Get-ChildItem -Path $PSScriptRoot\private\ -Include *.ps1 -Recurse)
$Functions = $Functions + $PrivateFunctions
}
f... |
Get-3CXSystemStatus.ps1 | 3CX-0.0.10 | <#
.SYNOPSIS
Get 3CX System Status
.DESCRIPTION
Retrieve the 3CX System Status which alot of information about the 3CX system
.EXAMPLE
PS> Get-3CXSystemStatus
.OUTPUTS
powershell object containing the 3CX response
#>
function Get-3CXSystemStatus {
[CmdletBi... |
Get-3CXEventLog.ps1 | 3CX-0.0.10 | <#
.SYNOPSIS
Get 3CX Event Log
.DESCRIPTION
Retrieve the 3CX Event Log
.EXAMPLE
PS> Get-3CXEventLog
.OUTPUTS
powershell object containing the 3CX response
#>
function Get-3CXEventLog {
[CmdletBinding()]
param()
$params = @{
Endpoint = '/x... |
Get-3CXResult.ps1 | 3CX-0.0.10 | function Get-3CXResult {
[CmdletBinding(DefaultParameterSetName = "Simple")]
param(
[Parameter(Mandatory=$True, ParameterSetName="Simple")]
[Parameter(Mandatory=$True, ParameterSetName="Paginate")]
[string]$Endpoint,
[Parameter(Mandatory=$False, ParameterSetName="Simple... |
Get-3CXActiveCalls.ps1 | 3CX-0.0.10 | <#
.SYNOPSIS
Get 3CX Active Calls
.DESCRIPTION
Retrieve the Active Calls
.EXAMPLE
PS> Get-3CXActiveCalls
.OUTPUTS
powershell object containing the 3CX response
#>
function Get-3CXActiveCalls {
[CmdletBinding()]
param()
$params = @{
Endpoi... |
Get-3CXVersion.ps1 | 3CX-0.0.10 | <#
.SYNOPSIS
Get 3CX System Version
.DESCRIPTION
Retrieve the 3CX System Version
.EXAMPLE
PS> Get-3CXVersion
.OUTPUTS
powershell object containing the 3CX response
#>
function Get-3CXVersion {
[CmdletBinding()]
param()
return [version](Get-3CXRes... |
Get-3CXUser.ps1 | 3CX-0.0.10 | <#
.SYNOPSIS
Get 3CX User
.DESCRIPTION
Retrieve the 3CX User
.EXAMPLE
PS> Get-3CXUser
.OUTPUTS
powershell object containing the 3CX response
#>
function Get-3CXUser {
[CmdletBinding()]
param()
$params = @{
Endpoint = '/xapi/v1/Users'
... |
Get-3CXSystemHealth.ps1 | 3CX-0.0.10 | <#
.SYNOPSIS
Get 3CX System Health
.DESCRIPTION
Retrieve the 3CX System Health which contains firewall, trunks and phones health
.EXAMPLE
PS> Get-3CXSystemHealth
.OUTPUTS
powershell object containing the 3CX response
#>
function Get-3CXSystemHealth {
[Cmdle... |
Get-3CXSBC.ps1 | 3CX-0.0.10 | <#
.SYNOPSIS
Get 3CX SBCs
.DESCRIPTION
Retrieve the 3CX SBCs
.EXAMPLE
PS> Get-3CXSBC
.OUTPUTS
powershell object containing the 3CX response
#>
function Get-3CXSBC {
[CmdletBinding(DefaultParameterSetName = "Default")]
param(
[Parameter(Mandato... |
Connect-3CX.ps1 | 3CX-0.0.10 |
function Connect-3CX{
[CmdletBinding()]
param(
[Parameter(mandatory=$true, HelpMessage="3CX Credential")]
[pscredential]$Credential,
[Parameter(mandatory=$true, HelpMessage="3CX Server")]
[string]$APIHost,
[Parameter(mandatory=$false, HelpMessage="3CX Server P... |
PublishToPSGallery.ps1 | 3LCourseAZ040-2204.6.0 | # Date: 2022-04-06
cls
$baseFolder = $PSScriptRoot
Write-Verbose "STATUS : BaseFolder = $baseFolder" -v
if ( -not($baseFolder) ) {
$baseFolder = Get-Location
}
if ( $name = ([regex]::match($baseFolder, '.+\\Modules\\(.[^\\]+)')).groups[1].value ) {
Write-Verbose "SUCCESS: Modulename extracted fr... |
3LCourseAZ040.psd1 | 3LCourseAZ040-2204.6.0 | #
# Module manifest for module '3LCourseAZ040'
#
# Generated by: F. van Drie (3-link.nl)
#
# Generated on: 4/6/2022
#
@{
# Script module or binary module file associated with this manifest.
RootModule = '3LCourseAZ040'
# Version number of this module.
ModuleVersion = '2204.6.0'
# Supported PSEdition... |
Demo-Construct.ps1 | 3LCourseAZ040-2204.6.0 | # Filename: Demo-Construct.ps1
# Author: Frits van Drie (3-Link.nl)
# Date: 2022-04-06
#region: If, ElseIf, Else
<#
If (Condition1) {Action1}
ElseIf (Condition2) {Action2}
ElseIf (Condition3) {Action3}
Else {Action4}
#>
$one = 1
$two = 2
If ($one -eq... |
MCT-GetFolderInfo.ps1 | 3LCourseAZ040-2204.6.0 | Function MCT-GetFolderInfo {
<#
.SYNOPSIS
Gets the number of files and total storage for a specified folder.
.DESCRIPTION
Gets the number of files and total storage for a specified folder on the local or remote computer.
If no computer is specified, the local computer is qu... |
PublishToMyRepo.ps1 | 3LCourseAZ040-2204.6.0 | # Date: 2021-10-25
cls
$baseFolder = $PSScriptRoot
Write-Verbose "STATUS : BaseFolder = $baseFolder" -v
if ( -not($baseFolder) ) {
$baseFolder = Get-Location
}
if ( $name = ([regex]::match($baseFolder, '.+\\Modules\\(.[^\\]+)')).groups[1].value ) {
Write-Verbose "SUCCESS: Modulename extracted fr... |
3LCourseAZ040.psm1 | 3LCourseAZ040-2204.6.0 | # Filename: Demo-Construct.ps1
# Author: Frits van Drie (3-Link.nl)
# Date: 2022-04-06
#region: If, ElseIf, Else
<#
If (Condition1) {Action1}
ElseIf (Condition2) {Action2}
ElseIf (Condition3) {Action3}
Else {Action4}
#>
$one = 1
$two = 2
... |
3LToolKit.psm1 | 3LToolKit-211020.1829.0 | Function Get-3LLogonEventAccountName {
#requires -RunAsAdministrator
#requires -Modules PSScriptTools
<#
.SYNOPSIS
Get all logon events (Success and Failure) and extract some logon details
.SYNOPSIS
Get all authenticate events that are used to authenticate.
... |
3LToolKit.psd1 | 3LToolKit-211020.1829.0 | #
# Module manifest for module '3LToolkit'
#
# Generated by: F. van Drie (3-link.nl)
#
# Generated on: 20-10-2021
#
@{
# Script module or binary module file associated with this manifest.
RootModule = '3LToolkit'
# Version number of this module.
ModuleVersion = '211020.1829'
# Supported PSEditions
... |
3LWakeOnLan.psd1 | 3LWakeOnLan-211021.1216.0 | #
# Module manifest for module '3LWakeOnLan'
#
# Generated by: F. van Drie (3-link.nl)
#
# Generated on: 10/21/2021
#
@{
# Script module or binary module file associated with this manifest.
RootModule = '3LWakeOnLan'
# Version number of this module.
ModuleVersion = '211021.1216.0'
# Supported PSEdit... |
3LWakeOnLan.psm1 | 3LWakeOnLan-211021.1216.0 | # Name : 3LWakeOnLan.psm1
# Author : Frits van Drie (3-Link.nl)
# Date : 2021-10-20
Function Invoke-WakeUpComputer {
<#
.SYNOPSIS
Send a Wake-On-LAN magic packet
.DESCRIPTION
Send a Wake-On-LAN magic packet to all passed MAC-addresses
UDP-port... |
Remove-3PARHosts.ps1 | 3PAR-Powershell-0.4.0 | Function Remove-3PARHosts {
<#
.SYNOPSIS
Delete a host
.DESCRIPTION
This function will delete a host. You need to have an active session with the array.
.NOTES
Written by Erwan Quelin under Apache licence
.LINK
https://github.com/equelin/3PAR-Powershell
... |
Disconnect-3PAR.ps1 | 3PAR-Powershell-0.4.0 | Function Disconnect-3PAR {
<#
.SYNOPSIS
Delete connection to the HP 3PAR StoreServ array
.DESCRIPTION
This function will delete the key session used for communicating with the HP 3PAR StoreServ array.
.NOTES
Written by Erwan Quelin under Apache licence
.LINK
... |
Remove-3PARVolumes.ps1 | 3PAR-Powershell-0.4.0 | Function Remove-3PARVolumes {
<#
.SYNOPSIS
Remove a storage volume
.DESCRIPTION
This function will remove a storage volume. You need to have an active session with the array.
.NOTES
Written by Erwan Quelin under Apache licence
.LINK
https://github.com/equelin... |
Format-Result.ps1 | 3PAR-Powershell-0.4.0 | function Format-Result {
[CmdletBinding()]
Param (
[parameter(Mandatory = $true)]
$dataPS,
[parameter(Mandatory = $true)]
[string]$TypeName
)
Begin { $AlldataPS = @() }
Process {
# Add custom type to the resulting oject for formating purpose
Foreach... |
Show-RequestException.ps1 | 3PAR-Powershell-0.4.0 | Function Show-RequestException {
[CmdletBinding()]
Param(
[parameter(Mandatory = $true)]
$Exception
)
#Exception catch when there's a connectivity problem with the array
If ($Exception.Exception.InnerException) {
Write-Host "Please verify the connectivity with the array. Retry with the p... |
Get-3PARHosts.ps1 | 3PAR-Powershell-0.4.0 | Function Get-3PARHosts {
<#
.SYNOPSIS
Retrieve informations about Hosts
.DESCRIPTION
This function will retrieve informations about hosts. You need to have an active session with the array.
.NOTES
Written by Erwan Quelin under Apache licence
.LINK
https://git... |
Set-3PARHosts.ps1 | 3PAR-Powershell-0.4.0 | Function Set-3PARHosts {
<#
.SYNOPSIS
Modify an existing host
.DESCRIPTION
This function will modify an existing host. You need to have an active session with the array.
.NOTES
Written by Erwan Quelin under Apache licence
.LINK
https://github.com/equelin/3PAR... |
Set-3PARVolumes.ps1 | 3PAR-Powershell-0.4.0 | Function Set-3PARVolumes {
<#
.SYNOPSIS
Modify an existing storage volume.
.DESCRIPTION
This function will modify an existing storage volume. You need to have an active session with the array.
.NOTES
Written by Erwan Quelin under Apache licence
.LINK
https://... |
New-3PARHosts.ps1 | 3PAR-Powershell-0.4.0 | Function New-3PARHosts {
<#
.SYNOPSIS
Create a new host
.DESCRIPTION
This function will create a new host. You need to have an active session with the array.
.NOTES
Written by Erwan Quelin under Apache licence
.LINK
https://github.com/equelin/3PAR-Powershell
... |
Connect-3PAR.ps1 | 3PAR-Powershell-0.4.0 | Function Connect-3PAR {
<#
.SYNOPSIS
Establish connection to the HP 3PAR StoreServ array
.DESCRIPTION
This function will retrieve a key session from the HP 3PAR StoreServ array. This key will be used by the other functions.
.NOTES
Written by Erwan Quelin under Apache licen... |
Check-3PARConnection.ps1 | 3PAR-Powershell-0.4.0 | Function Check-3PARConnection {
[CmdletBinding()]
Param()
Write-Verbose 'Test if the session key exists'
# Validate the 3PAR session key exists
if (-not $global:3parKey)
{
throw 'You are not connected to a 3PAR array. Use Connect-3PAR.'
}
}
|
Get-3PARVLuns.ps1 | 3PAR-Powershell-0.4.0 | Function Get-3PARVLuns {
<#
.SYNOPSIS
Retrieve informations about virtual luns
.DESCRIPTION
This function will retrieve informations about virtual luns. You need to have an active session with the array.
.NOTES
Written by Erwan Quelin under Apache licence
.LINK
... |
Get-3PARAo.ps1 | 3PAR-Powershell-0.4.0 | Function Get-3PARAo {
<#
.SYNOPSIS
Retrieve informations about the configuration of Adaptive optimization (AO).
.DESCRIPTION
This function will retrieve informations about the configuration of Adaptive optimization (AO). You need to have an active session with the array.
.NOTES
... |
Get-3PARPorts.ps1 | 3PAR-Powershell-0.4.0 | Function Get-3PARPorts {
<#
.SYNOPSIS
Retrieve informations about ports.
.DESCRIPTION
This function will retrieve informations about ports. You need to have an active session with the array.
.NOTES
Written by Erwan Quelin under Apache licence
.LINK
https://gi... |
3PAR-Powershell.psd1 | 3PAR-Powershell-0.4.0 | #
# Module manifest for module '3PAR-Powershell'
#
# Generated by: Erwan Quélin
#
# Generated on: 28/11/2015
#
@{
# Script module or binary module file associated with this manifest.
RootModule = '3PAR-Powershell.psm1'
# Version number of this module.
ModuleVersion = '0.4.0'
# ID used to uniquely id... |
Check-WSAPICompatibility.ps1 | 3PAR-Powershell-0.4.0 | Function Check-WSAPICompatibility {
[CmdletBinding()]
Param (
[parameter(Mandatory = $true)]
[version]$WSAPIVersion
)
[version]$WSAPI = (Get-3PARWsapiConfiguration).version
If ($WSAPI -le $WSAPIVersion) {
Write-Warning 'The array does not support this functionnality'
Write-Warning... |
Get-3PARSystems.ps1 | 3PAR-Powershell-0.4.0 | Function Get-3PARSystems {
<#
.SYNOPSIS
Retrieve informations about the array.
.DESCRIPTION
This function will retrieve informations about the array. You need to have an active session with the array.
.NOTES
Written by Erwan Quelin under Apache licence.
.LINK
... |
New-3PARVolumes.ps1 | 3PAR-Powershell-0.4.0 | Function New-3PARVolumes {
<#
.SYNOPSIS
Create a new storage volume
.DESCRIPTION
This function will create a new storage volume. You need to have an active session with the array.
.NOTES
Written by Erwan Quelin under Apache licence
.LINK
https://github.com/eq... |
Get-3PARVolumes.ps1 | 3PAR-Powershell-0.4.0 | Function Get-3PARVolumes {
<#
.SYNOPSIS
Retrieve informations about Volumes
.DESCRIPTION
This function will retrieve informations about Volumes. You need to have an active session with the array.
.NOTES
Written by Erwan Quelin under Apache licence
.LINK
https... |
Get-3PARCapacity.ps1 | 3PAR-Powershell-0.4.0 | Function Get-3PARCapacity {
<#
.SYNOPSIS
Retrieve informations about the space usage of the array.
.DESCRIPTION
This function will retrieve informations about the space usage of the array. You need to have an active session with the array.
.NOTES
Written by Erwan Quelin un... |
Get-3PARVolumeSets.ps1 | 3PAR-Powershell-0.4.0 | Function Get-3PARVolumeSets {
<#
.SYNOPSIS
Retrieve informations about Volume Sets.
.DESCRIPTION
This function will retrieve informations about Volume Sets. You need to have an active session with the array.
.NOTES
Written by Erwan Quelin under Apache licence
.LINK
... |
Send-3PARRequest.ps1 | 3PAR-Powershell-0.4.0 | function Send-3PARRequest {
[CmdletBinding()]
Param (
[parameter(Position = 0, Mandatory = $true, HelpMessage = "Enter the resource URI (ex. /volumes)")]
[ValidateScript({if ($_.startswith('/')) {$true} else {throw "-URI must begin with a '/' (eg. /volumes) in its value. Please correct the v... |
Get-3PARCpgs.ps1 | 3PAR-Powershell-0.4.0 | Function Get-3PARCpgs {
<#
.SYNOPSIS
Retrieve informations about CPGs
.DESCRIPTION
This function will retrieve informations about CPGs. You need to have an active session with the array.
.NOTES
Written by Erwan Quelin under Apache licence
.LINK
https://github... |
3PAR-Powershell.psm1 | 3PAR-Powershell-0.4.0 | #Get public and private function definition files.
$Public = @( Get-ChildItem -Path $PSScriptRoot\Public\*.ps1 -ErrorAction SilentlyContinue )
$Private = @( Get-ChildItem -Path $PSScriptRoot\Private\*.ps1 -ErrorAction SilentlyContinue )
#Dot source the files
Foreach($import in @($Public + $Private))
... |
Get-3PARFlashCache.ps1 | 3PAR-Powershell-0.4.0 | Function Get-3PARFlashCache {
<#
.SYNOPSIS
Retrieve informations about the configuration of flash cache.
.DESCRIPTION
This function will retrieve informations about the configuration of flash cache. You need to have an active session with the array.
.NOTES
Written by Erwan... |
Get-3PARHostSets.ps1 | 3PAR-Powershell-0.4.0 | Function Get-3PARHostSets {
<#
.SYNOPSIS
Retrieve informations about Host Sets.
.DESCRIPTION
This function will retrieve informations about Host Sets. You need to have an active session with the array.
.NOTES
Written by Erwan Quelin under Apache licence
.LINK
... |
Get-3PARWsapiConfiguration.ps1 | 3PAR-Powershell-0.4.0 | Function Get-3PARWsapiConfiguration {
<#
.SYNOPSIS
Retrieve informations about the configuration of WSAPI.
.DESCRIPTION
This function will retrieve informations about the configuration of WSAPI. You need to have an active session with the array.
.NOTES
Written by Erwan Que... |
Export-4BitSVG.ps1 | 4bitcss-0.1.5 | function Export-4BitSVG
{
<#
.SYNOPSIS
Exports an SVG that uses a 4 bit palette
.DESCRIPTION
Exports an SVG with a slight modifications that make it use a specific color palette.
.NOTES
SVGs can use CSS styles to dynamically change color.
#>
param(
# The SVG content,... |
Container.init.ps1 | 4bitcss-0.1.5 | <#
.SYNOPSIS
Initializes a container during build.
.DESCRIPTION
Initializes the container image with the necessary modules and packages.
This script should be called from the Dockerfile, during the creation of the container image.
~~~Dockerfile
# Thank you Microsoft! Thank you PowerShell! Thank ... |
Container.start.ps1 | 4bitcss-0.1.5 | <#
.SYNOPSIS
Starts the container.
.DESCRIPTION
Starts a container.
This script should be called from the Dockerfile as the ENTRYPOINT (or from within the ENTRYPOINT).
It should be deployed to the root of the container image.
~~~Dockerfile
# Thank you Microsoft! Thank you PowerShell! Thank ... |
Export-4BitCSS.ps1 | 4bitcss-0.1.5 | function Export-4BitCSS
{
<#
.SYNOPSIS
Exports 4bitCSS
.DESCRIPTION
Converts a color scheme into 4bitCSS and outputs a .CSS file.
.EXAMPLE
$palette = @{
Foreground = '#FFFFFF'
Background = '#010101'
Black = '#000420'
... |
4bitcss.GitHubWorkflow.PSDevOps.ps1 | 4bitcss-0.1.5 | #requires -Module PSDevOps
Push-Location ($PSScriptRoot | Split-Path)
Import-BuildStep -SourcePath (
Join-Path $PSScriptRoot 'GitHub'
) -BuildSystem GitHubWorkflow
New-GitHubWorkflow -Name "Build 4bitcss" -On Push, PullRequest, Demand -Job TestPowerShellOnLinux, TagReleaseAndPublish, Build4BitCss -Environment @{
... |
Export-4BitJSON.ps1 | 4bitcss-0.1.5 | function Export-4BitJSON {
<#
.SYNOPSIS
Exports 4bitcss data to a json file
.DESCRIPTION
Exports 4bitcss data to a json file.
This is simple wrapper of ConvertTo-Json, with support for writing to a file.
#>
param(
# The input object to convert to JSON
[Para... |
Container.stop.ps1 | 4bitcss-0.1.5 | <#
.SYNOPSIS
Stops the container.
.DESCRIPTION
This script is called when the container is about to stop.
It can be used to perform any necessary cleanup before the container is stopped.
#>
"Container now exiting, thank you for using $env:ModuleName!" | Out-Host
|
Export-4BitJS.ps1 | 4bitcss-0.1.5 | function Export-4BitJS {
<#
.SYNOPSIS
Exports 4bitJS
.DESCRIPTION
Exports JavaScript to change 4bitCSS themes.
#>
[Alias('Template.4bit.js','Template.JavaScript.4bit')]
param(
# The names of all color schemes
[Alias('ColorSchemeNames')]
[string[]]
$ColorSc... |
4bitcss.ps.psm1 | 4bitcss-0.1.5 | [Include('*-*.ps1')]$PSScriptRoot
$myModule = $MyInvocation.MyCommand.ScriptBlock.Module
$ExecutionContext.SessionState.PSVariable.Set($myModule.Name, $myModule)
$myModule.pstypenames.insert(0, $myModule.Name)
$newDriveSplat = @{PSProvider='FileSystem';ErrorAction='Ignore';Scope='Global'}
New-PSDrive -Name $MyModule.... |
4bitcss.build.ps1 | 4bitcss-0.1.5 | Push-Location ($PSScriptRoot | Split-Path)
# clone the iTermColorSchemes repo
git clone https://github.com/mbadolato/iTerm2-Color-Schemes.git | Out-Host
# and get all of the JSON files from it
$jsonFiles = Get-ChildItem -Path iTerm2-Color-Schemes -Recurse -Filter *.json |
Where-Object Fullname -like '*terminal*' ... |
Convert-4BitName.ps1 | 4bitcss-0.1.5 | filter Convert-4BitName
{
<#
.SYNOPSIS
Converts a 4Bit Name into a path
.DESCRIPTION
Converts a 4Bit Color Scheme Name into a path
#>
$_ -replace '\s','-' -replace '\p{P}','-' -replace '-+','-' -replace '-$'
}
|
4bitcss.PSSVG.ps1 | 4bitcss-0.1.5 | #requires -Module PSSVG
Push-Location ($PSScriptRoot | Split-Path)
$assetsRoot = Join-Path $pwd "Assets"
if (-not (Test-Path $assetsRoot)) {
$null = New-Item -ItemType Directory -Path $assetsRoot
}
$docsRoot = Join-Path $pwd "docs"
if (-not (Test-Path $docsRoot)) {
$null = New-Item -ItemType Directory -Path ... |
4bitcss.psd1 | 4bitcss-0.1.5 | @{
ModuleVersion = '0.1.5'
RootModule = '4bitcss.psm1'
Description = 'CSS3 Color Schemes for 4-bit color palettes'
Guid = '93e1d6ab-ce88-4751-bb14-b21fbb9f66f3'
CompanyName = 'Start-Automating'
Author = 'James Brundage'
Copyright = '2022-2024 Start-Automating'
PrivateData = @{
PS... |
Build4bitcss.psd1 | 4bitcss-0.1.5 | @{
"runs-on" = "ubuntu-latest"
if = '${{ success() }}'
steps = @(
@{
name = 'Check out repository'
uses = 'actions/checkout@v2'
},
@{
name = 'Use PSSVG Action'
uses = 'StartAutomating/PSSVG@main'
id = 'PSSVG'
... |
4bitcss.psm1 | 4bitcss-0.1.5 | :ToIncludeFiles foreach ($file in (Get-ChildItem -Path "$PSScriptRoot" -Filter "*-*.ps1" -Recurse)) {
if ($file.Extension -ne '.ps1') { continue } # Skip if the extension is not .ps1
foreach ($exclusion in '\.[^\.]+\.ps1$') {
if (-not $exclusion) { continue }
if ($file.Name -match $exclusi... |
64SE.psd1 | 64SE-1.0.0 | @{
# Module manifest for module '64SE'
# Script module or binary module file associated with this manifest.
RootModule = '64SE.psm1'
# Version number of this module.
ModuleVersion = '1.0.0'
# Supported PSEditions
CompatiblePSEditions = @('Desktop', 'Core')
# ID used to un... |
64SE.psm1 | 64SE-1.0.0 | # 64SE.psm1
function Encode-StringToBase64 {
[CmdletBinding()]
param (
[Parameter(Mandatory = $true, Position = 0, ValueFromPipeline = $true)]
[string]$InputString
)
process {
$Bytes = [System.Text.Encoding]::UTF8.GetBytes($InputString)
[Convert]::ToBase64Str... |
Test-Module.ps1 | 7-ZipSetupManager-1.0.0.1 | <#
.NOTES
===========================================================================
Created with: SAPIEN Technologies, Inc., PowerShell Studio 2023 v5.8.219
Created on: 26.3.2023. 00:58
Created by: chxus
Organization: CHXOFT
Filename: Test-Module.ps1
================================... |
7ZipSetupManager-Module.ps1 | 7-ZipSetupManager-1.0.0.1 | <#
.NOTES
===========================================================================
Created with: SAPIEN Technologies, Inc., PowerShell Studio 2023 v5.8.219
Created on: 26.3.2023. 00:58
Created by: chx
Organization: CHXOFT
Filename: 7ZipSetupManager-Module.ps1
======================... |
7-ZipSetupManager.psm1 | 7-ZipSetupManager-1.0.0.1 | <#
===========================================================================
Created with: SAPIEN Technologies, Inc., PowerShell Studio 2023 v5.8.219
Created on: 26.3.2023. 00:58
Created by: chxus
Organization: CHXOFT
Filename: 7-ZipSetupManager.psm1
----------------------------------... |
7-ZipSetupManager.psd1 | 7-ZipSetupManager-1.0.0.1 | <#
===========================================================================
Created with: SAPIEN Technologies, Inc., PowerShell Studio 2023 v5.8.219
Created on: 26.3.2023. 00:58
Created by: chxus
Organization: CHXOFT
Filename: 7-ZipSetupManager.psd1
---------------------------------... |
testpage.ps1 | 7DWSM-1.4.0 | @"
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Sample Web Site Template - PoSH Server</title>
<meta name="author" content="Your Inspiration Web - Nando [php, xhtml, css], Sara [graphi... |
index.ps1 | 7DWSM-1.4.0 | #Get The Instance ID, If No ID Is Returned, Redirect To The Setup New Server Pages
@"
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>7 Days To Die - Cindar's World</title>
<!--STYLESHEET-->
... |
404.ps1 | 7DWSM-1.4.0 | # Copyright (C) 2014 Yusuf Ozturk
# This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
# This program is distributed in the hope ... |
7DWSM.psd1 | 7DWSM-1.4.0 | @{
Author = "Sean Davis"
Description = "7 Days To Die Web-based Server Manager"
Copyright = "Copyright (C) 2020 Sean Davis"
ModuleVersion = "1.4"
Guid = "a22be64d-117b-0a99-21c9-7dd0b2ead012"
NestedModules = "7DWSM.ps1"
} |
DefaultConfig.ps1 | 7DWSM-1.4.0 | # Default Document
$DefaultDocument = "index.ps1"
# Log Schedule
# Options: Hourly, Daily
$LogSchedule = "Daily"
# Basic Authentication
# Options: On, Off
$BasicAuthentication = "Off"
# Windows Authentication
# Options: On, Off
$WindowsAuthentication = "Off"
# DirectoryBrowsing
# Options: On, Off
$... |
Logging.ps1 | 7DWSM-1.4.0 |
# PoSH Server Logging Module
# Fields: date time s-sitename s-computername s-ip cs-method cs-uri-stem s-port c-ip cs-version cs(User-Agent) cs(Cookie) cs(Referer) cs-host sc-status
$LogDate = Get-Date -format yyyy-MM-dd
$LogTime = Get-Date -format HH:mm:ss
$LogSiteName = $Hostname
if ($LogSiteName -eq "+") { $Lo... |
maps.ps1 | 7DWSM-1.4.0 | @"
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>7 Days To Die - Cindar's World</title>
<!--STYLESHEET-->
<!--=================================================-->
<!--Open Sans Font [ ... |
7DWSM.ps1 | 7DWSM-1.4.0 |
function Confirm-PoSHAdminPrivileges {
<#
.SYNOPSIS
Function to test administrative privileges
.EXAMPLE
Confirm-PoSHAdminPrivileges
#>
$User = [Security.Principal.WindowsIdentity]::GetCurrent()
if((New-Object Security.Principal.WindowsPrincipal $User).IsInRole... |
403.ps1 | 7DWSM-1.4.0 | # Copyright (C) 2014 Yusuf Ozturk
# This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
# This program is distributed in the hope ... |
500.ps1 | 7DWSM-1.4.0 | # Copyright (C) 2014 Yusuf Ozturk
# This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
# This program is distributed in the hope ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.