
Export-Csv (Microsoft.PowerShell.Utility) - PowerShell
You can use Export-Csv -IncludeTypeInformation to save objects in a CSV file and then use the Import-Csv cmdlet to create objects from the text in the CSV file. In the CSV file, each object is …
ConvertTo-Csv (Microsoft.PowerShell.Utility) - PowerShell
The ConvertTo-Csv cmdlet returns a series of character-separated value (CSV) strings that represent the objects that you submit. You can then use the ConvertFrom-Csv cmdlet to …
Import-Csv (Microsoft.PowerShell.Utility) - PowerShell
The Import-Csv cmdlet creates table-like custom objects from the items in CSV files. Each column in the CSV file becomes a property of the custom object and the items in rows become the …
New-Item (Microsoft.PowerShell.Management) - PowerShell
This command creates a PowerShell profile in the path that is specified by the $PROFILE variable. You can use profiles to customize PowerShell. $PROFILE is an automatic (built-in) …
ConvertFrom-Csv (Microsoft.PowerShell.Utility) - PowerShell
The ConvertFrom-Csv cmdlet converts character-separated value (CSV) data to PSObject type objects for each line of CSV data. The new objects are written to the pipeline in the order they …
Export-Csv (Microsoft.PowerShell.Utility) - PowerShell
Vous pouvez utiliser l’applet Export-CSV de commande pour créer des feuilles de calcul et partager des données avec des programmes qui acceptent des fichiers CSV comme entrée. …
Add-Content (Microsoft.PowerShell.Management) - PowerShell
The Add-Content cmdlet uses the Path and Value parameters to create a new file in the current directory. The Get-Content cmdlet gets the contents of an existing file, CopyFromFile.txt and …
New-ADGroup (ActiveDirectory) | Microsoft Learn
Method 3: Use the Import-Csv cmdlet with the New-ADGroup cmdlet to create multiple Active Directory group objects. To do this, use the Import-CSV cmdlet to create the custom objects …
Everything you wanted to know about PSCustomObject
PSCustomObject is a great tool to add into your PowerShell tool belt. Let's start with the basics and work our way into the more advanced features. The idea behind using a PSCustomObject …
Create SharePoint sites and add users with PowerShell
Mar 12, 2025 · Create multiple sites using PowerShell and a .csv file that you create using the example code provided and Notepad. For this procedure, you're replacing the placeholder …