full_path stringlengths 31 232 | filename stringlengths 4 167 | content stringlengths 0 48.3M |
|---|---|---|
PowerShellCorpus/Github/mchella33_udemyAndOtherPractice/TestingV1/packages/EntityFramework.6.1.3/tools/init.ps1 | init.ps1 | param($installPath, $toolsPath, $package, $project)
if (Get-Module | ?{ $_.Name -eq 'EntityFramework' })
{
Remove-Module EntityFramework
}
Import-Module (Join-Path $toolsPath EntityFramework.psd1)
# SIG # Begin signature block
# MIIa4AYJKoZIhvcNAQcCoIIa0TCCGs0CAQExCzAJBgUrDgMCGgUAMGkGCisGAQQB
# gjcCAQ... |
PowerShellCorpus/Github/mchella33_udemyAndOtherPractice/TestingV1/packages/EntityFramework.6.1.3/tools/install.ps1 | install.ps1 | param($installPath, $toolsPath, $package, $project)
Initialize-EFConfiguration $project
Add-EFProvider $project 'System.Data.SqlClient' 'System.Data.Entity.SqlServer.SqlProviderServices, EntityFramework.SqlServer'
Write-Host
Write-Host "Type 'get-help EntityFramework' to see all available Entity Framework comma... |
PowerShellCorpus/Github/mchella33_udemyAndOtherPractice/TestingV1/packages/Microsoft.CodeDom.Providers.DotNetCompilerPlatform.1.0.0/tools/init.ps1 | init.ps1 | param($installPath, $toolsPath, $package, $project)
$compilerPackageName = 'Microsoft.Net.Compilers'
$roslynSubFolder = 'roslyn'
if ($project -eq $null) {
$project = Get-Project
}
$libDirectory = Join-Path $installPath 'lib\net45'
$packageDirectory = Split-Path $installPath
$compilerPackage = Get-Chil... |
PowerShellCorpus/Github/mchella33_udemyAndOtherPractice/TestingV1/packages/Microsoft.CodeDom.Providers.DotNetCompilerPlatform.1.0.0/tools/uninstall.ps1 | uninstall.ps1 | param($installPath, $toolsPath, $package, $project)
$roslynSubFolder = 'roslyn'
if ($project -eq $null) {
$project = Get-Project
}
$projectRoot = $project.Properties.Item('FullPath').Value
$binDirectory = Join-Path $projectRoot 'bin'
$targetDirectory = Join-Path $binDirectory $roslynSubFolder
if (Te... |
PowerShellCorpus/Github/MPoelie_Docx2PDF/Docx2PDF.ps1 | Docx2PDF.ps1 | #The docx2pdf script
#Ask user if orignal doc(x) should be deleted.
$shell = new-object -comobject "WScript.Shell"
$resultyesno = $shell.popup("Delete docx file after conversion?",0,"Question",4+32)
#Initiate window to select folder
Add-Type -AssemblyName System.Windows.Forms
$FolderBrowser = New-Object Syste... |
PowerShellCorpus/Github/reijoh_scomscripts/SCOMAddonLibrary.ps1 | SCOMAddonLibrary.ps1 | function Disable-SCOMDiscovery {
<#
.SYNOPSIS
Use this function to disable a Discovery
.DESCRIPTION
This function will create override to disable a Discovery
.EXAMPLE
$MPSource = Get-SCOMManagementPack -Name 'Microsoft.SystemCenter.Advisor'
$MPTarget = Get-SCOMManagementPack -Name 'Microsoft.Sys... |
PowerShellCorpus/Github/reijoh_scomscripts/Set-SCOMPermissionsSQLRole.ps1 | Set-SCOMPermissionsSQLRole.ps1 | # Prerequisites:
# Setting SQL Permission requires Shared Management Objects.msi available in the SQL Server feature pack
# SMO requires SQLSysClrTypes.msi
# URL to SQL Server 2014 64-bit editions:
# http://download.microsoft.com/download/1/3/0/13089488-91FC-4E22-AD68-5BE58BD5C014/ENU/x64/SQLSysClrTypes.msi
# http... |
PowerShellCorpus/Github/reijoh_scomscripts/Check-RecommendedHotfixes.ps1 | Check-RecommendedHotfixes.ps1 | param
(
[string[]]$ComputerName=$env:COMPUTERNAME
)
<#
Original Script by Reidar Johansen (@reidartwitt):
https://github.com/reijoh/scomscripts/blob/master/Check-RecommendedHotfixes.ps1
Adjusted based on modified version by Christopher Keyaert (christopher@vnext.be)
Date: December 11th, 2015
https://www... |
PowerShellCorpus/Github/reijoh_scomscripts/Start-SCOMMaintenanceMode.ps1 | Start-SCOMMaintenanceMode.ps1 | <#
.SYNOPSIS
Starts Maintenance Mode on selected objects
.DESCRIPTION
Start-SCOMMaintenanceMode will attempt to initiate connection to a Management Server and start Maintenance Mode on objects that meet the specified criteria.
.PARAMETER ManagementServer
Computer Name of a Management Server to connect to.
.PARAM... |
PowerShellCorpus/Github/student-lpasur2017_install-ad/install-ad.ps1 | install-ad.ps1 | # Initialisation des variables
$NameNetBios=""
$namedomaine=""
# Affichage des interfaces avec leurs index
Get-NetAdapter
# Installation du service AD
Install-WindowsFeature -Name AD-Domain-Services -IncludeManagementTools -IncludeAllSubFeature
#---------- Deploiement d'une nouvelle foret ----------
# I... |
PowerShellCorpus/Github/voutasaurus_fetch/Get-Shirts.ps1 | Get-Shirts.ps1 | $fileroot = "./"
add-type -AssemblyName System.Drawing
# Teefury
$teefuryPageContent = curl www.teefury.com
$teefuryPrefix = "http://www.teefury.com/media/catalog/product/*"
if (Test-Path ($fileroot + "teefury")) {
rm -Recurse ($fileroot + "teefury")
}
mkdir ($fileroot + "teefury")
$teefuryPageContent.... |
PowerShellCorpus/Github/OPSTest_E2E_Provision_1487149287663/.openpublishing.build.ps1 | .openpublishing.build.ps1 | param(
[string]$buildCorePowershellUrl = "https://opbuildstoragesandbox2.blob.core.windows.net/opps1container/.openpublishing.buildcore.ps1",
[string]$parameters
)
# Main
$errorActionPreference = 'Stop'
# Step-1: Download buildcore script to local
echo "download build core script to local with source u... |
PowerShellCorpus/Github/cdhunt_PIP/Build.ps1 | Build.ps1 | ##############################################################################
# PREVIEW VERSION OF PSAKE SCRIPT FOR MODULE BUILD & PUBLISH TO THE PSGALLERY
##############################################################################
#
# We are hoping to add support for publishing modules to the PowerShell galler... |
PowerShellCorpus/Github/tyconsulting_SquaredUp-VSAE-Workshop/Sample VSAE Project/TaoYang.SquaredUp.VSAE.Workshop.Demo/TaoYang.SquaredUp.VSAE.Workshop.Demo/Scripts/GetDBEngineLongRunningQueries.ps1 | GetDBEngineLongRunningQueries.ps1 | #=================================================================
# AUTHOR: Tao Yang
# Script Name: GetDBEngineLongRunningQueries.ps1
# DATE: 28/09/2015
# Version: 1.0
# COMMENT: - Script to get the long running queries on a SQL DB Engine
#============================... |
PowerShellCorpus/Github/tyconsulting_SquaredUp-VSAE-Workshop/Sample VSAE Project/TaoYang.SquaredUp.VSAE.Workshop.Demo/TaoYang.SquaredUp.VSAE.Workshop.Demo/Scripts/Invoke-SystemInfo.ps1 | Invoke-SystemInfo.ps1 | Invoke-Expression SystemInfo.exe |
PowerShellCorpus/Github/miyamiya_Learnning_PowerShell/Com_vs_ClosedXML/ComObject_Pattern1.ps1 | ComObject_Pattern1.ps1 | $ErrorActionPreference = "Stop"
$excel = New-Object -ComObject Excel.Application
$excel.Visible = $false
$excel.DisplayAlerts = $false
$workbook = $excel.Workbooks.Add()
$workSheet = $workbook.Sheets(1)
for($i=1; $i -le 100; $i++) {
for($j=1; $j -le 100; $j++) {
$workSheet.Cells.Item... |
PowerShellCorpus/Github/miyamiya_Learnning_PowerShell/Com_vs_ClosedXML/ClosedXML_Pattern4.ps1 | ClosedXML_Pattern4.ps1 | $ErrorActionPreference = "Stop"
[Reflection.Assembly]::LoadFile("$PSScriptRoot\ClosedXML.dll")
[Reflection.Assembly]::LoadFile("C:\Program Files (x86)\Open XML SDK\V2.0\lib\DocumentFormat.OpenXml.dll")
$workBook = new-object ClosedXML.Excel.XLWorkbook
$workSheet = $workBook.Worksheets.Add("Sheet1")
[object[... |
PowerShellCorpus/Github/miyamiya_Learnning_PowerShell/Com_vs_ClosedXML/ClosedXML_Pattern2.ps1 | ClosedXML_Pattern2.ps1 | $ErrorActionPreference = "Stop"
[Reflection.Assembly]::LoadFile("$PSScriptRoot\ClosedXML.dll")
[Reflection.Assembly]::LoadFile("C:\Program Files (x86)\Open XML SDK\V2.0\lib\DocumentFormat.OpenXml.dll")
$workBook = new-object ClosedXML.Excel.XLWorkbook
$workSheet = $workBook.Worksheets.Add("Sheet1")
for($i=1... |
PowerShellCorpus/Github/miyamiya_Learnning_PowerShell/Com_vs_ClosedXML/ClosedXML_Pattern5.ps1 | ClosedXML_Pattern5.ps1 | $ErrorActionPreference = "Stop"
[Reflection.Assembly]::LoadFile("$PSScriptRoot\ClosedXML.dll")
[Reflection.Assembly]::LoadFile("C:\Program Files (x86)\Open XML SDK\V2.0\lib\DocumentFormat.OpenXml.dll")
$workBook = new-object ClosedXML.Excel.XLWorkbook
$workSheet = $workBook.Worksheets.Add("Sheet1")
[object[... |
PowerShellCorpus/Github/miyamiya_Learnning_PowerShell/Com_vs_ClosedXML/ClosedXML_Pattern3.ps1 | ClosedXML_Pattern3.ps1 | $ErrorActionPreference = "Stop"
[Reflection.Assembly]::LoadFile("$PSScriptRoot\ClosedXML.dll")
[Reflection.Assembly]::LoadFile("C:\Program Files (x86)\Open XML SDK\V2.0\lib\DocumentFormat.OpenXml.dll")
$workBook = new-object ClosedXML.Excel.XLWorkbook
$workSheet = $workBook.Worksheets.Add("Sheet1")
[object[... |
PowerShellCorpus/Github/miyamiya_Learnning_PowerShell/Com_vs_ClosedXML/ClosedXML_Pattern1.ps1 | ClosedXML_Pattern1.ps1 | $ErrorActionPreference = "Stop"
[Reflection.Assembly]::LoadFile("$PSScriptRoot\ClosedXML.dll")
[Reflection.Assembly]::LoadFile("C:\Program Files (x86)\Open XML SDK\V2.0\lib\DocumentFormat.OpenXml.dll")
$workBook = new-object ClosedXML.Excel.XLWorkbook
$workSheet = $workBook.Worksheets.Add("Sheet1")
for($i=1... |
PowerShellCorpus/Github/miyamiya_Learnning_PowerShell/Com_vs_ClosedXML/ComObject_Pattern2.ps1 | ComObject_Pattern2.ps1 | $ErrorActionPreference = "Stop"
$excel = New-Object -ComObject Excel.Application
$excel.Visible = $false
$excel.DisplayAlerts = $false
$workbook = $excel.Workbooks.Add()
$workSheet = $workbook.Sheets(1)
for($i=1; $i -le 100; $i++) {
for($j=1; $j -le 100; $j++) {
$workSheet.Cells.Item... |
PowerShellCorpus/Github/miyamiya_Learnning_PowerShell/Com_vs_ClosedXML/ComObject_Pattern6.ps1 | ComObject_Pattern6.ps1 | $ErrorActionPreference = "Stop"
$excel = New-Object -ComObject Excel.Application
$excel.Visible = $false
$excel.DisplayAlerts = $false
$workbook = $excel.Workbooks.Add()
$workSheet = $workbook.Sheets(1)
[object[,]]$all = New-Object "System.object[,]" 100,100
for($i=0; $i -lt 100; $i++) {
for... |
PowerShellCorpus/Github/miyamiya_Learnning_PowerShell/Com_vs_ClosedXML/ComObject_Pattern5.ps1 | ComObject_Pattern5.ps1 | $ErrorActionPreference = "Stop"
$excel = New-Object -ComObject Excel.Application
$excel.Visible = $false
$excel.DisplayAlerts = $false
$workbook = $excel.Workbooks.Add()
$workSheet = $workbook.Sheets(1)
[object[,]]$all = New-Object "System.object[,]" 100,100
for($i=0; $i -lt 100; $i++) {
for... |
PowerShellCorpus/Github/miyamiya_Learnning_PowerShell/Com_vs_ClosedXML/ComObject_Pattern3.ps1 | ComObject_Pattern3.ps1 | $ErrorActionPreference = "Stop"
$excel = New-Object -ComObject Excel.Application
$excel.Visible = $false
$excel.DisplayAlerts = $false
$workbook = $excel.Workbooks.Add()
$workSheet = $workbook.Sheets(1)
[object[]]$line = New-Object System.object[] 100
for($i=1; $i -le 100; $i++) {
for($j=0... |
PowerShellCorpus/Github/miyamiya_Learnning_PowerShell/Com_vs_ClosedXML/ComObject_Pattern4.ps1 | ComObject_Pattern4.ps1 | $ErrorActionPreference = "Stop"
$excel = New-Object -ComObject Excel.Application
$excel.Visible = $false
$excel.DisplayAlerts = $false
$workbook = $excel.Workbooks.Add()
$workSheet = $workbook.Sheets(1)
[object[]]$line = New-Object System.object[] 100
for($i=1; $i -le 100; $i++) {
for($j=0... |
PowerShellCorpus/Github/miyamiya_Learnning_PowerShell/Com_vs_ClosedXML/ClosedXML_Pattern6.ps1 | ClosedXML_Pattern6.ps1 | $ErrorActionPreference = "Stop"
[Reflection.Assembly]::LoadFile("$PSScriptRoot\ClosedXML.dll")
[Reflection.Assembly]::LoadFile("C:\Program Files (x86)\Open XML SDK\V2.0\lib\DocumentFormat.OpenXml.dll")
$workBook = new-object ClosedXML.Excel.XLWorkbook
$workSheet = $workBook.Worksheets.Add("Sheet1")
[object[... |
PowerShellCorpus/Github/fmendonca_windows-bootstrap/bootstrap.ps1 | bootstrap.ps1 | #####################################################################
# Script de Bootstrap para servidores Windows #
# Desenvolvido por Filipe Caló #
#####################################################################
echo "###################################################################"
ech... |
PowerShellCorpus/Github/Frankrd3_PowerShell-WriteToCMTrace/writeto-cmtrace.ps1 | writeto-cmtrace.ps1 | <#
MIT License
Copyright (c) 2017 Frank
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, ... |
PowerShellCorpus/Github/OPSTest_E2E_NewRepo_14895493191762/.openpublishing.build.ps1 | .openpublishing.build.ps1 | param(
[string]$buildCorePowershellUrl = "https://opbuildstoragesandbox2.blob.core.windows.net/opps1container/.openpublishing.buildcore.ps1",
[string]$parameters
)
# Main
$errorActionPreference = 'Stop'
# Step-1: Download buildcore script to local
echo "download build core script to local with source u... |
PowerShellCorpus/Github/studoot_ps2exe/BuildExamples.ps1 | BuildExamples.ps1 | # Markus Scholtes, DEVK 2016
# Create examples in subdir "Examples"
$SCRIPTPATH = Split-Path $SCRIPT:MyInvocation.MyCommand.Path -parent
ls "$SCRIPTPATH\Examples\*.ps1" | %{
."$SCRIPTPATH\ps2exe.ps1" "$($_.Fullname)" "$($_.Fullname -replace '.ps1','.exe')" -verbose
."$SCRIPTPATH\ps2exe.ps1" "$($_.Fullname)" "$... |
PowerShellCorpus/Github/studoot_ps2exe/ps2exe.ps1 | ps2exe.ps1 | Param([string]$inputFile=$null, [string]$outputFile=$null, [switch]$verbose, [switch] $debug, [switch]$runtime20, [switch]$runtime30, [switch]$runtime40, [switch]$x86, [switch]$x64, [int]$lcid, [switch]$Sta, [switch]$Mta, [switch]$noConsole, [switch]$nested, [string]$iconFile=$null, [switch] $elevated=$FALSE, [string]$... |
PowerShellCorpus/Github/studoot_ps2exe/Examples/Winformsdemo.ps1 | Winformsdemo.ps1 | [VOID][System.Reflection.Assembly]::LoadWithPartialName("System.Windows.Forms")
$intptrSize = [System.IntPtr]::Size
if( $intptrSize -eq 4 ) {
$NULL = [System.Windows.Forms.MessageBox]::Show("This is a 32 bit environment", "Winforms demo for PS2EXE", 0)
} else {
$NULL = [System.Windows.Forms.MessageBox]::Show("... |
PowerShellCorpus/Github/studoot_ps2exe/Examples/Basisdemo.ps1 | Basisdemo.ps1 | Write-Host "Console demo for PS2EXE" -f Yellow
Write-Host
$intptrSize = [System.IntPtr]::Size
if ($intptrSize -eq 4)
{
Write-Host "This is a 32 bit environment" -ForegroundColor DarkYellow
} else {
Write-Host "This is a 64 bit environment" -ForegroundColor Green
}
Write-Host
if ($PSVersionTable.PSVersio... |
PowerShellCorpus/Github/studoot_ps2exe/Examples/Confirm.ps1 | Confirm.ps1 | Write-Host "Creating file '.\Test.txt'"
ls > .\test.txt
Write-Host "Removing file '.\Test.txt' depending on confirmation."
del .\Test.txt -confirm
if (Test-Path '.\Test.txt')
{ "File '.\Test.txt' is still there." }
else
{ "File '.\Test.txt' was deleted." }
|
PowerShellCorpus/Github/studoot_ps2exe/Examples/Parameter.ps1 | Parameter.ps1 | Param([STRING]$Text = "defaultvalue", [INT]$NUMBER = -1, [SWITCH]$SELECT, [ARRAY] $STRARRAY)
Write-Host "Text: $Text`nNumber: $NUMBER`nSelect: $SELECT"
if ($STRARRAY)
{ "Array: $STRARRAY" }
|
PowerShellCorpus/Github/studoot_ps2exe/Examples/ReadKey.ps1 | ReadKey.ps1 | "ReadKey-Demo`n`nWait for KeyDown event first, then for KeyUp-Event`n(only in KeyUp event modification keys are visible)"
$Host.UI.RawUI.ReadKey("IncludeKeyDown,NoEcho")
Read-Host "`nAfter pressing Enter there will a pause of two seconds before waing for the KeyUp event"
sleep 2
$Host.UI.RawUI.ReadKey("Includ... |
PowerShellCorpus/Github/studoot_ps2exe/Examples/Xaml.ps1 | Xaml.ps1 | $inputXML = @"
<Window
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
x:Name="Window"
Title="MainWindow"
Width="640" Height="480">
<Grid x:Name="LayoutRoot">
<TextBox x:Name="testBox" HorizontalAlignment=... |
PowerShellCorpus/Github/studoot_ps2exe/Examples/Choice.ps1 | Choice.ps1 | $choices = [System.Management.Automation.Host.ChoiceDescription[]](
(New-Object System.Management.Automation.Host.ChoiceDescription "&Yes","Choose me!"),
(New-Object System.Management.Automation.Host.ChoiceDescription "&No","Pick me!"),
(New-Object System.Management.Automation.Host.ChoiceDescription "Can&cel",""))
... |
PowerShellCorpus/Github/studoot_ps2exe/Examples/Output.ps1 | Output.ps1 | Write-Output "Write-Output"
$DebugPreference = "Continue"
Write-Debug "Write-Debug"
$VerbosePreference = "Continue"
Write-Verbose "Write-Verbose"
Write-Warning "Write-Warning"
Write-Error "Write-Error"
ipconfig | Out-String
Read-Host "Read-Host: Press key to exit"
Write-Host "Write-Host: Done" |
PowerShellCorpus/Github/studoot_ps2exe/Original/test.ps1 | test.ps1 | #Demo file for use with PS2EXE (http://ps2exe.codeplex.com), part of PS2EXE v0.5.0.0
write-host "PS2EXE v0.5.0.0 by Ingo Karstein" -f Cyan
write-host ""
write-host "See " -f Yellow
write-host " http://ps2exe.codeplex.com" -f Green
write-host " http://blog.karstein-consulting.com" -f Green
Write-Host ""
$... |
PowerShellCorpus/Github/studoot_ps2exe/Original/ps2exe.ps1 | ps2exe.ps1 | param([string]$inputFile=$null, [string]$outputFile=$null, [switch]$verbose, [switch] $debug, [switch]$runtime20, [switch]$x86, [switch]$x64, [switch]$runtime30, [switch]$runtime40, [int]$lcid, [switch]$sta, [switch]$mta, [switch]$noConsole, [switch]$nested, [string]$iconFile=$null)
<##############################... |
PowerShellCorpus/Github/tomppu68_tjalonen-bot/setup_and_install/new_bot_cleanup.ps1 | new_bot_cleanup.ps1 | # Retrieving User Information
$GITHUBUSER = Read-Host -Prompt "What is your GitHub Username?"
Write-Output ""
Write-Output "** If you have 2 Factor Auth configured, "
Write-Output " provide a Personal Access Token with repo and delete_repo access."
Write-Output " Tokens can be generated at https://github.com/s... |
PowerShellCorpus/Github/tomppu68_tjalonen-bot/setup_and_install/bot_install_sandbox.ps1 | bot_install_sandbox.ps1 | # Ignore SSL Certificate Errors
add-type @"
using System.Net;
using System.Security.Cryptography.X509Certificates;
public class TrustAllCertsPolicy : ICertificatePolicy {
public bool CheckValidationResult(
ServicePoint srvPoint, X509Certificate certificate,
WebRequest ... |
PowerShellCorpus/Github/tomppu68_tjalonen-bot/setup_and_install/new_bot_setup.ps1 | new_bot_setup.ps1 | # Retrieving User Information
$GITHUBUSER = Read-Host -Prompt "What is your GitHub Username?"
Write-Output ""
Write-Output "** If you have 2 Factor Auth configured, "
Write-Output " provide a Personal Access Token with repo and delete_repo access."
Write-Output " Tokens can be generated at https://github.com/s... |
PowerShellCorpus/Github/tomppu68_tjalonen-bot/setup_and_install/bot_config.ps1 | bot_config.ps1 | # Ignore SSL Certificate Errors
add-type @"
using System.Net;
using System.Security.Cryptography.X509Certificates;
public class TrustAllCertsPolicy : ICertificatePolicy {
public bool CheckValidationResult(
ServicePoint srvPoint, X509Certificate certificate,
WebRequest ... |
PowerShellCorpus/Github/tomppu68_tjalonen-bot/setup_and_install/bot_uninstall_sandbox.ps1 | bot_uninstall_sandbox.ps1 | # Ignore SSL Certificate Errors
add-type @"
using System.Net;
using System.Security.Cryptography.X509Certificates;
public class TrustAllCertsPolicy : ICertificatePolicy {
public bool CheckValidationResult(
ServicePoint srvPoint, X509Certificate certificate,
WebRequest ... |
PowerShellCorpus/Github/juniinacio_Trakt-PowerShell/Trakt-PowerShell.build.ps1 | Trakt-PowerShell.build.ps1 | # Include: Settings
. './Trakt-PowerShell.settings.ps1'
# Include: build_utils
. './Trakt-PowerShell.utils.ps1'
# Synopsis: Run/Publish Tests and Fail Build on Error
task Test BeforeTest, RunTests, ConfirmTestsPassed, AfterTest
# Synopsis: Run full Pipleline.
task . Clean, Analyze, Test, Archive, Publish
... |
PowerShellCorpus/Github/juniinacio_Trakt-PowerShell/Trakt-PowerShell.settings.ps1 | Trakt-PowerShell.settings.ps1 | ###############################################################################
# Customize these properties and tasks
###############################################################################
param(
$Artifacts = './artifacts',
$ModuleName = 'Trakt-PowerShell',
$ModulePath = './Trakt-PowerShell'... |
PowerShellCorpus/Github/juniinacio_Trakt-PowerShell/Trakt-PowerShell.utils.ps1 | Trakt-PowerShell.utils.ps1 | <#
.SYNOPSIS
Publishes a PowerShell Module to a Network Share.
.Example
$ModuleInfo = @{
RepoName = 'PoshRepo'
RepoPath = '\\server\PoshRepo'
ModuleName = 'BuildHelpersTest'
ModulePath = '.\BuildHelpersTest.psd1'
}
Publish-SMBModule @ModuleInfo
#>
func... |
PowerShellCorpus/Github/juniinacio_Trakt-PowerShell/tests/Functions/Update-TraktCollection.Tests.ps1 | Update-TraktCollection.Tests.ps1 | $Global:IsStaging = $true
Import-Module $(Join-Path -Path $PSScriptRoot -ChildPath '../../Trakt-PowerShell/Trakt-PowerShell.psd1') -Force
InModuleScope Trakt-PowerShell {
Describe "Update-TraktCollection" -Tags "CI" {
BeforeAll {
Connect-Trakt | Out-Null
$movie = Get-Trak... |
PowerShellCorpus/Github/juniinacio_Trakt-PowerShell/tests/Functions/Get-TraktWatchList.Tests.ps1 | Get-TraktWatchList.Tests.ps1 | $Global:IsStaging = $true
Import-Module $(Join-Path -Path $PSScriptRoot -ChildPath '../../Trakt-PowerShell/Trakt-PowerShell.psd1') -Force
InModuleScope Trakt-PowerShell {
Describe "Get-TraktWatchList" -Tags "CI" {
BeforeAll {
Connect-Trakt | Out-Null
$movie = Get-TraktMov... |
PowerShellCorpus/Github/juniinacio_Trakt-PowerShell/tests/Functions/Remove-TraktCollection.Tests.ps1 | Remove-TraktCollection.Tests.ps1 | $Global:IsStaging = $true
Import-Module $(Join-Path -Path $PSScriptRoot -ChildPath '../../Trakt-PowerShell/Trakt-PowerShell.psd1') -Force
InModuleScope Trakt-PowerShell {
Describe "Remove-TraktCollection" -Tags "CI" {
BeforeAll {
Connect-Trakt | Out-Null
$movie = Get-Trak... |
PowerShellCorpus/Github/juniinacio_Trakt-PowerShell/tests/Functions/Remove-TraktUserListLike.Tests.ps1 | Remove-TraktUserListLike.Tests.ps1 | $Global:IsStaging = $true
Import-Module $(Join-Path -Path $PSScriptRoot -ChildPath '../../Trakt-PowerShell/Trakt-PowerShell.psd1') -Force
InModuleScope Trakt-PowerShell {
Describe "Remove-TraktUserListLike" -Tags "CI" {
BeforeAll {
Connect-Trakt | Out-Null
$params = @{
... |
PowerShellCorpus/Github/juniinacio_Trakt-PowerShell/tests/Functions/Deny-TraktUserFollowerRequests.Tests.ps1 | Deny-TraktUserFollowerRequests.Tests.ps1 | $Global:IsStaging = $true
Import-Module $(Join-Path -Path $PSScriptRoot -ChildPath '../../Trakt-PowerShell/Trakt-PowerShell.psd1') -Force
InModuleScope Trakt-PowerShell {
Describe "Deny-TraktUserFollowerRequests" -Tags "CI" {
BeforeAll {
Connect-Trakt | Out-Null
}
It... |
PowerShellCorpus/Github/juniinacio_Trakt-PowerShell/tests/Functions/Remove-TraktRating.Tests.ps1 | Remove-TraktRating.Tests.ps1 | $Global:IsStaging = $true
Import-Module $(Join-Path -Path $PSScriptRoot -ChildPath '../../Trakt-PowerShell/Trakt-PowerShell.psd1') -Force
InModuleScope Trakt-PowerShell {
Describe "Remove-TraktRating" -Tags "CI" {
BeforeAll {
Connect-Trakt | Out-Null
$movie = Get-TraktMov... |
PowerShellCorpus/Github/juniinacio_Trakt-PowerShell/tests/Functions/Get-TraktRating.Tests.ps1 | Get-TraktRating.Tests.ps1 | $Global:IsStaging = $true
Import-Module $(Join-Path -Path $PSScriptRoot -ChildPath '../../Trakt-PowerShell/Trakt-PowerShell.psd1') -Force
InModuleScope Trakt-PowerShell {
Describe "Get-TraktRating" -Tags "CI" {
BeforeAll {
Connect-Trakt | Out-Null
}
It "Get ratings" ... |
PowerShellCorpus/Github/juniinacio_Trakt-PowerShell/tests/Functions/Get-TraktShow.Tests.ps1 | Get-TraktShow.Tests.ps1 | $Global:IsStaging = $true
Import-Module $(Join-Path -Path $PSScriptRoot -ChildPath '../../Trakt-PowerShell/Trakt-PowerShell.psd1') -Force
InModuleScope Trakt-PowerShell {
Describe "Get-TraktShow" -Tags "CI" {
BeforeAll {
Connect-Trakt | Out-Null
}
It "Get trending sh... |
PowerShellCorpus/Github/juniinacio_Trakt-PowerShell/tests/Functions/Get-TraktWatched.Tests.ps1 | Get-TraktWatched.Tests.ps1 | $Global:IsStaging = $true
Import-Module $(Join-Path -Path $PSScriptRoot -ChildPath '../../Trakt-PowerShell/Trakt-PowerShell.psd1') -Force
InModuleScope Trakt-PowerShell {
Describe "Get-TraktWatched" -Tags "CI" {
BeforeAll {
Connect-Trakt | Out-Null
$movie = Ge... |
PowerShellCorpus/Github/juniinacio_Trakt-PowerShell/tests/Functions/Get-TraktCalendar.Tests.ps1 | Get-TraktCalendar.Tests.ps1 | $Global:IsStaging = $true
Import-Module $(Join-Path -Path $PSScriptRoot -ChildPath '../../Trakt-PowerShell/Trakt-PowerShell.psd1') -Force
InModuleScope Trakt-PowerShell {
Describe "Get-TraktCalendar" -Tags "CI" {
BeforeAll {
Connect-Trakt | Out-Null
}
It "Get my show... |
PowerShellCorpus/Github/juniinacio_Trakt-PowerShell/tests/Functions/Disconnect-Trakt.Tests.ps1 | Disconnect-Trakt.Tests.ps1 | $Global:IsStaging = $true
Import-Module $(Join-Path -Path $PSScriptRoot -ChildPath '../../Trakt-PowerShell/Trakt-PowerShell.psd1') -Force
InModuleScope Trakt-PowerShell {
Describe "Disconnect-Trakt" -Tags "CI" {
BeforeAll {
Connect-Trakt | Out-Null
}
It "Remove acces... |
PowerShellCorpus/Github/juniinacio_Trakt-PowerShell/tests/Functions/Remove-TraktComment.Tests.ps1 | Remove-TraktComment.Tests.ps1 | $Global:IsStaging = $true
Import-Module $(Join-Path -Path $PSScriptRoot -ChildPath '../../Trakt-PowerShell/Trakt-PowerShell.psd1') -Force
InModuleScope Trakt-PowerShell {
Describe "Remove-TraktComment" -Tags "CI" {
BeforeAll {
Connect-Trakt | Out-Null
$movie = Get-TraktMo... |
PowerShellCorpus/Github/juniinacio_Trakt-PowerShell/tests/Functions/Update-TraktHistory.Tests.ps1 | Update-TraktHistory.Tests.ps1 | $Global:IsStaging = $true
Import-Module $(Join-Path -Path $PSScriptRoot -ChildPath '../../Trakt-PowerShell/Trakt-PowerShell.psd1') -Force
InModuleScope Trakt-PowerShell {
Describe "Update-TraktHistory" -Tags "CI" {
BeforeAll {
Connect-Trakt | Out-Null
$movie = Get-TraktMo... |
PowerShellCorpus/Github/juniinacio_Trakt-PowerShell/tests/Functions/Get-TraktUserFollowerRequests.Tests.ps1 | Get-TraktUserFollowerRequests.Tests.ps1 | $Global:IsStaging = $true
Import-Module $(Join-Path -Path $PSScriptRoot -ChildPath '../../Trakt-PowerShell/Trakt-PowerShell.psd1') -Force
InModuleScope Trakt-PowerShell {
Describe "Get-TraktUserFollowerRequests" -Tags "CI" {
BeforeAll {
Connect-Trakt | Out-Null
}
It ... |
PowerShellCorpus/Github/juniinacio_Trakt-PowerShell/tests/Functions/Add-TraktUserList.Tests.ps1 | Add-TraktUserList.Tests.ps1 | $Global:IsStaging = $true
Import-Module $(Join-Path -Path $PSScriptRoot -ChildPath '../../Trakt-PowerShell/Trakt-PowerShell.psd1') -Force
InModuleScope Trakt-PowerShell {
Describe "Add-TraktUserList" -Tags "CI" {
BeforeAll {
Connect-Trakt | Out-Null
}
It "Create cust... |
PowerShellCorpus/Github/juniinacio_Trakt-PowerShell/tests/Functions/Add-TraktUserHiddenItem.Tests.ps1 | Add-TraktUserHiddenItem.Tests.ps1 | $Global:IsStaging = $true
Import-Module $(Join-Path -Path $PSScriptRoot -ChildPath '../../Trakt-PowerShell/Trakt-PowerShell.psd1') -Force
InModuleScope Trakt-PowerShell {
Describe "Add-TraktUserHiddenItem" -Tags "CI" {
BeforeAll {
Connect-Trakt | Out-Null
$show = Get-Trak... |
PowerShellCorpus/Github/juniinacio_Trakt-PowerShell/tests/Functions/Remove-TraktHistory.Tests.ps1 | Remove-TraktHistory.Tests.ps1 | $Global:IsStaging = $true
Import-Module $(Join-Path -Path $PSScriptRoot -ChildPath '../../Trakt-PowerShell/Trakt-PowerShell.psd1') -Force
InModuleScope Trakt-PowerShell {
Describe "Remove-TraktHistory" -Tags "CI" {
BeforeAll {
Connect-Trakt | Out-Null
$movie = Get-TraktMo... |
PowerShellCorpus/Github/juniinacio_Trakt-PowerShell/tests/Functions/Set-TraktComment.Tests.ps1 | Set-TraktComment.Tests.ps1 | $Global:IsStaging = $true
Import-Module $(Join-Path -Path $PSScriptRoot -ChildPath '../../Trakt-PowerShell/Trakt-PowerShell.psd1') -Force
InModuleScope Trakt-PowerShell {
Describe "Set-TraktComment" -Tags "CI" {
BeforeAll {
Connect-Trakt | Out-Null
$movie = Get-TraktMovie... |
PowerShellCorpus/Github/juniinacio_Trakt-PowerShell/tests/Functions/Update-TraktComment.Tests.ps1 | Update-TraktComment.Tests.ps1 | $Global:IsStaging = $true
Import-Module $(Join-Path -Path $PSScriptRoot -ChildPath '../../Trakt-PowerShell/Trakt-PowerShell.psd1') -Force
InModuleScope Trakt-PowerShell {
Describe "Update-TraktComment" -Tags "CI" {
BeforeAll {
Connect-Trakt | Out-Null
$movie = Get-TraktMo... |
PowerShellCorpus/Github/juniinacio_Trakt-PowerShell/tests/Functions/Get-TraktUserComment.Tests.ps1 | Get-TraktUserComment.Tests.ps1 | $Global:IsStaging = $true
Import-Module $(Join-Path -Path $PSScriptRoot -ChildPath '../../Trakt-PowerShell/Trakt-PowerShell.psd1') -Force
InModuleScope Trakt-PowerShell {
Describe "Get-TraktUserComment" -Tags "CI" {
BeforeAll {
Connect-Trakt | Out-Null
}
It "Get comm... |
PowerShellCorpus/Github/juniinacio_Trakt-PowerShell/tests/Functions/Stop-TraktScrobble.Tests.ps1 | Stop-TraktScrobble.Tests.ps1 | $Global:IsStaging = $true
Import-Module $(Join-Path -Path $PSScriptRoot -ChildPath '../../Trakt-PowerShell/Trakt-PowerShell.psd1') -Force
InModuleScope Trakt-PowerShell {
Describe "Stop-TraktScrobble" -Tags "CI" {
BeforeAll {
Connect-Trakt | Out-Null
$movie = Get-TraktMov... |
PowerShellCorpus/Github/juniinacio_Trakt-PowerShell/tests/Functions/Get-TraktHistory.Tests.ps1 | Get-TraktHistory.Tests.ps1 | $Global:IsStaging = $true
Import-Module $(Join-Path -Path $PSScriptRoot -ChildPath '../../Trakt-PowerShell/Trakt-PowerShell.psd1') -Force
InModuleScope Trakt-PowerShell {
Describe "Get-TraktHistory" -Tags "CI" {
BeforeAll {
Connect-Trakt | Out-Null
}
It "Get watched ... |
PowerShellCorpus/Github/juniinacio_Trakt-PowerShell/tests/Functions/Add-TraktComment.Tests.ps1 | Add-TraktComment.Tests.ps1 | $Global:IsStaging = $true
Import-Module $(Join-Path -Path $PSScriptRoot -ChildPath '../../Trakt-PowerShell/Trakt-PowerShell.psd1') -Force
InModuleScope Trakt-PowerShell {
Describe "Add-TraktComment" -Tags "CI" {
BeforeAll {
Connect-Trakt | Out-Null
$movie = Get-TraktMovie... |
PowerShellCorpus/Github/juniinacio_Trakt-PowerShell/tests/Functions/Search-Trakt.Tests.ps1 | Search-Trakt.Tests.ps1 | $Global:IsStaging = $true
Import-Module $(Join-Path -Path $PSScriptRoot -ChildPath '../../Trakt-PowerShell/Trakt-PowerShell.psd1') -Force
InModuleScope Trakt-PowerShell {
Describe "Search-Trakt" -Tags "CI" {
BeforeAll {
Connect-Trakt | Out-Null
}
It "Get text query r... |
PowerShellCorpus/Github/juniinacio_Trakt-PowerShell/tests/Functions/Get-TraktUserList.Tests.ps1 | Get-TraktUserList.Tests.ps1 | $Global:IsStaging = $true
Import-Module $(Join-Path -Path $PSScriptRoot -ChildPath '../../Trakt-PowerShell/Trakt-PowerShell.psd1') -Force
InModuleScope Trakt-PowerShell {
Describe "Get-TraktUserList" -Tags "CI" {
BeforeAll {
Connect-Trakt | Out-Null
}
It "Get a user'... |
PowerShellCorpus/Github/juniinacio_Trakt-PowerShell/tests/Functions/Remove-TraktUserHiddenItem.Tests.ps1 | Remove-TraktUserHiddenItem.Tests.ps1 | $Global:IsStaging = $true
Import-Module $(Join-Path -Path $PSScriptRoot -ChildPath '../../Trakt-PowerShell/Trakt-PowerShell.psd1') -Force
InModuleScope Trakt-PowerShell {
Describe "Remove-TraktUserHiddenItem" -Tags "CI" {
BeforeAll {
Connect-Trakt | Out-Null
}
It "Re... |
PowerShellCorpus/Github/juniinacio_Trakt-PowerShell/tests/Functions/Get-TraktSeason.Tests.ps1 | Get-TraktSeason.Tests.ps1 | $Global:IsStaging = $true
Import-Module $(Join-Path -Path $PSScriptRoot -ChildPath '../../Trakt-PowerShell/Trakt-PowerShell.psd1') -Force
InModuleScope Trakt-PowerShell {
Describe "Get-TraktSeason" -Tags "CI" {
BeforeAll {
Connect-Trakt | Out-Null
}
It "Get all seaso... |
PowerShellCorpus/Github/juniinacio_Trakt-PowerShell/tests/Functions/Add-TraktRating.Tests.ps1 | Add-TraktRating.Tests.ps1 | $Global:IsStaging = $true
Import-Module $(Join-Path -Path $PSScriptRoot -ChildPath '../../Trakt-PowerShell/Trakt-PowerShell.psd1') -Force
InModuleScope Trakt-PowerShell {
Describe "Add-TraktRating" -Tags "CI" {
BeforeAll {
Connect-Trakt | Out-Null
$movie = Get-TraktMovie ... |
PowerShellCorpus/Github/juniinacio_Trakt-PowerShell/tests/Functions/Get-TraktGenre.Tests.ps1 | Get-TraktGenre.Tests.ps1 | $Global:IsStaging = $true
Import-Module $(Join-Path -Path $PSScriptRoot -ChildPath '../../Trakt-PowerShell/Trakt-PowerShell.psd1') -Force
InModuleScope Trakt-PowerShell {
Describe "Get-TraktGenre" -Tags "CI" {
BeforeAll {
Connect-Trakt | Out-Null
}
It "Get movie genr... |
PowerShellCorpus/Github/juniinacio_Trakt-PowerShell/tests/Functions/Get-TraktMovie.Tests.ps1 | Get-TraktMovie.Tests.ps1 | $Global:IsStaging = $true
Import-Module $(Join-Path -Path $PSScriptRoot -ChildPath '../../Trakt-PowerShell/Trakt-PowerShell.psd1') -Force
InModuleScope Trakt-PowerShell {
Describe "Get-TraktMovie" -Tags "CI" {
BeforeAll {
Connect-Trakt | Out-Null
}
It "Get trending m... |
PowerShellCorpus/Github/juniinacio_Trakt-PowerShell/tests/Functions/Connect-Trakt.Tests.ps1 | Connect-Trakt.Tests.ps1 | $Global:IsStaging = $true
Import-Module $(Join-Path -Path $PSScriptRoot -ChildPath '../../Trakt-PowerShell/Trakt-PowerShell.psd1') -Force
InModuleScope Trakt-PowerShell {
Describe "Connect-Trakt" -Tags "CI" {
BeforeAll {
$Script:ACCESS_TOKEN = $null
if (Test-Path -Path $Scr... |
PowerShellCorpus/Github/juniinacio_Trakt-PowerShell/tests/Functions/Start-TraktScrobble.Tests.ps1 | Start-TraktScrobble.Tests.ps1 | $Global:IsStaging = $true
Import-Module $(Join-Path -Path $PSScriptRoot -ChildPath '../../Trakt-PowerShell/Trakt-PowerShell.psd1') -Force
InModuleScope Trakt-PowerShell {
Describe "Start-TraktScrobble" -Tags "CI" {
BeforeAll {
Connect-Trakt | Out-Null
$movie = Get-TraktMo... |
PowerShellCorpus/Github/juniinacio_Trakt-PowerShell/tests/Functions/Get-TraktCollection.Tests.ps1 | Get-TraktCollection.Tests.ps1 | $Global:IsStaging = $true
Import-Module $(Join-Path -Path $PSScriptRoot -ChildPath '../../Trakt-PowerShell/Trakt-PowerShell.psd1') -Force
InModuleScope Trakt-PowerShell {
Describe "Get-TraktCollection" -Tags "CI" {
BeforeAll {
Connect-Trakt | Out-Null
$movie = Get-TraktMo... |
PowerShellCorpus/Github/juniinacio_Trakt-PowerShell/tests/Functions/Get-TraktComment.Tests.ps1 | Get-TraktComment.Tests.ps1 | $Global:IsStaging = $true
Import-Module $(Join-Path -Path $PSScriptRoot -ChildPath '../../Trakt-PowerShell/Trakt-PowerShell.psd1') -Force
InModuleScope Trakt-PowerShell {
Describe "Get-TraktComment" -Tags "CI" {
BeforeAll {
Connect-Trakt | Out-Null
$movie = Get-TraktMovie... |
PowerShellCorpus/Github/juniinacio_Trakt-PowerShell/tests/Functions/Get-TraktUserCollection.Tests.ps1 | Get-TraktUserCollection.Tests.ps1 | $Global:IsStaging = $true
Import-Module $(Join-Path -Path $PSScriptRoot -ChildPath '../../Trakt-PowerShell/Trakt-PowerShell.psd1') -Force
InModuleScope Trakt-PowerShell {
Describe "Get-TraktUserCollection" -Tags "CI" {
BeforeAll {
Connect-Trakt | Out-Null
}
It "Get c... |
PowerShellCorpus/Github/juniinacio_Trakt-PowerShell/tests/Functions/Add-TraktUserListLike.Tests.ps1 | Add-TraktUserListLike.Tests.ps1 | $Global:IsStaging = $true
Import-Module $(Join-Path -Path $PSScriptRoot -ChildPath '../../Trakt-PowerShell/Trakt-PowerShell.psd1') -Force
InModuleScope Trakt-PowerShell {
Describe "Add-TraktUserListLike" -Tags "CI" {
BeforeAll {
Connect-Trakt | Out-Null
$params = @{
... |
PowerShellCorpus/Github/juniinacio_Trakt-PowerShell/tests/Functions/Get-TraktEpisode.Tests.ps1 | Get-TraktEpisode.Tests.ps1 | $Global:IsStaging = $true
Import-Module $(Join-Path -Path $PSScriptRoot -ChildPath '../../Trakt-PowerShell/Trakt-PowerShell.psd1') -Force
InModuleScope Trakt-PowerShell {
Describe "Get-TraktEpisode" -Tags "CI" {
BeforeAll {
Connect-Trakt | Out-Null
}
It "Get a single... |
PowerShellCorpus/Github/juniinacio_Trakt-PowerShell/tests/Functions/Get-TraktUserHiddenItem.Tests.ps1 | Get-TraktUserHiddenItem.Tests.ps1 | $Global:IsStaging = $true
Import-Module $(Join-Path -Path $PSScriptRoot -ChildPath '../../Trakt-PowerShell/Trakt-PowerShell.psd1') -Force
InModuleScope Trakt-PowerShell {
Describe "Get-TraktUserHiddenItem" -Tags "CI" {
BeforeAll {
Connect-Trakt | Out-Null
}
It "Get h... |
PowerShellCorpus/Github/juniinacio_Trakt-PowerShell/tests/Functions/Get-TraktLastActivity.Tests.ps1 | Get-TraktLastActivity.Tests.ps1 | $Global:IsStaging = $true
Import-Module $(Join-Path -Path $PSScriptRoot -ChildPath '../../Trakt-PowerShell/Trakt-PowerShell.psd1') -Force
InModuleScope Trakt-PowerShell {
Describe "Get-TraktLastActivity" -Tags "CI" {
BeforeAll {
Connect-Trakt | Out-Null
}
It "Get las... |
PowerShellCorpus/Github/juniinacio_Trakt-PowerShell/tests/Functions/Approve-TraktUserFollowerRequests.Tests.ps1 | Approve-TraktUserFollowerRequests.Tests.ps1 | $Global:IsStaging = $true
Import-Module $(Join-Path -Path $PSScriptRoot -ChildPath '../../Trakt-PowerShell/Trakt-PowerShell.psd1') -Force
InModuleScope Trakt-PowerShell {
Describe "Approve-TraktUserFollowerRequests" -Tags "CI" {
BeforeAll {
Connect-Trakt | Out-Null
}
... |
PowerShellCorpus/Github/juniinacio_Trakt-PowerShell/tests/Functions/Set-TraktCheckin.Tests.ps1 | Set-TraktCheckin.Tests.ps1 | $Global:IsStaging = $true
Import-Module $(Join-Path -Path $PSScriptRoot -ChildPath '../../Trakt-PowerShell/Trakt-PowerShell.psd1') -Force
InModuleScope Trakt-PowerShell {
Describe "Set-TraktCheckin" -Tags "CI" {
BeforeAll {
Connect-Trakt | Out-Null
$movie = Get-TraktMovie... |
PowerShellCorpus/Github/juniinacio_Trakt-PowerShell/tests/Functions/Get-TraktPlayback.Tests.ps1 | Get-TraktPlayback.Tests.ps1 | $Global:IsStaging = $true
Import-Module $(Join-Path -Path $PSScriptRoot -ChildPath '../../Trakt-PowerShell/Trakt-PowerShell.psd1') -Force
InModuleScope Trakt-PowerShell {
Describe "Get-TraktPlayback" -Tags "CI" {
BeforeAll {
Connect-Trakt | Out-Null
$movie = Get-TraktMovi... |
PowerShellCorpus/Github/juniinacio_Trakt-PowerShell/tests/Functions/Remove-TraktWatchList.Tests.ps1 | Remove-TraktWatchList.Tests.ps1 | $Global:IsStaging = $true
Import-Module $(Join-Path -Path $PSScriptRoot -ChildPath '../../Trakt-PowerShell/Trakt-PowerShell.psd1') -Force
InModuleScope Trakt-PowerShell {
Describe "Remove-TraktWatchList" -Tags "CI" {
BeforeAll {
Connect-Trakt | Out-Null
$movie = Get-Trakt... |
PowerShellCorpus/Github/juniinacio_Trakt-PowerShell/tests/Functions/Suspend-TraktScrobble.Tests.ps1 | Suspend-TraktScrobble.Tests.ps1 | $Global:IsStaging = $true
Import-Module $(Join-Path -Path $PSScriptRoot -ChildPath '../../Trakt-PowerShell/Trakt-PowerShell.psd1') -Force
InModuleScope Trakt-PowerShell {
Describe "Suspend-TraktScrobble" -Tags "CI" {
BeforeAll {
Connect-Trakt | Out-Null
$movie = Get-Trakt... |
PowerShellCorpus/Github/juniinacio_Trakt-PowerShell/tests/Functions/Get-TraktUserProfile.Tests.ps1 | Get-TraktUserProfile.Tests.ps1 | $Global:IsStaging = $true
Import-Module $(Join-Path -Path $PSScriptRoot -ChildPath '../../Trakt-PowerShell/Trakt-PowerShell.psd1') -Force
InModuleScope Trakt-PowerShell {
Describe "Get-TraktUserProfile" -Tags "CI" {
BeforeAll {
Connect-Trakt | Out-Null
}
It "Get user... |
PowerShellCorpus/Github/juniinacio_Trakt-PowerShell/tests/Functions/Get-TraktPeople.Tests.ps1 | Get-TraktPeople.Tests.ps1 | $Global:IsStaging = $true
Import-Module $(Join-Path -Path $PSScriptRoot -ChildPath '../../Trakt-PowerShell/Trakt-PowerShell.psd1') -Force
InModuleScope Trakt-PowerShell {
Describe "Get-TraktPeople" -Tags "CI" {
BeforeAll {
Connect-Trakt | Out-Null
}
It "Get a single ... |
PowerShellCorpus/Github/juniinacio_Trakt-PowerShell/tests/Functions/Remove-TraktUserList.Tests.ps1 | Remove-TraktUserList.Tests.ps1 | $Global:IsStaging = $true
Import-Module $(Join-Path -Path $PSScriptRoot -ChildPath '../../Trakt-PowerShell/Trakt-PowerShell.psd1') -Force
InModuleScope Trakt-PowerShell {
Describe "Remove-TraktUserList" -Tags "CI" {
BeforeAll {
Connect-Trakt | Out-Null
$params = @{
... |
PowerShellCorpus/Github/juniinacio_Trakt-PowerShell/tests/Functions/Update-TraktUserList.Tests.ps1 | Update-TraktUserList.Tests.ps1 | $Global:IsStaging = $true
Import-Module $(Join-Path -Path $PSScriptRoot -ChildPath '../../Trakt-PowerShell/Trakt-PowerShell.psd1') -Force
InModuleScope Trakt-PowerShell {
Describe "Update-TraktUserList" -Tags "CI" {
BeforeAll {
Connect-Trakt | Out-Null
$params = @{
... |
PowerShellCorpus/Github/juniinacio_Trakt-PowerShell/tests/Functions/Remove-TraktPlayback.Tests.ps1 | Remove-TraktPlayback.Tests.ps1 | $Global:IsStaging = $true
Import-Module $(Join-Path -Path $PSScriptRoot -ChildPath '../../Trakt-PowerShell/Trakt-PowerShell.psd1') -Force
InModuleScope Trakt-PowerShell {
Describe "Remove-TraktPlayback" -Tags "CI" {
BeforeAll {
Connect-Trakt | Out-Null
}
It "Remove a... |
PowerShellCorpus/Github/juniinacio_Trakt-PowerShell/tests/Functions/Add-TraktWatchList.Tests.ps1 | Add-TraktWatchList.Tests.ps1 | $Global:IsStaging = $true
Import-Module $(Join-Path -Path $PSScriptRoot -ChildPath '../../Trakt-PowerShell/Trakt-PowerShell.psd1') -Force
InModuleScope Trakt-PowerShell {
Describe "Add-TraktWatchList" -Tags "CI" {
BeforeAll {
Connect-Trakt | Out-Null
}
It "Add movie ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.