This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function takeownershipandmovecsc{ | |
param( | |
[String]$username, #$env:username | |
[string]$homeshare, | |
[String]$homea, # $home | |
[string]$systemroot, # $env:systemroot | |
[String]$SysDrive #$env:SystemDrive | |
) | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$a1 = @(1,2,3,4,5) | |
$b1 = "'This is string number'" | |
$Scriptblock = @" | |
`$Array = @(1,2,3,4,5) | |
`$String = $b1 | |
foreach(`$f in `$Array){ write-host "`$String `$f"} | |
start-sleep 10 | |
write-host pasta | |
start-sleep 10 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Author: Robert J Lambert | |
# Revision: 0.1.0 | |
param( | |
[array]$val, #Units | |
[switch]$waveleng, #m | |
[switch]$freq, #1/s | |
[switch]$da, #10 | |
[switch]$hecto, #10^2 | |
[switch]$kilo, #10^3 |
NewerOlder