Microsoft Office Tutorials and References
In Depth Information
Microsoft Online Services Module
To script the cmdlets, follow these steps:
1. Create the script in a script editor or with an application such as Notepad, and
save the script as a file with a .ps1 extension. We used Notepad and the preceding
example commands to recreate the entire script. We saved it as GetO365LicInfo.ps1,
as shown in Figure 2-41.
Figure 2-41 Notepad was used to write the script.
2. Run the script by referencing the full path to the script. Or, as shown in Figure 2-42, if
the script was saved in the current directory you are in, type the following:
Figure 2-42 Executing the GetO365LicInfo.ps1 script.
Search JabSto ::

Custom Search