Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added Escape.txt
Binary file not shown.
1 change: 1 addition & 0 deletions Esercizio19.ps1
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
get-childitem *at.* | out-printer
Binary file added Esercizio24.txt
Binary file not shown.
5 changes: 5 additions & 0 deletions Esercizio27.ps1
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
$par = $args
if($par -gt 10)
{echo "> di 10"}
else
{echo "<= di 10"}
6 changes: 0 additions & 6 deletions Hello.ps1

This file was deleted.

6 changes: 0 additions & 6 deletions HelloName.ps1

This file was deleted.

674 changes: 0 additions & 674 deletions LICENSE

This file was deleted.

4 changes: 4 additions & 0 deletions Risoluzione Esercizio 18.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Comando esercizio 18

cd Desktop
get-help about-escape-character | out-file Escape.txt
1 change: 1 addition & 0 deletions Risoluzione Esercizio 24.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
get-command | format-table -property Name, Definition | out-file Esercizio24
1 change: 0 additions & 1 deletion compiti_per_casa/helloName.ps1

This file was deleted.

8 changes: 0 additions & 8 deletions compiti_per_casa/helloNames.ps1

This file was deleted.

3 changes: 0 additions & 3 deletions for.ps1

This file was deleted.

6 changes: 6 additions & 0 deletions helloworld.ps1
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# Hello.ps1
# scrittutra di messaggio

write-host "***********"
write-host "Hello World" -foregroundcolor Red -backgroundcolor Black
write-host "***********"
21 changes: 21 additions & 0 deletions menù.ps1
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
#Men� Kadiu
switch($args[0])
{
"D" {Get-Date}
"U" {$env:username}
"L" {Get-ChildItem}
"C" {Get-Location}
"W" {Get-NetIpConfiguration | Format_List IPv4Address}
"X" {Get-ChildItem -path C:\Users}
#Scelta uguale alla 2^a "Y" {}
"Z" {Test-Connection www.youtube.com}

default {Write-Host "D = Data di Oggi"
Write-Host "U = Utente attualmente collegato"
Write-Host "L = Lista dei file"
Write-Host "C = Directory corrente"
Write-Host "W = Visualizzazione configurazione di rete"
Write-Host "X = Visualizzazione utenti possibili nel sistema"
Write-Host "Y = Visualizzazione utenti connessi"
Write-Host "Z = Ping a www.youtube.com"}
}
5 changes: 0 additions & 5 deletions scelte.ps1

This file was deleted.