text stringlengths 9 39.2M | dir stringlengths 26 295 | lang stringclasses 185
values | created_date timestamp[us] | updated_date timestamp[us] | repo_name stringlengths 1 97 | repo_full_name stringlengths 7 106 | star int64 1k 183k | len_tokens int64 1 13.8M |
|---|---|---|---|---|---|---|---|---|
```swift
//
//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, distribute, sublicense, and/or sell ... | /content/code_sandbox/StellarDemo/StellarDemo/MyPlayground.playground/Sources/Sources/Chainable.swift | swift | 2016-05-25T09:02:36 | 2024-08-14T16:00:58 | Stellar | AugustRush/Stellar | 2,933 | 260 |
```swift
//
//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, distribute, sublicense, and/or sell ... | /content/code_sandbox/StellarDemo/StellarDemo/MyPlayground.playground/Sources/Sources/Value+Physical.swift | swift | 2016-05-25T09:02:36 | 2024-08-14T16:00:58 | Stellar | AugustRush/Stellar | 2,933 | 1,783 |
```swift
//
//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, distribute, sublicense, and/or sell ... | /content/code_sandbox/StellarDemo/StellarDemo/MyPlayground.playground/Sources/Sources/UITextView+Stellar.swift | swift | 2016-05-25T09:02:36 | 2024-08-14T16:00:58 | Stellar | AugustRush/Stellar | 2,933 | 255 |
```swift
//
//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, distribute, sublicense, and/or sell ... | /content/code_sandbox/StellarDemo/StellarDemo/MyPlayground.playground/Sources/Sources/DynamicItem.swift | swift | 2016-05-25T09:02:36 | 2024-08-14T16:00:58 | Stellar | AugustRush/Stellar | 2,933 | 753 |
```swift
//
//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, distribute, sublicense, and/or sell ... | /content/code_sandbox/StellarDemo/StellarDemo/MyPlayground.playground/Sources/Sources/AnimationStep.swift | swift | 2016-05-25T09:02:36 | 2024-08-14T16:00:58 | Stellar | AugustRush/Stellar | 2,933 | 280 |
```swift
//
// CALayer+AnimateBehavior.swift
// StellarDemo
//
// Created by AugustRush on 6/21/16.
//
import UIKit
extension CALayer: DriveAnimateBehaviors {
func behavior(forType type: AnimationType, step: AnimationStep) -> UIDynamicBehavior {
var behavior: UIDynamicBehavior!
... | /content/code_sandbox/StellarDemo/StellarDemo/MyPlayground.playground/Sources/Sources/CALayer+AnimateBehavior.swift | swift | 2016-05-25T09:02:36 | 2024-08-14T16:00:58 | Stellar | AugustRush/Stellar | 2,933 | 8,356 |
```swift
//
//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, distribute, sublicense, and/or sell ... | /content/code_sandbox/StellarDemo/StellarDemo/MyPlayground.playground/Sources/Sources/BasicChainable.swift | swift | 2016-05-25T09:02:36 | 2024-08-14T16:00:58 | Stellar | AugustRush/Stellar | 2,933 | 897 |
```swift
//
//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, distribute, sublicense, and/or sell ... | /content/code_sandbox/StellarDemo/StellarDemo/MyPlayground.playground/Sources/Sources/AnimationContext.swift | swift | 2016-05-25T09:02:36 | 2024-08-14T16:00:58 | Stellar | AugustRush/Stellar | 2,933 | 851 |
```swift
//
//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, distribute, sublicense, and/or sell ... | /content/code_sandbox/StellarDemo/StellarDemo/MyPlayground.playground/Sources/Sources/Interpolatable.swift | swift | 2016-05-25T09:02:36 | 2024-08-14T16:00:58 | Stellar | AugustRush/Stellar | 2,933 | 232 |
```swift
//
//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, distribute, sublicense, and/or sell ... | /content/code_sandbox/StellarDemo/StellarDemo/MyPlayground.playground/Sources/Sources/DynamicItemGravity.swift | swift | 2016-05-25T09:02:36 | 2024-08-14T16:00:58 | Stellar | AugustRush/Stellar | 2,933 | 1,142 |
```swift
//
//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, distribute, sublicense, and/or sell ... | /content/code_sandbox/StellarDemo/StellarDemo/MyPlayground.playground/Sources/Sources/AnimationType.swift | swift | 2016-05-25T09:02:36 | 2024-08-14T16:00:58 | Stellar | AugustRush/Stellar | 2,933 | 483 |
```swift
//
//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, distribute, sublicense, and/or sell ... | /content/code_sandbox/StellarDemo/StellarDemo/MyPlayground.playground/Sources/Sources/DynamicItemBasic.swift | swift | 2016-05-25T09:02:36 | 2024-08-14T16:00:58 | Stellar | AugustRush/Stellar | 2,933 | 975 |
```swift
//
// UIView+AnimateBehavior.swift
// StellarDemo
//
// Created by AugustRush on 6/21/16.
//
import UIKit
extension UIView: DriveAnimateBehaviors {
func behavior(forType type: AnimationType, step: AnimationStep) -> UIDynamicBehavior {
var behavior: UIDynamicBehavior!
... | /content/code_sandbox/StellarDemo/StellarDemo/MyPlayground.playground/Sources/Sources/UIView+AnimateBehavior.swift | swift | 2016-05-25T09:02:36 | 2024-08-14T16:00:58 | Stellar | AugustRush/Stellar | 2,933 | 8,819 |
```swift
//
//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, distribute, sublicense, and/or sell ... | /content/code_sandbox/StellarDemo/StellarDemo/MyPlayground.playground/Sources/Sources/BasicConfigurable.swift | swift | 2016-05-25T09:02:36 | 2024-08-14T16:00:58 | Stellar | AugustRush/Stellar | 2,933 | 369 |
```swift
//
//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, distribute, sublicense, and/or sell ... | /content/code_sandbox/StellarDemo/StellarDemo/MyPlayground.playground/Sources/Sources/Vectorial.swift | swift | 2016-05-25T09:02:36 | 2024-08-14T16:00:58 | Stellar | AugustRush/Stellar | 2,933 | 331 |
```swift
//
//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, distribute, sublicense, and/or sell ... | /content/code_sandbox/StellarDemo/StellarDemo/MyPlayground.playground/Sources/Sources/UILabel+Stellar.swift | swift | 2016-05-25T09:02:36 | 2024-08-14T16:00:58 | Stellar | AugustRush/Stellar | 2,933 | 254 |
```swift
//
//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, distribute, sublicense, and/or sell ... | /content/code_sandbox/StellarDemo/StellarDemo/MyPlayground.playground/Sources/Sources/DynamicItem+Behavior.swift | swift | 2016-05-25T09:02:36 | 2024-08-14T16:00:58 | Stellar | AugustRush/Stellar | 2,933 | 1,568 |
```swift
//
//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, distribute, sublicense, and/or sell ... | /content/code_sandbox/StellarDemo/StellarDemo/MyPlayground.playground/Sources/Sources/UnitBezier.swift | swift | 2016-05-25T09:02:36 | 2024-08-14T16:00:58 | Stellar | AugustRush/Stellar | 2,933 | 1,613 |
```swift
//
//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, distribute, sublicense, and/or sell ... | /content/code_sandbox/StellarDemo/StellarDemo/MyPlayground.playground/Sources/Sources/SnapConfigurable.swift | swift | 2016-05-25T09:02:36 | 2024-08-14T16:00:58 | Stellar | AugustRush/Stellar | 2,933 | 253 |
```swift
//
//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, distribute, sublicense, and/or sell ... | /content/code_sandbox/StellarDemo/StellarDemo/MyPlayground.playground/Sources/Sources/CALayer+Stellar.swift | swift | 2016-05-25T09:02:36 | 2024-08-14T16:00:58 | Stellar | AugustRush/Stellar | 2,933 | 1,902 |
```swift
//
// TimingSolvable.swift
// StellarDemo
//
// Created by AugustRush on 6/28/16.
//
import Foundation
protocol TimingSolvable {
func solveOn(_ time: Double, epslion: Double) -> Double
}
``` | /content/code_sandbox/StellarDemo/StellarDemo/MyPlayground.playground/Sources/Sources/TimingSolvable.swift | swift | 2016-05-25T09:02:36 | 2024-08-14T16:00:58 | Stellar | AugustRush/Stellar | 2,933 | 57 |
```swift
//
//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, distribute, sublicense, and/or sell ... | /content/code_sandbox/StellarDemo/StellarDemo/MyPlayground.playground/Sources/Sources/AttachmentConfigurable.swift | swift | 2016-05-25T09:02:36 | 2024-08-14T16:00:58 | Stellar | AugustRush/Stellar | 2,933 | 261 |
```swift
//
//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, distribute, sublicense, and/or sell ... | /content/code_sandbox/StellarDemo/StellarDemo/MyPlayground.playground/Sources/Sources/TimingFunction.swift | swift | 2016-05-25T09:02:36 | 2024-08-14T16:00:58 | Stellar | AugustRush/Stellar | 2,933 | 1,671 |
```swift
//
// StellarDemoUITests.swift
// StellarDemoUITests
//
// Created by AugustRush on 5/7/16.
//
import XCTest
class StellarDemoUITests: XCTestCase {
override func setUp() {
super.setUp()
// Put setup code here. This method is called before the invocation of each test m... | /content/code_sandbox/StellarDemo/StellarDemoUITests/StellarDemoUITests.swift | swift | 2016-05-25T09:02:36 | 2024-08-14T16:00:58 | Stellar | AugustRush/Stellar | 2,933 | 249 |
```swift
//
// StellarDemoTests.swift
// StellarDemoTests
//
// Created by AugustRush on 5/7/16.
//
import XCTest
@testable import StellarDemo
class StellarDemoTests: XCTestCase {
override func setUp() {
super.setUp()
// Put setup code here. This method is called before the invocation of e... | /content/code_sandbox/StellarDemo/StellarDemoTests/StellarDemoTests.swift | swift | 2016-05-25T09:02:36 | 2024-08-14T16:00:58 | Stellar | AugustRush/Stellar | 2,933 | 199 |
```swift
//
// StellarTests.swift
// StellarTests
//
// Created by AugustRush on 6/6/16.
//
import XCTest
@testable import Stellar
class StellarTests: XCTestCase {
override func setUp() {
super.setUp()
// Put setup code here. This method is called before the invocation of each test method ... | /content/code_sandbox/StellarDemo/StellarTests/StellarTests.swift | swift | 2016-05-25T09:02:36 | 2024-08-14T16:00:58 | Stellar | AugustRush/Stellar | 2,933 | 196 |
```objective-c
//
// Stellar.h
// Stellar
//
// Created by AugustRush on 6/6/16.
//
#import <UIKit/UIKit.h>
//! Project version number for Stellar.
FOUNDATION_EXPORT double StellarVersionNumber;
//! Project version string for Stellar.
FOUNDATION_EXPORT const unsigned char StellarVersionString[];
// In this heade... | /content/code_sandbox/StellarDemo/Stellar/Stellar.h | objective-c | 2016-05-25T09:02:36 | 2024-08-14T16:00:58 | Stellar | AugustRush/Stellar | 2,933 | 91 |
```objective-c
//
// Stellar.h
// Stellar
//
// Created by AugustRush on 6/6/16.
//
#import <UIKit/UIKit.h>
//! Project version number for Stellar.
FOUNDATION_EXPORT double StellarVersionNumber;
//! Project version string for Stellar.
FOUNDATION_EXPORT const unsigned char StellarVersionString[];
#import "Stellar-... | /content/code_sandbox/Carthage/Build/iOS/Stellar.framework/Headers/Stellar.h | objective-c | 2016-05-25T09:02:36 | 2024-08-14T16:00:58 | Stellar | AugustRush/Stellar | 2,933 | 100 |
```objective-c
// Generated by Apple Swift version 3.1 (swiftlang-802.0.51 clang-802.0.41)
#pragma clang diagnostic push
#if defined(__has_include) && __has_include(<swift/objc-prologue.h>)
# include <swift/objc-prologue.h>
#endif
#pragma clang diagnostic ignored "-Wauto-import"
#include <objc/NSObject.h>
#include <s... | /content/code_sandbox/Carthage/Build/iOS/Stellar.framework/Headers/Stellar-Swift.h | objective-c | 2016-05-25T09:02:36 | 2024-08-14T16:00:58 | Stellar | AugustRush/Stellar | 2,933 | 2,992 |
```swift
//
//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, distribute, sublicense, and/or sell ... | /content/code_sandbox/Sources/UIView+Stellar.swift | swift | 2016-05-25T09:02:36 | 2024-08-14T16:00:58 | Stellar | AugustRush/Stellar | 2,933 | 2,030 |
```swift
//
//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, distribute, sublicense, and/or sell ... | /content/code_sandbox/Sources/AnimatorCoordinator.swift | swift | 2016-05-25T09:02:36 | 2024-08-14T16:00:58 | Stellar | AugustRush/Stellar | 2,933 | 518 |
```swift
//
// CALayer+AnimateBehavior.swift
// StellarDemo
//
// Created by AugustRush on 6/21/16.
//
import UIKit
extension CALayer: DriveAnimateBehaviors {
func behavior(forType type: AnimationType, step: AnimationStep) -> UIDynamicBehavior {
let mainType = type.mainType
let su... | /content/code_sandbox/Sources/CALayer+AnimateBehavior.swift | swift | 2016-05-25T09:02:36 | 2024-08-14T16:00:58 | Stellar | AugustRush/Stellar | 2,933 | 5,209 |
```swift
//
//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, distribute, sublicense, and/or sell ... | /content/code_sandbox/Sources/GravityConfigurable.swift | swift | 2016-05-25T09:02:36 | 2024-08-14T16:00:58 | Stellar | AugustRush/Stellar | 2,933 | 224 |
```swift
//
//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, distribute, sublicense, and/or sell ... | /content/code_sandbox/Sources/Chainable.swift | swift | 2016-05-25T09:02:36 | 2024-08-14T16:00:58 | Stellar | AugustRush/Stellar | 2,933 | 228 |
```swift
//
//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, distribute, sublicense, and/or sell ... | /content/code_sandbox/Sources/DynamicItem.swift | swift | 2016-05-25T09:02:36 | 2024-08-14T16:00:58 | Stellar | AugustRush/Stellar | 2,933 | 785 |
```swift
//
//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, distribute, sublicense, and/or sell ... | /content/code_sandbox/Sources/Value+Physical.swift | swift | 2016-05-25T09:02:36 | 2024-08-14T16:00:58 | Stellar | AugustRush/Stellar | 2,933 | 1,781 |
```swift
//
//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, distribute, sublicense, and/or sell ... | /content/code_sandbox/Sources/BasicChainable.swift | swift | 2016-05-25T09:02:36 | 2024-08-14T16:00:58 | Stellar | AugustRush/Stellar | 2,933 | 552 |
```swift
//
//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, distribute, sublicense, and/or sell ... | /content/code_sandbox/Sources/AnimationContext.swift | swift | 2016-05-25T09:02:36 | 2024-08-14T16:00:58 | Stellar | AugustRush/Stellar | 2,933 | 852 |
```swift
//
//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, distribute, sublicense, and/or sell ... | /content/code_sandbox/Sources/DynamicItemGravity.swift | swift | 2016-05-25T09:02:36 | 2024-08-14T16:00:58 | Stellar | AugustRush/Stellar | 2,933 | 1,142 |
```swift
//
//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, distribute, sublicense, and/or sell ... | /content/code_sandbox/Sources/AnimationType.swift | swift | 2016-05-25T09:02:36 | 2024-08-14T16:00:58 | Stellar | AugustRush/Stellar | 2,933 | 481 |
```swift
//
//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, distribute, sublicense, and/or sell ... | /content/code_sandbox/Sources/BasicConfigurable.swift | swift | 2016-05-25T09:02:36 | 2024-08-14T16:00:58 | Stellar | AugustRush/Stellar | 2,933 | 270 |
```swift
//
// UIView+AnimateBehavior.swift
// StellarDemo
//
// Created by AugustRush on 6/21/16.
//
import UIKit
extension UIView: DriveAnimateBehaviors {
func behavior(forType type: AnimationType, step: AnimationStep) -> UIDynamicBehavior {
let mainType = type.mainType
let subT... | /content/code_sandbox/Sources/UIView+AnimateBehavior.swift | swift | 2016-05-25T09:02:36 | 2024-08-14T16:00:58 | Stellar | AugustRush/Stellar | 2,933 | 5,707 |
```swift
//
//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, distribute, sublicense, and/or sell ... | /content/code_sandbox/Sources/DynamicItem+Behavior.swift | swift | 2016-05-25T09:02:36 | 2024-08-14T16:00:58 | Stellar | AugustRush/Stellar | 2,933 | 1,567 |
```swift
//
//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, distribute, sublicense, and/or sell ... | /content/code_sandbox/Sources/SnapConfigurable.swift | swift | 2016-05-25T09:02:36 | 2024-08-14T16:00:58 | Stellar | AugustRush/Stellar | 2,933 | 224 |
```swift
//
//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, distribute, sublicense, and/or sell ... | /content/code_sandbox/Sources/CALayer+Stellar.swift | swift | 2016-05-25T09:02:36 | 2024-08-14T16:00:58 | Stellar | AugustRush/Stellar | 2,933 | 1,985 |
```swift
//
//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, distribute, sublicense, and/or sell ... | /content/code_sandbox/Sources/AttachmentConfigurable.swift | swift | 2016-05-25T09:02:36 | 2024-08-14T16:00:58 | Stellar | AugustRush/Stellar | 2,933 | 228 |
```swift
//
//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, distribute, sublicense, and/or sell ... | /content/code_sandbox/Sources/TimingFunction.swift | swift | 2016-05-25T09:02:36 | 2024-08-14T16:00:58 | Stellar | AugustRush/Stellar | 2,933 | 1,679 |
```powershell
param
(
[switch]
$Create,
[string[]]
$Module = @('AutomatedLabUnattended' # Careful... This is also the import order!
'AutomatedLabTest',
'PSLog',
'PSFileTransfer',
'AutomatedLabDefinition',
'AutomatedLabWorker',
'HostsFile',
'Automa... | /content/code_sandbox/NewOrUpdateHelp.ps1 | powershell | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 991 |
```yaml
version: 5.54.{build}
image:
- Visual Studio 2022
- Ubuntu2004
environment:
AppVeyorApi:
secure: e9BtF4uHDk3PxumsQHVK6I5GXlIh0IN2Gq1BBetSJx8=
NuGetApiKey:
secure: tAdUQmRiZ270LOPN8SwbjISLfu6ldDTw6LWvdtsk+pQR7r5bJnGrG8Ntyt87edJ/
AzureServicePrincipal:
secure: Kk48Oy97Tk9Ap9F9/2wbBSaFG/TDgJ... | /content/code_sandbox/appveyor.yml | yaml | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 1,727 |
```yaml
# Read the Docs configuration file for MkDocs projects
# See path_to_url for details
# Required
version: 2
# Set the version of Python and other tools you might need
build:
os: ubuntu-22.04
tools:
python: "3.11"
mkdocs:
configuration: mkdocs.yml
``` | /content/code_sandbox/.readthedocs.yaml | yaml | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 73 |
```yaml
copyright: AutomatedLab is licensed under the <a href='path_to_url license
repo_url: path_to_url
nav:
- Home: index.md
- Installation: Wiki/Basic/install.md
- Getting started:
- First steps: Wiki/Basic/gettingstarted.md
- Advanced configuration: Wiki/Advanced/automatedlabconfig.md
- Defining your lab:
- C... | /content/code_sandbox/mkdocs.yml | yaml | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 11,280 |
```powershell
@{
ModuleVersion = '1.0.0'
Author = 'Raimund Andree, Per Pedersen, Jan-Hendrik Peters'
CompanyName = 'AutomatedLab Team'
CompatiblePSEditions = 'Core', 'Desktop'
Description = 'This module uses pluggable providers to send various ki... | /content/code_sandbox/AutomatedLabNotifications/AutomatedLabNotifications.psd1 | powershell | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 318 |
```powershell
foreach ($file in Get-ChildItem -Path "$PSScriptRoot/internal/functions" -Filter *.ps1 -Recurse) {
. $file.FullName
}
foreach ($file in Get-ChildItem -Path "$PSScriptRoot/functions" -Filter *.ps1 -Recurse) {
. $file.FullName
}
foreach ($file in Get-ChildItem -Path "$PSScriptRoot/internal/scripts... | /content/code_sandbox/AutomatedLabNotifications/AutomatedLabNotifications.psm1 | powershell | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 108 |
```powershell
function Send-ALNotification
{
param
(
[Parameter(Mandatory = $true)]
[System.String]
$Activity,
[Parameter(Mandatory = $true)]
[System.String]
$Message,
[ValidateSet('Toast','Ifttt','Mail','Voice')]
[string[]]
$Provider
... | /content/code_sandbox/AutomatedLabNotifications/functions/Send-ALNotification.ps1 | powershell | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 198 |
```powershell
function Send-ALIftttNotification
{
param
(
[Parameter(Mandatory = $true)]
[System.String]
$Activity,
[Parameter(Mandatory = $true)]
[System.String]
$Message
)
$lab = Get-Lab -ErrorAction SilentlyContinue
$key = Get-LabConfigurationIte... | /content/code_sandbox/AutomatedLabNotifications/internal/functions/Send-ALIftttNotification.ps1 | powershell | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 271 |
```powershell
function Send-ALMailNotification
{
param
(
[Parameter(Mandatory = $true)]
[System.String]
$Activity,
[Parameter(Mandatory = $true)]
[System.String]
$Message
)
$lab = Get-Lab
$body = @"
Dear recipient,
Lab $($lab.Name) on $($La... | /content/code_sandbox/AutomatedLabNotifications/internal/functions/Send-ALMailNotification.ps1 | powershell | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 240 |
```powershell
function Send-ALVoiceNotification
{
param
(
[Parameter(Mandatory = $true)]
[System.String]
$Activity,
[Parameter(Mandatory = $true)]
[System.String]
$Message
)
$lab = Get-Lab
$culture = Get-LabConfigurationItem -Name Notifications.Notif... | /content/code_sandbox/AutomatedLabNotifications/internal/functions/Send-ALVoiceNotification.ps1 | powershell | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 329 |
```powershell
function Send-ALToastNotification
{
param
(
[Parameter(Mandatory = $true)]
[System.String]
$Activity,
[Parameter(Mandatory = $true)]
[System.String]
$Message
)
$isFullGui = $true # Client
if (Get-Item 'HKLM:\software\Microsoft\Windows ... | /content/code_sandbox/AutomatedLabNotifications/internal/functions/Send-ALToastNotification.ps1 | powershell | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 820 |
```powershell
@{
RootModule = 'AutomatedLab.psm1'
ModuleVersion = '1.0.0'
CompatiblePSEditions = 'Core', 'Desktop'
GUID = '6ee6d36f-7914-4bf6-9e3b-c0131669e808'
Author = 'Raimund Andree, Per Pedersen, Jan-Hendrik Peters'
CompanyName ... | /content/code_sandbox/AutomatedLab/AutomatedLab.psd1 | powershell | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 410 |
```powershell
# Here be dragons
``` | /content/code_sandbox/AutomatedLab/AutomatedLab.psm1 | powershell | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 5 |
```powershell
@{
RootModule = 'AutomatedLabWorker.psm1'
ModuleVersion = '1.0.0'
CompatiblePSEditions = 'Core', 'Desktop'
GUID = '3addac35-cd7a-4bd2-82f5-ab9c83a48246'
Author = 'Raimund Andree, Per Pedersen, Jan-Hendrik Peters'
Company... | /content/code_sandbox/AutomatedLabWorker/AutomatedLabWorker.psd1 | powershell | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 1,003 |
```powershell
function New-LWVHDX
{
[Diagnostics.CodeAnalysis.SuppressMessageAttribute("PSUseCompatibleCmdlets", "", Justification="Not relevant on Linux")]
[Cmdletbinding()]
Param (
#Path to reference VHD
[Parameter(Mandatory = $true)]
[string]$VhdxPath,
#Size of the refere... | /content/code_sandbox/AutomatedLabWorker/functions/Disks/New-LWVHDX.ps1 | powershell | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 456 |
```powershell
function Remove-LWVHDX
{
[Diagnostics.CodeAnalysis.SuppressMessageAttribute("PSUseCompatibleCmdlets", "", Justification="Not relevant on Linux")]
[Cmdletbinding()]
Param (
#Path to reference VHD
[Parameter(Mandatory = $true)]
[string]$VhdxPath
)
Write-LogFuncti... | /content/code_sandbox/AutomatedLabWorker/functions/Disks/Remove-LWVHDX.ps1 | powershell | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 183 |
```powershell
function New-LWReferenceVHDX
{
[Diagnostics.CodeAnalysis.SuppressMessageAttribute("PSUseCompatibleCmdlets", "", Justification="Not relevant on Linux")]
[Cmdletbinding()]
Param (
#ISO of OS
[Parameter(Mandatory = $true)]
[string]$IsoOsPath,
#Path to reference VH... | /content/code_sandbox/AutomatedLabWorker/functions/Disks/New-LWReferenceVHDX.ps1 | powershell | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 2,252 |
```powershell
function Add-LWVMVHDX
{
[Diagnostics.CodeAnalysis.SuppressMessageAttribute("PSUseCompatibleCmdlets", "", Justification="Not relevant on Linux")]
[Cmdletbinding()]
Param (
[Parameter(Mandatory = $true)]
[string]$VMName,
[Parameter(Mandatory = $true)]
[string]$Vh... | /content/code_sandbox/AutomatedLabWorker/functions/Disks/Add-LWVMVHDX.ps1 | powershell | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 195 |
```powershell
function Install-LWLabCAServers2008
{
[Diagnostics.CodeAnalysis.SuppressMessageAttribute("PSUseCompatibleCmdlets", "", Justification="Not relevant on Linux")]
[Diagnostics.CodeAnalysis.SuppressMessageAttribute("PSAvoidUsingWriteHost", "", Justification="Historic cmdlet, will not be updated")]
... | /content/code_sandbox/AutomatedLabWorker/functions/ADCS/Install-LWLabCAServers2008.ps1 | powershell | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 6,221 |
```powershell
function Disable-LWAzureAutoShutdown
{
param
(
[string[]]
$ComputerName,
[switch]
$Wait
)
$lab = Get-Lab -ErrorAction Stop
$labVms = Get-AzVm -ResourceGroupName $lab.AzureSettings.DefaultResourceGroup.ResourceGroupName
if ($ComputerName)
{
... | /content/code_sandbox/AutomatedLabWorker/functions/AzureWorkerVirtualMachines/Disable-LWAzureAutoShutdown.ps1 | powershell | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 211 |
```powershell
function Get-LWAzureVmSize
{
[Cmdletbinding()]
param
(
[Parameter(Mandatory)]
[AutomatedLab.Machine]$Machine
)
$lab = Get-Lab
if ($machine.AzureRoleSize)
{
$roleSize = $lab.AzureSettings.RoleSizes |
Where-Object { $_.Name -eq $machine.AzureRole... | /content/code_sandbox/AutomatedLabWorker/functions/AzureWorkerVirtualMachines/Get-LWAzureVmSize.ps1 | powershell | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 1,139 |
```powershell
function Install-LWLabCAServers
{
[Diagnostics.CodeAnalysis.SuppressMessageAttribute("PSUseCompatibleCmdlets", "", Justification="Not relevant on Linux")]
[Diagnostics.CodeAnalysis.SuppressMessageAttribute("PSAvoidUsingWriteHost", "", Justification="Historic cmdlet, will not be updated")]
para... | /content/code_sandbox/AutomatedLabWorker/functions/ADCS/Install-LWLabCAServers.ps1 | powershell | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 6,214 |
```powershell
function Remove-LWAzureRecoveryServicesVault
{
[CmdletBinding()]
param
(
[int]
$RetryCount = 0
)
$lab = Get-Lab -ErrorAction SilentlyContinue
if (-not $lab) { return }
$rsVault = Get-AzResource -ResourceGroupName $lab.AzureSettings.DefaultResourceGroup.Resourc... | /content/code_sandbox/AutomatedLabWorker/functions/AzureWorkerVirtualMachines/Remove-LWAzureRecoveryServicesVault.ps1 | powershell | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 2,571 |
```powershell
function Get-LWAzureVMStatus
{
param (
[Parameter(Mandatory)]
[string[]]$ComputerName
)
Test-LabHostConnected -Throw -Quiet
#required to suporess verbose messages, warnings and errors
Get-CallerPreference -Cmdlet $PSCmdlet -SessionState $ExecutionContext.SessionState
... | /content/code_sandbox/AutomatedLabWorker/functions/AzureWorkerVirtualMachines/Get-LWAzureVMStatus.ps1 | powershell | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 373 |
```powershell
function Mount-LWAzureIsoImage
{
[Diagnostics.CodeAnalysis.SuppressMessageAttribute("PSUseCompatibleCmdlets", "", Justification = "Not relevant, used in Invoke-LabCommand")]
[CmdletBinding()]
param
(
[Parameter(Mandatory, Position = 0)]
[string[]]
$ComputerName,
... | /content/code_sandbox/AutomatedLabWorker/functions/AzureWorkerVirtualMachines/Mount-LWAzureIsoImage.ps1 | powershell | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 669 |
```powershell
function Remove-LWAzureVmSnapshot
{
[Cmdletbinding()]
Param
(
[Parameter(Mandatory, ParameterSetName = 'BySnapshotName')]
[Parameter(Mandatory, ParameterSetName = 'AllSnapshots')]
[string[]]$ComputerName,
[Parameter(Mandatory, ParameterSetName = 'BySnapshotName... | /content/code_sandbox/AutomatedLabWorker/functions/AzureWorkerVirtualMachines/Remove-LWAzureVmSnapshot.ps1 | powershell | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 246 |
```powershell
function Connect-LWAzureLabSourcesDrive
{
param(
[Parameter(Mandatory, Position = 0)]
[System.Management.Automation.Runspaces.PSSession]$Session,
[switch]$SuppressErrors
)
Test-LabHostConnected -Throw -Quiet
Write-LogFunctionEntry
$azureRetryCount = Get-LabC... | /content/code_sandbox/AutomatedLabWorker/functions/AzureWorkerVirtualMachines/Connect-LWAzureLabSourcesDrive.ps1 | powershell | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 920 |
```powershell
function Get-LWAzureVm
{
[CmdletBinding()]
param (
[Parameter()]
[string[]]$ComputerName
)
Test-LabHostConnected -Throw -Quiet
#required to suporess verbose messages, warnings and errors
Get-CallerPreference -Cmdlet $PSCmdlet -SessionState $ExecutionContext.Sessio... | /content/code_sandbox/AutomatedLabWorker/functions/AzureWorkerVirtualMachines/Get-LWAzureVm.ps1 | powershell | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 401 |
```powershell
function Enable-LWAzureVMRemoting
{
[Diagnostics.CodeAnalysis.SuppressMessageAttribute("PSUseCompatibleCmdlets", "", Justification = "Not enabling CredSSP a third time on Linux")]
param
(
[Parameter(Mandatory, Position = 0)]
[string[]]$ComputerName,
[switch]$UseSSL
... | /content/code_sandbox/AutomatedLabWorker/functions/AzureWorkerVirtualMachines/Enable-LWAzureVMRemoting.ps1 | powershell | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 732 |
```powershell
function Dismount-LWAzureIsoImage
{
[Diagnostics.CodeAnalysis.SuppressMessageAttribute("PSUseCompatibleCmdlets", "", Justification = "Not relevant, used in Invoke-LabCommand")]
param
(
[Parameter(Mandatory, Position = 0)]
[string[]]
$ComputerName
)
Test-LabHost... | /content/code_sandbox/AutomatedLabWorker/functions/AzureWorkerVirtualMachines/Dismount-LWAzureIsoImage.ps1 | powershell | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 249 |
```powershell
function Restore-LWAzureVmSnapshot
{
[Cmdletbinding()]
Param
(
[Parameter(Mandatory)]
[string[]]$ComputerName,
[Parameter(Mandatory)]
[string]$SnapshotName
)
Test-LabHostConnected -Throw -Quiet
Write-LogFunctionEntry
$lab = Get-Lab
$resou... | /content/code_sandbox/AutomatedLabWorker/functions/AzureWorkerVirtualMachines/Restore-LWAzureVmSnapshot.ps1 | powershell | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 1,283 |
```powershell
function Get-LWAzureVmSnapshot
{
param
(
[Parameter()]
[Alias('VMName')]
[string[]]
$ComputerName,
[Parameter()]
[Alias('Name')]
[string]
$SnapshotName
)
Test-LabHostConnected -Throw -Quiet
$snapshots = Get-AzSnapshot -... | /content/code_sandbox/AutomatedLabWorker/functions/AzureWorkerVirtualMachines/Get-LWAzureVmSnapshot.ps1 | powershell | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 216 |
```powershell
function Enable-LWAzureAutoShutdown
{
param
(
[string[]]
$ComputerName,
[timespan]
$Time,
[string]
$TimeZone = (Get-TimeZone).Id,
[switch]
$Wait
)
$lab = Get-Lab -ErrorAction Stop
$labVms = Get-AzVm -ResourceGroupName ... | /content/code_sandbox/AutomatedLabWorker/functions/AzureWorkerVirtualMachines/Enable-LWAzureAutoShutdown.ps1 | powershell | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 302 |
```powershell
function Get-LWAzureVMConnectionInfo
{
param (
[Parameter(Mandatory)]
[AutomatedLab.Machine[]]$ComputerName
)
Test-LabHostConnected -Throw -Quiet
Write-LogFunctionEntry
$azureRetryCount = Get-LabConfigurationItem -Name AzureRetryCount
$lab = Get-Lab -ErrorAction... | /content/code_sandbox/AutomatedLabWorker/functions/AzureWorkerVirtualMachines/Get-LWAzureVMConnectionInfo.ps1 | powershell | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 764 |
```powershell
function Wait-LWAzureRestartVM
{
param (
[Parameter(Mandatory)]
[string[]]$ComputerName,
[switch]$DoNotUseCredSsp,
[double]$TimeoutInMinutes = 15,
[int]$ProgressIndicator,
[switch]$NoNewLine,
[Parameter(Mandatory)]
[datetime]
... | /content/code_sandbox/AutomatedLabWorker/functions/AzureWorkerVirtualMachines/Wait-LWAzureRestartVM.ps1 | powershell | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 687 |
```powershell
function Get-LWAzureSku
{
[Cmdletbinding()]
param
(
[Parameter(Mandatory)]
[AutomatedLab.Machine]$Machine
)
$lab = Get-Lab
#if this machine has a SQL Server role
foreach ($role in $Machine.Roles)
{
if ($role.Name -match 'SQLServer(?<SqlVersion>\d{4... | /content/code_sandbox/AutomatedLabWorker/functions/AzureWorkerVirtualMachines/Get-LWAzureSku.ps1 | powershell | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 1,655 |
```powershell
function New-LabAzureResourceGroupDeployment
{
[CmdletBinding()]
param
(
[Parameter(Mandatory)]
[AutomatedLab.Lab]
$Lab,
[Parameter()]
[switch]
$PassThru,
[Parameter()]
[switch]
$Wait
)
Write-LogFunctionEntry
... | /content/code_sandbox/AutomatedLabWorker/functions/AzureWorkerVirtualMachines/New-LabAzureResourceGroupDeployment.ps1 | powershell | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 8,055 |
```powershell
function Get-LWAzureAutoShutdown
{
[CmdletBinding()]
param ( )
$lab = Get-Lab -ErrorAction Stop
$resourceGroup = $lab.AzureSettings.DefaultResourceGroup.ResourceGroupName
$schedules = (Get-AzResource -ResourceGroupName $resourceGroup -ResourceType Microsoft.DevTestLab/schedules -Expa... | /content/code_sandbox/AutomatedLabWorker/functions/AzureWorkerVirtualMachines/Get-LWAzureAutoShutdown.ps1 | powershell | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 188 |
```powershell
function Checkpoint-LWAzureVM
{
[Cmdletbinding()]
Param
(
[Parameter(Mandatory)]
[string[]]$ComputerName,
[Parameter(Mandatory)]
[string]$SnapshotName
)
Test-LabHostConnected -Throw -Quiet
Write-LogFunctionEntry
$lab = Get-Lab
$resourceGr... | /content/code_sandbox/AutomatedLabWorker/functions/AzureWorkerVirtualMachines/Checkpoint-LWAzureVM.ps1 | powershell | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 539 |
```powershell
function Stop-LWAzureVM
{
param (
[Parameter(Mandatory)]
[string[]]
$ComputerName,
[ValidateRange(0, 300)]
[int]$ProgressIndicator = (Get-LabConfigurationItem -Name DefaultProgressIndicator),
[switch]
$NoNewLine,
[switch]
$Shut... | /content/code_sandbox/AutomatedLabWorker/functions/AzureWorkerVirtualMachines/Stop-LWAzureVM.ps1 | powershell | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 719 |
```powershell
function Remove-LWAzureVM
{
Param (
[Parameter(Mandatory)]
[string]$Name,
[switch]$AsJob,
[switch]$PassThru
)
Test-LabHostConnected -Throw -Quiet
Write-LogFunctionEntry
$azureRetryCount = Get-LabConfigurationItem -Name AzureRetryCount
$Lab = Ge... | /content/code_sandbox/AutomatedLabWorker/functions/AzureWorkerVirtualMachines/Remove-LWAzureVM.ps1 | powershell | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 330 |
```powershell
function Initialize-LWAzureVM
{
[Cmdletbinding()]
Param (
[Parameter(Mandatory)]
[AutomatedLab.Machine[]]$Machine
)
Test-LabHostConnected -Throw -Quiet
Write-LogFunctionEntry
$azureRetryCount = Get-LabConfigurationItem -Name AzureRetryCount
$lab = Get-Lab
... | /content/code_sandbox/AutomatedLabWorker/functions/AzureWorkerVirtualMachines/Initialize-LWAzureVM.ps1 | powershell | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 6,545 |
```powershell
function Enable-LWAzureWinRm
{
param
(
[Parameter(Mandatory)]
[AutomatedLab.Machine[]]
$Machine,
[switch]
$PassThru,
[switch]
$Wait
)
Test-LabHostConnected -Throw -Quiet
Write-LogFunctionEntry
$azureRetryCount = Get-LabCo... | /content/code_sandbox/AutomatedLabWorker/functions/AzureWorkerVirtualMachines/Enable-LWAzureWinRm.ps1 | powershell | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 1,323 |
```powershell
function Wait-LWVMWareRestartVM
{
[Diagnostics.CodeAnalysis.SuppressMessageAttribute("PSUseCompatibleCmdlets", "", Justification="Not relevant on Linux")]
param (
[Parameter(Mandatory)]
[string[]]$ComputerName,
[double]$TimeoutInMinutes = 15
)
Write-LogFunctionEnt... | /content/code_sandbox/AutomatedLabWorker/functions/VMWareWorkerVirtualMachines/Wait-LWVMWareRestartVM.ps1 | powershell | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 451 |
```powershell
function Start-LWAzureVM
{
param (
[Parameter(Mandatory = $true)]
[string[]]$ComputerName,
[int]$DelayBetweenComputers = 0,
[int]$ProgressIndicator = 15,
[switch]$NoNewLine
)
Test-LabHostConnected -Throw -Quiet
Write-LogFunctionEntry
$azure... | /content/code_sandbox/AutomatedLabWorker/functions/AzureWorkerVirtualMachines/Start-LWAzureVM.ps1 | powershell | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 559 |
```powershell
function Stop-LWVMWareVM
{
[Diagnostics.CodeAnalysis.SuppressMessageAttribute("PSUseCompatibleCmdlets", "", Justification="Not relevant on Linux")]
param (
[Parameter(Mandatory)]
[string[]]$ComputerName
)
Write-LogFunctionEntry
foreach ($name in $ComputerName)
{
... | /content/code_sandbox/AutomatedLabWorker/functions/VMWareWorkerVirtualMachines/Stop-LWVMWareVM.ps1 | powershell | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 186 |
```powershell
function Enable-LWVMWareVMRemoting
{
[Diagnostics.CodeAnalysis.SuppressMessageAttribute("PSUseCompatibleCmdlets", "", Justification="Not relevant on Linux")]
param(
[Parameter(Mandatory, Position = 0)]
$ComputerName
)
if ($ComputerName)
{
$machines = Get-LabVM ... | /content/code_sandbox/AutomatedLabWorker/functions/VMWareWorkerVirtualMachines/Enable-LWVMWareVMRemoting.ps1 | powershell | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 423 |
```powershell
function Save-LWVMWareVM
{
[Diagnostics.CodeAnalysis.SuppressMessageAttribute("PSUseCompatibleCmdlets", "", Justification="Not relevant on Linux")]
param (
[Parameter(Mandatory)]
[string[]]$ComputerName
)
Write-LogFunctionEntry
VMware.VimAutomation.Core\Suspend-VM -VM... | /content/code_sandbox/AutomatedLabWorker/functions/VMWareWorkerVirtualMachines/Save-LWVMWareVM.ps1 | powershell | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 94 |
```powershell
function New-LWVMWareVM
{
[Diagnostics.CodeAnalysis.SuppressMessageAttribute("PSUseCompatibleCmdlets", "", Justification="Not relevant on Linux")]
[Cmdletbinding()]
Param (
[Parameter(Mandatory)]
[string]$Name,
[Parameter(Mandatory)]
[string]$ReferenceVM,
... | /content/code_sandbox/AutomatedLabWorker/functions/VMWareWorkerVirtualMachines/New-LWVMWareVM.ps1 | powershell | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 1,042 |
```powershell
function Start-LWVMWareVM
{
[Diagnostics.CodeAnalysis.SuppressMessageAttribute("PSUseCompatibleCmdlets", "", Justification="Not relevant on Linux")]
param (
[Parameter(Mandatory = $true)]
[string[]]$ComputerName,
[int]$DelayBetweenComputers = 0
)
Write-LogFunction... | /content/code_sandbox/AutomatedLabWorker/functions/VMWareWorkerVirtualMachines/Start-LWVMWareVM.ps1 | powershell | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 208 |
```powershell
function Remove-LWVMWareVM
{
[Diagnostics.CodeAnalysis.SuppressMessageAttribute("PSUseCompatibleCmdlets", "", Justification="Not relevant on Linux")]
Param (
[Parameter(Mandatory)]
[string]$ComputerName,
[switch]$AsJob,
[switch]$PassThru
)
Write-LogFuncti... | /content/code_sandbox/AutomatedLabWorker/functions/VMWareWorkerVirtualMachines/Remove-LWVMWareVM.ps1 | powershell | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 350 |
```powershell
function Get-LWVMWareVMStatus
{
[Diagnostics.CodeAnalysis.SuppressMessageAttribute("PSUseCompatibleCmdlets", "", Justification="Not relevant on Linux")]
param (
[Parameter(Mandatory)]
[string[]]$ComputerName
)
Write-LogFunctionEntry
$result = @{ }
foreach ($name ... | /content/code_sandbox/AutomatedLabWorker/functions/VMWareWorkerVirtualMachines/Get-LWVMWareVMStatus.ps1 | powershell | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 191 |
```powershell
function Uninstall-LWHypervWindowsFeature
{
[cmdletBinding()]
param (
[Parameter(Mandatory)]
[ValidateNotNullOrEmpty()]
[AutomatedLab.Machine[]]$Machine,
[Parameter(Mandatory)]
[ValidateNotNullOrEmpty()]
[string[]]$FeatureName,
[switch]$Inc... | /content/code_sandbox/AutomatedLabWorker/functions/Core/Uninstall-LWHypervWindowsFeature.ps1 | powershell | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 701 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.