Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
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
2 changes: 1 addition & 1 deletion .github/linters/.powershell-psscriptanalyzer.psd1
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
CheckHashtable = $true
}
PSAvoidLongLines = @{
Enable = $true
Enable = $false
MaximumLineLength = 150
}
PSAvoidSemicolonsAsLineTerminators = @{
Expand Down
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2025 PSModule
Copyright (c) 2026 Frederik Hjorslev Nylander

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
79 changes: 36 additions & 43 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,69 +1,62 @@
# {{ NAME }}
# IntuneOperator

{{ DESCRIPTION }}
## IntuneOperator

## Prerequisites

This uses the following external resources:
- The [PSModule framework](https://github.com/PSModule/Process-PSModule) for building, testing and publishing the module.
IntuneOperator is a PowerShell module for Intune that helps managing your Endpoint fleet.

## Installation

To install the module from the PowerShell Gallery, you can use the following command:

```powershell
Install-PSResource -Name {{ NAME }}
Import-Module -Name {{ NAME }}
Install-PSResource -Name IntuneOperator
Import-Module -Name IntuneOperator
```

## Usage

Here is a list of example that are typical use cases for the module.

### Example 1: Greet an entity
### Example 1: Get-IntuneDeviceLogin

Provide examples for typical commands that a user would like to do with the module.
As for March 2026 there is one cmdlet: `Get-IntuneDeviceLogin`.

```powershell
Greet-Entity -Name 'World'
Hello, World!
Get-IntuneDeviceLogin -DeviceName PC-001
```

### Example 2

Provide examples for typical commands that a user would like to do with the module.
```text
DeviceName : PC-001
UserPrincipalName : john.doe@contoso.com
DeviceId : c1f5d1d7-2d2b-4d8c-9f0a-0d2a3d1e2f3a
UserId : a5b6c7d8-e9f0-1a2b-3c4d-5e6f7a8b9c0d
LastLogonDateTime : 3/9/2026 8:14:00 AM

DeviceName : PC-001
UserPrincipalName : jane.smith@contoso.com
DeviceId : c1f5d1d7-2d2b-4d8c-9f0a-0d2a3d1e2f3a
UserId : b1c2d3e4-f5a6-7b8c-9d0e-1f2a3b4c5d6e
LastLogonDateTime : 3/7/2026 2:45:00 PM
```

```powershell
Import-Module -Name PSModuleTemplate
Get-IntuneDeviceLogin -UserPrincipalName john.doe@contoso.com
```

### Find more examples

To find more examples of how to use the module, please refer to the [examples](examples) folder.

Alternatively, you can use the Get-Command -Module 'This module' to find more commands that are available in the module.
To find examples of each of the commands you can use Get-Help -Examples 'CommandName'.

## Documentation

Link to further documentation if available, or describe where in the repository users can find more detailed documentation about
the module's functions and features.

## Contributing

Coder or not, you can contribute to the project! We welcome all contributions.

### For Users

If you don't code, you still sit on valuable information that can make this project even better. If you experience that the
product does unexpected things, throw errors or is missing functionality, you can help by submitting bugs and feature requests.
Please see the issues tab on this project and submit a new issue that matches your needs.

### For Developers

If you do code, we'd love to have your contributions. Please read the [Contribution guidelines](CONTRIBUTING.md) for more information.
You can either help by picking up an existing issue or submit a new one if you have an idea for a new feature or improvement.
```text
DeviceName : PC-001
UserPrincipalName : john.doe@contoso.com
DeviceId : c1f5d1d7-2d2b-4d8c-9f0a-0d2a3d1e2f3a
UserId : a5b6c7d8-e9f0-1a2b-3c4d-5e6f7a8b9c0d
LastLogonDateTime : 3/9/2026 8:14:00 AM

DeviceName : PC-042
UserPrincipalName : john.doe@contoso.com
DeviceId : f7e6d5c4-b3a2-1f0e-9d8c-7b6a5f4e3d2c
UserId : a5b6c7d8-e9f0-1a2b-3c4d-5e6f7a8b9c0d
LastLogonDateTime : 3/5/2026 9:33:00 AM
```

## Acknowledgements

Here is a list of people and projects that helped this project in some way.
- [Process-Module](https://github.com/PSModule/Process-PSModule) by [Marius Storhaug](https://github.com/MariusStorhaug). Contains the entire build pipeline. This is greatly beneficial and helps me just concentrating on building the cmdlets.
19 changes: 0 additions & 19 deletions examples/General.ps1

This file was deleted.

4 changes: 2 additions & 2 deletions src/README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# Details
# IntuneOperator

For more info about the expected structure of a module repository, please refer to [Build-PSModule](https://github.com/PSModule/Build-PSModule)
For more info about the module, please see [IntuneOperator](https://github.com/hjorslev/IntuneOperator).
Binary file removed src/assemblies/LsonLib.dll
Binary file not shown.
15 changes: 0 additions & 15 deletions src/classes/private/SecretWriter.ps1

This file was deleted.

147 changes: 0 additions & 147 deletions src/classes/public/Book.ps1

This file was deleted.

3 changes: 0 additions & 3 deletions src/data/Config.psd1

This file was deleted.

3 changes: 0 additions & 3 deletions src/data/Settings.psd1

This file was deleted.

3 changes: 0 additions & 3 deletions src/finally.ps1

This file was deleted.

37 changes: 0 additions & 37 deletions src/formats/CultureInfo.Format.ps1xml

This file was deleted.

Loading
Loading