-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
70b8233
commit e302baf
Showing
1 changed file
with
29 additions
and
0 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
## Installing and Using entraYK | ||
|
||
### Installation Instructions: | ||
1. Extract the ZIP | ||
- Unzip the folder to a directory of your choice, e.g., `C:\Modules\entraYK`. | ||
|
||
2. Open PowerShell | ||
- If using PowerShell 7, start it by running: | ||
pwsh | ||
|
||
3. Import the Module | ||
- Run the following command (replace <path> with the actual location): | ||
Import-Module "<path>\entraYK\entraYK.psd1" | ||
- If you placed the module in a standard module path (`$env:ProgramFiles\WindowsPowerShell\Modules` or | ||
`$env:USERPROFILE\Documents\PowerShell\Modules`), you can simply run: | ||
Import-Module entraYK | ||
|
||
4. Verify Installation | ||
- Run: | ||
Get-Module entraYK -ListAvailable | ||
|
||
5. Run a Cmdlet | ||
- Execute your desired cmdlet, e.g.: | ||
Get-EntraUser -UserPrincipalName user@domain.com | ||
|
||
### Tips & Notes: | ||
- If you encounter an "untrusted module" warning, you may need to unblock the file: | ||
Unblock-File -Path "<path>\entraYK\entraYK.psd1" | ||
- If you want to auto-load the module, consider adding it to your PowerShell profile. |