Damit Windows 10 nicht mehr nach Hause telefoniert. Können folgende Powershell Commands abgesetzt werden.
Win10_CallHomes_ServiceConfig.cmd im als zip download. Entpacken und als Administrator ausführen.
[code lang="shell"]
Get-Service...
[code lang="shell"]
$web = get-spweb "https://yourWeb"
$SourceGroup = $web.groups | where {$_.name -eq "XY Owners" }
$TargetGroup = $web.groups | where {$_.name -eq "XY Members" }
foreach ($user in...
[code lang="shell"]
###########################################################
# AUTHOR : buarotti.ch
# DATE : 06.11.2013
# EDIT :
# CHANGES :
# COMMENT : This script export Group-Members to CSV for Reporting...
[code language="shell"]
## =======================================================================
## Description: MassScript to change SIP Address
## =======================================================================
## Importing PS...
[code lang="ps"]
## Function PS Read-Host Select Example##
Function myfunction
{
$path = "yourpath"
$1 = "1. One"
$2 = "2. Two"
$3 = "3. Three"
$x = "Exit"
write-host "$1"
write-host...
Um eine DocLib vom einem Server auf einen neuen Server zu migrieren. Kann wie folgt vorgegangen werden.
-- Export
1.) SharePoint Powershell als Admin starten.
2.) Export-SPWeb -Identity http://ServerURL/Sitename/DokLibpath
-Path "C:\Backupfolder"...
Hier ein Beispiel wie ein lokaler User mit Powershell erstellt wird.
[code lang="ps"]
$target = [ADSI]"WinNT://."
$newuser = $target.Create("username", $_.Name)
$newuser.SetPassword("the...
- Kommentare deaktiviert für Create Local User in Powershell
Powershell Grundlagen
[code lang="ps"]
get-command *process*
Get-Command *process* -type cmdlet
Get-Process | Get-Member
Get-ExecutionPolicy
get-process | sort-Object CPU -Descending | Select-Object processname, cpu, id | format-Table...