Comments (6)
it's because of the Presence flag... if it's false, it never adds a value to the body so the API request body is empty, resulting in that error
should work with -Presence added while it's being fixed... try that out
from psslack.
That works!
Do you think it would be possible to query by email address in the future? That would be extremely useful to me!
Thanks for everything!
Jonathan Flatt
From: Nate Ferrell [mailto:[email protected]]
Sent: Wednesday, August 31, 2016 3:01 PM
To: RamblingCookieMonster/PSSlack [email protected]
Cc: Jonathan Flatt [email protected]; Author [email protected]
Subject: Re: [RamblingCookieMonster/PSSlack] get-slackuser bugged (#23)
it's because of the Presence flag... if it's false, it never adds a value to the body so the API request body is empty, resulting in that error
should work with -Presence added while it's being fixed... try that out
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com//issues/23#issuecomment-243882642, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ATce6tNZtUqRybmhMJLMWJdqGZT-ZPkAks5qld1_gaJpZM4Jx_q0.
from psslack.
It wouldn't be terribly difficult to add that, let me poke around a little bit and see what I can do
from psslack.
@RamblingCookieMonster you da best
from psslack.
Hi!
Good find - just pushed an update, it should hit the gallery shortly. Thanks @Nferrell for narrowing it down, very helpful!
Cheers!
from psslack.
yup yup! I'm guessing you switched it up to something like this?
$params = @{
Token = $Token
Method = 'users.list'
}
if($Presence)
{
$body = @{presence=1}
$params.Add("Body",$body)
}
$RawUsers = Send-SlackApi @params
from psslack.
Related Issues (20)
- Could not create SSL/TLS secure channel HOT 1
- Add function Disable-User
- New-SlackMessageAttachment: "Severity" parameter syntax incorrect and the parameter also appears non-functional?
- Add feature: Start-Call HOT 2
- Add New-SlackMessageBlock
- Support -Uri in Send-SlackFile cmdlet
- Add support to integrate Sending attachment in Send-SlackMessage instead of Send-SlackFile
- Conversations API deprecation - Get-SlackGroup HOT 1
- Authentication does not work with new Apps HOT 6
- The build script is totally hosed ...
- Get-SlackUser needs to be paginated to get all users
- Send Slack Message to user HOT 1
- PowerShell Objects formatted as Code Blocks
- Windows 11 Support? "The platform is windows 10 but the native module could not be found" HOT 1
- Find-SlackMessage's Raw switch doesn't work
- Tagging a user within a channel doesnt work I get the following
- Get-SlackUser -Billing parm does not seem to work.
- Discord equivalent?
- Get-SlackUsers -ExcludeBots doesn't work
- Get-SlackUsers inconsistent values: First name Last_Name
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from psslack.